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

A smart contract implementation method and device based on full-chain consensus and local deployment

A technology of smart contracts and implementation methods, applied in the blockchain field, can solve the problems of difficult-to-private smart contract applications, stealing by unrelated parties, etc., and achieve the effect of meeting privacy requirements

Active Publication Date: 2021-06-22
北京全息智信科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] It is difficult to implement truly private smart contract applications by encrypting and storing data and codes in unrelated parties, because data and codes can basically only be in plain text during operation, and unrelated parties can steal
Of course, regardless of cost, blockchain nodes with deep security reinforcement may be able to prevent unrelated parties from stealing data and codes to a certain extent, but this is not a common situation

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
  • A smart contract implementation method and device based on full-chain consensus and local deployment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0097] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It can be understood that the specific implementation manners described here are only used to explain relevant content, rather than to limit the present invention. In addition, it should be noted that, for the convenience of description, only the parts related to the present invention are shown in the drawings.

[0098] It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other. The following will describe in detail with reference to the accompanying drawings and in combination with implementation manners.

[0099] The present invention introduces a local contract executor and a local state module into the blockchain protocol stack, separates the full-chain triggering and local execution of deployment transactions and business transactions, and su...

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 present invention provides a smart contract implementation method and device based on full-chain consensus and local deployment. By separating the full-chain triggering and local execution of deployment transactions and business transactions, and introducing local states, it supports A smart contract that combines full-chain consensus and contract-level consensus, local deployment, local triggering, and local storage, that is, a local contract where data and code selectively exist on blockchain nodes but participate in full-chain consensus. Because most real-world scenarios are only meaningful to the relevant parties and thus only need to be deployed on the relevant parties, this local contract architecture method can greatly increase the number of smart contracts that a blockchain network can support at the same time under the premise of a full-chain consensus. Moreover, supplemented by off-chain security relay services, this local contract architecture method can realize truly secure and private smart contracts under the premise of full-chain consensus, so as to meet the privacy requirements of real-world scenarios.

Description

technical field [0001] The present invention relates to blockchain technology, in particular to the technical field of public and private smart contracts that support partial deployment on the premise of full-chain consensus on the blockchain network. Background technique [0002] In the digital age, data is the mapping of assets and real objects on the digital platform, and code (executable "data") is the realization of business logic on the digital platform. Real-world applications are mostly private applications, which require data and codes to be "visible" and "available" only to authorized parties, but not to other parties. [0003] On a blockchain network consisting of one or more distributed controlled blockchain nodes (computing devices), the distributed ledger stores application data, and each smart contract is the logic implementation of the application. The external application submits the transaction through the blockchain protocol stack, and the blockchain prot...

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): G06F21/64G06F21/62G06F21/60G06Q40/04
CPCG06F21/602G06F21/6245G06F21/64G06Q40/04
Inventor 张建钢
Owner 北京全息智信科技有限公司
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