Intelligent contract engine system based on block chain and contract execution method

A smart contract and blockchain technology, applied in instruments, finance, data processing applications, etc., can solve the problems of long startup time, performance and low efficiency that restrict overall efficiency, and achieve the effect of convenient expansion and overcoming long startup time.

Active Publication Date: 2018-11-06
HANGZHOU RIVTOWER TECH CO LTD
View PDF5 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of this specification provides a blockchain-based smart contract engine system and its contract execution method to overcome the shortcomings of the existing contract execution method, such as long start-up time, low efficiency, and performance that restrict overall efficiency, and has excellent scalability

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 engine system based on block chain and contract execution method
  • Intelligent contract engine system based on block chain and contract execution method
  • Intelligent contract engine system based on block chain and contract execution method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] refer to figure 1 As shown, it is a schematic diagram of the steps of a blockchain-based smart contract engine system provided by the embodiment of this specification, wherein the contract engine system includes: a user interface layer, a smart contract system layer and a blockchain access interface layer;

[0055] The user interface layer is used to provide users with a unified interface through which users can interact with smart contracts in the smart contract system layer in exactly the same data interaction manner;

[0056] The smart contract system layer is used to execute smart contracts;

[0057] The blockchain access interface layer is used to provide a unified interface for accessing blockchain data for smart contracts in the smart contract system layer.

[0058] Further optionally, the smart contract system layer includes a native smart contract system and an Ethereum Virtual Machine (EVM) smart contract system.

[0059] Further optionally, the native smart...

Embodiment 2

[0064] refer to figure 2 As shown, a contract execution method based on the smart contract engine system provided by the embodiment of this specification, if the contract to be executed is only a native smart contract, it will be executed through the following steps:

[0065] S1. Make the native smart contract meet the interface requirements of the Ethereum Virtual Machine (EVM) smart contract system;

[0066] S2. Obtain the contract content according to the contract address registered in the native smart contract, and call the exec execution interface, which can execute the functional logic of the contract according to the function signature;

[0067] S3. The above native smart contract is compiled by the native compiler to generate executable code of the target machine, execute it on the machine, and call the blockchain data through the blockchain access interface layer;

[0068] If the contract to be executed is an Ethereum Virtual Machine (EVM) smart contract, the smart ...

Embodiment 3

[0074] The embodiment of this specification provides a contract execution method based on the smart contract engine system, including:

[0075] S1. The user writes a native smart contract using the blockchain system language, and the upper layer of the native smart contract meets the interface requirements of the Ethereum Virtual Machine (EVM) smart contract system;

[0076] S2. Obtain the contract content according to the contract address registered in the native smart contract, and call the exec execution interface, which can execute the functional logic of the contract according to the function signature;

[0077] S3. The above native smart contract is invoked by the blockchain access interface layer, compiled by a native compiler to generate machine executable code, and executed on the machine.

[0078] Further optionally, in the step S1, the user uses the native smart contract written by the blockchain system language, including the definition of the contract structure, t...

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 engine system based on a block chain and a contract execution method. The intelligent contract engine system based on a block chain includes a user interface layer, an intelligent contract system layer and a block chain access interface layer; the user interface layer is used for providing a unified interface to users, and through the unified interface, the users can interact with an intelligent contract in the intelligent contract system layer in an identical data interaction manner; the intelligent contract system layer is used for executing the intelligent contract; and the block chain access interface layer is used for providing a unified interface for accessing block chain data for the intelligent contract in the intelligent contract system layer. The intelligent contract engine system based on a block chain can overcome the defects of restricted performance due to slow execution speed and restricted expandability due to limited expression ability caused by adoption of an EVM mode in an existing contract engine system; and at the same time, the system can also overcome the defect that the overall efficiency is affected due to long starting time caused by adoption of a Docker mode.

Description

technical field [0001] The invention belongs to the field of computer data processing and calculation, and in particular relates to a blockchain-based smart contract engine system and a contract execution method thereof. Background technique [0002] The concept of "smart contract" was first proposed by cryptographer Nick Szabo in 1994. It is essentially an automatic contract, similar to an if-then statement in computer programming. When a pre-programmed condition When triggered, the smart contract can automatically execute the corresponding contract terms. The more common application of smart contracts is in the financial field. Almost every type of financial contract can be written as a smart contract in the form of program code. [0003] After the concept of "smart contract" was proposed, no good practical method was found until the emergence of blockchain. The blockchain 2.0 era is defined as "blockchain + smart contract", which shows the importance of smart contracts ...

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 HANGZHOU RIVTOWER TECH CO LTD
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