Intelligent contract triggering method and device, apparatus and storage medium
A smart contract and setting operation technology, applied in the blockchain field, can solve problems such as high resource consumption and heavy workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 This is a flow chart of a method for triggering a smart contract provided in the first embodiment of the present invention. This embodiment is applicable to the case where the execution of the setting operation specified by the smart contract in the blockchain is triggered 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. The nodes will obtain the right to generate blocks based on the consensus mechanism and become the block generating 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 in a device that carries a block generation node. The device that carries the block generation node can be an electronic device such as a server, a mobile terminal, or a server cluster. Such as figure 1 As shown, the method is applied to the block generation...
Embodiment 2
[0061] figure 2 This is a flowchart of a method for triggering a smart contract provided in the second embodiment of the present invention. This embodiment is applicable to the case where the execution of the setting operation specified by the smart contract in the blockchain is triggered 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. The nodes will obtain the right to generate blocks based on the consensus mechanism and become the block generating 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 in a device that carries a block generation node. The device that carries the block generation node can be an electronic device such as a server, a mobile terminal, or a server cluster. Such as figure 2 As shown, the method is applied to the block generati...
Embodiment 3
[0094] Figure 4 This is a schematic structural diagram of a smart contract triggering device provided in the third embodiment of the present invention. Such as 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 determining module 510 is configured 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] The monitoring task creation module 520 is used to create a monitoring task according to the demand information when the demand information is determined to be included;
[0097] The monitoring information generation module 530 is used to generate monitoring information through monitoring tasks, where the monitoring information is used to trigger subsequent block generation nod...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


