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

Block-chain intelligent contract verification method, device and storage medium

A smart contract and blockchain technology, applied in the information field, can solve problems such as inability to store historical block data, high cost, and unrealistic real-time synchronization, and achieve the effect of saving system resources and improving execution efficiency

Active Publication Date: 2019-02-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because of their limited storage space, they cannot store all historical block data
In addition, the bandwidth of the mobile client is limited, and the traffic fee is high. When the block size is large and the block generation speed is fast, it is unrealistic to synchronize the complete data of each block to the mobile client in real time.
On the other hand, due to the weak hardware capabilities of lightweight nodes, the cost of repeatedly executing smart contracts locally and verifying whether the execution results of smart contracts are consistent with the blocks synchronized from the blockchain network is too high
[0004] There are currently lightweight node technologies on the market, but it is impossible to effectively verify the execution results of smart contracts on lightweight nodes without repeatedly executing smart contracts

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 intelligent contract verification method, device and storage medium
  • Block-chain intelligent contract verification method, device and storage medium
  • Block-chain intelligent contract verification method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In the following, only some exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature and not restrictive.

[0031] figure 1 It is a flowchart of a blockchain smart contract verification method provided by an embodiment of the present invention. Such as figure 1 As shown, the blockchain smart contract verification method of the embodiment of the present invention includes: step S110, obtaining the block header information and transaction list of the specified block from the first node in the blockchain network, wherein the transaction list Including the transaction identification and the execution result of the smart contract, the block header information includes: the root node of the first Merkle tree, the roo...

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 provides a block chain intelligent contract verification method, a device and a storage medium. The method comprises the following steps: obtaining block header information and transaction list of a designated block from a first node in a block chain network, the transaction list comprising a transaction identification and an execution result of an intelligent contract, the block header information comprising a root node of a first Merkel tree, a root node of a second Merkel tree and a last block identification of the designated block; obtaining a block header information and a transaction list of the designated block from the first node in the block chain network. Verifying a root node and a transaction identifier of the first Merkel tree; The root node ofthe second Merkel tree and the execution result of the intelligent contract are verified; Verifying whether the previous block identification of the specified block is in a pre-stored block header chain structure; If the above verification passes, it is determined that the execution result of the smart contract is valid. The embodiment of the invention can judge the validity of the execution result of the intelligent contract, save resources and improve efficiency without downloading the full amount of block information and repeatedly executing the intelligent contract in the lightweight nodelocally.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a blockchain smart contract verification method, device and computer-readable storage medium. Background technique [0002] A blockchain network is usually composed of a large number of full nodes, which maintain a full amount of ledger data. The full node will synchronize the complete data of each block in real time, so it can make a correct judgment on the validity of the block. [0003] There will also be some lightweight nodes in the blockchain network, such as mobile phone clients. Because of their limited storage space, they cannot store all historical block data. In addition, the bandwidth of the mobile client is limited, and the traffic fee is high. When the block size is large and the block generation speed is fast, it is unrealistic to synchronize the complete data of each block to the mobile client in real time. On the other hand, due to the weak hardwa...

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/04H04L29/06
CPCH04L63/12G06Q40/04G06Q2220/00G06Q40/00G06Q30/06H04L63/123G06F16/9027H04L9/3239H04L9/50H04L9/3236H04L9/0836H04L9/0643G06F9/466
Inventor 荆博
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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