Blockchain Transaction Template Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing transaction processing methods in blockchains are not flexibly adaptable to upgrades, requiring re-development and re-writing of smart contracts to support new transactions, which is inconvenient and inefficient.
Innovation Solution
A transaction processing method and apparatus that loads a transaction template matching the transaction type, processes the transaction according to the template, and writes the information into a blockchain, allowing for flexible adaptation to upgrades without re-developing smart contracts, and allocates sufficient system resources for efficient transaction processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If smart contracts are re-developed and re-written to support new transactions, then the blockchain can support upgraded transactions, but the complexity and cost of maintenance increases
Solution Approach 1:
The patent segments the transaction processing logic into two parts: immutable smart contracts stored in the blockchain and mutable transaction templates stored externally. The smart contracts handle core immutable functions while the templates handle upgradeable transaction-specific logic, allowing independent updates without re-developing entire smart contracts.
Solution Approach 2:
The patent introduces transaction templates as an intermediary layer between the external system and the blockchain smart contracts. These templates serve as a flexible interface that can be updated without modifying the underlying immutable smart contract code, thus resolving the contradiction between adaptability and maintenance complexity.
2Adaptability or versatility
If smart contracts are re-developed and re-written to support new transactions, then the blockchain can support upgraded transactions, but the time and resources required increase
Solution Approach 1:
The patent performs preliminary action by pre-defining transaction templates with common transaction logic and structures before they are needed. When new transactions need to be supported, existing templates can be reused or lightly modified rather than creating everything from scratch, significantly reducing development time.
Solution Approach 2:
The patent enables copying of existing transaction templates to create new ones. Instead of re-developing smart contracts for each new transaction type, the system copies and adapts proven templates, maintaining consistency while enabling rapid adaptation to new transaction requirements.
3Productivity
If transaction templates are updated independently of the blockchain, then flexibility and processing efficiency improve, but data consistency verification becomes more complex
Solution Approach 1:
The patent implements feedback mechanisms where transaction templates include verification rules and constraints that automatically check data consistency. When transactions are processed using updated templates, the system provides feedback to verify that the updates maintain data integrity with the blockchain state, managing complexity through automated verification rather than manual processes.
Data Source
AI summary
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for transaction processing are provided. One of the methods includes: receiving a transaction request for a target transaction; loading a transaction template matching a transaction type of the target transaction; processing the target transaction according to the transaction template to obtain transaction information; and writing the transaction information into a blockchain.


