Hospital electronic medical record secure storage system based on block chain
A blockchain-based system for hospital medical records addresses data tampering and privacy issues by ensuring non-tamperable and traceable records while reducing storage pressure through decentralized storage.
Patent Information
- Application Number
- CN202411141719.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-31
AI Technical Summary
Traditional hospital electronic medical record systems face issues with data tampering, security risks, and insufficient privacy protection due to centralized storage, necessitating a decentralized and secure solution.
A blockchain-based hospital electronic medical record storage system with multiple servers, user and doctor terminals, and modules for signal, data analysis, storage, encryption, and decryption, ensuring data credibility and reducing storage pressure by storing records only at the hospital level.
The system ensures non-tamperable and unforgeable medical records, provides transparent traceability, and reduces storage burden by keeping records localized, enhancing system practicality and security.
Smart Images

Figure CN119230041A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a hospital electronic medical record security storage system based on blockchain. Background Art
[0002] Traditional hospital electronic medical record systems have many problems, such as data being easily tampered with, data stored in centralized databases presenting security risks, and insufficient privacy protection for patient data. The emerging blockchain has the characteristics of decentralization, collective maintenance, and high transparency. Through the application of blockchain technology, data can be shared with other institutions and applied in many aspects. As blockchain technology matures, it can be applied to many fields.
[0003] Therefore, it is an urgent problem for technical personnel in this field to propose a blockchain-based hospital electronic medical record security storage system to solve the problems existing in the prior art. Summary of the invention
[0004] In view of this, the present invention provides a hospital electronic medical record security storage system based on blockchain, which can ensure the credibility and non-tamperability of medical record data and reduce storage pressure.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A blockchain-based hospital electronic medical record security storage system includes multiple servers, user terminals, and doctor terminals. The user terminals and doctor terminals are respectively connected to the server signals, and each server corresponds to a hospital.
[0007] The above-mentioned system may optionally have a signal module, a data analysis module, a data storage module, an encryption module and a decryption module inside the server, the output end of the signal module is connected to the input end of the data analysis module, the first output end of the data analysis module is connected to the first input end of the data storage module, the second output end of the data analysis module is connected to the encryption module and the second input end of the data storage module in sequence, and the output end of the data storage module is connected to the decryption module and the input end of the signal module in sequence.
[0008] In the above system, optionally, the user terminal includes a storage module, an encryption module, a signal module and a display module, the storage module, the encryption module and the signal module are connected in sequence, and the display module is signal-connected to the storage module;
[0009] The user registers an account through the user terminal and adds corresponding identity information, and the obtained user information is stored in the storage module. The internal data of the storage module uses the encryption module to generate a unique user ID, and the user ID is uploaded to the first server through the signal module.
[0010] In the above system, optionally, the doctor terminal includes a signal module, a decryption module, a user management module and a display module, the signal module, the decryption module and the user management module are connected in sequence, and the display module is signal-connected to the user management module;
[0011] The doctor of the first server associates the user's medical record with the user ID through the doctor terminal, and transmits it to the first server through the signal module as the first medical record information;
[0012] The doctor terminal corresponding to the second server applies for the medical record information and medical record writing authority corresponding to the user ID through the signal module. The second server sends an authorization code to the doctor terminal. The doctor terminal fills in the authorization code in the decryption module so that the first server opens the medical record viewing authority to the doctor terminal of the second server. The doctor terminal of the second server generates the second medical record information and associates it with the user ID, and then transmits it to the second server through the signal module.
[0013] In the above system, optionally, the user terminal input information includes gender, age, hobbies, work, eating habits, work and rest time, and emergency contact information.
[0014] Optionally, in the above system, when a user ID corresponds to multiple medical records, the display module generates a number axis and the medical records are displayed in chronological order.
[0015] It can be seen from the above technical solution that compared with the prior art, the present invention provides a blockchain-based hospital electronic medical record security storage system, which has the following beneficial effects: 1) The present invention cannot be tampered with after writing, ensuring the credibility and non-tamperability of medical record data; 2) The present invention has the characteristics of being unforgeable, leaving traces throughout the process, traceable, open and transparent, which effectively improves the practicality of the system; 3) The present invention stores the medical records only in the server of the hospital where the visit was made, without uploading them to other servers at the same time, reducing storage pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0017] Figure 1 This is a block diagram of a hospital electronic medical record security storage system based on blockchain disclosed by the present invention;
[0018] Figure 2 This is a block diagram of the server disclosed in the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0021] Reference Figure 1 As shown, the present invention discloses a blockchain-based hospital electronic medical record security storage system, including multiple servers, user terminals, and doctor terminals. The user terminals and doctor terminals are respectively connected to the server signals, and each server corresponds to a hospital.
[0022] Specifically, the system is built using the Hyperledger Fabric framework and uses the SDK officially provided by Fabric for communication.
[0023] Further, see Figure 2 As shown, the server has a signal module, a data analysis module, a data storage module, an encryption module and a decryption module inside. The output end of the signal module is connected to the input end of the data analysis module, the first output end of the data analysis module is connected to the first input end of the data storage module, the second output end of the data analysis module is connected to the encryption module and the second input end of the data storage module in sequence, and the output end of the data storage module is connected to the decryption module and the input end of the signal module in sequence.
[0024] Specifically, the server uses the Spring-Data-JPA framework for interaction, and the internal signals include query requests and storage requests.
[0025] Further, the user terminal includes a storage module, an encryption module, a signal module and a display module, the storage module, the encryption module and the signal module are connected in sequence, and the display module is signal-connected to the storage module;
[0026] The user registers an account through the user terminal and adds corresponding identity information, and the obtained user information is stored in the storage module. The internal data of the storage module uses the encryption module to generate a unique user ID, and the user ID is uploaded to the first server through the signal module.
[0027] Further, the doctor terminal includes a signal module, a decryption module, a user management module and a display module, the signal module, the decryption module and the user management module are connected in sequence, and the display module is signal-connected to the user management module;
[0028] The doctor of the first server associates the user's medical record with the user ID through the doctor terminal, and transmits it to the first server through the signal module as the first medical record information;
[0029] The doctor terminal corresponding to the second server applies for the medical record information and medical record writing authority corresponding to the user ID through the signal module. The second server sends an authorization code to the doctor terminal. The doctor terminal fills in the authorization code in the decryption module so that the first server opens the medical record viewing authority to the doctor terminal of the second server. The doctor terminal of the second server generates the second medical record information and associates it with the user ID, and then transmits it to the second server through the signal module.
[0030] Furthermore, the user terminal can authorize the doctor terminal to view the medical record information. The doctor can add medical record information for the user, input it into the server, encrypt the data using the AES encryption algorithm, and store the address information, AES encryption key, user ID, and timestamp returned by the module to form a ciphertext index data structure. The user's AES key is then stored in the blockchain database to achieve secure storage of the user's medical electronic medical records. In the function of applying to view medical records, the doctor can query the list of medical record index records under the patient according to the registered patient ID information. After entering the authorization code, the system can query the re-encryption result of the index agent through the authorization code, and use the result to decrypt the index information. The index is obtained and decrypted, and the doctor terminal of this server cannot modify the medical record information of other server terminals.
[0031] Furthermore, the user terminal input information includes gender, age, hobbies, work, eating habits, work and rest time, and emergency contact information.
[0032] Furthermore, when a user ID corresponds to multiple medical records, the display module generates a number axis and the medical records are displayed in chronological order.
[0033] Furthermore, when the user terminal queries medical record information, it is displayed according to examination subjects and timelines.
[0034] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0035] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A blockchain-based hospital electronic medical record security storage system, characterized in that: It includes multiple servers, user terminals, and doctor terminals. The user terminals and doctor terminals are respectively connected to the server signals, and each server corresponds to a hospital.
2. According to claim 1, a hospital electronic medical record security storage system based on blockchain is characterized in that: The server has a signal module, a data analysis module, a data storage module, an encryption module and a decryption module. The output end of the signal module is connected to the input end of the data analysis module, the first output end of the data analysis module is connected to the first input end of the data storage module, the second output end of the data analysis module is connected to the encryption module and the second input end of the data storage module in sequence, and the output end of the data storage module is connected to the decryption module and the input end of the signal module in sequence.
3. According to claim 2, a hospital electronic medical record security storage system based on blockchain is characterized in that: The user terminal includes a storage module, an encryption module, a signal module and a display module. The storage module, the encryption module and the signal module are connected in sequence, and the display module is connected to the storage module by signal; The user registers an account through the user terminal and adds corresponding identity information, and the obtained user information is stored in the storage module. The internal data of the storage module uses the encryption module to generate a unique user ID, and the user ID is uploaded to the first server through the signal module.
4. According to claim 3, a hospital electronic medical record security storage system based on blockchain is characterized in that: The doctor terminal includes a signal module, a decryption module, a user management module and a display module. The signal module, the decryption module and the user management module are connected in sequence, and the display module is connected to the user management module by signal; The doctor of the first server associates the user's medical record with the user ID through the doctor terminal, and transmits it to the first server through the signal module as the first medical record information; The doctor terminal corresponding to the second server applies for the medical record information and medical record writing authority corresponding to the user ID through the signal module. The second server sends an authorization code to the doctor terminal. The doctor terminal fills in the authorization code in the decryption module so that the first server opens the medical record viewing authority to the doctor terminal of the second server. The doctor terminal of the second server generates the second medical record information and associates it with the user ID, and then transmits it to the second server through the signal module.
5. According to claim 3, a hospital electronic medical record security storage system based on blockchain is characterized in that: The information entered by the user terminal includes gender, age, hobbies, work, eating habits, work and rest time, and emergency contact information.
6. According to claim 4, a hospital electronic medical record security storage system based on blockchain is characterized in that: When a user ID corresponds to multiple medical records, the display module generates a number axis and the medical records are displayed in chronological order.
