Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block chain intelligent contract repairing method and device

A smart contract and repair method technology, applied in the blockchain field, can solve problems such as difficulty in reproducing problems, unclear links, high labor costs for smart contract operation and maintenance, and achieve the goals of improving accuracy and reducing development and operation and maintenance costs Effect

Pending Publication Date: 2021-06-29
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although there are many automated tools to ensure the specification of the contract and a large number of tests, the troubleshooting in the test and the repair of the contract problem are mainly completed by manually checking the contract execution log. The accuracy of the contract execution is also dependent on manual labor, which will cause two problems: First, the development and operation and maintenance of smart contracts are costly. The contract itself must be deployed to execute transactions on the network before it can be tested. If there is an execution error or the result is wrong during the test, the contract execution log can only be manually checked to find the error message. Troubleshoot code problems and fix them; second, the logical accuracy of smart contracts cannot be guaranteed. Contract codes are a collection of business logic, and the integrity of transaction links on the chain cannot be tracked in real time. Logical loopholes can only be discovered passively during account reconciliation or error reporting. And the link is not clear, making it difficult to reproduce the problem

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
  • Block chain intelligent contract repairing method and device
  • Block chain intelligent contract repairing method and device
  • Block chain intelligent contract repairing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] 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 making creative efforts belong to the protection scope of the present invention.

[0032] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0033] In view of the high labor cost of development and operation and maintenance of smart ...

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 block chain intelligent contract repairing method and device, and belongs to the technical field of block chains. The block chain smart contract repair method comprises the steps of uploading a smart contract to a block chain test network, so that the block chain test network executes the smart contract and generates an operation log; receiving an operation log from the block chain test network, and generating an actual service flow chart according to the operation log; comparing the actual business flow chart with a corresponding preset business flow chart to generate a repair code; and repairing the smart contract according to the repair code. The development, operation and maintenance cost of the smart contract can be reduced, and the accuracy of the internal logic of the smart contract is improved.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a method and device for repairing block chain smart contracts. Background technique [0002] Smart contracts can only be tested on their functional interfaces by deploying them on the blockchain network. The test is generally implemented by writing automated test cases and performing a large number of input and output checks. Many companies currently provide static code scanning of smart contracts And formal verification methods constrain the writing specifications of smart contracts. [0003] Although there are many automated tools to ensure the specification of the contract and a large number of tests, the troubleshooting in the test and the repair of the contract problem are mainly completed by manually checking the contract execution log. The accuracy of the contract execution is also dependent on manual labor, which will cause two problems: First, the developme...

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
IPC IPC(8): G06F8/30G06Q10/06G06Q40/04
CPCG06F8/31G06Q10/0633G06Q40/04
Inventor 夏韵裴磊夏琼吴业骏
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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