Method and terminal for synchronizing data between nodes in block chain
A data synchronization and blockchain technology, applied in the blockchain field, can solve the problems of low blockchain operation efficiency, high computing power cost, and long synchronization time, so as to improve the efficiency of data synchronization and ensure data security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Please refer to figure 1 , a method for synchronizing data between nodes in a blockchain, comprising steps:
[0064] S1. After a node in the blockchain network updates the blockchain data, it broadcasts a blockchain update message to the blockchain network;
[0065] Wherein, the block chain update message includes the updated block number;
[0066] S2. Receive the request synchronization message sent by the node that receives the block chain update message in the block chain network according to the block chain update message, and the request synchronization message includes broadband capability information corresponding to the node that sent the request synchronization message ;
[0067] Specifically, the request synchronization message sent by the node receiving the blockchain update message in the blockchain network according to the blockchain update message includes:
[0068] Receiving the request synchronization message sent by the node receiving the block chain...
Embodiment 2
[0078] The difference between this embodiment and Embodiment 1 is that after determining the blockchain data to be updated, the blockchain server sends the blockchain data to be updated to nodes with lower computing power costs for updating. as follows:
[0079] S0, each node sends its own computing power to the blockchain server, and the blockchain server selects the node server with the strongest computing power from the nearest nodes according to the computing power and location of each node to update the blockchain data to be updated , and send the blockchain data to be updated to the selected node;
[0080] S1. The selected node receives the block chain data to be updated sent by the block chain server and updates the block chain, and then performs the steps in Embodiment 1;
[0081] The cost of data synchronization between nodes in the blockchain network is divided into two parts: the time cost of information transmission and the computing cost of the node. Among them, ...
Embodiment 3
[0083] Please refer to image 3 , a terminal 1 for synchronizing data between nodes in a blockchain, comprising a memory 2, a processor 3, and a computer program stored in the memory 2 and operable on the processor 3, the processor 3 executing the A computer program realizes the steps in the first embodiment.
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