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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com