Blockchain Relay Node Message Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain communication networks face high communication delays and instability due to reliance on peer-to-peer technology, which fails to meet application needs for reliable data transmission.
Innovation Solution
A method and apparatus for transmitting messages in a blockchain relay communication network that involves registering blockchain nodes into sets, determining target nodes and relay nodes, and optimizing message transmission through a tree-like routing table to reduce unnecessary communication resource usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If peer-to-peer technology is used for blockchain communication, then direct node-to-node transmission is achieved, but communication delays increase and stability decreases
Solution Approach 1:
The patent introduces relay nodes as intermediaries between blockchain nodes to forward messages. Instead of direct peer-to-peer communication, messages are routed through relay nodes that maintain connection pools with multiple blockchain nodes, thereby reducing communication delays and improving stability by mediating the transmission process.
Solution Approach 2:
The patent segments the blockchain network into two distinct components: blockchain nodes that generate and validate blocks, and relay nodes that handle message forwarding. This segmentation allows specialized relay nodes to optimize communication pathways independently, reducing the burden on blockchain nodes and improving overall communication efficiency and reliability.
2Loss of energy
If peer-to-peer communication is implemented, then direct transmission between nodes is possible, but communication resource usage increases due to unnecessary transmissions
Solution Approach 1:
The patent implements preliminary action by having relay nodes pre-establish connection pools with multiple blockchain nodes before message transmission is needed. This advance preparation allows relay nodes to quickly route messages through optimal pre-established connections, reducing unnecessary transmission attempts and conserving communication resources while maintaining ease of operation.
3Reliability
If relay nodes are introduced to improve communication stability, then message routing is optimized, but system complexity increases
Solution Approach 1:
The patent applies universality by designing relay nodes with multi-functionality: they maintain connection pools with multiple blockchain nodes, perform message routing, and manage connection establishment. This consolidation of multiple functions into a single relay node component simplifies the overall system architecture compared to implementing separate mechanisms for each function, thereby improving reliability without proportionally increasing complexity.
Data Source
AI summary
One or more embodiments of this specification provide methods and apparatuses for transmitting messages. A method includes: registering, based on a registration request sent by each blockchain node in a blockchain relay communication network, a blockchain node to a blockchain node set indicated by the registration request; determining, in response to receiving a blockchain message to be sent to a target blockchain node set, a target blockchain node registered to the target blockchain node set and a target relay node in the blockchain relay communication network; and transmitting the blockchain message to the target blockchain node through the target relay node.


