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

Blockchain-based smart-contract calling method and device and readable storage medium

A smart contract and blockchain technology, applied in the blockchain field, can solve problems such as cumbersome smart contract call process and call errors, and achieve the effect of reducing call difficulty, avoiding call errors, and simplifying the call process

Active Publication Date: 2018-09-07
WEBANK (CHINA)
View PDF5 Cites 61 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
  • Blockchain-based smart-contract calling method and device and readable storage medium
  • Blockchain-based smart-contract calling method and device and readable storage medium
  • Blockchain-based smart-contract calling method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0042] Such as figure 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 is a structural schematic diagram of the hardware operating environment for the smart contract based on the blockchain to call the device. In this embodiment of the present invention, the blockchain-based smart contract calling device can be a terminal device such as a PC or a portable computer.

[0044] Such as figure 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 . Wherein, the communication bus 1002 is used to realize connection a...

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, in particular to a block chain-based smart contract calling method, device and readable storage medium. 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 published in 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 call the smart contract. The address of the smart contract is a magic number with no rules and no specific meaning. Therefore, the address is not easy to identify and store in the blockchain. If the blockchain loses the address of t...

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): 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