Cluster system fragmentation timing task scheduling method and cluster system
A technology for timed tasks and cluster systems, applied in resource allocation, program control design, instrumentation, etc., can solve problems such as system resource waste, data and program errors, and low system intrusion, so as to reduce scheduling difficulty and balance cluster system load. , less invasive effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Embodiment 1 of the present invention provides a method for scheduling scheduled tasks in cluster system slices. A scheduled task may be a task triggered at a preset time, or a task triggered at a preset period. The triggering of a scheduled task refers to The timing task starts to be executed when the execution condition of the timing task is satisfied, for example, when the preset trigger time of the timing task is reached, the timing task starts to execute.
[0037] 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 s...
Embodiment 2
[0094] This embodiment provides an apparatus for scheduling scheduled tasks of a cluster system slice, which is used to execute the method according to any one of the embodiments. like image 3 As shown, it is a structural block diagram of a cluster system fragment timing task scheduling device in this embodiment, including:
[0095] Obtaining the node number module 10: used to obtain the node number of the cluster node;
[0096] Application credential module 20: used for cluster nodes to access the distributed cache service to apply for a credential;
[0097] Allocating scheduling control authority module 30: used to obtain the scheduling control authority for the cluster node that has applied for the voucher as a scheduling node;
[0098] Executing scheduled task module 40: used for scheduling nodes to select a corresponding number of cluster nodes from the cluster nodes as execution nodes according to the number of fragments of the scheduled task, the node number of the e...
Embodiment 3
[0102] 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 fragmentation scheduled task scheduling according to any one of the embodiments The method selects the scheduling node among the cluster nodes, and obtains the execution node of each scheduled task fragment through calculation, and the execution node obtains the execution permission of the fragment.
[0103] In addition, the present invention also provides a cluster system shard timing task scheduling device, including:
[0104] at least one processor, and a memory communicatively coupled to the at least one processor;
[0105] 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 fragment timing ta...
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