Task distribution system and method
A task distribution and task technology, applied in the field of data processing, can solve the problems of slow locking, reducing the real-time performance of task distribution, and high overhead, and achieve the effect of reducing deadlocks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] see figure 1 A task distribution system provided in Embodiment 1 of the present invention, the system includes a setting module 1, a task distributor 2 and a task executor 3, wherein,
[0039] The setting module 1 is used to perform preload processing on tasks to be executed, and select a processed task to be executed to perform optimistic locking processing, and send the locked task to be executed to the task distribution device;
[0040] The task distributor 2 is configured to select the task executor through a preset rule, and send the task to be executed to the task executor, wherein the preset rule is to select the task with the lightest load Actuator;
[0041] The task executor 3 is configured to perform task distribution processing on the tasks to be executed.
[0042] Specifically, the setting module 1 includes a preloading unit 11 and a locking unit 12, wherein,
[0043] The preloading unit 11 is configured to load the tasks to be executed from the database...
Embodiment 2
[0058] Corresponding to the task distribution system disclosed in Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a task distribution method, see figure 2 It is a schematic flowchart of a task distribution method provided in Embodiment 2 of the present invention, the method is applicable to any task distribution system described in Embodiment 1 of the present invention, and the task distribution system includes a setting module, a task distribution device and task executor, the method includes the following steps:
[0059] S11. The setting module preloads the tasks to be executed, selects a processed task to be executed, performs optimistic locking processing, and sends the locked task to be executed to the task distributor;
[0060] S12. The task distributor selects the task executor according to a preset rule, and sends the task to be executed to the task executor, wherein the preset rule is to select the task executor with the lig...
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