Blockchain Transaction Grouping by Contract State Access
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain systems face inefficiencies in transaction grouping, leading to increased computational load and storage resource usage, with limited parallelism in transaction execution.
Innovation Solution
The method involves determining identifiers of state variables accessed by transactions invoking the same contract and grouping these transactions based on those identifiers, reducing computational load and improving transaction grouping granularity and parallelism.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If transactions are grouped using traditional methods, then transaction processing can be performed, but computational load and storage resource usage increase
Solution Approach 1:
The patent segments transactions into groups based on their access patterns to state variables. By dividing the transaction stream into meaningful groups that share common state variable access characteristics, the system reduces the computational overhead of processing each transaction individually while maintaining processing completeness.
Solution Approach 2:
The patent performs preliminary analysis of transaction access patterns before full processing. By pre-identifying which state variables are accessed by which transactions, the system can organize transactions into groups that enable more efficient parallel processing, reducing overall computational load.
2Productivity
If transactions are grouped using traditional methods, then transaction processing can be performed, but storage resource usage increases
Solution Approach 1:
The patent segments transactions into groups based on their access patterns to state variables. By dividing the transaction stream into meaningful groups that share common state variable access characteristics, the system reduces the computational overhead of processing each transaction individually while maintaining processing completeness.
Solution Approach 2:
The patent performs preliminary analysis of transaction access patterns before full processing. By pre-identifying which state variables are accessed by which transactions, the system can organize transactions into groups that enable more efficient parallel processing, reducing overall computational load.
3Reliability
If transactions are processed sequentially, then processing can be completed, but parallelism is limited
Solution Approach 1:
The patent segments transactions into groups based on their access patterns to state variables. By dividing the transaction stream into meaningful groups that share common state variable access characteristics, the system reduces the computational overhead of processing each transaction individually while maintaining processing completeness.
Solution Approach 2:
The patent dynamically groups transactions based on their access patterns to state variables, allowing the system to adapt to different transaction characteristics. This dynamic grouping enables more effective parallel processing by identifying transactions that can safely execute concurrently without conflicting state access.
Data Source
AI summary
Disclosed are methods, apparatuses, and systems for grouping transactions in a blockchain. In an example method, a plurality of first transactions are obtained from a plurality of transactions that are to be grouped, where the plurality of first transactions invoke the same contract; a set of identifiers corresponding to one or more state variables of the contract that is to be accessed by each of the first transactions is determined, where the set of identifiers includes variable identifiers of the state variables during contract execution, and the variable identifiers are used to determine keys of the state variables in a state database; and the plurality of first transactions are grouped according to the set of identifiers of each of the first transactions.


