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 PDF8 Cites 6 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

[0052] 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.

[0053] 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.

[0054]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 add...

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 version management method and device and a readable storage medium. The management method comprises the steps of receiving a first transaction which is createdaccording 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 condition rule table in a storage space corresponding to the contract address, wherein the contract code table comprises a plurality of contract codes and version codes in a mapping relationship, the condition rule table comprises a plurality of condition rules, each condition rule comprises a version code, a condition combination mode and a condition listwhich are in a mapping relationship, and each inspection condition is recorded in the condition list; receiving a second transaction which is created according to the contract address and the callingparameter and is used for calling the intelligent contract, and obtaining a corresponding condition rule table according to the contract address; and determining a version code according to the condition rule table so as to execute a second transaction according to the contract code corresponding to the version code. The smart contract version management method and device have the beneficial effect that the multi-contract code version is managed based on the 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, which can safely store digital currency transactions or other data. The transaction confirmation on the blockchain is completed by all nodes on the blockchain and guaranteed by the consensus algorithm. For its consistency, a public ledger is maintained on the blockchain, and 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 through smart contracts. Operation, so so...

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): G06Q20/38G06Q40/04
CPCG06Q20/389G06Q40/04
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