At present,medical data is generally only shared among various departments in hospital.Few hospitals provide services for sharing patient medical data among different hospitals for the convenience of patients seeking medical treatment.In addition,the pressure of maintaining medical data is relatively high.Isolated data systems between medical institutions not only cause unnecessary trouble for patients to seek medical treatment,but also trouble information exchange between medical staff and scholars.In the face of the above situation,this article proposes a medical big data sharing scheme using technologies such as the Interplanetary File System(IPFS)and blockchain.All medical institutions jointly set up an IPFS data storage system to effectively solve data storage problems through technologies such as distributed storage,file splitting and splicing,and redundant backup.All medical institutions jointly build an alliance blockchain,and jointly maintain the data written in the blockchain through the consensus mechanism of computing power competition,peer-to-peer communication,and digital summaries.In order to solve the problem of data access rights,a joint key encryption method is proposed to encrypt the data uploaded to IPFS,so that even if an illegal user can obtain the data,he cannot obtain the plaintext of the data.In addition,a solution to the problem of block chain bifurcation is proposed,and the data retrieval method is optimized.Based on the above solution,this paper designs and implements a system for data sharing among medical institutions.The system is divided into five modules: blockchain module,IPFS module,encryption and decryption module,quick retrieval module,and system information management module.The system information management module is relatively independent,mainly for the management of staff and department information,and is no different from ordinary management systems.New medical data is first encrypted by the encryption and decryption module,then the processed data is uploaded to the IPFS module,and finally the summary and other information are finally written into the blockchain through the blockchain module.The quick retrieval module is used to quickly locate the required data in the massive blockchain data according to the search conditions.The medical big data sharing scheme proposed in this paper meets the data sharing function,and has the characteristics of decentralization and data security. |