Blockchain Consensus Switching for Fault-Tolerant Node Abnormalities

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing blockchain networks face limitations in fault tolerance performance due to low switching flexibility of consensus algorithms, which are inefficient in handling node abnormalities and malicious nodes, affecting network stability and operation.

Innovation Solution

A consensus processing method and apparatus that dynamically switches between different consensus algorithms based on environmental detection, adapting to node errors and faults, enhancing fault tolerance and stability by leveraging crash fault tolerance and Byzantine fault tolerance algorithms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a consensus algorithm focuses on efficiency of reaching a consensus, then consensus performance is improved, but fault tolerance performance deteriorates

Engineering Contradiction:
Improveconsensus performanceVSAvoidfault tolerance performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements dynamic switching between different consensus algorithms (e.g., PoW, PoS, PBFT) based on real-time detection of node abnormality rates. The system transitions from static algorithm selection to dynamic adaptation, adjusting the consensus mechanism according to network conditions to simultaneously optimize performance and fault tolerance

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of consensus algorithm type based on detected network conditions. When node abnormality exceeds a threshold, the system switches from a high-performance algorithm to a high-fault-tolerance algorithm, effectively changing the operational parameters to address the technical contradiction

Inventive Principle:
Principle #35Parameter changes

2Reliability

If a consensus algorithm focuses on fault tolerance performance, then reliability is improved, but consensus performance deteriorates

Engineering Contradiction:
Improvefault tolerance performanceVSAvoidconsensus performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system dynamically adjusts consensus algorithm selection based on real-time monitoring of node health status. During normal operation, high-performance algorithms are used; during abnormal conditions, high-fault-tolerance algorithms are activated, creating a dynamic balance between performance and reliability

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system performs preliminary detection of node abnormalities and proactively switches consensus algorithms before critical failures occur. This preventive approach ensures fault tolerance is established in advance while maintaining performance during normal conditions

Inventive Principle:
Principle #10Preliminary action

3Reliability

If consensus algorithm switching flexibility is increased, then fault tolerance performance is improved, but system complexity increases

Engineering Contradiction:
Improvefault tolerance performanceVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements a feedback mechanism where node abnormality rates are continuously monitored and fed back to the consensus algorithm selector. This closed-loop control automates the switching decision process, reducing manual complexity while improving fault tolerance through adaptive response to network conditions

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The consensus system performs self-diagnosis and self-adjustment by automatically detecting node abnormalities and switching algorithms without external intervention. This self-service capability manages system complexity internally while providing improved fault tolerance to users

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12541442B2Consensus processing method and apparatus for blockchain network
Publication Date: 2026.02.03 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12541442B2 patent drawing
  • US12541442B2 patent drawing
  • US12541442B2 patent drawing

AI summary

A consensus processing method and apparatus are provided. The method includes: obtaining a type of the consensus algorithm currently running in the blockchain network, the type of the consensus algorithm comprising a first type and a second type; performing consensus environment detection on the blockchain network to obtain a detection result in response to the blockchain network satisfying a consensus environment detection condition, the detection result indicating whether an error occurs during consensus processing of the message by the at least some nodes based on the consensus algorithm; switching the consensus algorithm currently running in the blockchain network to a consensus algorithm of another type in response to the detection result satisfying a consensus algorithm switching condition corresponding to the type of the consensus algorithm.