Patent ID: 11941434
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A task processing method, comprising:
generating, by a first processing apparatus, a plurality of tasks;
determining task description information of the plurality of tasks, wherein the task description information of the plurality of tasks indicates a dependency relationship between the plurality of tasks, and that when any two tasks of the plurality of tasks have the dependency relationship, processing of one task needs to wait for a processing result of the other task;
sending, by the first processing apparatus, an instruction to a second processing apparatus, wherein the instruction comprises the plurality of tasks and the task description information of the plurality of tasks, and wherein the second processing apparatus is configured to execute the plurality of tasks based at least in part on the dependency relationship; and
returning, by the second processing apparatus, a notification message to the first processing apparatus after determining that a depended task of the plurality of tasks or a dependent task of the plurality of tasks has been processed, wherein the notification message indicates that the depended task or the dependent task has been processed.