Unlock instant, AI-driven research and patent intelligence for your innovation.

Timed task scheduling method and device, computer equipment and readable storage medium

A technology for timing tasks and scheduling methods, which is applied in computing, multi-programming devices, program control design, etc., and can solve the problems of large number of timing tasks, inability to configure different calling parameters, and consumption of system resources.

Pending Publication Date: 2020-09-18
BANK OF CHINA
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a scheduled task scheduling method to solve the technical problems in the prior art that the same task cannot be configured with different call parameters, and the large number of scheduled tasks consumes system resources

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
  • Timed task scheduling method and device, computer equipment and readable storage medium
  • Timed task scheduling method and device, computer equipment and readable storage medium
  • Timed task scheduling method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the embodiments and accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0023] In an embodiment of the present invention, a method for scheduling scheduled tasks is provided, such as figure 1 As shown, the method includes:

[0024] Step 102: Obtain timing task transaction information, timing task transaction information includes call information of different tasks and different call information of the same task;

[0025] Step 104: Obtain the current time of the system machine;

[0026] Step 106: According to the current time and the execution time included in the call information in the scheduled task transaction information, determine the task to be scheduled wh...

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 embodiment of the invention provides a timed task scheduling method and device, computer equipment and a readable storage medium, and the method comprises the steps: obtaining timed task transaction information which comprises the call information of different tasks and the different call information of the same task; judging a to-be-scheduled task reaching the execution time according to thecurrent time of the system machine and the execution time included in the calling information in the timed task transaction information; and scheduling the judged to-be-scheduled task according to calling information in the timed task transaction information. According to the scheme, the task is called for multiple times based on different calling information of different execution time in the timed task transaction information, so that the task is prevented from being configured for multiple times based on different execution time to generate multiple timed tasks, and the situation that the number of the timed tasks is too large is avoided; and the tasks are called based on the timed task transaction information, so that traversal and query of a large number of timed tasks can be avoided,and reduction of system resources occupied by timed task management is facilitated.

Description

technical field [0001] The present invention relates to the technical field of task scheduling, in particular to a scheduling method, device, computer equipment and readable storage medium for scheduled tasks. Background technique [0002] In project development, the scenarios of timing task scheduling are widely used. Scheduled tasks are divided into periodic tasks and specific time tasks. Spring's Timer tool class and open source toolkit Quartz on the market provide technical support for timing task execution. [0003] For different tasks, the execution time of different tasks is inconsistent, and the execution time must be configured for each individual task. In addition, in practical applications, there is a need to configure multiple execution times for the same execution task. However, Spring Timer and Qartz can configure execution tasks, first execution tasks, periodic execution time intervals, etc., but cannot satisfy the setting of different call parameters for t...

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
CPCG06F9/4887
Inventor 陈涵辉郑骁
Owner BANK OF CHINA