Task execution and scheduling method, system and device, computing equipment and medium
A task execution and task scheduling technology, applied in the computer field, can solve problems such as increasing the difficulty of operation and maintenance and reducing the performance of the task scheduling system.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0107] Such as figure 1 As shown, the flowchart of the task execution method provided by the embodiment of the present disclosure may include the following steps:
[0108] S101: Obtain a task instance corresponding to the preset function sent by the scheduler, and configure an execution environment of the task instance.
[0109] Wherein, the task instance exists in the first instance graph, and the first instance graph is generated by the scheduler according to at least one task to be executed corresponding to the preset function, and each task to be executed corresponds to a task instance.
[0110] During specific implementation, the executor acquires a certain task instance in the first instance diagram generated from at least one task to be executed corresponding to the preset function sent by the scheduler, and based on the acquired task instance, the executor configures its corresponding execution environment, preparing to start the task instance, wherein the execution e...
Embodiment 2
[0137] Before implementing the task execution method involved in the above-mentioned embodiments, a corresponding task scheduling method is also required. The task instance corresponding to the task to be executed is scheduled to the executor through the task scheduling method, and the executor uses the above task execution method to execute the obtained Task instance, based on these two methods, can realize the scheduling and execution of each task to be executed included in a workflow. Such as Figure 5 As shown, it is a flow chart of a task scheduling method provided by an embodiment of the present disclosure, which may include the following steps:
[0138] S501: When the preset execution time of the to-be-executed task with the first execution sequence corresponding to the preset function is reached, determine other to-be-executed tasks having a first dependency relationship with the to-be-executed task.
[0139] During specific implementation, the scheduler continuously ...
no. 1 example
[0236] After the execution of the task instance corresponding to the to-be-executed task with the first execution order is completed, based on the first dependency relationship and the first instance graph, determine the to-be-executed task with the second execution order;
[0237] The task instance corresponding to the task to be executed with the second execution sequence is sent to the corresponding executor.
[0238] In a possible implementation manner, in the instructions executed by the processor 121, the sending the task instance corresponding to the task to be executed with the second execution order to the corresponding executor includes:
[0239] Obtain execution result information of task instances corresponding to tasks to be executed with the first execution order;
[0240] Sending the execution result information and the task instance corresponding to the to-be-executed task with the second execution sequence to a corresponding executor.
[0241] In a possible i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com