Check patentability & draft patents in minutes with Patsnap Eureka AI!

Configurable timed task scheduling method and system

A technology of timing tasks and scheduling methods, applied in resource allocation, multi-program device, program startup/switching, etc., can solve the problems of heavy load and time-consuming, etc., and achieve convenient multiplexing, quick learning, and easy operation and management tasks Effect

Pending Publication Date: 2020-10-30
科大国创云网科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, many systems require scheduled tasks, mainly because the internal system relies on other systems. For example, crawling website information generally chooses to execute regularly. Daily, monthly, and weekly lists, report summaries, and scheduled releases all rely on scheduled task scheduling. Distributed scheduling is required when tasks become more complex and heavy. Through multi-nodes, problems caused by single-node execution can be reduced, such as time-consuming, heavy load, and fault-tolerant processing.
[0003] However, the problems that need to be solved in distributed scheduling include how to fragment tasks, how to deal with task execution failures, and the management of a large number of scheduled tasks.

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
  • Configurable timed task scheduling method and system
  • Configurable timed task scheduling method and system
  • Configurable timed task scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0054] The timed task scheduling system in this embodiment is mainly divided into two modules: the scheduling center and the task executor. At the same time, zookeeper (task registration center) is introduced as a bridge between the scheduling center and the task executor, and the service discovery meets high availability and task execution. Highly available and capable of undertaking large task scenarios.

[0055]The following is a detailed introduction to each component of the dispatching system:

[0056] Scheduling Center: It is responsible for scheduling scheduled tasks, managing scheduling information, and sending scheduling requests according to scheduling configurations, and does not undertake business codes itself. The scheduling system is decoupled from the scheduled tasks, which improves the availability and stability of the system. At the same time, the performance of the scheduling system is no longer limited by the task module; it supports visual, simple and dynam...

Embodiment 3

[0079] The configurable scheduled task scheduling method of this embodiment includes the following steps:

[0080] Step 1: The user invokes the registration task through the form of API parameter passing, and persists the task configuration information for regular invocation. The CI / CD platform uses scheduled task scheduling such as Figure 4 shown.

[0081] Step 2: You can view the created tasks on the task management interface, and modify the configuration of the tasks at the same time:

[0082] Configure component-related parameter values ​​by filling in predefined parameters, such as Figure 5 shown.

[0083] Step 3: You can view the created tasks on the task management interface, and modify the configuration of the tasks such as Figure 6 , 7 shown.

[0084] To sum up, the configurable timing task scheduling method of the above embodiment, compared with the original single node, business (business mainly refers to code logic such as ticket purchase notification, sho...

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 discloses a configurable timed task scheduling method and system, and belongs to the technical field of computer software, and the method comprises the following steps: S1, configuring atimed task; S2, carrying out task registration; S3, triggering a timing task; and S4, carrying out task execution. In the step S1, the timing task parameters comprise a cron expression, an alarm mail, a routing strategy, task timeout time and task description. Compared with an original mode that a single node, a service and a timing task are coupled together, the original timing task is extracted, a set of distributed configurable system is independently formed, and the problems that a CI / CD platform consumes long time for executing the timing task, task errors are difficult to troubleshoot,and an alarm mechanism is lacked are solved; and meanwhile, containerized deployment and task execution log analysis are provided, reuse is convenient, fast starting is achieved, task operation and management are facilitated, experience is improved, and the method is worthy of application and popularization.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a configurable timing task scheduling method and system. Background technique [0002] At present, many systems require scheduled tasks, mainly because the internal system relies on other systems. For example, crawling website information generally chooses to execute regularly. Daily, monthly, and weekly lists, report summaries, and scheduled releases all rely on scheduled task scheduling. When tasks become more complex and heavy, distributed scheduling is required to reduce problems caused by single-node execution through multiple nodes, such as time-consuming, heavy load, and fault-tolerant processing. [0003] However, the problems that need to be solved in distributed scheduling include how to fragment tasks, how to deal with task execution failures, and the management of a large number of scheduled tasks. The above problems need to be solved urgently. Therefore, ...

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
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5088
Inventor 冯强中范文斌王亚平郭鹏刘帆蒋保自
Owner 科大国创云网科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More