Blockchain Node Priority-Based Data Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain-based data processing methods face inefficiencies in processing service data with high service priorities, leading to low processing efficiency for such services.
Innovation Solution
The method determines throughputs for service data with different processing priorities, allowing service data to be processed based on priority rather than solely on time, by using label information to represent processing priorities and establishing mapping relationships between label information and throughputs, enabling flexible processing and efficient storage in blockchain networks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If service data is processed based solely on time (first in first out principle), then data storage consistency is maintained, but processing efficiency for high priority services deteriorates
Solution Approach 1:
The patent introduces a priority parameter (service priority level) to change the data processing approach from time-based to priority-based. Service data is assigned different priority levels, and the blockchain node processes data according to these priority parameters rather than strictly following timestamp order, thereby improving processing efficiency for high-priority services while maintaining system adaptability
Solution Approach 2:
The patent implements dynamic data processing by allowing the processing order to adapt based on service priority. Instead of a static first-in-first-out queue, the system dynamically adjusts processing sequences according to the priority attributes of different service data, enabling high-priority data to be processed ahead of lower-priority data while maintaining overall system consistency
2Speed
If asynchronous writing policy is used to store data in blockchain, then network consistency is maintained, but processing speed for high priority services deteriorates
Solution Approach 1:
The patent applies local quality by implementing different processing strategies for different types of service data based on their priority levels. High-priority service data receives expedited processing with higher speed, while maintaining the same consistency guarantees for all data types. This allows localized optimization of processing speed for critical services without compromising overall network reliability
Solution Approach 2:
The patent segments service data into different priority categories (high priority, normal priority, low priority) and processes each segment according to its classification. This segmentation allows the system to apply different processing speeds and resource allocation strategies to different data segments, improving overall processing efficiency while maintaining network consistency through the underlying asynchronous writing mechanism
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present application discloses a blockchain-based data processing method and equipment. The method includes the following: determining throughputs for service data with different processing priorities, and when service data is stored in a block, obtaining the service data with the different processing priorities, so that the service data with the different processing priorities can be processed, an existing-technology rule of processing service data based solely on time can be broken, and an existing-technology issue of low efficiency of processing a service with a relatively high service priority can be alleviated. The solution provided in implementations of the present application not only ensures efficiency of processing service data with a high processing priority, but also ensures efficiency of processing service data with a low processing priority. When a processing priority is satisfied, the flexibility of processing service data in a blockchain is increased, and the use value of the blockchain in the service application field is also improved.