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

Deployment method, device, device and storage medium of smart contract

A technology of smart contracts and targets, applied in the field of blockchain, can solve the problem of not using smart contracts, and achieve the effect of ensuring security and reliability

Active Publication Date: 2022-07-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a smart contract deployment method, device, equipment and storage medium, which solves the problem that the smart contract is not used because it is not trusted, and ensures the security and reliability of the smart contract

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
  • Deployment method, device, device and storage medium of smart contract
  • Deployment method, device, device and storage medium of smart contract
  • Deployment method, device, device and storage medium of smart contract

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 This is a flowchart of a method for deploying a smart contract provided in Embodiment 1 of the present invention. This embodiment can be used to solve the problem that a smart contract written in a native voice language based on an embedded contract mechanism is directly executed on a physical machine, due to potential security risks. Not being trusted leads to not being used. The applicable blockchain can be a public chain, a consortium chain or a private chain. The deployment method of the whole set of smart contracts is usually executed by the nodes in the blockchain network and the smart contract platform. The solution of the embodiment of the present invention is applied to the nodes in the blockchain network, and the method can be implemented by the smart contract provided by the embodiment of the present invention. Deploying a device to execute, the device can be implemented in software and / or hardware, and can be integrated into a computing device that...

Embodiment 2

[0062] figure 2 This is a flowchart of a smart contract deployment method provided in Embodiment 2 of the present invention. This embodiment is further optimized on the basis of Embodiment 1 above. see figure 2 , the method specifically includes:

[0063] S210, obtain the platform digital signature of the target smart contract published by the smart contract platform; or obtain the platform digital signature of the target smart contract published by the creation node of the blockchain network.

[0064] Specifically, if the local node is not the creation node of the blockchain network, the platform digital signature of the target smart contract can be obtained by actively publishing the smart contract platform; the platform digital signature of the target smart contract can also be obtained by the following methods: Blockchain The creation node of the network actively sends the target smart contract deployment request to the smart contract platform when creating the blockch...

Embodiment 3

[0081] image 3 This is a flowchart of a method for deploying a smart contract provided in Embodiment 3 of the present invention. This embodiment can be used to solve the problem that a smart contract written in a native voice language based on an embedded contract mechanism is directly executed on a physical machine. Not being used due to not being trusted. The applicable blockchain can be a public chain, a consortium chain or a private chain. The deployment method of the whole set of smart contracts is usually executed by the nodes in the blockchain network and the smart contract platform. The solution of the embodiment of the present invention is applied to the smart contract platform, and the method can be executed by the deployment device of the smart contract provided by the embodiment of the present invention. , the device can be implemented in software and / or hardware. see image 3 , the method specifically includes:

[0082] S310: Receive an audit verification reque...

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 present invention discloses a deployment method, device, device and storage medium of a smart contract. Wherein, the method is executed by the nodes in the blockchain network, and the method includes: reporting an audit verification request to the smart contract platform according to the pre-obtained platform digital signature of the target smart contract, wherein the audit verification request is used to request the The smart contract platform issues the audit result of the target smart contract; if the target smart contract is audited, the target smart contract is verified locally; if the local verification is passed, the target is deployed in the local node smart contracts. In the technical solution provided by the embodiments of the present invention, the nodes in the blockchain network use the smart contract according to the security authentication result of the smart contract by the smart contract platform, which solves the problem that the smart contract is not used because it is not trusted, and ensures the smart contract. Security and reliability of contracts.

Description

technical field [0001] Embodiments of the present invention relate to the field of blockchain technology, and in particular, to a method, device, device, and storage medium for deploying a smart contract. Background technique [0002] There are only a few fixed modes of existing smart contracts, such as Bitcoin's script mode, Ethereum's solidity mode, or EOS's WebAssembly mode. The development modes of these smart contracts have limitations. They are not written in the native language of the blockchain, but in other languages. [0003] Since the existing smart contracts are not written in the native language of the blockchain, the existing smart contracts are all run in a virtual machine with constraints on CPU, memory, and disk. The performance is very poor, and the virtual machine has many restrictions. [0004] Using native language to write smart contracts that can be executed on physical machines can improve the performance of smart contracts, but the capabilities of n...

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): G06Q20/38G06F9/455
CPCG06F9/45558G06Q20/3829G06F2009/4557
Inventor 肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD