主权项 |
1. A method for processing a batch job that includes a plurality of sequentially ordered tasks, comprising:
obtaining a message that includes inputs of a plurality of tasks included in a batch job, wherein the plurality of tasks includes a first task that is sequentially ordered before a second task; assigning tasks of the plurality of tasks to different computing nodes, the first task being assigned to a first computing node associated with a first public key, and the second task being assigned to a second computing node associated with a second public key; encrypting a first set of inputs of the first task using the first public key; encrypting a second set of inputs of the second task using the second public key, at least one output generated by the first task being an input of the second set of inputs; and dispatching the encrypted message to the first computing node, wherein the encrypted message includes the encrypted first and second sets of inputs. |