Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for testing intelligent contract deployed on blockchain node

A smart contract and blockchain technology, applied in software testing/debugging, error detection/correction, transmission system, etc., can solve problems such as low testing efficiency

Pending Publication Date: 2021-05-11
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

[0004] In the process of realizing the disclosed concept, the inventor found that there are at least the following problems in the related technology, and the testing efficiency of the smart contract using the related technology is not high

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
  • Method and device for testing intelligent contract deployed on blockchain node
  • Method and device for testing intelligent contract deployed on blockchain node
  • Method and device for testing intelligent contract deployed on blockchain node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0021] The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features,...

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 embodiment of the invention provides a method and device for testing a intelligent contract deployed on a block chain node, electronic equipment and a storage medium, and is applied to the technical field of block chains or other fields. The method comprises: according to a case scheduling strategy, scheduling a target test case from a plurality of test cases, the target test case comprising a preset matching relationship, a contract address, a contract execution parameter associated with the contract address and a variable name; according to a preset matching relationship, converting the variable name in the target test case into a variable address corresponding to the variable name; determining a to-be-tested intelligent contract according to the contract address; initializing the to-be-tested intelligent contract according to the contract execution parameter to obtain the initialized to-be-tested intelligent contract; and executing the initialized to-be-tested intelligent contract to obtain a contract execution result, the contract execution result including variable information associated with the variable address.

Description

technical field [0001] Embodiments of the present disclosure relate to technical fields such as blockchains and computers, and more specifically, to a method, device, electronic device, computer-readable storage medium, and computer program product for testing smart contracts deployed on blockchain nodes . Background technique [0002] With the rapid development of blockchain technology, more and more blockchain-based decentralized applications (Decentralized Application, DAPP) have emerged, which can be understood as smart contract codes running on blockchain nodes and A collection of peripheral codes. Blockchain-based decentralized applications can be implemented through smart contracts deployed on blockchain nodes. Therefore, it is necessary to implement the corresponding functions by running smart contracts. [0003] A smart contract is a computer protocol designed to communicate, verify or enforce contracts in an informational manner, allowing trusted transactions wi...

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): G06Q40/04G06F11/36H04L29/08
CPCG06Q40/04G06F11/3684G06F11/3688H04L67/1097
Inventor 陈金娣黄肇敏邹晓梦王志远
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA