Distribution type dispatching method and system for asynchronous business
A business distribution and business system technology, applied in the field of asynchronous business distribution methods and systems, can solve problems such as uncheckable data and unsatisfactory business scenarios, and achieve high concurrency effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Such as figure 2 As shown, the structure of the distributed asynchronous service distribution system in this embodiment includes producer A1, producer A2...producer An, database B, consumer C1, consumer C2...consumer Cn. Among them, the producer is the data writing unit, which writes tasks into the database; the consumer is the data acquisition and distribution unit, which acquires tasks from the database, sends them to the subsequent business system for execution, and updates the database task status.
Embodiment 2
[0078] Such as image 3 As shown, the flow of the distributed asynchronous service distribution method of this embodiment is implemented based on the system of Embodiment 1, including the following steps (consumer part):
[0079] Step 1: Preprocessing. Include the following steps:
[0080] Step 1-1: Determine whether the program is started for the first time, if so, initialize the task database table information, and then initialize the system parameters, if otherwise, enter step 1-2;
[0081] Step 1-2: Determine whether there are remaining tasks to be processed, if so, process the remaining tasks to be processed first, and then initialize the system parameters, if not, initialize the system parameters directly. Start a batch commit asynchronous thread.
[0082] Step 2: Consumer C1, consumer C2...consumer Cn acquires tasks from database B asynchronously in a distributed manner, and updates the status of the tasks as being in progress. Include the following steps:
[0083]...
Embodiment 3
[0091] Such as Figure 4 As shown, the flow of the distributed asynchronous service distribution method of this embodiment is implemented based on the system of Embodiment 1, including the following steps (consumer part):
[0092] Step 1: Preprocessing. Include the following steps:
[0093] Step 1-1: Determine whether the program is started for the first time, if so, initialize the task database table information, and then initialize the system parameters, if otherwise, enter step 1-2;
[0094] Step 1-2: Determine whether there are remaining tasks to be processed, if so, process the remaining tasks to be processed first, and then initialize the system parameters, if not, initialize the system parameters directly. Start a batch commit asynchronous thread.
[0095] Step 2: Consumer C1, consumer C2...consumer Cn acquires tasks from database B asynchronously in a distributed manner, and updates the status of the tasks as being in progress. Include the following steps:
[0096...
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