A method for updating an intelligent contract group based on a block chain

A smart contract and blockchain technology, applied in the blockchain field, can solve problems such as optimization, contract loopholes, and inability to be easily replaced or modified

Inactive Publication Date: 2019-04-02
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF10 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the smart contract is created on the blockchain, after the smart contract is deployed, it is bound to the contract account address. As a program, it runs on all nodes on the network and cannot be easily replaced or modified. However, in actual situations, the contract may exist Vulnerabilities, or needs for optimization, and features that cannot be modified have become key issues restricting the flexibility and wide application of 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
  • A method for updating an intelligent contract group based on a block chain
  • A method for updating an intelligent contract group based on a block chain
  • A method for updating an intelligent contract group based on a block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Various exemplary embodiments of the present invention are described in detail below with reference to the accompanying drawings. The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and systems according to various embodiments of the present invention. It should be noted that each block in a flowchart or a block diagram may represent a module, a program segment, or a part of a code, and the module, a program segment, or a part of a code may include one or more An executable instruction for a specified logical function. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be ...

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 for updating an intelligent contract group based on a block chain, the intelligent contract group comprises a proxy contract, a named contract, a service contract anda data contract, and the method comprises the following steps: creating a new version of service contract based on an original service contract; Deploying a new version of service contract on the block chain so as to obtain an address of the new version of service contract; Setting an address indicated by the named contract indication information in the service contract of the new version as theaddress of the original named contract; obtaining an address indicated by the data contract indication information from the original named contract according to the address of the original named contract; and if the address indicated by the obtained service contract indication information is consistent with the address of the original data contract, changing the address indicated by the service contract indication information into the address of the service contract of a new version in the original agency contract. According to the invention, the problem that the service and data cannot be flexibly modified on the block chain when the smart contract needs to be modified or optimized is solved.

Description

technical field [0001] The present invention relates to blockchain technology, in particular to an updatable smart contract. Background technique [0002] Blockchain can be regarded as a distributed database that relies on specific algorithms to maintain the same ledger among untrusted parties. It consists of a chain structure with time stamps, and each full node in the network has all Transaction records (regardless of light nodes and sharding technology), blockchain technology brings a decentralized, non-tamperable, highly reliable system. First of all, it cannot be tampered with, so there is no need to worry about being tampered with; secondly, it is highly reliable, and the contract can only be executed when the conditions are met; then there is also the backup of the entire network brought about by decentralization, and complete records support post-event auditing. In this environment, smart contracts can be applied. [0003] The smart contract is written in a high-le...

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): G06Q40/04G06Q20/38G06F16/901
CPCG06Q20/389G06Q40/04
Inventor 张健宋文鹏
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
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