Blockchain Transaction Execution for Multi-Contract Calls
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain transaction methods require multiple transactions to complete a service action, leading to increased execution time, signature costs, and storage costs due to separate contract function calls.
Innovation Solution
A transaction execution method that combines multiple contract calls into a single transaction, allowing parallel execution of operations within a single transaction, reducing the need for multiple signatures and storage of individual transaction signatures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple contract calls are performed through separate transactions, then each contract function can be called independently, but the execution time increases and signature costs multiply
Solution Approach 1:
The patent combines multiple contract function calls into a single transaction by introducing a transaction executor that processes multiple operations (first operation calling first contract, second operation calling second contract) within one transaction. This merging approach allows the blockchain node to execute multiple contract calls atomically in one transaction, reducing execution time and eliminating the need for multiple separate signatures while maintaining the reliability of each contract call.
2Reliability
If multiple transactions are used to complete service actions, then each operation can be independently verified, but storage costs for transaction signatures increase
Solution Approach 1:
The patent merges multiple contract calls into a single transaction structure, where one transaction contains multiple operations (first operation, second operation, etc.). This reduces the number of transactions from N (one per contract call) to 1, thereby reducing storage requirements for transaction signatures and related metadata by approximately N-fold, while the blockchain's consensus mechanism still ensures verification reliability through the same cryptographic protocols applied to single transactions.
3Ease of operation
If separate transactions are used for each contract call, then transaction processing is straightforward, but the number of signatures required increases
Solution Approach 1:
The patent combines multiple contract function calls into a single transaction that requires only one signature from the user, rather than requiring separate signatures for each contract call. The transaction executor processes multiple operations (first operation calling first contract, second operation calling second contract) within this single signed transaction, thereby improving productivity by reducing the number of signature operations from N to 1 while maintaining processing simplicity through the standardized transaction structure.
Data Source
AI summary
Provided are blockchain transaction execution methods, apparatuses, computer-readable media and systems. An example method includes: receiving a first transaction, where the first transaction includes a first operation and a second operation, the first operation is used to call a first function in a first contract, and the second operation is used to call a second function in a second contract; and executing the first operation and the second operation.


