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

A method and device for implementing a directed graph-based smart contract in a blockchain

A technology of smart contracts and directed graphs, applied in the field of blockchain

Active Publication Date: 2020-01-14
SICHUAN UNIV
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, the present invention provides a method and device for implementing a directed graph-based smart contract in a block chain, which solves the problem that the directed graph-based smart contract has not been applied to the block chain in the prior art

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
  • A method and device for implementing a directed graph-based smart contract in a blockchain
  • A method and device for implementing a directed graph-based smart contract in a blockchain
  • A method and device for implementing a directed graph-based smart contract in a blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, only a part of the embodiments of the present invention, not all the embodiments, and are not intended to limit the present invention.

[0060] refer to figure 1 , shows a flow chart of a method for implementing a directed graph-based smart contract in a blockchain. A directed graph-based smart contract refers to expressing a program code-based smart contract in the form of a directed graph. The only starting point in the directed graph is the starting point of the content of the smart contract. The starting point of the directed graph can be an event, or just a starting point that simply represents the starting point...

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 present invention is a method and device for implementing a directed graph-based smart contract in a block chain. The present invention relates to the field of block chains. The method includes: the first consensus node in the block chain executes the event, The first consensus node judges that the event is executed correctly, and the consensus nodes in the block chain other than the first consensus node receive the executed event, judge that the event is executed correctly, and according to the judgment As a result, it is judged by the consensus mechanism that the event is correctly executed, and the event is packaged and stored in the block chain. When the consensus node in the block chain judges that the event in the smart contract is correctly executed by the consensus mechanism, And meet the end condition of the only end point of the directed graph, end the content of the smart contract. The invention provides a method and device for implementing a directed graph-based smart contract in a block chain, which realizes the application of the directed graph-based smart contract on the block chain.

Description

technical field [0001] The present invention relates to the field of block chains, in particular to a method and device for realizing smart contracts based on directed graphs in block chains. Background technique [0002] Blockchain technology is a decentralized recording technology formed by combining various existing technologies (P2P network, cryptography, etc.). At present, there is no unified definition of blockchain. The definition of blockchain on Wikipedia is: blockchain (bolckchain) is a peer-to-peer network that uses distributed databases to identify, disseminate and record information. In short, blockchain Block chain is essentially a distributed database with decentralized characteristics. Block chain technology is essentially a distributed database technology. Nodes in the network use cryptography, consensus algorithms, point-to-point communication and other technologies to jointly Maintain the consistency and integrity of data across the network. [0003] Sma...

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 Patents(China)
IPC IPC(8): G06Q20/38
CPCG06Q20/3829
Inventor 李强陈子豪李雨彤
Owner SICHUAN UNIV
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