Realization method and performance system for distributed timed task
A timing task and task execution technology, which is applied in the computer field, can solve problems such as the inability to realize cluster deployment, achieve the effects of reducing risks and uncontrollability, simple implementation, and preventing repeated execution of tasks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] The implementation method of the distributed timing task of the present invention, the method comprises the following steps:
[0045] (1) Distributed deployment task execution module and heartbeat detection module for each node, and all nodes share the same database;
[0046] (2) The database includes several data tables, and a data table is created, which is used to save the task name, status, start execution time, end execution time, host name of the node that is executing the task, and the latest heartbeat time; the following table Shown:
[0047] serial number
field information
illustrate
1
ID
The unique identifier of the primary key, 32-bit uuid
2
name
task code
3
Display_name
task display name
4
is_running
Is it being executed
5
started_at
Task start time
6
ended_at
Task end execution time
7
heartbeat_at
The node that is executing the task, the latest...
Embodiment 2
[0072] as attached image 3 As shown, the execution system of the distributed timing task adopting the implementation method of the distributed timing task in Embodiment 1 includes several nodes, and several nodes share a database, and each node is provided with a task execution module and a heartbeat monitoring module ;
[0073] Among them, the task execution module is mainly responsible for task execution and update of task status;
[0074] The heartbeat monitoring module is mainly responsible for updating the heartbeat time and resetting the state when the task execution is abnormal.
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