Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Efficient communication method and system applied to blockchain

A communication method and blockchain technology, applied in the field of blockchain P2P communication, can solve problems such as affecting the decentralization of the blockchain, increasing the communication cost, and reducing the robustness of the blockchain.

Pending Publication Date: 2021-11-26
曾春峰
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the C / S or B / S mode, the client only needs to communicate with the server, but compared with C / S or B / S, since the nodes in the P2P network need to communicate with multiple other nodes, it will increase the communication cost
If there are too many connected nodes in the blockchain, it will seriously affect the normal communication of the nodes. If there are too few connected nodes, it will reduce the robustness of the blockchain, and even affect the decentralization of the blockchain, and adopt p2p Communication, nodes will repeatedly receive the same message, that is, redundant information, how to improve the robustness of the blockchain and reduce the transmission of redundant information while reducing the number of connections or communication times is an urgent problem for the blockchain technical issues

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
  • Efficient communication method and system applied to blockchain
  • Efficient communication method and system applied to blockchain
  • Efficient communication method and system applied to blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] The present invention provides a high-efficiency communication method applied in blockchain, which mainly includes the following steps:

[0030] Step 1. The new node A broadcasts its own address to the blockchain network. After receiving the address broadcast by the new node, other nodes in the blockchain network send a response message to the new node A. The new node A randomly selects from the previous N response messages. Determine the address of a node B and access the blockchain network;

[0031] Step 2: Node B adds the new node A as a leaf node to the balanced tree according to the node information stored in the balanced tree structure, and broadcasts the newly generated balanced tree to the new node A and other nodes in the balanced tree. The tree refers to the data structure that only transmits data between the parent node and the child node. The root node of the balanced tree stores the addresses of other root nodes in the blockchain network;

[0032] Step 3. ...

Embodiment 2

[0039] In another embodiment, the present invention also provides an efficient communication system applied to blockchain, including the following modules:

[0040] Access module, new node A broadcasts its own address to the blockchain network, and other nodes in the blockchain network send a response message to the new node A after receiving the address broadcast by the new node, and the new node A receives the address from the previous N response messages Randomly determine the address of a node B and access the blockchain network;

[0041] Balanced tree acquisition module, node B adds new node A as a leaf node to the balanced tree according to the node information stored in the balanced tree structure, and broadcasts the newly generated balanced tree to new node A and other nodes in the balanced tree, so The balanced tree refers to a data structure that only transmits data between the parent node and the child node, and the root node of the balanced tree stores the addresse...

Embodiment 3

[0047] In addition, in another embodiment, the present invention also provides a computer-readable storage medium for storing computer program instructions, which is characterized in that, when the computer program instructions are executed by a processor, the computer program instructions described in Embodiment 1 are implemented. Methods.

[0048] Various embodiments described in the present invention can be combined to realize corresponding technical solutions. The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any Any other known storage medium.

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 an efficient communication method and system applied to a blockchain. Nodes of a blockchain network are divided into a plurality of node sets which are organized through a balance tree structure, a new node is added to a balance tree at random and taken as a leaf node of the balance tree, and the newly generated balance tree is broadcasted to other nodes in the balance tree. A root node can generate a new balance tree at random according to the balance tree at regular time, and sends the addresses of other root nodes in the blockchain network stored by the original root node to the root node of the newly generated balance tree. Only a parent node and a child node in the balance tree directly communicate, so that the problem that p2p communication used by the blockchain occupies too much bandwidth is solved. Meanwhile, the number of balance tree nodes is limited, and the blockchain is prevented from tending to be centralized.

Description

technical field [0001] This application relates to the field of block chains, in particular to methods and systems for block chain P2P communication. Background technique [0002] Blockchain is a decentralized and non-tamperable distributed ledger system. Due to its characteristics of decentralization and non-tampering, people pay more and more attention to it. Moreover, many countries have issued blockchain development plans, and there are many Universities and scientific research institutions are involved in the research of blockchain. The architecture of the blockchain includes six layers, from bottom to top are presentation layer, transport layer, verification layer, incentive layer, contract layer and application layer, among which the transport layer is responsible for the node discovery of the blockchain, transaction broadcasting, etc. The foundation of the blockchain. One of the most important attributes of the blockchain is decentralization, which is different fro...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/10H04L67/1019H04L67/1097H04L67/1001
Inventor 曾春峰
Owner 曾春峰
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products