Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Pending Publication Date: 2021-04-16
北京高途云集教育科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when using the above method to schedule each task in the task group, if the execution time of a certain task in the task group is reached, but the task is not started, it is necessary to check in turn whether the upstream tasks it depends on are Execution errors, when there are many tasks between the wrong upstream task and this task, the method of sequential inspection will increase the difficulty of operation and maintenance and reduce the performance of the task scheduling system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task execution and scheduling method, system and device, computing equipment and medium
  • Task execution and scheduling method, system and device, computing equipment and medium
  • Task execution and scheduling method, system and device, computing equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a task execution and scheduling method, system and device, computing equipment and a medium, and the method comprises the steps: obtaining a task instance corresponding to a preset function sent by a scheduler, and configuring an execution environment of the task instance; determining at least one to-be-executed step included in a to-be-executed task corresponding to the task instance based on the task instance; generating an execution entity corresponding to each to-be-executed step in the at least one to-be-executed step so as to execute the corresponding to-be-executed step by utilizing the execution entity; or, when the preset execution time of the to-be-executed task with the first execution sequence corresponding to the preset function is reached, determining other to-be-executed tasks having a first dependency relationship with the to-be-executed task; generating a task instance of each to-be-executed task based on the feature information of the to-be-executed task and other to-be-executed tasks; and generating a first instance graph based on the first dependency relationship and the task instance, and sending the task instance to a corresponding executor based on the first instance graph.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a task execution and scheduling method, system, device, computing device and medium. Background technique [0002] With the advent of the Internet era, the amount of data has increased dramatically, and big data tools have been used to replace traditional tools in classic data warehouses. A complete big data analysis system must be composed of many task units. All task units and their dependencies form a complex workflow. In order to manage complex workflows, various task scheduling systems have emerged. [0003] At present, a common task scheduling system is to combine tasks developed by different users into a task group, in which each task in the task group has certain execution dependencies, and based on the execution dependencies, they can cooperate with each other to achieve certain preset functions , when scheduling the tasks in the task group, only when th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
Inventor 王煜叶云龙康卫东
Owner 北京高途云集教育科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products