Block chain data synchronization method and computer readable storage medium
A technology of data synchronization and blockchain, applied in the field of blockchain, can solve the problems of data synchronization and data loss, achieve the effect of reducing the size of data packets and improving asynchronous parallel capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Please refer to figure 2 , figure 2 An interactive schematic diagram of a blockchain data synchronization method provided in the embodiment of this application, as shown in figure 2 As shown, the first node in this embodiment can be the above figure 1 Any node in the block chain network system shown, for example, can be node 101, and the block chain network in this embodiment can be the above-mentioned figure 1 The block chain network 107 in the shown block chain network system, the second node in this embodiment can be, the method provided in this embodiment includes the following steps:
[0060] S201. After the first node determines the data to be synchronized, based on the target filter, a first state vector is generated according to the identification information of the target blockchain data on the first node.
[0061] Wherein, the data to be synchronized is data that has not been synchronized and is generated by the first node. It can be understood that the...
Embodiment 2
[0188] The embodiment of this application provides a method for synchronizing blockchain data. The method of this implementation is executed by the first node. The method of this embodiment includes:
[0189] After the data to be synchronized on the first node, based on the target filter, the first node generates the first state vector according to the identification information of the target blockchain data on the first node, and the target blockchain data is the data to be synchronized or the first For all blockchain data of a node, the data length of the first state vector is less than the data length of the identification information of the target blockchain data;
[0190] The first node sends a first synchronization message to the blockchain network, and the first synchronization message carries the first routable identification prefix information and the first state vector, so that the blockchain network sends the first synchronization message to the second node; The fir...
Embodiment 3
[0205] The embodiment of this application provides a method for synchronizing blockchain data. The method in this implementation is executed by the second node. The method in this embodiment includes:
[0206] The second node receives the first synchronization message sent by the blockchain network. The first synchronization message carries the first routable identification prefix information and the first state vector. The first state vector is based on the target filter of the first node, according to the first Generated by the identification information of the target blockchain data on a node, the target blockchain data is the data to be synchronized or all the blockchain data of the first node, and the data length of the first state vector is less than the identification of the target blockchain data The data length of the information, the first routable identification prefix is used to indicate the second node, and the second node is the node that needs to send the first...
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