| As the novel coronavirus pneumonia is raging around the world,in order to curb the spread of the epidemic,my country adopts technologies such as health codes for infection identification and information traceability.The health code collects a number of personal privacy information,including personal health status,itinerary,etc.,but in the process of data transmission and sharing,there have been many leakage incidents of personal privacy information that have a great impact.In order to meet the safe sharing of epidemic prevention data,this paper studies the above problems in combination with blockchain technology,discusses the security problems of consensus algorithms in the process of blockchain transactions,and proposes corresponding improvement methods,combined with searchable encryption technology to ensure The security and privacy of epidemic prevention data sharing in the blockchain,the specific work content is as follows:(1)According to the problems of forged voting and lack of Byzantine fault tolerance in the Raft consensus algorithm in the leader node election in the blockchain,a Raft consensus algorithm based on verifiable secret sharing is constructed.The algorithm uses the secret distribution,verification and recovery process in verifiable secret sharing to replace the voting and counting process of the Raft algorithm,so that the Raft algorithm has Byzantine fault tolerance.Simulation experiments have proved that it has low consensus delay and high system performance.throughput.(2)Based on the premise that epidemic prevention data has a high demand for privacy and storage space,a blockchain epidemic prevention data privacy protection sharing scheme based on searchable encryption technology is designed,which is combined with an improved symmetric searchable encryption scheme.The blockchain system realizes the privacy protection after the epidemic prevention data is uploaded to the chain.The simulation results show that the scheme can maintain high computing efficiency while realizing the safe sharing of epidemic prevention data.(3)Starting from the actual demand for safe sharing of epidemic prevention data,an epidemic prevention data security sharing system based on the domestic alliance chain platform FISCO BCOS was built,and the intercommunication between the background and front-end management interface of the alliance chain was realized through the We BASE middleware platform.At the same time,the client Encryption and indexing of epidemic prevention data are completed through smart contracts,and ciphertext retrieval is realized.This ensures the security of the epidemic prevention data sharing process. |