Intelligent contract execution method supporting trusted execution environment

A smart contract and execution environment technology, applied in the blockchain field, can solve problems such as poor computing efficiency, inability to make full use of smart contract scalability, and poor smart contract scalability
CN112288435APending Publication Date: 2021-01-29TIANYI ELECTRONICS COMMERCE

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TIANYI ELECTRONICS COMMERCE
Publication Date
2021-01-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an intelligent contract execution method supporting a trusted execution environment, and the method comprises the steps that a blockchain consensus node monitors and collects atransaction request, and obtains an intelligent contract deployed in a blockchain, the intelligent contract comprises a common execution code and a trusted execution code, and the common execution code in the intelligent contract is executed by an intelligent contract virtual machine; wherein the trusted execution code is loaded in the trusted execution environment to complete execution, a trusted pile program and a signature private key matched with the trusted pile program are deployed in the trusted execution environment, the security of the pile program is ensured by a remote authentication mechanism, and the pile program loads the trusted execution code in the intelligent contract and completes integrity check of the trusted execution code; and signing the execution result and the code integrity. According to the method, the secure smart contract code can be executed in the blockchain environment, the contract code can include a common code and a trusted execution code, the common execution code can be executed efficiently, the trusted execution code can be executed securely, and the execution process is secure and verifiable.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of block chains, in particular to a smart contract execution method supporting a trusted execution environment. Background technique

[0002] The English name of smart contract SmartContract refers to the code that can be automatically executed according to the pre-designed logic according to the input conditions. It is usually used in the blockchain system to realize the expansion of the blockchain computing model. The smart contract is deployed on the blockchain, and the consensus protocol is used to realize the ordering and consistency of the contract input conditions by the global nodes. The smart contract is executed by the consensus node in a virtual execution environment, and the result is guaranteed by the consensus protocol. Consistency of all nodes. In order to ensure that all nodes can verify the execution results, the smart contract code and input conditions are in plain text, that is, security functions s...

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