Single-Point Execution Contract for Blockchain Hardware Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Smart contracts on blockchain networks face challenges in controlling software and hardware systems due to uncertain information input, leading to safety issues and inconsistent operation control, especially when execution results are not verified across the network.
Innovation Solution
A method for controlling other systems using a single-point execution contract involves integrating a transparent transmission command into the contract code, executing it through a virtual machine, and utilizing a secondary development service package to operate other systems, ensuring business processing flows are followed, and verifying contract execution results without affecting verification outcomes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If smart contract is executed on the whole network and verified on the whole network, then verification reliability is improved, but the contract becomes isolated and cannot receive uncertain information input
Solution Approach 1:
The patent segments the smart contract execution process into two distinct phases: a verification phase where the contract code is verified on the whole network, and an execution phase where the contract is executed at a single point (specific node) that can receive external information input. This segmentation allows the contract to benefit from both network-wide verification reliability and the ability to receive uncertain information input during execution.
2Reliability
If smart contract is executed on the whole network, then verification transparency is improved, but control of other software/hardware systems cannot be achieved
Solution Approach 1:
The patent introduces an intermediary mechanism where the verified contract code is deployed to a specific execution node that acts as a mediator between the blockchain network and external software/hardware systems. This intermediary node receives the verified contract and executes it locally, enabling control of external systems while maintaining the transparency benefits of network-wide verification.
3Reliability
If command is transmitted through blockchain node, then network verification is improved, but node processing overhead increases
Solution Approach 1:
The patent extracts the command transmission and processing functionality from the blockchain nodes themselves. Instead of requiring blockchain nodes to process and execute contract commands, the verified contract code is taken out and deployed to dedicated execution environments where commands are processed locally, reducing the processing overhead on blockchain nodes while maintaining network verification integrity.
Data Source
AI summary
The invention discloses a method for controlling other systems based on a single-point execution contract, comprising the following steps: A, when a contract developer writes a single-point execution contract code, integrating a command needing transparent transmission into the code; B, executing, by a virtual machine, the code, calling a transparent-transmission channel command input interface while executing to a row with the command, and transmitting the command to a blockchain node; and C, not processing the command by the blockchain node, and calling a secondary development service package interface through the transparent-transmission command to transmit downwards. In the method, a command transparent-transmission channel and a transparent-transmission command secondary development package service are designed, so that a blockchain user can operate their specific software/hardware equipment through a user-defined command. The verification of the contract execution results is not influenced, and a situation where contract execution passed but verification failed can be avoided.

