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

Method and device for issuing smart contract in block chain

A smart contract and blockchain technology, applied in the field of technology and finance, can solve problems such as time-consuming and labor-intensive, and achieve the effect of simplifying the release process, improving the accuracy of release, and improving the efficiency of release

Pending Publication Date: 2019-08-27
WEBANK (CHINA)
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the release code of each smart contract needs to be written separately. If the smart contract is updated, the previously written release code needs to be rewritten, and the dependencies between the smart contracts need to be rearranged, which is time-consuming and labor-intensive.

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 issuing smart contract in block chain
  • Method and device for issuing smart contract in block chain
  • Method and device for issuing smart contract in block chain

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 2

[0115] The second specific embodiment is the release process after the smart contract is updated, the steps are as follows Figure 5 shown, including:

[0116] Step S501: Receive a smart contract change request.

[0117] Step S502: Obtain the corresponding dependency tree according to the smart contract change request, and update the nodes in the dependency tree.

[0118] Step S503: Publish the smart contract corresponding to the leaf node of the dependency tree.

[0119] Step S504: Remove the leaf node whose smart contract is successfully released from the dependency tree.

[0120] Step S505: Determine whether there is only the root node in the dependency tree, if yes, execute step S506, otherwise execute step S503.

[0121] Step S506: Publish the smart contract corresponding to the root node, and save the root node.

[0122] The embodiment of the present invention also provides a device for issuing smart contracts in the block chain, such as Figure 6 shown, including: ...

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 the field of finance of science (Fintech), in particular to a method and device for issuing a smart contract in a block chain, which is used for improving the issuing efficiency and accuracy of the smart contract. The method comprises the steps of obtaining the to-be-issued smart contracts; traversing the to-be-issued smart contracts, and determining a dependency relationship between the to-be-issued smart contracts; according to the dependency relationship, establishing N dependency trees, wherein one node of each dependency tree corresponds to one smart contract, and n >= 1; and for any dependency tree, starting from the leaf node of the dependency tree to the root node of the dependency tree, issuing the smart contract corresponding to each node in sequence.

Description

technical field [0001] The invention relates to the field of technology finance (Fintech), in particular to a method and device for issuing smart contracts in a block chain. Background technique [0002] With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming into Finteh, and Blockchain technology is no exception. However, due to the security of the financial industry , Real-time requirements, but also higher requirements for technology. [0003] A smart contract is a computer protocol designed to disseminate, verify or execute contracts in an informatized manner, and its execution process is consensus and confirmed on the blockchain in the form of transactions. Smart contracts allow for trusted transactions without third parties, which are traceable and irreversible. [0004] A smart contract is a piece of code that runs on the blockchain and needs to be publis...

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/38G06F8/72
CPCG06Q20/3827G06F8/72
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