Smart contract upgrading and compatibility method and system applied to blockchain system

A technology of smart contracts and blockchain, applied in the field of blockchain, to achieve the effect of compatible use and automatic upgrade

Pending Publication Date: 2021-06-01
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a smart contract upgrade and compatibility method and system applied to the blockchain system in order to solve the problem of upgrading and compatibility of heterogeneous data in the current containerized deployment of smart contracts, which can be quickly, efficiently and fully automatically completed. The contract is upgraded without affecting the normal operation of the system. At the same time, the upgraded smart contract can automatically complete the data compatibility of the old contract to achieve seamless access

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 upgrading and compatibility method and system applied to blockchain system
  • Smart contract upgrading and compatibility method and system applied to blockchain system
  • Smart contract upgrading and compatibility method and system applied to blockchain system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings and examples, so as to fully understand and implement the process of how to apply technical means to solve technical problems and achieve technical effects in the present invention. It should be noted that, as long as there is no conflict, each embodiment and each feature of each embodiment in the present invention can be combined with each other, and the formed technical solutions are all within the protection scope of the present invention.

[0034]In addition, the steps shown in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and, although a logical order is shown in the flow diagrams, in some cases, the sequence may be different. The steps shown or described are performed in the order herein.

[0035] Please refer to Figure 1A As shown, the smart contract upgrade and co...

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 provides a smart contract upgrading and compatibility method and system applied to a blockchain system, relates to the field of blockchains, can be applied to the financial field and other fields, and the method comprises the steps: calculating and generating a hash value according to a smart contract code in an installation transaction request of a to-be-installed smart contract; compiling a smart contract code in the installation transaction request to construct a corresponding smart contract mirror image; registering and generating a contract record according to the intelligent contract mirror image and the hash value; and monitoring a contract state on the blockchain, when the contract state is updated, calling a corresponding intelligent contract mirror image according to the contract record to start a contract container, and performing transaction processing on the associated intelligent contract through the contract container.

Description

technical field [0001] The invention relates to the field of block chain, and can be applied to the field of finance and other fields, in particular to a smart contract upgrade and compatibility method and system applied to the block chain system. Background technique [0002] Smart contracts are an important module of blockchain service output. Business applications write business logic through smart contracts, and upload data to the chain after contract processing. Therefore, smart contracts are highly active and often need to be upgraded. When deploying contracts in a container In a blockchain system, smart contract upgrades usually require restarting the smart contract container. The upgrade solution is either complex in design and inefficient, or unfriendly to the application, affecting the normal operation of the system. In addition, smart contracts involve the processing of on-chain data, and each transaction will generate data related to the contract. After the contr...

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/656G06Q40/04
CPCG06Q40/04G06F8/656
Inventor 陈杭刘朝伟钟亮陈浩坚
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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