System and method for task processing
A task processing and task technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of high response delay of large data set query tasks, reducing real-time database query performance, affecting task request response rate, etc. Achieve the effect of improving query performance and improving response rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Embodiment 1 of the present invention discloses a task processing system, please refer to figure 1 , the system includes a request receiving module 100 , a task splitting module 200 , a task processing module 300 , a result integrating module 400 and a result returning module 500 .
[0053] The request receiving module 100 is configured to receive request information from a user, and the request information includes a query task for querying a target data set in a data source.
[0054] In this embodiment, the data source is specifically a real-time database. The present invention will be described in detail below by processing a task request submitted by a user for querying historical data in the real-time database.
[0055]Wherein, the task request submitted by the user may specifically be a request for a single-point historical query of the real-time database, or a request for a cross-sectional historical query of the real-time database.
[0056] The task splitting m...
Embodiment 2
[0068] Embodiment 2 of the present invention continues to optimize the task processing system disclosed in Embodiment 1. Please refer to image 3 , in this embodiment, the task processing module 300 further includes a subtask splitting unit 330, which is specifically located between the task allocation unit 310 and the parallel processing unit 320, and is logically connected with the two units.
[0069] The subtask splitting unit 330 is configured to split each of the subtasks twice based on a preset second task splitting strategy to obtain M secondary subtasks of the subtasks, wherein the M is a natural number greater than 1.
[0070] Wherein, the second task splitting strategy is specifically formulated based on the task amount of the corresponding subtask, the time attribute of the target data corresponding to the subtask, and the current multi-thread concurrent processing capability of the corresponding database server. Similarly, the formulation of the splitting strategy...
Embodiment 3
[0075] This embodiment continues to supplement and improve the task processing systems disclosed in the above two embodiments.
[0076] The task processing process of Embodiment 1 and Embodiment 2 needs to be based on the premise that each database server works normally. In an actual cluster system, it is common for any one or more server nodes to go offline temporarily due to failure. In this case, see Figure 4 In this embodiment, on the basis of the original functional modules, a fault processing module 600 is added to the task processing system.
[0077] The failure processing module 600 is configured to transfer the subtasks in charge of the failed database server to the non-faulted database server for processing when the database server fails.
[0078] Specifically, the failure processing module 600 monitors each database server in a periodic polling manner. When a database server receives the polling command sent by the module and has not responded within the set time...
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