Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent contract timing processing method, blockchain node and storage medium

A technology of smart contracts and processing methods, applied in the field of blockchain, can solve the problem that blockchain smart contracts cannot be automatically executed, and achieve the effect of automatic invocation and consistency

Pending Publication Date: 2020-07-03
SHENZHEN THUNDER NETWORK TECH +1
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a block chain smart contract timing processing method, block chain nodes and storage media, aiming to solve the technical problem that the block chain smart contract cannot be executed automatically

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
  • Intelligent contract timing processing method, blockchain node and storage medium
  • Intelligent contract timing processing method, blockchain node and storage medium
  • Intelligent contract timing processing method, blockchain node and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] refer to figure 1 As shown, it is a flow chart of the block chain smart contract timing processing method disclosed in the first embodiment of the present invention.

[0047] The block chain smart contract timing processing method can be applied to block chain nodes. The block chain smart contract timing processing method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0048] S11, receiving a smart contract transaction request.

[0049] Smart contracts are programs on the blockchain that are called by external users, run according to preset programs, and can be repeatedly verified on all blockchain nodes.

[0050] Users can send a smart contract transaction request to a certain blockchain node in the blockchain network through the client device to request the execution of the smart contract transaction. For example, transfers, shopping and other t...

Embodiment 2

[0099] refer to figure 2 As shown, it is a schematic diagram of the functional modules of the block chain smart contract timing processing device disclosed in the second embodiment of the present invention.

[0100] In some embodiments, the block chain smart contract timing processing device 20 runs in a block chain node. The block chain smart contract timing processing device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the block chain smart contract timing processing device 20 can be stored in the memory of the block chain node, and executed by at least one processor to perform (see for details figure 1 Description) Timing processing of blockchain smart contracts.

[0101] In this embodiment, the block chain smart contract timing processing device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a receiving modu...

Embodiment 3

[0147] image 3 It is a schematic diagram of the internal structure of the blockchain node disclosed in the embodiment of the present invention.

[0148] In this embodiment, the blockchain node 3 may include a memory 31 , a processor 32 , a bus 33 and a transceiver 34 .

[0149] Wherein, the memory 31 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 31 may be an internal storage unit of the blockchain node 3 in some embodiments, such as a hard disk of the blockchain node 3 . The memory 31 may also be an external storage device of the block chain node 3 in other embodiments, such as a plug-in hard disk equipped on the block chain node 3, a smart memory card (Smart Media Card, SMC), Secure Digital (SecureDigital, SD) card, flash memory card (Flash Card), etc. Further, the m...

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 blockchain smart contract timing processing method. The method comprises the steps of receiving a smart contract transaction request; checking whether the timer expires or not; responding to the expired timer, calling an intelligent contract to execute a transaction according to the expired timer and generating a global state; generating a new block according to the globalstate; and broadcasting the new block to other block chain nodes in a block chain network. The invention also provides a blockchain node and a storage medium. According to the invention, automatic execution of the blockchain smart contract can be realized.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a timing processing method for smart contracts, block chain nodes and storage media. Background technique [0002] Smart contracts are the most important components of blockchain applications, relying on the implementation of smart contracts to create credible, secure, and verifiable calculations. Since smart contracts need to meet the requirements of repeatable verification, this requires any machine to re-execute the smart contracts contained in all blocks at any time, and the results obtained must be consistent with the results of other nodes, which in turn requires the contract virtual machine to be a deterministic The execution environment prevents the virtual machine from actively accessing the external environment, including time, because the data in the external environment is uncontrollable and may affect the execution result. [0003] Therefore, it is necessary to...

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): G06F9/455G06F9/54G06Q40/04
CPCG06F9/45558G06F9/542G06F9/547G06Q40/04G06F2009/45595
Inventor 张慧勇
Owner SHENZHEN THUNDER NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products