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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
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