Supercharge Your Innovation With Domain-Expert AI Agents!

On-chain and off-chain hybrid consensus method and system based on SGX

A consensus and blockchain technology, applied in the SGX-based on-chain and off-chain hybrid consensus method and system field, can solve problems such as difficulty in adapting to new business needs, unacceptable high overhead, and do not want the database to be made public, etc., to ensure confidentiality Safety and security, avoiding huge overhead, and protecting confidential data

Pending Publication Date: 2022-04-08
ZHEJIANG LAB +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For data providers such as enterprises, they may not wish to fully disclose their own databases, or may not be able to accept the high cost of all data on-chain
This makes it difficult for the current application method of blockchain to adapt to new business needs, so there is an urgent need for a method to solve data storage and privacy protection

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
  • On-chain and off-chain hybrid consensus method and system based on SGX
  • On-chain and off-chain hybrid consensus method and system based on SGX
  • On-chain and off-chain hybrid consensus method and system based on SGX

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0044] An SGX-based on-chain and off-chain hybrid consensus system, the embodiment includes four entities: client, blockchain, SGX server cluster and off-chain database.

[0045] (1) The client can be realized by extending the common blockchain client. In addition to the common blockchain client functions, the client also includes:

[0046] The request construction module allows users to construct SGX requests according to their own needs, required computing source code and data, and send SGX requests to the blockchain.

[0047] In the result acquisition module, client users need to maintain their own public key and private key to encrypt and decrypt calculatio...

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 an on-chain and off-chain hybrid consensus method and system based on SGX. The method comprises the following steps: S1, a transaction submission stage; s2, a transaction execution stage; s3, a result uplink stage; the system comprises a client, a block chain platform, an SGX server cluster and an under-chain database. The client can initiate an SGX transaction and submit a transaction result to the block chain; the block chain links the SGX transaction and a result thereof, and sends the data and the smart contract to an SGX server cluster according to a transaction demand; the server cluster obtains off-chain data by accessing a database and constructs a security area to execute an intelligent contract and a consensus; and the off-chain database stores confidential or large-scale data of the data supplier. According to the method, on-chain and off-chain data storage is connected through the SGX, on-chain and off-chain mixed consensus is achieved, and confidentiality and integrity of data and execution are guaranteed through the SGX.

Description

technical field [0001] The present invention relates to the technical field of computer block chains, in particular to an SGX-based on-chain and off-chain hybrid consensus method and system. Background technique [0002] Blockchain is essentially a distributed data ledger jointly maintained by multi-party nodes that do not trust each other. It has the characteristics of decentralization, non-tampering, and traceability, so it can ensure that the data on the chain cannot be tampered with by attackers. However, in order to realize the non-tamperable and traceable characteristics of data in the blockchain, it is necessary to disclose all the data of the blockchain and save a corresponding copy on each node, which is obviously unfriendly to privacy protection and data usage. For data providers such as enterprises, they may not wish to fully disclose their own databases, or may not be able to accept the high overhead brought by all data on-chain. This makes it difficult for the ...

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): H04L67/1074H04L67/1097H04L9/40H04L9/32
Inventor 郭铁铮张志威王国仁
Owner ZHEJIANG LAB
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More