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

Intelligent contract real-time debugging method based on container

A technology of smart contracts and debugging methods, applied in program code conversion, program control devices, software simulation/interpretation/simulation, etc., can solve problems such as limiting the application of smart contracts, and achieve the effect of improving debugging efficiency and reducing costs

Inactive Publication Date: 2019-05-21
HANGZHOU QULIAN TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cumbersome process greatly limits the 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
  • Intelligent contract real-time debugging method based on container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0032] The following uses a specific smart contract debugging example to illustrate the specific implementation method, with the following steps:

[0033] 1) First, the user edits the smart contract code in the front-end system,

[0034] 2) The front-end system automatically analyzes the standardization of the contract code, and feeds back the errors to the front-end system in real time;

[0035] 3) Correct the wrong format of the contract code according to the prompts, and the back-end system parses and compiles the contract code, and feeds back the contract syntax errors and internal errors to the front-end system;

[0036] 4) Correct the grammatical error of the contract code according to the prompts, and the back-end system correctly compiles the smart contract to obtain the binary code;

[0037] 5) The backend system deploys the binary code to the alliance chain;

[0038] 6) The user issues a call contract request in the debugging system;

[0039] 7) The back-end syste...

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 an intelligent contract code real-time debugging method based on a container. The main debugging process comprises the following steps: 1) inputting an intelligent contract code by a user; 2) the front-end system detects contract codes according to the configured rules, and feeds back the result whether the codes meet the standard or not; 3) a contract code is pulled from the Docker container, grammatical analysis is carried out, an intelligent contract is compiled, abi corresponding to the contract is acquired, and meanwhile, a compilation result and a grammatical error are fed back; 4) if the contract code is compiled successfully in the step 3), deploying the contract into a Hyperchin alliance chain; 5) if the contract code compilation in the step 3) fails, feeding back a failure result and giving a modification suggestion; and 6) if the contract is deployed successfully in the step 4), starting a debugging process of the contract code, capturing contract parameters input by the user, and returning a contract calling result. Compiling, deploying and debugging of the intelligent contract are integrated, so that the problem that debugging of the intelligentcontract code is not convenient and fast enough is solved.

Description

technical field [0001] The invention relates to block chain technology, solidity smart contract technology, Docker container, and in particular to a container-based smart contract real-time debugging method. Background technique [0002] Blockchain technology is a new type of distributed ledger technology, which is characterized by decentralization and immutability. Driven by the consensus algorithm, each verification node on the blockchain participates in the process of transaction verification to ensure the consistency and immutability of the blockchain ledger data. [0003] A smart contract refers to a string of binary codes that can run on the blockchain. It can be understood as a bridge between the blockchain and the outside world. Under the immutable characteristics of the blockchain, some high-security operations can be performed on the smart contract. , such as digital currency transactions, bank inter-bank clearing and other operations. The execution of the smart ...

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/455G06F8/41
Inventor 李伟邱炜伟梁秀波李启雷尹可挺
Owner HANGZHOU QULIAN TECH CO LTD
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