Smart contract trigger method, device, equipment and storage medium
A technology of smart contracts and setting conditions, applied in the field of blockchain, can solve problems such as heavy workload and consumption of resources, and achieve the effect of reducing consumption and node workload.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 It is a flow chart of a smart contract triggering method provided by Embodiment 1 of the present invention. This embodiment can be applied to triggering the execution of the setting operation specified in the smart contract in the blockchain network in the blockchain network. The blockchain network can It is a public chain, a consortium chain or a private chain. The blockchain network usually includes multiple nodes. Based on the consensus mechanism, the nodes will obtain the right to generate blocks and become block generation nodes. The method can be executed by a smart contract triggering device, which can be composed of hardware and / or software, and can generally be integrated into a device carrying a block generation node. The device carrying the block generation node may be an electronic device such as a server, a mobile terminal, or a server cluster. like figure 1 As shown, the method is applied to the block generation node, and the method specifically...
Embodiment 2
[0061] figure 2 It is a flow chart of a smart contract triggering method provided by Embodiment 2 of the present invention. This embodiment can be applied to triggering the execution of the setting operation specified in the smart contract in the blockchain network in the blockchain network. The blockchain network can It is a public chain, a consortium chain or a private chain. The blockchain network usually includes multiple nodes. Based on the consensus mechanism, the nodes will obtain the right to generate blocks and become block generation nodes. The method can be executed by a smart contract triggering device, which can be composed of hardware and / or software, and can generally be integrated into a device carrying a block generating node. The device carrying the block generation node may be an electronic device such as a server, a mobile terminal, or a server cluster. like figure 2 As shown, the method is applied to the block generation node, and the method specifical...
Embodiment 3
[0094] Figure 4 It is a schematic structural diagram of a smart contract trigger device provided by Embodiment 3 of the present invention. like Figure 4 As shown, the device includes: a demand information determination module 510 , a monitoring task creation module 520 and a monitoring information generation module 530 .
[0095] The demand information determination module 510 is used to run the smart contract in the received transaction request, and determine whether the smart contract contains demand information for performing a set operation when the first set condition is met;
[0096] A monitoring task creation module 520, configured to create a monitoring task according to the demand information when it is determined that the demand information is included;
[0097] The monitoring information generation module 530 is configured to generate monitoring information through monitoring tasks, wherein the monitoring information is used to trigger subsequent block generatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


