Transaction data consistency processing method, electronic device and storage medium
A technology of transaction data and processing method, which is applied in the field of blockchain to achieve the effect of solving data consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0065] refer to figure 2 As shown, the first embodiment of the present invention proposes an electronic device 1 implementing a method for processing transaction data consistency.
[0066] In this embodiment, the electronic device 1 may be a server, a smart phone, a tablet computer, a personal computer, a portable computer and other electronic devices with computing functions.
[0067] The electronic device 1 includes: a memory 11 , a processor 13 , a network interface 15 and a communication bus 17 . Wherein, the network interface 15 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The communication bus 17 is used to realize connection communication between these components.
[0068] The memory 11 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a memory card, and the like....
no. 2 example
[0084] refer to image 3 As shown, the second embodiment of the present invention proposes a transaction data consistency processing method. In this embodiment, according to different requirements, image 3 The order of execution of the steps in the flowcharts shown may be changed, and certain steps may be omitted. In addition, conventional processing steps related to the blockchain system can be included in the present invention according to actual application scenarios. The method includes the following steps:
[0085] Step S10, the transaction system registers the digital asset transaction pre-initiation event into the event library of the external event system.
[0086] Specifically, the transaction system first registers the digital asset transaction pre-initiation event, sets the event state as "registered state", and registers it in the event library of the external event system.
[0087] Step S20, when the pre-initiation event registration is successful, the transa...
no. 3 example
[0095] refer to Figure 4 As shown, the third embodiment of the present invention proposes a transaction data consistency processing method. In the second embodiment, the transaction flow is normal, and the following abnormal situations may occur:
[0096] 1. The blockchain transaction fails;
[0097] 2. The blockchain transaction is successful, but the external event system is not notified;
[0098] 3. Account system transaction failure;
[0099] 4. The transaction in the account system is successful, but the external event system is not notified.
[0100] In this embodiment, on the basis of the second embodiment, the transaction data consistency processing method further includes the following steps:
[0101] In step S70, the external event system periodically scans the event database to filter out transactions of preset types.
[0102] Specifically, the reconciliation processing service module of the external event system periodically scans the event library, and scree...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


