With the development of information technology,the information in life has gradually turned to electronic information,and people’s daily lives cannot leave electronic information.Personal life records have gradually entered the electronic age from the paper era.In the era of electronic information,Data circulates and transfers each other.In this process,data leakage and loss cannot be avoided.Once important data is maliciously used by others,it will cause irreparable losses.Blockchain is a distributed ledger system.Users have their own private keys,and transaction data will be stored off-chain in plaintext.When the private key is improperly kept or transaction data is leaked,it will cause losses to users and even enterprises.So how Storing these sensitive data is a problem that needs to be solved urgently.In addition,the blockchain is a closed system,and external data changes in real time.How to connect the blockchain with external data and ensure the authenticity of the acquired data is also a question worth discussing.This article mainly introduces the use of Intel SGX technology on the blockchain to realize a trusted data acquisition and privacy protection blockchain system,and solve the problem of data storage and acquisition through the security of SGX and its hardware and related features The problem of data being tampered with afterwards.The block chain privacy protection scheme proposed in this article mainly lies in the following aspects:(1)By using Intel SGX technology to encrypt and protect user keys and transaction data off-chain,the problem of user keys and transaction data off-chain storage is solved;(2)By using Intel SGX technology to complete the function of data acquisition on the blockchain,solve the problem of tampering when acquiring external data;(3)Design a comparison scheme of Intel SGX,analyze the advantages and disadvantages of the two in blockchain applications,and improve the compatibility of the system. |