CN111949297A - Block chain intelligent contract upgrading method and device and electronic equipment - Google Patents

Block chain intelligent contract upgrading method and device and electronic equipment Download PDF

Info

Publication number
CN111949297A
CN111949297A CN202010840940.7A CN202010840940A CN111949297A CN 111949297 A CN111949297 A CN 111949297A CN 202010840940 A CN202010840940 A CN 202010840940A CN 111949297 A CN111949297 A CN 111949297A
Authority
CN
China
Prior art keywords
contract
transaction
address
parameters
persistence parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010840940.7A
Other languages
Chinese (zh)
Other versions
CN111949297B (en
Inventor
王晓亮
陈昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202010840940.7A priority Critical patent/CN111949297B/en
Publication of CN111949297A publication Critical patent/CN111949297A/en
Application granted granted Critical
Publication of CN111949297B publication Critical patent/CN111949297B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Retry When Errors Occur (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the specification relates to a method and a device for upgrading a block chain intelligent contract and electronic equipment, and the method mainly comprises the following steps: sending a transaction to deploy a first contract comprising a first set of persistence parameters and obtain a first contract address; sending a transaction to deploy a second contract comprising a second set of persistence parameters and obtain a second contract address; sending and executing the data migration transaction, and assigning the content of the first set of persistence parameters to the second set of persistence parameters; and sending and executing the contract upgrading transaction, and setting the first contract address as a proxy address of the second contract address. The agent contract of the contract to be upgraded is realized by deploying the contract, and the data migration in the contract upgrading is smoothly realized by sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.

Description

Block chain intelligent contract upgrading method and device and electronic equipment
Technical Field
The embodiment of the specification relates to the technical field of networks, in particular to a method and a device for upgrading a block chain intelligent contract and electronic equipment.
Background
In the existing block chain system, intelligent contract upgrading is always an irrevocable problem in system operation. The existing block chain technology cannot realize a unified solution of contract upgrading at a bottom layer level, but adopts a method for calling other contracts in the contracts, so that each contract upgrading needs contract management personnel to redesign the calling in the contracts again. The scheme is complex to practice, difficult to migrate data and poor in practicality.
Disclosure of Invention
The embodiment of the specification provides a method and a device for upgrading a block chain intelligent contract and electronic equipment, and aims to solve the problems that in the prior art, the implementation is complex, data cannot be smoothly migrated, and the efficiency is low.
In order to solve the above technical problem, the embodiments of the present specification adopt the following technical solutions:
in a first aspect, a method for upgrading a blockchain intelligent contract is provided, where the method includes:
sending a transaction to deploy a first contract comprising a first set of persistence parameters and obtain a first contract address;
sending a transaction to deploy a second contract comprising a second set of persistence parameters and obtain a second contract address;
sending a data migration transaction, wherein transaction data comprises a first contract address, a second contract address, the first set of persistence parameters, and a second set of persistence parameters;
executing the data migration transaction, and assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
and sending and executing a contract upgrading transaction, wherein the transaction data comprises a first contract address, a second contract address and the current block height, and the transaction content is a proxy address which sets the first contract address as the second contract address.
In a second aspect, an apparatus for block chain intelligent contract upgrade is provided, the apparatus comprising:
a first contract deployment unit: for sending a transaction to deploy a first contract comprising a first set of persistence parameters and to obtain a first contract address;
a second contract deployment unit: for sending a transaction to deploy a second contract comprising a second set of persistence parameters and to obtain a second contract address;
a data migration unit: for sending a data migration transaction, transaction data of which includes a first contract address, a second contract address, the first set of persistence parameters, a second set of persistence parameters; and executing the data migration transaction, assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
a contract upgrading unit: the contract upgrading system is used for sending and executing contract upgrading transactions, transaction data of the contract upgrading system comprise a first contract address, a second contract address and a current block height, and transaction content of the contract upgrading system is a proxy address which sets the first contract address as the second contract address.
In a third aspect, an electronic device is provided, including: one or more processors and memory, wherein the memory contains one or more computer programs executable by the one or more processors to cause the one or more processors to perform a method for blockchain intelligent contract upgrades provided according to embodiments of the present invention.
In a fourth aspect, the present invention further provides a storage medium storing a computer program, where the computer program makes a computer execute the method for upgrading a blockchain intelligent contract provided according to the embodiments of the present invention.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: the agent contract of the contract to be upgraded is realized in a contract deployment mode, and data migration in contract upgrading is smoothly realized by sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
Fig. 1 is a schematic diagram illustrating steps of a method for upgrading a blockchain intelligent contract according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a blockchain intelligent contract upgrading apparatus provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of this specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the embodiments in the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1, a schematic diagram of steps of a method for upgrading a blockchain intelligent contract provided in an embodiment of the present specification is shown, where the method includes:
step 101: sending a transaction to deploy a first contract comprising a first set of persistence parameters and obtain a first contract address;
step 102: sending a transaction to deploy a second contract comprising a second set of persistence parameters and obtain a second contract address;
step 103: sending a data migration transaction, wherein transaction data comprises a first contract address, a second contract address, the first set of persistence parameters, and a second set of persistence parameters;
step 104: executing the data migration transaction, and assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
step 105: and sending and executing a contract upgrading transaction, wherein the transaction data comprises a first contract address, a second contract address and the current block height, and the transaction content is a proxy address which sets the first contract address as the second contract address.
The method may further comprise: and setting a corresponding parameter type in the second set of persistence parameters by referring to the content needing to be migrated in the first set of persistence parameters.
It should be noted that the parameter type included in the second set of persistence parameters may be a subset of the first set of persistence parameters, that is, only the data that needs to be migrated in the first set of persistence parameters is set in the second set of persistence parameters correspondingly.
Further, executing the data migration transaction, before assigning the content of the first set of persistence parameters to the second set of persistence parameters, further comprises:
and judging whether the data type of the content to be migrated is the same as the parameter type of the second group of persistence parameters, if so, continuing data migration, and if not, reporting an error.
Wherein the first contract and the second contract are deployable by a user of the blockchain system; the data migration transaction and contract upgrade transaction may be sent by a chain administrator.
In practical applications, the user may inquire about contract information, whether the contract is a proxy contract or not, and whether the contract is a proxied contract or not, based on the contract address. Each intelligent contract can only be proxied once, and proxied contracts cannot be proxy contracts per se.
Further, setting the first contract address as a proxy address for the second contract address further comprises:
judging whether the second blockchain transaction deployment contract is a proxy contract of other intelligent contracts, and if so, reporting an error;
and/or
And judging whether the second blockchain transaction deployment contract is already proxied by other intelligent contracts, and if so, reporting an error.
After the contract upgrading transaction is executed, if the transaction after the current block is sent to the first contract address, the transaction is forwarded to a second contract address to be executed; the second contract address can no longer be sent as a directly accessible contract address to the transaction of the second contract address, which is not executed.
By the technical scheme of the specification, the agent contract of the contract to be upgraded is realized in a contract deployment mode, and data migration in contract upgrading is smoothly realized in a mode of sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.
Example two
Referring to fig. 2, a schematic structural diagram of a block chain intelligent contract upgrading apparatus provided in this specification is shown, where the apparatus mainly includes:
the first contract deployment unit 201: for sending a transaction to deploy a first contract comprising a first set of persistence parameters and to obtain a first contract address;
second contract deployment unit 202: for sending a transaction to deploy a second contract comprising a second set of persistence parameters and to obtain a second contract address;
the data migration unit 203: for sending a data migration transaction, transaction data of which includes a first contract address, a second contract address, the first set of persistence parameters, a second set of persistence parameters; and executing the data migration transaction, assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
contract upgrade unit 204: the contract upgrading system is used for sending and executing contract upgrading transactions, transaction data of the contract upgrading system comprise a first contract address, a second contract address and a current block height, and transaction content of the contract upgrading system is a proxy address which sets the first contract address as the second contract address.
Wherein the apparatus may further include a parameter setting unit: the method is used for setting a corresponding parameter type in the second set of persistence parameters by referring to the content needing to be migrated in the first set of persistence parameters.
The apparatus may further include a data type determination unit: and the data migration module is used for judging whether the data type of the content to be migrated is the same as the parameter type of the second group of persistent parameters before assigning the content of the first group of persistent parameters to the second group of persistent parameters, continuing data migration if the data type of the content to be migrated is the same as the parameter type of the second group of persistent parameters, and reporting an error if the data type of the content to be migrated is different from the parameter type of the second group of persistent.
Wherein the first contract and the second contract are deployable by a user of the blockchain system; the data migration transaction and contract upgrade transaction may be sent by a chain administrator.
In practical applications, the user may inquire about contract information, whether the contract is a proxy contract or not, and whether the contract is a proxied contract or not, based on the contract address. Each intelligent contract can only be proxied once, and proxied contracts cannot be proxy contracts per se. Therefore, the method may further comprise the step of: prior to the proxy address used to set the first contract address to the second contract address,
judging whether the second blockchain transaction deployment contract is a proxy contract of other intelligent contracts, and if so, reporting an error;
and/or
And judging whether the second blockchain transaction deployment contract is already proxied by other intelligent contracts, and if so, reporting an error.
After the contract upgrading transaction is executed, if the transaction after the current block is sent to the first contract address, the transaction is forwarded to a second contract address to be executed; the second contract address can no longer be sent as a directly accessible contract address to the transaction of the second contract address, which is not executed.
By the technical scheme of the specification, the agent contract of the contract to be upgraded is realized in a contract deployment mode, and data migration in contract upgrading is smoothly realized in a mode of sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.
It should be understood that the block chain intelligent contract upgrading apparatus described in this embodiment two may execute all technical solutions related to the block chain intelligent contract upgrading method in the form of a functional module, and implement corresponding technical effects, which are not described herein again.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 3, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory to the memory and then runs the computer program to form the intelligent contract upgrading device of the block chain on the logic level. The processor executes the program stored in the memory, and is specifically configured to execute the method operations executed when the blockchain intelligent contract upgrading device is used as the execution main body.
The method performed by the apparatus according to the embodiments shown in fig. 1 and fig. 2 of the present specification may be implemented in a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may also execute the method in fig. 1 and fig. 2, and implement the functions of the corresponding apparatus in the embodiments shown in fig. 1 and fig. 2, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
By the technical scheme of the specification, the agent contract of the contract to be upgraded is realized in a contract deployment mode, and data migration in contract upgrading is smoothly realized in a mode of sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.
Example four
Embodiments of the present specification also provide a storage medium storing a computer program, the computer program being used by a processor to execute the method for upgrading a blockchain intelligent contract described in the present application.
By the technical scheme of the specification, the agent contract of the contract to be upgraded is realized in a contract deployment mode, and data migration in contract upgrading is smoothly realized in a mode of sending a data migration contract and parameter assignment. By supporting contract agents and data migration at the bottom layer of the block chain, the intelligent contract upgrading of the block chain is efficiently and conveniently realized.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (12)

1. A method for upgrading a blockchain intelligent contract, the method comprising:
sending a transaction to deploy a first contract comprising a first set of persistence parameters and obtain a first contract address;
sending a transaction to deploy a second contract comprising a second set of persistence parameters and obtain a second contract address;
sending a data migration transaction, wherein transaction data comprises a first contract address, a second contract address, the first set of persistence parameters, and a second set of persistence parameters;
executing the data migration transaction, and assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
and sending and executing a contract upgrading transaction, wherein the transaction data comprises a first contract address, a second contract address and the current block height, and the transaction content is a proxy address which sets the first contract address as the second contract address.
2. The method of claim 1, further comprising: and setting a corresponding parameter type in the second set of persistence parameters by referring to the content needing to be migrated in the first set of persistence parameters.
3. The method of claim 2, wherein performing the data migration transaction further comprises, prior to assigning the contents of the first set of persistence parameters to the second set of persistence parameters:
and judging whether the data type of the content to be migrated is the same as the parameter type of the second group of persistence parameters, if so, continuing data migration, and if not, reporting an error.
4. A method as defined in claim 3, wherein setting the first contract address to a proxy address for the second contract address further comprises:
judging whether the second blockchain transaction deployment contract is a proxy contract of other intelligent contracts, and if so, reporting an error;
and/or
And judging whether the second blockchain transaction deployment contract is already proxied by other intelligent contracts, and if so, reporting an error.
5. The method of claims 1-4, further comprising:
the transaction sent to the first contract address is forwarded to a second contract address for execution
The transaction sent to the second contract address is not executed.
6. A blockchain intelligent contract upgrading apparatus, the apparatus comprising:
a first contract deployment unit: for sending a transaction to deploy a first contract comprising a first set of persistence parameters and to obtain a first contract address;
a second contract deployment unit: for sending a transaction to deploy a second contract comprising a second set of persistence parameters and to obtain a second contract address;
a data migration unit: for sending a data migration transaction, transaction data of which includes a first contract address, a second contract address, the first set of persistence parameters, a second set of persistence parameters; and executing the data migration transaction, assigning the contents of the first set of persistence parameters to the second set of persistence parameters;
a contract upgrading unit: the contract upgrading system is used for sending and executing contract upgrading transactions, transaction data of the contract upgrading system comprise a first contract address, a second contract address and a current block height, and transaction content of the contract upgrading system is a proxy address which sets the first contract address as the second contract address.
7. The apparatus of claim 6, further comprising a parameter setting unit: the method is used for setting a corresponding parameter type in the second set of persistence parameters by referring to the content needing to be migrated in the first set of persistence parameters.
8. The apparatus of claim 7, further comprising a data type judging unit: and the data migration module is used for judging whether the data type of the content to be migrated is the same as the parameter type of the second group of persistent parameters before assigning the content of the first group of persistent parameters to the second group of persistent parameters, continuing data migration if the data type of the content to be migrated is the same as the parameter type of the second group of persistent parameters, and reporting an error if the data type of the content to be migrated is different from the parameter type of the second group of persistent.
9. The apparatus of claim 8, further comprising a proxy contract determining unit: prior to the proxy address used to set the first contract address to the second contract address,
judging whether the second blockchain transaction deployment contract is a proxy contract of other intelligent contracts, and if so, reporting an error;
and/or
And judging whether the second blockchain transaction deployment contract is already proxied by other intelligent contracts, and if so, reporting an error.
10. An apparatus as claimed in claims 6-9, wherein a transaction sent to the first contract address is forwarded to a second contract address for execution; the transaction sent to the second contract address is not executed.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-5.
12. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-5.
CN202010840940.7A 2020-08-20 2020-08-20 Block chain intelligent contract upgrading method and device and electronic equipment Expired - Fee Related CN111949297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010840940.7A CN111949297B (en) 2020-08-20 2020-08-20 Block chain intelligent contract upgrading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010840940.7A CN111949297B (en) 2020-08-20 2020-08-20 Block chain intelligent contract upgrading method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111949297A true CN111949297A (en) 2020-11-17
CN111949297B CN111949297B (en) 2023-04-07

Family

ID=73360173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010840940.7A Expired - Fee Related CN111949297B (en) 2020-08-20 2020-08-20 Block chain intelligent contract upgrading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111949297B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527781A (en) * 2020-12-23 2021-03-19 上海万向区块链股份公司 Intelligent contract data migration method and system
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145521A (en) * 2017-04-10 2017-09-08 杭州趣链科技有限公司 A kind of data migration method towards block chain multistage intelligent contract
CN108170740A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data migration method, system and computer readable storage medium
WO2018137564A1 (en) * 2017-01-26 2018-08-02 阿里巴巴集团控股有限公司 Service processing method and apparatus
CN109559229A (en) * 2018-11-30 2019-04-02 众安信息技术服务有限公司 The method of the intelligent contract group of update based on block chain
CN110544097A (en) * 2019-09-06 2019-12-06 杭州复杂美科技有限公司 Intelligent contract version control, calling and upgrading method, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137564A1 (en) * 2017-01-26 2018-08-02 阿里巴巴集团控股有限公司 Service processing method and apparatus
CN107145521A (en) * 2017-04-10 2017-09-08 杭州趣链科技有限公司 A kind of data migration method towards block chain multistage intelligent contract
CN108170740A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data migration method, system and computer readable storage medium
CN109559229A (en) * 2018-11-30 2019-04-02 众安信息技术服务有限公司 The method of the intelligent contract group of update based on block chain
CN110544097A (en) * 2019-09-06 2019-12-06 杭州复杂美科技有限公司 Intelligent contract version control, calling and upgrading method, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527781A (en) * 2020-12-23 2021-03-19 上海万向区块链股份公司 Intelligent contract data migration method and system
CN112527781B (en) * 2020-12-23 2022-07-15 上海万向区块链股份公司 Intelligent contract data migration method and system
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product
CN113220701B (en) * 2021-05-25 2023-05-02 成都佰纳瑞信息技术有限公司 Block chain-based data structure self-adaptive change upgrading method, device, equipment and product

Also Published As

Publication number Publication date
CN111949297B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
JP6876806B2 (en) Blockchain Consensus Formation Methods and Devices
CN109669709B (en) Data migration method and data migration system for block chain upgrading
CN111949297B (en) Block chain intelligent contract upgrading method and device and electronic equipment
CN112181378B (en) Method and device for realizing business process
CN114064594B (en) Data processing method and device
CN111651467A (en) Block chain link point interface issuing and calling method and device
CN108427636A (en) Test method, system and the electronic equipment of application
CN109062714B (en) Method and device for remotely controlling android device and electronic device
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN108647102B (en) Service request processing method and device of heterogeneous system and electronic equipment
CN110648125A (en) Packaging transaction method and device and electronic equipment
CN110837446A (en) Equipment management method and device applied to embedded system, medium and embedded equipment
CN114527983A (en) Interface adaptation method and device based on middleware and electronic equipment
CN111709748A (en) Transaction execution method and device with service attribute and electronic equipment
CN113485758A (en) Micro-service issuing method and device, electronic equipment and storage medium
CN111159298A (en) Service request processing method and device, electronic equipment and storage medium
CN110489392A (en) Data access method, device, system, storage medium and equipment between multi-tenant
CN111651469B (en) Method and device for managing blockchain system contracts
CN110688430B (en) Method and device for obtaining data bypass and electronic equipment
CN105338025B (en) Invocation component method, system, client and concentration assembly method and server
CN110750271A (en) Service aggregation, method and device for executing aggregated service and electronic equipment
CN111782533A (en) Test method, test device, electronic equipment and storage medium
CN112583733A (en) Interface traffic shaping method and device, storage medium and electronic equipment
CN112988604A (en) Object testing method, testing system, electronic device and readable storage medium
CN112306710A (en) Service processing system, interface calling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 2339, 2nd Floor, No. 92, Huancheng North Road, Gongshu District, Hangzhou City, Zhejiang Province 310005

Applicant after: Hangzhou Xita Technology Co.,Ltd.

Address before: 310000 No. 1001, floor 10, tower a, Huaxing Times Square, No. 478, Wensan Road, Xihu District, Hangzhou, Zhejiang Province

Applicant before: Hangzhou Xita Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230407