System and method for guaranteeing distributed data processing consistency
A distributed data and consistent technology, applied in the direction of digital transmission system, transmission system, data exchange network, etc., can solve problems such as inconsistent expected results, abnormal data processing, etc., and achieve the effect of reducing delay and ensuring reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0056] Example 1
[0057] Such as figure 1 As shown, figure 1 It is the basic data maintenance framework diagram in the distributed trading system of the present invention. The computer distributed trading system platform consists of several trading platforms responsible for transaction processing. The trading host will use one host as the master node, and other nodes will become transactions. Standby machine, the master node is responsible for all order processing tasks, and is responsible for logging and maintenance, triggering the basic data synchronization of the slave node. The slave node does not perform real-time order processing, but can maintain the basic data memory consistent with the master node through synchronization. There is a synchronization router inside. The synchronization router obtains order information and basic data update messages from order generation software, front-end data management software or other platforms. The synchronization router is connected ...
Example Embodiment
[0058] Example 2
[0059] The basic data memory organization structure diagram is as figure 2 As shown, each record in the figure consists of multiple versions. In addition to the KEY (password) value used for indexing in the record header structure, a TAG (tag) field is also added to record the current version number, where TAG ( The tag) field is of INT64 type, and the reading and writing of the TAG (tag) field are all atomic operations, and no conflict occurs. The basic data memory supports one write and multiple reads, and supports the cancel instruction of the write operation. While the HFM (Basic Data Management Module) updates the basic data record, the read operation of the application is not affected.
Example Embodiment
[0060] Example 3
[0061] A method to ensure the consistency of distributed data processing. The request messages involved in the data processing process mainly include order requests and basic data update requests. The order message comes from the order generation software, and the basic data update message comes from the foreground data management software or other platforms. The specific method is as follows:
[0062] a. After the request message arrives at the host, it will be sent to the shared message queue by the synchronization router according to the message category, and handed over to the corresponding process for processing;
[0063] b. In the order processing process, the application process first connects to the basic data memory, and then verifies the order based on the information recorded therein. After the verification is successful, it writes to the order book memory, and updates the status information in the application log file record. The application process on...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap