Method and a system for constructing a smart contract in a block chain

A smart contract and construction method technology, applied in the blockchain field, can solve problems such as non-upgradeable, insufficient integer operation efficiency, and restrictions on EVM applications, etc., to achieve the effect of ensuring privacy and security

Active Publication Date: 2019-05-17
梧桐链数字科技研究院(苏州)有限公司
View PDF11 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The machine code length of the Ethereum virtual machine is designed to be 256 bits, which leads to the inefficiency of some conventional integer operations.
[0006] 2. Stack overflow
[0007] The call depth of the Ethereum virtual machine is limited to 1024. If this limit is exceeded, a stack overflow error will be triggered
[0008] 3. Cannot be upgraded
[0009] According to the design of the Ethereum smart contract platform, once a smart contract is created, it cannot be modified. In enterprise applications, business iterative upgrades are the most basic requirements. This feature limits the application of EVM in enterprise scenarios
[0010] 4. Data privacy issues
The Docker solution relies heavily on third parties, making it difficult to deploy and expand

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
  • Method and a system for constructing a smart contract in a block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0066] Such as figure 1 As shown, a system for constructing smart contracts in a block chain includes a high-level programming language editor 1, a compiler 2, a contract management module 3, a virtual machine 4, a storage module 5 and a key management system 6, and the high-level programming The language editor 1 is connected to the compiler 2, the contract interface of the compiler 2 is connected to the blockchain application service interface of the contract management module 3, the contract management module 3 is interactively connected to the virtual machine 4, and the virtual The machine 4 is connected to the storage module 5, and the key management system 6 is connected to the virtual machine 4.

[0067] A construction method for constructing smart contracts in blockchain, comprising the following steps:

[0068] Step 1: Build the smart contract core system in the blockchain;

[0069] Advanced programming language editor, use Turing complete programming language to wr...

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 relates to a method and a system for constructing an intelligent contract in a block chain. The method comprises the steps of 1, constructing an intelligent contract core system in the block chain; Step 2, contract upgrading based on the intelligent contract core system; Step 3, contract execution based on the intelligent contract core system; And step 4, performing data privacy protection based on the intelligent contract core system. The characteristics of data isolation, contract upgradable and data privacy protection are provided, and the requirements of enterprise organizations for service iterative upgrade, data governance and data security are better met.

Description

technical field [0001] The invention belongs to the field of block chains, and in particular relates to a method and system for constructing smart contracts in block chains. Background technique [0002] A "smart contract" is a computer protocol designed to communicate, verify or enforce contracts in an informational manner. Smart contracts allow for trusted transactions without third parties, which are traceable and irreversible. The concept of smart contracts was first proposed by Nick Szabo in 1994. It was not until the birth of Bitcoin that people discovered that the underlying blockchain technology of Bitcoin was inherently able to provide a trusted execution environment for smart contracts. Smart contracts have become a blockchain 2.0 important feature of the era. [0003] The Ethereum platform took the lead in developing a smart contract platform to support the operation of smart contracts. Contract developers can use Turing-complete high-level languages ​​such as 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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/62G06F8/41
Inventor 龚生智陈尧周先先何江雁叶蔚马晓峰
Owner 梧桐链数字科技研究院(苏州)有限公司
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