Erasure-Coded Transaction Consensus to Reduce Blockchain Bandwidth
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain consensus processing methods require significant bandwidth for transmitting complete transaction data, which can lead to inefficiencies and potential selective consensus issues, where the primary node may unfairly influence transactions.
Innovation Solution
Implementing an erasure code algorithm to fragment transaction data into distinct fragments, allowing only these fragments to be transmitted between nodes, enabling efficient consensus processing while maintaining data integrity and fairness.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If complete transaction data is transmitted between nodes in traditional blockchain consensus processing, then data integrity is maintained, but bandwidth consumption increases significantly
Solution Approach 1:
The patent divides complete transaction data into multiple data fragments using erasure code technology. Each node receives and processes only its assigned fragment rather than the complete dataset, significantly reducing bandwidth consumption while maintaining the ability to reconstruct the original data through erasure code recovery mechanisms.
2Measurement precision
If the primary node transmits complete transaction data to all nodes, then consensus accuracy is ensured, but processing time increases
Solution Approach 1:
By segmenting transaction data into fragments and distributing them to different nodes simultaneously, the system enables parallel processing of consensus operations. Nodes can independently verify their assigned fragments and contribute to the overall consensus process, reducing total processing time while maintaining consensus accuracy through coordinated verification.
Solution Approach 2:
The patent performs preliminary fragmentation and distribution of transaction data before the consensus process begins. This preliminary action allows nodes to have their verification data ready in advance, eliminating the need to wait for complete data transmission before starting consensus operations, thus reducing processing time without compromising accuracy.
3Loss of information
If the primary node transmits complete transaction data, then data completeness is guaranteed, but network load increases
Solution Approach 1:
The patent segments complete transaction data into multiple fragments and distributes them across the network. Each node receives only its assigned fragment, reducing the amount of data transmitted over the network. The erasure code mechanism ensures that data completeness can be reconstructed from any sufficient subset of fragments, maintaining data completeness while reducing network load.
Solution Approach 2:
The patent introduces erasure code technology as an intermediary mechanism that enables efficient data distribution and reconstruction. This intermediary allows the system to achieve data completeness without requiring all nodes to receive and transmit complete datasets, thereby reducing overall network load while maintaining information integrity.
4Productivity
If the primary node selectively transmits specific transactions, then transmission efficiency improves, but fairness deteriorates due to potential malicious behavior
Solution Approach 1:
The patent segments transaction data into fragments and distributes them in a predetermined, transparent manner rather than allowing selective transmission. This segmentation approach maintains transmission efficiency by avoiding the transmission of complete datasets while ensuring fairness through the deterministic and verifiable fragment distribution mechanism, preventing the primary node from exercising selective discretion.
Data Source
AI summary
A method for blockchain-based transaction consensus processing is provided. Node devices in a blockchain include at least one primary node device and several secondary node devices, the primary node device fragments proposed transaction data into a specified number of data fragments based on an erasure code algorithm, and the method includes: receiving a data fragment of the transaction data that is sent by the primary node device in a unicast mode, where respective data fragments sent by the primary node device to individual node devices in a unicast mode are different from one another; broadcasting the received data fragment to other node devices in the blockchain, and receiving data fragments of the transaction data that are broadcast by the other node devices; determining whether the number of received data fragments of the transaction data reaches an erasure code recovery threshold; and if so, performing data recovery on the received data fragments based on an erasure code reconstruction algorithm to obtain original content of the transaction data, to complete consensus processing with respect to the original content of the transaction data.


