US 11,941,434 B2
Task processing method, processing apparatus, and computer system
Wei Li, Shanghai (CN); Xiong Gao, Hangzhou (CN); Hou Fun Lam, Hong Kong (CN); and Tao Ma, Shanghai (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Nov. 13, 2020, as Appl. No. 17/097,211.
Application 17/097,211 is a continuation of application No. PCT/CN2019/070720, filed on Jan. 7, 2019.
Claims priority of application No. 201810463722.9 (CN), filed on May 15, 2018.
Prior Publication US 2021/0064425 A1, Mar. 4, 2021
Int. Cl. G06F 9/48 (2006.01); G06F 9/38 (2018.01)
CPC G06F 9/4881 (2013.01) [G06F 9/3838 (2013.01)] 17 Claims
OG exemplary drawing
 
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.