Distributed queue processing method and system
A processing method and processing system technology, which are applied in the field of distributed queue processing methods and systems to reduce interaction and ensure safety and reliability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0063] Figure 4 It is a detailed flowchart of a distributed queue processing method provided by the embodiment of the present application.
[0064] The distributed queue processing method, whose execution subject is the queue processing process in the queue processor, includes:
[0065] S201: Create a reprocessed data storage directory, a pending data storage directory and a log directory (corresponding to the processing failure data storage device in claim 3).
[0066] S202: Read the configuration file.
[0067] If the queue processing process is configured to stop, then the queue processing process ends. If the queue processing process is configured as a working state, it will continue to execute.
[0068] S203: Read data.
[0069] First access the reprocessed data storage directory. If there is data in the reprocessing data storage directory, read data from the reprocessing data storage directory to the pending data storage directory instead of reading data from the q...
specific Embodiment 2
[0102] Figure 6 It is a detailed flowchart of another distributed queue processing method provided by the embodiment of this application.
[0103] The distributed queue processing method, whose execution subject is the queue processing process in the queue processor, includes:
[0104] S301: Create a reprocessing data storage device.
[0105] The reprocessing data storage device may be a reprocessing data storage directory, a reprocessing data server, and the like.
[0106] S302: Read the configuration file.
[0107] S303: Read data and process the data.
[0108] According to the set predetermined time interval, when the predetermined time interval is reached, the data that fails to be processed in the reprocessing data storage device is preferentially processed. Otherwise, the data is read from the queue server to the reprocessing data storage device and the data is processed. The set predetermined time interval is much greater than the average time interval between two...
specific Embodiment 3
[0122] Figure 8 It is a detailed flowchart of another distributed queue processing method provided by the embodiment of this application.
[0123] The distributed queue processing method, whose execution subject is the queue processing process in the queue processor, includes:
[0124] S401: Create a log directory (corresponding to the reprocessing data storage device in claim 4).
[0125] S402: Read the configuration file.
[0126] S403: Read data and process the data.
[0127] According to the set predetermined time interval, when the predetermined time interval is reached, the failed data in the log directory will be processed first. Otherwise, read data from the queue server to the log directory and process the data. The set predetermined time interval is much greater than the average time interval between two adjacent data readings.
[0128] S404: After the data processing is completed, transmit the data and the name of the business program to the data synchronizati...
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