Cluster system timing task scheduling method and cluster system
A technology for timed tasks and cluster systems, applied in the direction of program startup/switching, resource allocation, program control design, etc., can solve problems such as increasing development and maintenance workload, increasing system complexity, reducing system security, etc., to ensure security. reliability and reliability, reduce the difficulty of scheduling, and solve the effect of repeated execution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Embodiment 1 of the present invention provides a scheduled task scheduling method for a cluster system. A scheduled task may be a task that is triggered to be executed at a preset time, or a task that is triggered to be executed at a preset period. The timing task starts to execute when the execution condition of the timing task is met. For example, when the preset trigger time of the timing task is reached, the timing task starts to execute.
[0036] In various existing systems, such as management systems, scheduled tasks are very common types of functions. For example, the scheduled task can be to periodically compress the newly obtained data in the database, filter the data at a fixed time every day, perform database backup and report statistics at zero o'clock every day. After the scheduled task is created, the server or application that creates the scheduled task can automatically start a thread or process to make the scheduled task execute at a specified trigger t...
Embodiment 2
[0072] This embodiment provides an apparatus for scheduling scheduled tasks of a cluster system, which is used to execute the method described in any one of the embodiments. Such as image 3 As shown, it is a structural block diagram of the cluster system timing task scheduling device of this embodiment, including:
[0073] Obtaining the node number module 10: used to obtain the node number of the cluster node;
[0074] Application credential module 20: used for cluster nodes to access the distributed cache service to apply for a credential;
[0075] Executing the scheduled task module 30: used for the cluster node that has applied for the certificate as an execution node to obtain the execution authority to execute the scheduled task.
[0076] The specific details of the module of the cluster system timing task scheduling device described above have been described in detail in the cluster system timing task scheduling method corresponding to Embodiment 1, so details will no...
Embodiment 3
[0078] This embodiment provides a cluster system, including a plurality of cluster nodes, each cluster node has a unique node number, when the cluster system issues a scheduled task, according to a cluster system scheduled task scheduling as described in any one of the embodiments The method selects an execution node among the cluster nodes to execute the scheduled task.
[0079] In addition, the present invention also provides a cluster system timing task scheduling device, including:
[0080] at least one processor, and a memory communicatively coupled to the at least one processor;
[0081] Wherein, the processor is used to execute the method described in Embodiment 1 by invoking the computer program stored in the memory. The computer program is the program code. When the program code runs on the cluster system timing task scheduling device, the program code is used to make the cluster system timing task scheduling device execute the steps in the cluster system timing task...
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