Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for synchronization of blockchain nodes

A node synchronization and blockchain technology, applied in the computer field, can solve problems such as hotspot connections and cross-regional issues, and achieve the effect of reducing the probability of hotspot problems and avoiding cross-regional synchronization of blocks

Active Publication Date: 2022-08-09
THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a block chain node synchronization method and device, which can at least solve the problems of cross-region and hotspot connection in the existing Ethereum node synchronization scheme

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for synchronization of blockchain nodes
  • Method and device for synchronization of blockchain nodes
  • Method and device for synchronization of blockchain nodes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0056] The related prior art "Ethereum synchronization" of this application is explained here:

[0057] Ethereum has three types of synchronization protocols for node synchronization configuration options, namely full sync, fast sync and light sync modes.

[0058] 1. The full mode will save all block data in the database, and synchronize the header and body data from the remot...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a block chain node synchronization method and device, and relates to the technical field of computers. A specific implementation of the method includes: the node to be synchronized obtains the latest block height transmitted by other nodes in the blockchain; among other nodes, screening at least one node whose latest block height is greater than the local current highest block height, Determine the target node closest to the local physical distance from at least one node; update the local current highest block height based on the synchronization block information transmitted by the target node, so as to adjust the local current highest block height to the latest area of ​​the target node block height. This embodiment selects the target node based on the block height and physical distance, so as to avoid the situation of synchronizing blocks across regions and reduce the probability of hotspot problems.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method and device for synchronizing nodes in a blockchain. Background technique [0002] The blockchain is a decentralized distributed ledger. Each node stores the block information of the entire blockchain. Each block includes several transaction information, and the collection of all blocks contains the information on the blockchain. A collection of all transaction information. The blockchain supports the dynamic access of nodes. Nodes may or may not have accounting roles, such as backup nodes. Regardless of the role, they must meet the requirements of consistent block information with other nodes. [0003] The two most typical blockchain platforms at this stage are Bitcoin and Ethereum. Ethereum, as an extension of Bitcoin, supports third-party developers to develop smart contract applications and issue digital tokens on its platform, thereby greatly enhancin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/10H04L67/1095
CPCH04L67/10H04L67/1095
Inventor 刘杰群
Owner THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST