Alibaba Group Holding Limited
Task processing method, apparatus, and system based on distributed system

Last updated:

Abstract:

A task processing method, apparatus, and system based on a distributed system. The method comprises: obtaining, by a task processing device, task information from a master control device by initiating a task request, wherein the task information corresponding to the task request is stored in the master control device; starting, by a main process of the task processing device, a corresponding task subprocess by triggering a proxy process for executing the task information after receiving the task information; and storing, by the task processing device, task execution information to a target location through the proxy process, wherein the task execution information comprises one or more of the following pieces of information: a task identifier of the task information, process information of the task subprocess, log information and a return code generated when the task subprocess executes the task information. The present invention solves the main process of the task processing device monitors, according to the task identifier, whether the task information is started and executed, and monitor, according to the return code, whether the task information is fully executed.

Status:
Grant
Type:

Utility

Filling date:

16 Feb 2017

Issue date:

22 Feb 2022