| Objective:For cloud server data,some traditional security mechanisms,such as operating system security mechanism and access control mechanism,are operated by the server.The server charge couldn’t be completely guaranteed in the cloud computing mode.Electronic medical record data privacy has the following characteristics:secrecy,integrity and correctness.In the cloud computing model,data is stored in the third-party server,but some sensitive data in TCM information is not expected to appear in clear text.Encryption technology(data hiding)is an effective method,data is stored in encrypted form(hidden).If the clients have no key,the cloud provider only see the ciphertext,but do not know the original value of the data.This is the secrecy,which requires access control technology in digital security to ensure.In the cloud computing mode,when users query data,the query results returned by the cloud provider should be all the data that meets the query requirements and should not be omitted.Authentication technology is an effective method to ensure that the query results are complete.The integrity of medical record data needs data authentication technology in data security.In the cloud computing mode,after the data is submitted to the cloud provider,there needs to be a mechanism to ensure that the data in the cloud is modified,added and deleted without the authorization of the data owner.The data queried by the user should be the original value of the data,this is the integrity.Electronic medical record data of innovation management also need to promote the efficiency of data query technology.Users in privacy information is encrypted to quickly get the required data,this requires the reasonable construction on the level of data structure and data storage process.According to search demand establishment,a framework for the search should be more convenient and quick.Blockchain technology is the current hot technology,which are used in the efficient query and authentication scheme of data.The purpose of this paper is to study and improve the data authentication,ciphertext search and block chain technology of TCM electronic medical records.Methods:A fast search method based on Bloom filter(BF)and B+tree is proposed for ciphertext search in electronic medical records.The electronic medical record(EMR)is directly queried by establishing BF,B+tree was established and organized according to inverted index.Aiming at the efficient verification of outsourced data,a new method based on subtree(Sub_MB)is proposed to improve the storage structure of data on the basis of the original MB tree.Merkle B tree is used to store the validation information,and the root and intermediate nodes are signed.This paper proposes a lightweight blockchain technology.When designing blocks,on the one hand,it divides the header and body of the block chain horizontally.The header is stored in the block chain,and the body is stored in IPFS.On the other hand,vertical cutting is carried out,we truncated the block chain by time or size.For the addition of new blocks,miners only need to copy the latest part of the block chain and add the tail and vertical segmentation of the block through consensus mechanism.This method greatly reduces the size of the blockchain,improves the efficiency of verification and meets users’ ciphertext query needs.In this paper,the efficiency of the new scheme is verified with medical data,and the results are shown by comparing with similar schemes.Results:This paper presents an electronic medical record architecture which supports encryption technology.Based on relational schema and XML data schema,the encryption module of middleware is adopted to realize the storage and query of various encrypted data types quickly.In order to ensure the privacy of user information,a fast search method based on Z-index and Bloom filter(BF)is proposed,which improves the performance of ciphertext query while ensuring the privacy of user query.In order to ensure the correctness and integrity of the information querying by users,a security authentication method based on subtree(Sub_MB)is proposed.Merkle B tree is used to store the validation information,the root and intermediate nodes are signed.In the process of validation,the correctness and integrity of query data are guaranteed only by calculating the minimum validation subtree.Our proposed blockchain framework greatly reduce the size of the blockchain and improve the efficiency of verification.Experimental results show that search efficiency is improved when new blocks are added to the blockchain.Conclusion:The verification method based on subtree(Sub_MB)proposed in this paper has certain improvement in VO construction and verification,and improves the communication efficiency and verification efficiency.The Sub_MB method has good practical application significance.Block chain technology is applied to electronic medical records,this paper proposes a lightweight block chain technology,the shortcoming of existing block chain technology are improved at the same time.This paper takes advantage of the blockchain on the data storage.After new blocks added,workers only need to copy the latest part of the chain block.Through consensus mechanism,additional blocks in the tail and vertical section are added,for new blocks storage,this improve the efficiency of search certification.This paper discussed and developed TCM electronic medical record data security technology.Z-index,inverted Index technology,subtree verification scheme and blockchain technology have all made reasonable improvement on the data structure in our method,which has certain significance for the improvement of TCM electronic medical record data security technology. |