Updating method and apparatus for intelligent contract program of block chain

A smart contract and update method technology, applied in the blockchain field, can solve problems such as asset theft, code cannot be changed, and flexibility limitations

Inactive Publication Date: 2017-07-04
中钞信用卡产业发展有限公司杭州区块链技术研究院 +1
View PDF3 Cites 62 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the transaction process between the two parties, there may be changes to the terms, and it may even cause losses to both parties due to potential loopholes in the contract, which requires modification of the smart contract
However, once the smart contract is confirmed, the code cannot be changed, and its flexibility is greatly limited
For example, in the well-known "TheDAO" incident, this smart contract managed a total of more than 100 million US dollars in digital assets, but due to code loopholes, the assets were stolen
The underlying service of the blockchain has to perform a "fork" operation on the blockchain (data and protocols are split into two) to completely remove the influence of TheDAO. It is difficult to deal with it quickly and effectively after the system is attacked

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
  • Updating method and apparatus for intelligent contract program of block chain
  • Updating method and apparatus for intelligent contract program of block chain
  • Updating method and apparatus for intelligent contract program of block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0017] Features and exemplary embodiments of various aspects of the invention will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention ma...

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 discloses updating method and apparatus for an intelligent contract program of a block chain. The intelligent contract program comprises a main intelligent contract program and one or more functional intelligent contract programs. The method comprises steps of building a mapping table for an address of each functional intelligent contract program and a functional mark identifying each function of the main intelligent contract program, receiving a function setting request, and correcting a mapping relationship of the mapping table for the address of each functional intelligent contract program and the functional mark identifying each function of the main intelligent contract program. The method and apparatus can correct and update intelligent contract programs upon code leakage and business updating.

Description

technical field [0001] The invention belongs to the technical field of blockchain, and in particular relates to a method and device for updating a smart contract program on the blockchain. Background technique [0002] A smart contract on the blockchain is essentially a piece of programmatic code. Like other programs, it has a life cycle of creation, initialization, state storage, function call, end / destruction, etc. The difference from ordinary programs is that it runs on the blockchain, and all participants jointly guarantee that its code and operation results are recognized by everyone. Even if the operation result is unfavorable to a certain participant and the participant refuses to recognize the result, due to the guarantee of the consensus mechanism of the blockchain, most of the other participants agree with the result, the result is still valid and is not affected by a few participants. denial impact. [0003] For example, two participants A and B agree to transfe...

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): G06F9/445G06F21/57
CPCG06F8/65G06F21/577
Inventor 张一锋
Owner 中钞信用卡产业发展有限公司杭州区块链技术研究院
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