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

Smart contract calling method, device and readable storage medium based on block chain

A smart contract and blockchain technology, applied in the blockchain field, can solve the problems of cumbersome smart contract calling process, calling errors, etc., to reduce the difficulty of calling, avoid calling errors, and simplify the calling process.

Active Publication Date: 2020-12-18
WEBANK (CHINA)
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to provide a blockchain-based smart contract calling method, device and readable storage medium, aiming at solving the problem that the existing smart contract calling process in the blockchain is cumbersome and easily leads to calling errors technical 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
  • Smart contract calling method, device and readable storage medium based on block chain
  • Smart contract calling method, device and readable storage medium based on block chain
  • Smart contract calling method, device and readable storage medium based on block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041]It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0042]Such asfigure 1 As shown,figure 1 It is a schematic structural diagram of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0043]It should be noted,figure 1 It can be a structural diagram of the hardware operating environment of the smart contract call device based on the blockchain. The smart contract invoking device based on the blockchain in the embodiment of the present invention may be a terminal device such as a PC and a portable computer.

[0044]Such asfigure 1 As shown, the blockchain-based smart contract calling device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between thes...

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 a blockchain-based smart-contract calling method and device and a readable storage medium. The method includes the steps of: after a transaction request which is sent by a client and is of calling a smart contract in a blockchain is received, obtaining, according to the transaction request, a name of the smart contract and a calling interface of calling the smart contract;obtaining transaction parameters in the transaction request, and calling the smart contract according to the name and the calling interface; and executing a service, which corresponds to the transaction request, in the smart contract according to the transaction parameters to obtain a transaction result, and returning the transaction result to the client. According to the method, a calling processof calling the smart contract in the blockchain is simplified, and calling difficulty of the smart contract is reduced.

Description

Technical field[0001]The present invention relates to the technical field of block chains, and in particular to a method, equipment and readable storage medium for invoking smart contracts based on block chains.Background technique[0002]In the existing blockchain technology, the use of smart contracts generally includes writing smart contracts, compiling smart contracts, and publishing smart contracts, where each smart contract also corresponds to a set of contract interface description information. When the smart contract is released to the blockchain, the smart contract will generate an address. In the process of invoking a smart contract, it is necessary to combine the address and interface description information of the smart contract to successfully invoke the smart contract. The address of the smart contract is a magic number that is irregular and has no specific meaning. Therefore, the address is not convenient for blockchain identification and storage. If the blockchain lose...

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): G06Q40/04G06Q20/38
CPCG06Q20/389G06Q40/04
Inventor 李辉忠王章张开翔范瑞彬
Owner WEBANK (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