Blockchain Node Segmentation for Faster Transaction Packing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In large blockchain networks, the frequent preemption of CPU and IO resources by different functions required for transaction chaining leads to significant delays in service processing due to the intensive service processing volume, especially in projects like tax blockchain, where thousands of transactions need to be processed in parallel, causing system scheduling inefficiencies.
Innovation Solution
The method allocates transaction validation and broadcasting to transaction processing nodes and block packing, consensus, and storage to block processing nodes, utilizing independent hardware resources for each function to prevent resource preemption, thereby improving processing efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all blockchain functions (transaction validation, broadcasting, block packing, consensus, storage) are completed through core nodes (full nodes), then the blockchain network can maintain comprehensive functionality and security, but CPU and IO resources are frequently preempted leading to significant delays in service processing
Solution Approach 1:
The patent divides the full node into two separate node types: transaction processing nodes (handling validation and broadcasting) and block processing nodes (handling packing, consensus, and storage). This segmentation allows different functions to be performed by specialized nodes with independent hardware resources, eliminating resource preemption and scheduling delays while maintaining all necessary blockchain functionalities.
2Productivity
If thousands of transactions are processed in parallel within the same time period, then the blockchain network can handle large service processing volume, but intensive service processing causes frequent resource preemption and significant system scheduling
Solution Approach 1:
By segmenting the node functions, the patent eliminates the need for complex system scheduling within a single node. Transaction processing nodes and block processing nodes operate independently with dedicated hardware resources, allowing parallel transaction processing without resource conflicts or scheduling overhead.
Solution Approach 2:
The patent introduces an independent transaction pool as an intermediary component that receives validated transactions from transaction processing nodes and makes them available to block processing nodes. This intermediary decouples the transaction validation and block packing processes, enabling parallel operation without direct resource contention.
3Use of energy by moving object
If the same hardware resources (CPU and IO) are used for multiple blockchain functions, then device utilization is maximized, but resource preemption occurs causing delays in returning service processing results
Solution Approach 1:
The patent segments hardware resources by allocating dedicated CPU and IO resources to transaction processing nodes and separate resources to block processing nodes. This physical segmentation eliminates resource preemption between functions while maintaining high utilization through specialized optimization for each node type's specific workload.
Data Source
AI summary
Block-chain-based data processing method includes acquiring, by a transaction processing node, transaction data for validation, and performing validation processing on the transaction data to obtain a validation processing result; in response to the validation processing result of the transaction data for validation being a validated-as-valid result, adding the transaction data to a transaction pool; in response to a transaction packing request transmitted by a block processing node being received, acquiring at least one transaction data from the transaction pool according to the transaction packing request, hardware device resources of the transaction processing node and the block processing node being independent from each other; and performing packing processing on the at least one transaction data to obtain a transaction data packet, and transmitting the transaction data packet to the block processing node to generate a proposed block according to the at least one transaction data in the transaction data packet.


