Block chain timing triggering method, computer equipment and storage medium

A blockchain and timing technology, applied in the blockchain field, can solve problems such as timing mechanism without consensus

Pending Publication Date: 2022-02-11
HANGZHOU FUZAMEI TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] If the above-mentioned "executing timing tasks when generating blocks" is not executed in the form of executing transactions, the entire timing mechanism of the scheme has not passed consensus, and there are also major security risks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Block chain timing triggering method, computer equipment and storage medium
  • Block chain timing triggering method, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0021] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0022] figure 1 It is a flowchart of a blockchain timing trigger method provided by an embodiment of the present invention.

[0023] Such as figure 1 As shown, in this embodiment, the present invention provides a block chain timing trigger method suitable for block chain nodes, including:

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a block chain timing triggering method, computer equipment and a storage medium. The method comprises the following steps: deploying a timer management contract; configuring the contract address of the timer management contract for each intelligent contract with a timing business requirement, and generating a timer registration transaction function; executing a first timer registration transaction through the timer management contract, and storing a first contract address, a first contract method, a first calling parameter and first triggering time corresponding to the first timer requested to be registered into the timer management contract; and executing the first timer trigger transaction through the timer management contract, searching each second timer whose trigger time is not later than the current time in the timer management contract, and calling the contract method according to each corresponding second contract address, the second contract method and the second calling parameter to complete the timing function. According to the invention, a timing triggering function which does not cause security risks in an intelligent contract mechanism is realized.

Description

technical field [0001] The present application relates to the technical field of block chains, and in particular to a block chain timing trigger method, computer equipment and storage media. Background technique [0002] In the smart contract mechanism of the current blockchain system, the smart contract (contract) can only be loaded into the virtual machine to execute the transaction (transaction, tx for short) when it needs to execute the transaction, and cannot actively perform any operations when it does not need to execute the transaction . [0003] This means that in the smart contract mechanism, there is no real timing trigger in essence. For example, when contract A executes transaction tx1, it needs to set a certain operation at 12:00 the next day. However, when the time comes to 12:00 the next day, there is no second transaction that needs to be executed by contract A. No active actions can be taken at this time. [0004] In view of the above problems, CN2019100...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q10/10G06Q40/04
CPCG06Q10/109G06Q40/04
Inventor 何正军王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products