A method, device and system for dynamically updating blockchain smart contract templates

A smart contract and dynamic update technology, applied in the field of communication, can solve problems such as business rule loopholes, updates, and smart contracts

Active Publication Date: 2020-12-04
BANK OF CHINA
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the writing of smart contracts requires high skills, publishing a smart contract with business rule loopholes or unfairness will bring huge losses to the transaction participants
This problem can be avoided by specifying a normalized smart contract template in advance, but if the smart contract template implemented in the traditional way is changed, all participating nodes need to change the consensus logic and upgrade the node version, which is difficult to maintain
For example, Bitcoin supports 5 standard smart contract templates. Transactions that do not belong to these 5 smart contracts are considered illegal, but these 5 smart contract templates are solidified as codes in the node verification logic. Changes to smart contracts will require a network-wide vote and require all nodes to update their local codes, which will be costly
Another example is that the Ethereum network does not support smart contract template verification, and imprecise smart contracts will bring huge losses. For example, the smart contract template used by THE DAO project is not rigorous, resulting in a loss of more than 60 million US dollars

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, device and system for dynamically updating blockchain smart contract templates
  • A method, device and system for dynamically updating blockchain smart contract templates
  • A method, device and system for dynamically updating blockchain smart contract templates

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0033] Such as figure 1 Shown is a flow chart of a method for dynamically updating a blockchain smart contract template in an embodiment of the present application. In this figure, a method for dynamically updating a smart contract template in a node is described in blockchain technology. The nodes in are divided into privileged nodes an...

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 application relates to the technical field of communication, in particular to a blockchain smart contract template dynamic-updating method, a device and a system. In order to solve the problem that the cost of changing a smart contract template of blockchain technology in the prior art is great, the provided method includes the following steps: a smart contract template is signed, wherein the smart contract template includes smart contract template data and change operation; the smart contract template is broadcast in a blockchain; and after accounting nodes receive the smart contract template, local smart contract template libraries are updated. The objective of safely and dynamically updating smart contract templates in the blockchain is achieved, so that the whole blockchain becomes more flexible in order to be adapted to complex, changeable business requirements.

Description

technical field [0001] The present application relates to the field of communication technology, in particular to a method, device and system for dynamically updating a blockchain smart contract template. Background technique [0002] Smart contracts are considered to be one of the most viable technologies in blockchain technology. Through smart contracts, the execution progress of business rules recognized by both parties is solidified in the blockchain, and the execution status is automatically executed and recorded in the transaction life cycle to avoid disputes. and fraud, reducing the cost of trust, and increasing the level of transaction automation. However, since the writing of smart contracts requires high skills, publishing a smart contract with business rule loopholes or unfairness will bring huge losses to the transaction participants. This problem can be avoided by specifying a normalized smart contract template in advance, but if the smart contract template imp...

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 Patents(China)
IPC IPC(8): G06F21/62G06F16/23
CPCG06F21/6209G06F16/23
Inventor 商建祥王继武张国华
Owner BANK OF CHINA
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