Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for executing smart contract

A smart contract and pre-execution technology, applied in the computer field, can solve problems such as difficult clock synchronization and difficult to control the synchronization of smart contracts, and achieve the effect of ensuring synchronization

Active Publication Date: 2020-01-07
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF12 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since each node in the blockchain system has its own independent clock, it is difficult for each node to maintain clock synchronization
Therefore, it is difficult for the blockchain system itself to control the synchronization of smart contracts executed by each node

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
  • Method and device for executing smart contract
  • Method and device for executing smart contract
  • Method and device for executing smart contract

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present disclosure 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 the convenience of description, only the parts related to the related invention are shown in the drawings.

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

[0032] figure 1 An exemplary architecture 100 is shown to which embodiments of the method for executing a smart contract or the apparatus for executing a smart contract of the present disclosure can be applied.

[0033] Such as figure 1 As shown, the system architectu...

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 embodiment of the invention discloses a method and a device for executing a smart contract. One specific embodiment of the method comprises the steps of determining whether a pre-execution transaction sent by other nodes in a blockchain system where the pre-execution transaction is located and used for executing a smart contract is received in response to determining that a preset execution moment for executing the smart contract is reached; in response to determining that the pre-execution transaction submitted by other nodes is not received, generating a pre-execution transaction corresponding to the node, and sending the generated pre-execution transaction to the blockchain system; performing consensus on pre-executed transactions corresponding to the smart contract with other nodes; and obtaining and executing the smart contract according to the consensus pre-executed transaction. According to the method of the invention, each node in the blockchain system completes the timingexecution of the smart contract based on the pre-execution transaction.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to methods and devices for executing smart contracts. Background technique [0002] A smart contract is a computer protocol designed to communicate, verify or enforce contracts in an informational manner. Smart contracts allow for trusted transactions without third parties, which are traceable and irreversible. [0003] At present, many smart contracts usually need to be executed regularly. Since each node in the blockchain system has its own independent clock, it is difficult for each node to maintain clock synchronization. Therefore, it is difficult for the blockchain system itself to control the synchronization of each node's execution of smart contracts. [0004] Generally, the business system calls the blockchain system to execute the smart contract at the moment of execution of the smart contract, so as to ensure the synchronization of each node...

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
IPC IPC(8): G06Q20/38G06Q40/04G06F16/27
CPCG06Q20/3825G06Q40/04G06F16/27G06F16/178G06Q2220/00G06Q30/06H04L9/50H04L9/3236G06Q20/065G06Q20/401H04L2209/463H04L2209/56
Inventor 邵珠光
Owner JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD