Execution method, execution device and execution system for ordered tasks
An execution method and execution device technology, applied in the computer field, can solve problems such as high code complexity, poor readability, and high repeatability, and achieve the effect of reducing complexity and ensuring consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Such as figure 1 As shown, Embodiment 1 provides a method for executing an ordered task, including:
[0052] Step 102, receiving task information, wherein the task information carries a group number and a serial number;
[0053] Step 104, according to the group number and serial number, sort and store the task information in groups to generate a task group to be executed;
[0054] Step 106, obtaining the working status of the task executor group;
[0055] Step 108, based on the idle state of the task executor group, sending the to-be-executed task group to the task executor group, so that the task executor group can execute the to-be-executed task group;
[0056] Step 110, grouping and storing the task information completed by the task executor group into the completed task set.
[0057] The execution method of the ordered task provided by the embodiment of the present invention receives the task information carrying the group number and the serial number, so as to g...
Embodiment 2
[0065] Such as figure 2 As shown, on the basis of Embodiment 1, Embodiment 2 provides a method for executing an ordered task, and further defines the steps for the task executor group to execute the task group to be executed, specifically including:
[0066] Step 202, acquiring task information in the to-be-executed task group;
[0067] Step 204, according to the serial number of the task information, judge whether the previous task information of the current task information exists in the completed task set, if the judgment result is yes, execute step 206, and if the judgment result is no, execute step 208;
[0068] Step 206, based on the judgment result that the previous task information exists in the completed task set, execute the current task information;
[0069] Step 208, based on the judgment result that the previous task information does not exist in the completed task set, continue to execute the previous task information.
[0070] In this embodiment, when the task ...
Embodiment 3
[0077] Such as image 3 As shown, on the basis of any of the above-mentioned embodiments, Embodiment 3 provides an execution method for ordered tasks, and further defines the steps of grouping and sorting the execution results of the task executor group and storing them in the completed task set, specifically including :
[0078] Step 302, acquiring the execution status of the completed task information, wherein the execution status includes execution success and execution failure;
[0079] Step 304, judging whether the execution status of the task information is successful execution, if the judging result is yes, go to step 306, and if the judging result is no, go to step 308;
[0080] Step 306, storing task information in a successful task set;
[0081] Step 308, storing the task information in the failed task set.
[0082] In this embodiment, when the execution results of the task executor group are grouped and sorted and stored in the completed task set, the execution s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


