Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Timed task execution method and device, computer equipment and storage medium

A technology for timed tasks and execution methods, applied in the computer field, can solve the problems of reduced stability of computer systems and low reliability of timed tasks, and achieve the effects of improving the execution success rate, stability and reliability.

Pending Publication Date: 2022-03-01
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is that the reliability of the current timing task execution method is not high, which easily leads to the reduction of the stability of the computer system operation

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] see figure 1 , figure 1 It is a schematic flowchart of a timing task execution method disclosed in an embodiment of the present invention. Such as figure 1 As shown, the execution method of the timed task may include the following operations:

[0033] 101. Execute each scheduled task in a predetermined scheduled task set.

[0034] In the above step 101, the timing task execution method can run on the pre-built timing task background management system. The timing task background management system can be built based on the Elastic-Job system. The timing task background management system can realize the following through zookeeper The form of registration discovery is docked with each scheduled task. Specifically, you can first discover the registered task component A by configuring the <reg:zookeeper node attribute in the elastic-job configuration file, and then inject it through the scheduled task bean, that is, you can discover all the scheduled tasks under the task...

Embodiment 2

[0081] see figure 2 , figure 2 It is a schematic structural diagram of a timed task execution device disclosed in an embodiment of the present invention. Such as figure 2 As shown, the execution device of the timed task may include:

[0082] Execution module 201, configured to execute each timing task in the predetermined timing task set;

[0083] The creation module 202 is configured to create a corresponding compensation timing task for each of the abnormal timing tasks when an abnormal timing task is detected, wherein each of the compensation timing tasks is used to implement the compensation timing task when it is executed. The same data processing process as the corresponding abnormal timing task, where the abnormal timing task refers to the timing task whose execution process is abnormal;

[0084] A determination module 203, configured to determine the compensation frequency corresponding to each of the compensation timing tasks;

[0085] The execution module 201...

Embodiment 3

[0087] see image 3 , image 3 It is a schematic structural diagram of a computer device disclosed in an embodiment of the present invention. Such as image 3 As shown, the computer equipment may include:

[0088] A memory 301 storing executable program codes;

[0089] A processor 302 connected to the memory 301;

[0090] The processor 302 invokes the executable program code stored in the memory 301 to execute the steps in the timing task execution method disclosed in Embodiment 1 of the present invention.

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 the technical field of computers, and discloses a timed task execution method, which comprises the following steps of: executing each timed task in a predetermined timed task set; when the occurrence of the abnormal timed tasks is detected, creating a corresponding compensation timed task for each abnormal timed task; determining a compensation frequency corresponding to each compensation timing task; and executing the compensation timed task according to the compensation frequency corresponding to each compensation timed task so as to realize re-execution of each abnormal timed task. It can be seen that after the timed task is executed, whether the execution process of the timed task is abnormal or not is detected, and if yes, the compensation timed task corresponding to the timed task is created and executed, so that compensation execution of the timed task can be achieved, and different compensation execution frequencies can be used for different timed tasks; the execution success rate of the timed task is improved, and the stability and reliability of computer system operation are improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a timing task execution method, device, computer equipment and storage medium. Background technique [0002] Timing task job is a common technology in computer system. By setting timing task, it can control the computer system to execute the specified data processing process at the specified time. It is often used for data backup, data deletion, execution of stored procedures, send data etc. It is of great significance for the stability of the computer system that the scheduled task can successfully execute the specified processing process according to the time conditions set by the user. However, in practical applications, the successful execution of the scheduled task will be restricted by many factors, such as the system status, network status, data status, etc. when the scheduled task is executed. Many uncertain factors will easily lead to the failure of scheduled...

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/48G06F11/30
CPCG06F9/4887G06F11/3051
Inventor 刘继武
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products