Task processing method and device, server and storage medium
A task processing and processor technology, applied in the field of information processing, can solve problems such as wasting machine resources, reducing the timeliness and timeliness of post-task response, and inflexible implementation of chain tasks, so as to improve flexibility and avoid resources. the wasteful effect of
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flowchart of a task processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the task scheduling platform is used as the scheduling center to actively schedule the chain tasks executed by each node. This method can be implemented by a A task processing device can be used to implement the device, which can be implemented in software and / or hardware, and is preferably configured on a task scheduling platform. The method specifically includes the following:
[0026] Step 110, receiving an execution result reported by at least one execution node associated with the current chained task in the task chain.
[0027] In a specific embodiment of the present invention, a task chain refers to a task execution chain composed of a series of tasks with an execution sequence, wherein each independent task in the task chain is called a chain task in this embodiment, and each chain task Tasks can be exec...
Embodiment 2
[0039] On the basis of the first embodiment above, this embodiment provides a preferred implementation manner of the task processing method, which can process the execution result and decide the subsequent scheduling behavior according to the processing result. figure 2 A flow chart of a task processing method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following specific:
[0040] Step 210, receiving task chain registration information of the task chain.
[0041] In a specific embodiment of the present invention, before the execution of the task chain, the task chain information and the task scheduling policy are obtained by receiving the task chain registration information of the task chain. Among them, the user can pre-configure task chain information and executable node information in the task scheduling platform to complete the registration of task chain information. Or each execution node pre-deploys chain tas...
Embodiment 3
[0063] Figure 4 It is a schematic structural diagram of a task processing device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the task scheduling platform is used as the scheduling center to actively schedule the chain tasks executed by each node. The device can realize The task processing method described in any embodiment of the present invention. Specifically, the device includes:
[0064] An execution result collection module 410, configured to receive the execution result reported by at least one execution node associated with the current chained task in the task chain;
[0065] The task scheduling module 420 is configured to determine the successor task of the current chained task according to the task chain registration information and the execution result, and schedule at least one execution node associated with the successor task to execute the successor task.
[0066] Further, the device also includes a ch...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


