Node synchronization method and apparatus of blockchain

A node synchronization, blockchain technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of node synchronization failure, security problems, limited network throughput, etc., to ensure security and reliability, node The effect of routing table optimization

Active Publication Date: 2018-11-30
KINGSOFT
View PDF6 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when the network status of the adjacent nodes of the current node is not good, such as when the network is often disconnected or the network throughput is limited, node s

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
  • Node synchronization method and apparatus of blockchain
  • Node synchronization method and apparatus of blockchain
  • Node synchronization method and apparatus of blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0070] figure 1 It is a schematic diagram of the network communication mode of the blockchain system. Each node 200 is connected through the Internet. Generally speaking, the blockchain system uses P2P network technology to connect peer nodes for networking, thus forming a decentralized network structure. For example, the blockchain system of Ethereum adopts the Kademelia P2P communication protocol based on DHT (Distributed Hash Table, Distributed Hash Table) at the network layer to realize communication between nodes.

[0071...

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 provides a node synchronization method and apparatus of a blockchain. The method comprises the following steps: obtaining the information of a plurality of nodes adjacent to a node to besynchronized and the information of a plurality of nodes adjacent to an XOR node of the node to be synchronized, and determining candidate nodes according to the obtained information of the nodes; selecting a first predefined number of nodes from the candidate nodes to serve as newly added nodes; updating a routing table of the node to be synchronized according to the information of the newly added nodes to obtain an updated routing table; and synchronizing the node to be synchronized according to the updated routing table. More node information can be obtained, and the most ideal node can beselected from more nodes to perform synchronization and to update the routing table, so that the synchronization effect is locally optimal. Therefore, it can ensure that the node can obtain the currently confirmed or forked transaction faster and more stably, and the security and reliability of account book recording are ensured. At the same time, the node routing table is also optimized.

Description

technical field [0001] The invention relates to the technical fields of computer applications and block chains, in particular to a block chain node synchronization method and device. Background technique [0002] Currently, the most important blockchain platforms include the Bitcoin platform and the Ethereum platform. Among them, the Ethereum platform expands a generation of encrypted digital currency into a programmable currency, supports third-party developers to develop smart contract applications and issue digital tokens (tokens) in its platform, thus greatly expanding the application scenarios of the blockchain. At present, the Ethereum platform has become the most popular public chain system in the blockchain industry. [0003] An important feature of the blockchain is that each node saves the block information of the entire blockchain. Therefore, it is necessary to update the block data of all nodes on the entire platform synchronously. In the Ethereum platform, a n...

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
IPC IPC(8): H04L29/08H04L12/751H04L45/02
CPCH04L45/02H04L67/1095H04L67/104H04L45/44H04L67/01
Inventor 杨文玉高春盟
Owner KINGSOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products