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

Smart contract development and verification method based on Noesia logic

A smart contract and verification method technology, applied in the direction of program code conversion, special data processing applications, structured data retrieval, etc., can solve problems such as expensive, short smart contracts, difficult to cover by testing and static analysis, etc., to achieve security , Guaranteed safety and high execution performance

Active Publication Date: 2020-08-21
HANGZHOU YUNXIANG NETWORK TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This includes testing and static analysis, but testing and static analysis cannot cover all potential defects
[0006] The current smart contracts are very short, and it is relatively not difficult to formally verify them. Due to their characteristics, the cost of all defects in smart contracts is very expensive, so it is worthwhile to conduct formal verification of smart contracts as comprehensively as possible.

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
  • Smart contract development and verification method based on Noesia logic
  • Smart contract development and verification method based on Noesia logic
  • Smart contract development and verification method based on Noesia logic

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0048] Provides a smart contract development and verification method based on Noesis logic, such as figure 1 As shown, it shows the overall implementation flowchart of smart contract development and verification of the present invention, and the specific implementation steps include:

[0049] (1) Prepare an interactive theorem prover and an abstract machine for smart contracts on it where Sc represents the smart contract, represents an abstract machine;

[0050] (2) Realize the separation of calculation and state, and record all state transitions in the form of instructions;

[0051] (3) Based on the scheme of separation of calculation and state, calculate the smart contract;

[0052] (4) After the calculation of the smart contract is completed, it is written into the blockchain.

[0053] Described step (1), also comprises: as figure 2 Shown is the main frame diagram of the Noesis logic of the present invention, utilizing the Noesis logic realizer Realize the program...

specific Embodiment 2

[0080] 1. figure 1 It shows an implementation form according to the present invention, and shows the overall implementation flowchart of smart contract development and verification of the present invention, which implements a Noesis logic-based smart contract development and verification method. The specific implementation steps include:

[0081] (1) Prepare the HOL interactive theorem prover and its abstract machine for smart contracts where Sc represents the smart contract, represents an abstract machine;

[0082] (2) Realize the separation of calculation and state, and record all state transitions in the form of instructions;

[0083] (3) Based on the scheme of separation of calculation and state, calculate the smart contract;

[0084] (4) After the calculation of the smart contract is completed, it is written into the blockchain.

[0085] Described step (1), also comprises: as figure 2 Shown is the main frame diagram of the Noesis logic of the present invention, wh...

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 a smart contract development and verification method based on Noeses logic, and the method comprises the steps: preparing an interactive theorem prover and an abstract machinefor a smart contract on the interactive theorem prover, wherein the abstract machine for the smart contract comprises the smart contract and the abstract machine; on the interactive theorem prover andthe abstract machine for the smart contract, realzing a scheme of separation of calculation and states, and transferring all states and recording the same in an instruction mode; calculating an smartcontract through a transfer instruction based on the scheme of separation of calculation and states; and after the smart contract is calculated, writing the smart contract into a blockchain. The smart contract development and verification method based on Noeses logic has the advantage that the development and verification process of the zero-defect code of the smart contract on the blockchain canbe realized. According to the formalized verification method, the formalized analysis efficiency of the smart contract is improved, so that the execution efficiency of the smart contract is improved,and the security of the smart contract in the execution process is ensured.

Description

technical field [0001] The invention belongs to the fields of formal verification technology, smart contract technology and block chain technology, and specifically relates to a Noesis logic-based smart contract development and verification method. Background technique [0002] With the development of computer information technology, the value of blockchain technology has been gradually recognized and widely used, and it has provided a development platform for smart contract technology that has never been able to find a basis for development. As one of the basic technologies of blockchain technology, smart contract technology can be developed and put into application relying on blockchain technology. Blockchain technology is a distributed database technology that verifies and stores data with a block chain data structure. At the application level, more people are willing to understand it as a consensus algorithm that uses distributed nodes to ensure data consistency. Techno...

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): G06F8/20G06F8/41G06F16/23G06F16/27
CPCG06F8/20G06F8/41G06F16/2365G06F16/27Y02D10/00
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