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

Intelligent contract security detection method based on oracle machine

A smart contract, security detection technology, applied in error detection/correction, redundant code for error detection, response to error generation, etc., to reduce storage space occupation, improve efficiency, and reduce memory storage.

Pending Publication Date: 2020-04-17
HANGZHOU YUNXIANG NETWORK TECH
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the development of blockchain technology, smart contract technology has also been developed, but security issues have always been the bottleneck restricting its development
The development of the existing smart contract oracle machine is still immature. How to enable the oracle machine to efficiently and accurately detect smart contracts in the blockchain distributed network is the focus of current research

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 security detection method based on oracle machine
  • Intelligent contract security detection method based on oracle machine
  • Intelligent contract security detection method based on oracle machine

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0057] 3. The process diagram of the oracle machine performing smart contract security detection is as follows image 3 shown. An implementation of an oracle-based smart contract security detection method in the above scheme is as follows: the review and election mechanism includes: N nodes in the entire network (N≥n) verify the off-chain data and upload the data to the chain. (0.5N1 , the pre-selected nodes whose reports are true will be rewarded. When the witness node is less than 0.5R, restart H times of smart contract detection on the whole network, and recalculate the smart contract detection ability of the node again, and the nodes that made outstanding contributions in the last round of detection (such as the top 10%, according to the requirements settings), the contribution can be retained (this helps to adapt to network dynamics).

specific Embodiment 2

[0059] 4. (t, a) The principle flow chart of smart contract security detection threshold setting is as follows: Figure 4 shown. The number of smart contract coding blocks that have reached or exceeded the consensus vote of t, the oracle machine has passed the test, and the entire smart contract is proved to be safe, or the code of the smart contract that has been found to be wrong is modified so that the smart contract as a whole reaches the number of t consensus votes, Where t is the threshold value (0.5n<t≤N) that must be met for the smart contract to be executed safely, and the number of oracles is set as a. Multiple models are more complex and costly than single models, but have higher security guarantees.

[0060] For example, if the data of a oracle is set as a credible threshold, the intelligent oracles with the critical value must agree on the result, and the review node uses The oracle model of , only when a oracle is not less than The contract can only be execu...

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 security detection method based on an oracle machine. The method comprises the steps that (1) nodes in a whole network prepare for security detection ofan intelligent contract through a decentralized multiple oracle machine security detection system; (2) the consensus node encodes the completely stored smart contract into a plurality of encoding blocks through an erasure code technology; (3) members are randomly selected from a plurality of witness nodes as review nodes, and an oracle machine interface parameter is randomly distributed to the review nodes; and (4) the encoded coded intelligent contract execution encoding blocks are correspondingly distributed in a plurality of independent predication machines, (t, a) an intelligent contractdetection threshold is designed, and the intelligent contract reaching a consistent condition is executed. The intelligent contract security detection method based on the oracle machine has the function of detecting the intelligent contract, and by introducing the erasure code technology and based on the multiple oracle machine models, the detection efficiency is ensured, and the secure executionof the intelligent contract is ensured.

Description

technical field [0001] The invention belongs to the technical field of blockchain smart contracts, and in particular relates to an oracle-based smart contract security detection method. Background technique [0002] The concept of smart contracts emerged almost at the same time as the Internet. In 1995, cryptographer Nick Szabo defined a smart contract as a computable transaction protocol that executes contract terms. However, in the early days, because there was no suitable platform for running smart contracts, smart contract technology did not receive attention and development until a scholar named Satoshi Nakamoto A digital asset trading platform starting from Bitcoin is proposed. The decentralized and non-tamperable characteristics of this platform make smart contracts useful. With the development of smart contracts, the definition of smart contracts has become clearer. Generally speaking, a smart contract is a computer transaction protocol that can perform self-verific...

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): G06F11/10G06Q50/18
CPCG06F11/1012G06Q50/188
Inventor 黄步添刘振广周伟华罗春凤钱鹏林昶廷
Owner HANGZHOU YUNXIANG 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