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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com