Blockchain Block Processing via Leader-Follower Parallel Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing block generation method for alliance chains and private chains is inefficient, leading to prolonged transaction processing times and potential congestion in the blockchain, as security verification is divided into multiple layers, resulting in delayed transaction processing.

Innovation Solution

A block processing method where a leader node packages transaction information into a candidate block, broadcasts it, and performs verification and execution, while a follower node verifies and executes the transactions, with both nodes reaching consensus using a distributed consensus algorithm to speed up block generation and transaction processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple layers of security verification are performed for alliance chains and private chains, then security is improved, but block generation time is prolonged

Engineering Contradiction:
ImprovesecurityVSAvoidblock generation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the verification process into two distinct phases: pre-check verification (performed by the leader node before block generation) and post-check verification (performed by follower nodes after block generation). This segmentation allows different verification tasks to be performed at different times by different nodes, reducing the time required for block generation while maintaining comprehensive security verification across multiple layers.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The leader node performs pre-check verification on transactions before packaging them into a candidate block. This preliminary action completes the verification work in advance, so that when the block is generated and broadcast to follower nodes, the verification results are already available, thereby reducing the overall time required for block generation and preventing transaction accumulation.

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If sequential verification and execution is performed by a single node, then process simplicity is maintained, but transaction processing speed is reduced

Engineering Contradiction:
Improveprocess simplicityVSAvoidtransaction processing speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent merges the verification and execution functions across multiple nodes (leader node and follower nodes) to work together in a coordinated manner. The leader node packages transactions into candidate blocks and performs pre-check verification, while follower nodes perform post-check verification and execution. This merging of functions across multiple nodes increases transaction processing speed while maintaining manageable process simplicity through clear role division.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces a dimensional change from single-node sequential processing to multi-node parallel processing. By distributing verification and execution tasks across leader and follower nodes, the system leverages parallel computation to significantly increase transaction processing speed. The consensus mechanism ensures that all nodes agree on the verification results, maintaining system consistency while achieving high throughput.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Stability of the object's composition

If all nodes perform verification and execution sequentially, then consistency is ensured, but block generation speed is reduced

Engineering Contradiction:
ImproveconsistencyVSAvoidblock generation speed
Core Design Contradiction:
Stability of the object's compositionVSProductivity

Solution Approach 1:

The patent segments the verification and execution process into pre-check (leader node) and post-check (follower nodes) phases. This segmentation allows parallel processing while maintaining consistency through the consensus mechanism. The leader node performs verification and packaging first, then follower nodes verify and execute in parallel, with all nodes reaching consensus on the final results to ensure system consistency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent ensures continuity of useful action by having the leader node continuously package transactions into candidate blocks and broadcast them to follower nodes. Follower nodes continuously perform verification and execution in parallel. This continuous operation without idle waiting significantly improves block generation speed while the consensus mechanism ensures all nodes remain consistent with each other throughout the process.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS12014204B2Block processing method, node, and system
Publication Date: 2024.06.18 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12014204B2 patent drawing
  • US12014204B2 patent drawing
  • US12014204B2 patent drawing

AI summary

Embodiments of this disclosure disclose a block processing method, a node, and a system, to improve the speed of block generation and the performance of transaction processing. One method includes: a first node being a leader node, and a second node being a follower node, packaging, by the first node, first transaction information in a transaction queue of the first node into a candidate block, and broadcasting the candidate block through the blockchain; performing, by the first node, verification on the first transaction information in the candidate block to generate a first verification result, and executing the first transaction information in the candidate block to generate a first transaction execution result; broadcasting, by the first node, a first node processing result comprising the first verification result and the first transaction execution result through the blockchain; receiving, by the first node, a second node processing result broadcast by the second node through the blockchain, the second node processing result comprising: a second verification result generated by the second node by performing verification on the first transaction information in the candidate block, and a second transaction execution result generated by executing the first transaction information in the candidate block by the second node; and performing, by the first node, consensus on the candidate block according to the first node processing result and the second node processing result, saving, by the first node, the candidate block in response to a consensus on the candidate block being reached successfully, and saving, by the first node, the first transaction execution result in response to the first transaction information being executed successfully.