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

Method and equipment for obtaining smart contract interface in blockchain

A smart contract and blockchain technology, applied in the blockchain field, can solve problems such as the inconvenience of smart contract application, and achieve the effect of enhancing user-friendliness

Inactive Publication Date: 2017-10-20
SHANGHAI DIANRONG INFORMATION TECH CO LTD
View PDF4 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, when the smart contract interface is upgraded, the caller needs to be informed of the updated information
As a result, it brings inconvenience to 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
  • Method and equipment for obtaining smart contract interface in blockchain
  • Method and equipment for obtaining smart contract interface in blockchain
  • Method and equipment for obtaining smart contract interface in blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the same numerals may be used for similar components or functional assemblies in the drawings. The accompanying drawings are only intended to illustrate embodiments of the present disclosure. Those skilled in the art can obtain alternative implementations from the following descriptions without departing from the spirit and scope of the present disclosure.

[0022] As used herein, the term "comprising" and its variations may be understood as open-ended terms meaning "including but not limited to". The term "based on" may be understood as "based at least in part on". The term "one embodiment" can be read as "at least one embodiment". The term "another embodiment" may be understood as "at least one other embodiment".

[0023] Blockchain-based smart contracts include transaction processing and preservation mechanisms and a complete ...

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 relates to a method and equipment for obtaining a smart contract interface in a blockchain. The method comprises the following steps that: creating a smart contract; analyzing the smart contract to extract the information of a functional interface in the smart contract; on the basis of the interface of the functional interface, generating the interface definition data of the smart contract; and adding the interface definition data into the smart contract. The embodiment of the invention also discloses corresponding equipment. In addition, the embodiment of the invention also provides the corresponding method and equipment for calling the smart contract. The embodiment of the invention puts forward a scheme for obtaining the smart contract interface in the blockchain, the problem that the smart contract interface can not be directly obtained on the chain is effectively solved, and the user friendliness of the smart contract is enhanced.

Description

technical field [0001] Embodiments of the present disclosure generally relate to blockchain technology, and in particular, relate to a method and device for obtaining a smart contract interface in a blockchain. Background technique [0002] The rapid development of blockchain is closely related to the proposal and use of smart contracts. A smart contract is a set of commitments defined in digital form, including the rights and obligations agreed upon by the parties to the contract. The digital form means that the commitment needs to be written into the machine in the form of readable code. As long as the participants reach an agreement, the rights and obligations established by the smart contract are guaranteed to be executed by the machine or network system. [0003] Smart contracts based on blockchain technology can not only give full play to the advantages of smart contracts in terms of cost efficiency, but also prevent malicious behavior from interfering with the normal...

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): G06Q20/40G06Q20/38
CPCG06Q20/3825G06Q20/405
Inventor 陈曦
Owner SHANGHAI DIANRONG INFORMATION 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