Blockchain Relay Node Message Forwarding Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current blockchain relay communication networks face inefficiencies in message transmission due to high communication delays and instability, particularly when using peer-to-peer technology, which does not effectively manage block synchronization messages, leading to resource wastage and reduced message sending efficiency.

Innovation Solution

The proposed solution involves a message transmission method and apparatus that utilize a blockchain relay communication network, where relay nodes receive and parse message packets to determine if they are block synchronization messages, allowing for the forwarding of partial message content without receiving all corresponding packets, using encapsulation information to identify message types and target transmission objects, thereby optimizing communication paths and reducing unnecessary data interaction.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If peer-to-peer technology is used for message transmission in blockchain networks, then direct communication between nodes is enabled, but communication delays increase and stability decreases

Engineering Contradiction:
Improvemessage transmission speedVSAvoidcommunication stability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent introduces relay nodes as intermediary components in the blockchain communication network. These relay nodes receive messages from source nodes, perform parsing and routing based on encapsulation information, and forward messages to target nodes. This intermediary mechanism optimizes communication paths, reduces direct peer-to-peer connection overhead, and improves both message transmission speed and communication stability while maintaining the decentralized nature of blockchain networks.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all message packets are received before forwarding block synchronization messages, then message integrity is ensured, but message sending efficiency decreases

Engineering Contradiction:
Improvemessage integrityVSAvoidmessage sending efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements preliminary action by having relay nodes perform parsing operations on incoming message packets immediately upon receipt, before the complete message is fully transmitted. The relay node extracts encapsulation information from the received packets to identify message types and target objects, enabling early routing decisions. This allows the system to start forwarding block synchronization messages as soon as partial information is available, significantly improving message sending efficiency while maintaining integrity through selective forwarding based on message type.

Inventive Principle:
Principle #10Preliminary action

3Speed

If relay nodes forward partial message packets immediately, then message propagation speed increases, but resource consumption increases

Engineering Contradiction:
Improvemessage propagation speedVSAvoidrelay node resource consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by implementing selective forwarding based on message type identification. Relay nodes parse encapsulation information to determine whether a message is a block synchronization message, and only forward partial packets immediately for this specific message type. Other message types continue to follow traditional complete-reception-forwarding protocols. This localized optimization reduces resource consumption by applying partial forwarding only where necessary, while still achieving faster propagation speeds for critical block synchronization messages.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP3975447B1Message transmission methods and apparatuses
Publication Date: 2024.05.15 ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
  • EP3975447B1 patent drawingFigure 1
  • EP3975447B1 patent drawingFigure 2~3
  • EP3975447B1 patent drawingFigure 4~6

AI summary

One or more embodiments of this specification provide a message transmission method and apparatus applied to a relay node in a blockchain relay communication network. The method includes: receiving a message packet, each message packet being configured to record a partial message content of a message to be transmitted; parsing the received message packet to obtain encapsulation information of the message to be transmitted, the encapsulation information being configured to indicate a type of a blockchain message located behind the encapsulation information in the message to be transmitted; and if the encapsulation information indicates that the blockchain message is a block synchronization message, forwarding the received message packet without receiving all message packets corresponding to the message to be transmitted.