| There are many strict laws and regulations in the medical industry to protect the privacy of patients,but the increasingly severe network security risks put digital medical treatment to the test.In the case of how to store medical data in a safer way is a hot topic of current research.At present,the way of medical data storage is that hospitals or medical institutions to store it themselves,resulting in inconsistencies in the data.It can make different institutions unable to reach a consensus in coordination process,resulting in a waste of manpower and financial resources.In addition,this storage method adopts a centralized storage method,which can easily cause problems such as user privacy leakage.With the development of blockchain technology,its reliability in data security has been extensively verified.In this thesis,blockchain technology is applied to medical data storage to achieve data consensus in multi-party cooperation and ensure the privacy of users.In this thesis,medical data is stored in the block chain,making use of the characteristics of the block chain,such as non tamperability,traceability,cryptographic security,to solve the security risks of medical data storage and the problem that the data is difficult to operate with each other.In order to improve the performance of data on-chain processing,a blockchain medical data storage model was constructed.Based on the PBFT algorithm model,using the advantage of the PBFT algorithm system throughput superior to other consensus algorithms,the design realizes the dynamic changes of network nodes in the original PBFT algorithm.The PBFT algorithm will go through three stages in the consensus process.In these three stages,message transmission verification requires higher network bandwidth and computing power of the computer.This thesis optimizes the PBFT algorithm.The optimized algorithm VB-PBFT realizes the dynamic addition and deletion of network nodes,and adds the verification phase to the three-stage protocol of PBFT algorithm,which reduces the time for each node to confirm the signature twice in the system.It shortens the time for each node to reach a consensus on the same block.The VB-PBFT algorithm is added to the constructed medical blockchain medical data storage model to improve the efficiency of data on the chain.Through the analysis and comparison of system throughput and node consensus delay,it is shown that the blockchain medical data storage scheme based on the VB-PBFT algorithm can realize the privacy protection of medical data storage and the sharing of medical data.Compared with the original PBFT algorithm model,the consensus performance of the VB-PBFT algorithm has been improved. |