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

Task scheduling method and device, computer equipment and storage medium

A task scheduling and computer program technology, applied in the field of data processing, can solve problems such as slowing down bandwidth, reducing business processing efficiency, and increasing CPU processing pressure on the central processing unit.

Pending Publication Date: 2022-04-29
SHANGHAI PUDONG DEVELOPMENT BANK
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the task scheduling method of the traditional Quartz scheduling system, when faced with large-scale scheduled tasks, a large number of task triggers and task timers are required at the same time, which increases the processing pressure of the central processing unit CPU, slows down bandwidth, and reduces business processing. efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0054] In one embodiment, such as figure 1 As shown, a task scheduling method is provided, and this embodiment is illustrated by applying the method to a terminal. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server. The interactive realization of terminal and server. In this embodiment, the method includes the following steps:

[0055] Step 102, receiving a timed task.

[0056] In implementation, a task scheduling system based on the Quartz framework is deployed in the computer equi...

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 relates to a task scheduling method and device, computer equipment, a storage medium and a computer program product. The method includes receiving a timed task. Wherein the timing task carries timing timestamp information. And according to the timing timestamp information and the current moment, determining a target time lattice corresponding to the timing timestamp information of the timing task in the task time wheel, and storing the timing task in a task chain table corresponding to the target time lattice. Wherein the task time wheel is an annular array comprising a plurality of time grids. A plurality of time grids contained in the task time wheel are arranged according to a preset sequence. And extracting a target timed task in each time grid in the task time wheel, adding the target timed tasks into the cache queue, and sequentially executing each timed task according to the ranking sequence in the cache queue. By adopting the task scheduling method, the scheduling pressure of the processor is reduced, and the task processing efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a task scheduling method, device, computer equipment, storage medium and computer program product. Background technique [0002] Task scheduling is very common in business systems, and business diversification leads to different business systems. The representative of the task scheduling system is the scheduling system based on the Quartz framework. [0003] In the Quartz scheduling system, the commonly used task scheduling method is based on Quartz's built-in automatic execution of scheduled tasks (CronJob) for task scheduling. Specifically, in this scheduling method, a task trigger (Tirgger) is matched for each scheduled task. And a task timer (Timer), through Quartz's time scheduling, according to the time progress in each task timer, trigger the task trigger to execute the scheduled task. [0004] However, in the task scheduling method of the traditiona...

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 SHANGHAI PUDONG DEVELOPMENT BANK
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