Blockchain Consensus Node Block Proposal Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In blockchain networks, consensus nodes may fail to obtain complete voting information due to network disconnection or delay, leading to inconsistent data as some nodes write new blocks while others do not, causing data inconsistencies on the blockchain.

Innovation Solution

A method where a consensus node processes block proposal messages by deleting the message if it has a locked block with the same height as the new block, obtaining voting information from the first consensus stage, and determining a consensus result based on submission voting information in the second consensus stage to ensure accurate block verification and reduce data inconsistency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If consensus nodes continue to process new block proposals even when they have locked blocks, then network throughput is maintained, but data inconsistency occurs across nodes

Engineering Contradiction:
Improvenetwork throughputVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary verification to determine if a node already has a locked block before processing new block proposals. This preliminary check prevents redundant processing and potential data inconsistency by identifying nodes that should skip the current proposal and wait for their locked block to be confirmed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts block processing behavior based on the locked block status of each node. Nodes with locked blocks are directed to skip current proposals and focus on confirming their locked blocks, while nodes without locked blocks continue normal processing, creating a dynamic, status-dependent processing workflow.

Inventive Principle:
Principle #15Dynamics

2Reliability

If consensus nodes skip processing when they have locked blocks, then data consistency is maintained, but processing efficiency decreases

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system extracts and handles the locked block verification logic as a separate, independent check before the main block processing flow. This extraction allows nodes to quickly determine their processing status without interfering with the overall network throughput, maintaining efficiency while ensuring consistency.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system implements feedback mechanisms where nodes report their locked block status to the network, and this status information is used to adjust processing behavior. The feedback loop ensures that nodes with locked blocks are properly identified and directed to appropriate actions, optimizing both consistency and efficiency.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If nodes wait for locked block confirmation, then consensus accuracy improves, but network latency increases

Engineering Contradiction:
Improveconsensus accuracyVSAvoidnetwork latency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system uses periodic consensus stages (first consensus stage for approval votes, second consensus stage for submission votes) to incrementally build consensus accuracy. Rather than requiring complete confirmation before any progress, the system advances through periodic verification cycles, reducing overall latency while maintaining accuracy.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system performs preliminary approval vote collection in the first consensus stage before requiring full confirmation in the second stage. This preliminary action gathers initial consensus data early, reducing the time needed for final confirmation while ensuring accuracy through the two-stage verification process.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11971877B2Method, apparatus, device, and storage medium for proposal message processing for blockchain
Publication Date: 2024.04.30 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US11971877B2 patent drawing
  • US11971877B2 patent drawing
  • US11971877B2 patent drawing

AI summary

A computer device obtains a block proposal message and obtains a first block from the block proposal message. In accordance with a determination that a current consensus node of the computer device has a second block in a locked state and a block height of the first block is the same as a block height of the second block, the computer device deletes the block proposal message and obtains block voting information of the second block in a first consensus stage. The locked state is a state of a block that has passed the first consensus stage and has not passed a second consensus stage. The computer device obtains block submission voting information of the second block in the second consensus stage according to the block voting information, and determines a consensus result corresponding to the second block according to the block submission voting information.