Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Smart contract version management method and device, and readable storage medium

A technology of smart contracts and management methods, which is applied in the blockchain field, can solve problems such as shortages, and achieve the effect of improving convenience

Active Publication Date: 2020-11-13
HANGZHOU QULIAN TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the process of management and maintenance of smart contracts, the code changes of smart contracts are all hard changes. Before the contract code is changed, all contract users use the smart contract before the change. After the contract code is changed, all contract users use the changed smart contract. , lacking a management method to smoothly switch code versions between old and new smart contracts

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 version management method and device, and readable storage medium
  • Smart contract version management method and device, and readable storage medium
  • Smart contract version management method and device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0048] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0049] It should be noted that in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or less steps than those described in this specification. In ad...

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 an intelligent contract version management method and device and a readable storage medium. The management method comprises the steps of receiving a first transaction which is created according to a contract code and a deployment parameter and is used for deploying an intelligent contract, generating a contract address of the intelligent contract according to the first transaction, and storing a contract code table and a proportion rule table in a storage space corresponding to the contract address, wherein the contract code table comprises a contract code and a versioncode name which are in a mapping relationship, and the proportion rule table comprises a proportion number, a version code and a transaction flow proportion which are in a mapping relationship; receiving a second transaction created according to the contract address and the calling parameter, and obtaining a corresponding proportion rule table according to the contract address; and determining a version code according to the proportion rule table so as to execute a second transaction according to the contract code corresponding to the version code. The beneficial effect of the invention is that the method achieves the multi-contract code version management based on a single contract address.

Description

technical field [0001] The present invention relates to the technical field of block chains, and in particular to a management method, device and readable storage medium of an intelligent contract version. Background technique [0002] Blockchain technology, blockchain is a new type of decentralized protocol that can safely store digital currency transactions or other data, information cannot be forged and tampered with, and transaction confirmation on the blockchain is shared by all nodes on the blockchain Completed, the consensus algorithm guarantees its consistency. A public ledger is maintained on the blockchain. The public ledger is visible to any node on the storage block, thus ensuring that it cannot be forged and tampered with. [0003] Smart contracts, smart contracts on the blockchain refer to a string of binary codes written and compiled by solidity and run on the blockchain. We can implement data storage, reading and writing, and some logic on the blockchain thro...

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): G06Q10/10G06Q40/04G06F16/27G06F21/64G06F16/23G06F8/71
CPCG06Q10/101G06Q40/04G06F16/27G06F21/64G06F16/2365G06F8/71
Inventor 邱炜伟李伟黄方蕾张珂杰薛英才
Owner HANGZHOU QULIAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products