Intelligent contract conflict detection method based on directed acyclic graph

A directed acyclic graph and smart contract technology, applied in the blockchain field, can solve the problems of high system resource consumption, inability to provide efficient and cost-effective smart contract conflict detection solutions, etc., to reduce consumption and improve transaction throughput. Effect

Pending Publication Date: 2021-05-25
BEIHANG UNIV +1
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, on the basis of sequential execution architecture, execute smart contracts multiple times and compare the execution results of smart contracts to judge smart contract conflicts. Such solutions can solve the problem of conflict detection to a certain extent, but the consumption of system resources is still very high. Large, unable to provide an efficient and cost-effective smart contract conflict detection solution

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 conflict detection method based on directed acyclic graph
  • Intelligent contract conflict detection method based on directed acyclic graph
  • Intelligent contract conflict detection method based on directed acyclic graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027]In order to make the objectives, technical solutions and advantages of the present invention, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It will be appreciated that the specific embodiments described herein are intended to explain the present invention and is not intended to limit the invention. The same or similar components in the drawings of the present embodiment correspond to the same or similar components; in the description of the present invention, it is to be explained, unless otherwise stated, the meaning of "multiple" is two or more; The term "upper", "lower", "left", "right", "inside", "outside", "front end", "rear end", "head", "tail", etc., the orientation or positional relationship is Based on the orientation or positional relationship shown in the drawings, it is intended to facilitate the description of the present invention and simplified description, rather than indicating or impl...

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 discloses an intelligent contract conflict detection method based on a directed acyclic graph. The method comprises the following steps: S1, enabling an endorsement node to extract a read-write set of transaction simulation execution results; s2, updating an intelligent contract conflict relation graph according to the read-write set, performing conflict detection, and generating a conflict relation mapping table of a directed acyclic graph; and S3, after transaction verification is completed and the transaction is added to the chain, updating the intelligent contract conflict relation graph and the conflict relation mapping table. The block chain intelligent contract conflict detection method provided by the invention has the beneficial effects that the smart contract in the transaction can be subjected to conflict detection in the endorsement stage, invalid transactions are judged in advance, and the invalid transactions are prevented from entering the sorting and verification stages. According to the invention, the directed acyclic graph is used for conflict detection of the smart contract, so that consumption of system resources can be greatly reduced, the transaction throughput rate of a block chain system can be effectively improved, and the system resource overhead can be reduced.

Description

Technical field[0001]The present invention belongs to the area of ​​the block chain, and specifically, the conflict detection method involving the block chain smart contract.Background technique[0002]The block chain is a multi-center, tamper-proof, represented distributed account. This account is maintained by allocal nodes in the network, and has multi-center, non-tampered, traceable source. The individual nodes in the distributed network maintains the copy of the respective accounts by performing transactions verified by consensus algorithms, and the account is stored in the form of blocks, and each block is connected by a hash value of the previous block.[0003]The earliest extensive range of block chain applications are the encrypted currency of Bitcoin, which is later derived by it, and the block chain is also entered into people's field of view. Tanfri is another category of encrypted currency, its biggest innovation point is to put forward the intelligent contract, deploy the ...

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): G06Q40/04
CPCG06Q40/04
Inventor 郑志明邱望洁袁波庞景方吴发国朱红周冬旭许洪华朱正谊姚铭艺王文帝
Owner BEIHANG UNIV
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