Leader Node Branch Blockchain Parallel Recording
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The efficiency of recording data blocks on a blockchain is low due to the need to wait for consensus on previous blocks before adding new data blocks, leading to prolonged waiting times and reduced processing efficiency.
Innovation Solution
A method where a leader accounting node selects a branch blockchain with no data block waiting for consensus from a group of branch blockchains, records the digest of the previous data block on that selected blockchain, and transmits the target data block for consensus among other accounting nodes, allowing for parallel processing and reduced waiting times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a leader accounting node waits for consensus on previous blocks before adding new data blocks, then the blockchain maintains consistency and reliability, but the recording efficiency and processing speed are reduced
Solution Approach 1:
The patent divides the blockchain into multiple branch blockchains (first branch blockchain, second branch blockchain, etc.), each capable of independent data block recording. This segmentation allows parallel processing of multiple blocks simultaneously, improving recording efficiency while maintaining consistency through the consensus mechanism that operates independently on each branch.
Solution Approach 2:
The patent enables the leader accounting node to select and record data blocks on branch blockchains before reaching full consensus across all branches. By performing preliminary recording actions on available branches and then coordinating consensus, the system reduces waiting time while ensuring final consistency through the consensus mechanism.
2Productivity
If the system uses multiple branch blockchains for parallel processing, then the data block recording efficiency is improved, but the system complexity increases
Solution Approach 1:
The patent designs a universal consensus mechanism that operates across all branch blockchains using the same accounting nodes and consensus protocol. This multi-functional approach allows the system to handle multiple branch blockchains with a single unified mechanism, reducing the actual complexity increase despite having multiple parallel chains.
Data Source
AI summary
The disclosure provides a method for recording a data block on a blockchain, a leader accounting node, and a storage medium. The method includes: generating a target data block; determining whether the plurality of branch blockchains include a branch blockchain having at least one data block waiting to be added onto the blockchain and for which no consensus has been reached; based on a determination that first branch blockchains have no data block waiting to be added onto the blockchain and for which no consensus has been reached, selecting, from the first branch blockchains, a branch blockchain for recording the target data block; recording a digest value of a previous data block recorded on the selected first branch blockchain in a block header of the target data block; and transmitting the target data block to other accounting nodes in the group of accounting nodes for reaching a consensus.


