Blockchain Transaction Consolidation for Atomic Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain transaction methods lack efficiency in consolidating transactions among multiple parties, leading to potential asset losses and complex refund processes due to partial execution of transactions.
Innovation Solution
A method and apparatus for implementing blockchain-based transactions by determining transaction paths and generating consolidated transaction data involving transaction-initiating, relay, and target parties, using common and independent transaction data, and submitting these to the blockchain for synchronized execution, ensuring all transactions succeed or fail together.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple blockchain transactions are executed separately, then transaction processing flexibility is improved, but transaction reliability deteriorates due to partial execution and asset loss risks
Solution Approach 1:
The patent combines multiple independent blockchain transactions into a single atomic transaction package. This package includes multiple transaction data items (first transaction data, second transaction data, third transaction data) that are processed together as one unit. The blockchain node executes all transactions in the package simultaneously, ensuring they either all succeed or all fail, thus eliminating partial execution risks while maintaining processing flexibility.
2Adaptability or versatility
If multiple blockchain transactions are executed separately, then transaction independence is improved, but loss of substance worsens due to potential asset losses from partial execution
Solution Approach 1:
The patent implements a pre-execution verification mechanism where the blockchain node verifies all transaction data in the package before executing any of them. The node checks whether each transaction meets execution conditions and validates the integrity of transaction data. This preliminary verification acts as a cushion, preventing asset losses by ensuring all transactions are ready and valid before atomic execution begins.
3Reliability
If transaction data is consolidated into a single package, then transaction reliability is improved, but device complexity increases
Solution Approach 1:
The patent segments the consolidated transaction package into distinct, independently verifiable components: first transaction data, second transaction data, third transaction data, and signature data. Each segment can be individually validated by the blockchain node while maintaining their atomic relationship. This segmentation reduces processing complexity by allowing modular verification of each transaction component while preserving the reliability benefits of consolidated execution.
Data Source
AI summary
The application provides a method, apparatus, and electronic device for implementing blockchain-based transactions. The method comprises: determining a plurality of blockchain-based transactions to be executed among a transaction-initiating party, a transaction-relay party, and a transaction-target party in a blockchain; generating common transaction data and first independent transaction data, wherein: the common transaction data is related to the plurality of blockchain-based transactions, and the first independent transaction data is related to one or more of the plurality of blockchain-based transactions involving the transaction-initiating party; obtaining second independent transaction data, wherein: the second independent transaction data is related to one or more of the plurality of blockchain-based transactions involving the transaction-relay party; and submitting a consolidated transaction related to the plurality of blockchain-based transactions to the blockchain, wherein the consolidated transaction comprises the common transaction data, the first independent transaction data, and the second independent transaction data.


