Blockchain and digital renminbi-based medical data sharing system architecture
Patent Information
- Application Number
- CN202211713901.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2042-12-29
AI Technical Summary
但在医疗中,由于数据共享不足导致患者和医疗机构分别面临个人对于医疗数据的掌握程度不高、协同诊治效率低、医疗服务差以及纸质诊疗单已丢失等问题
[0032]本发明提供的基于区块链和数字人民币的医疗数据共享体系架构包括数据层、区块链层、合约层、应用层和服务层;服务层包括共享体系的服务对象模块;区块链层用于实现多个节点用户终端身份的认证和管理,建立底层数据交互协议;合约层用于将合约规范化,以数字人民币为基础建立可监管和可去中心化的合约;应用层包括关键应用信息;数据层用于将原始数据存储在链上或者云上。本发明实施例提供的基于区块链和数字人民币的医疗数据共享体系架构解决了医疗平台的电子病历无纸化、纸质单证大量流转导致的申报和反馈繁琐、医疗数据的掌握程度不高、协同诊治效率低、医疗服务差以及纸质诊疗单丢失问题,实现了医疗数据的安全性和便捷性。
Smart Images

Figure CN116052828B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a medical data sharing system architecture based on blockchain and digital RMB. Background Technology
[0002] With the progress of my country's medical and health undertakings and the continuous improvement of economic development, patients' demand for medical and health services has increased significantly. In recent years, the number of elderly people has been rapidly increasing in both urban and rural areas, leading to a significant increase in their demand for medical care. This has resulted in a substantial increase in the need for medical institutions to share and utilize health and medical data. However, in the medical field, insufficient data sharing has led to problems for both patients and medical institutions, including low levels of personal knowledge of their medical data, low efficiency in collaborative diagnosis and treatment, poor medical services, and the loss of paper medical records. Summary of the Invention
[0003] This invention provides a medical data sharing system architecture based on blockchain and digital RMB, aiming to achieve the security and convenience of medical data.
[0004] This invention provides a medical data sharing system architecture based on blockchain and digital RMB, which includes a data layer, a blockchain layer, a contract layer, an application layer, and a service layer.
[0005] The service layer includes a service object module of the shared system;
[0006] The blockchain layer is used to authenticate and manage the identities of multiple node user terminals and to establish an underlying data interaction protocol.
[0007] The contract layer is used to standardize contracts and establish regulated and decentralized contracts based on the digital yuan.
[0008] The application layer includes key application information;
[0009] The data layer is used to store raw data on the blockchain or in the cloud.
[0010] The contract layer includes authorization contracts and audit contracts;
[0011] The authorization contract is used to grant user terminals access to medical data.
[0012] The audit contract is used to share audited electronic medical records.
[0013] The contract layer also includes retrieval contracts and sharing contracts;
[0014] The retrieval contract is used to return the medical data information retrieved from the chain to the user terminal based on the retrieval request triggered by the user terminal.
[0015] The shared contract is used to provide users with the ability to upload and view shared medical data on the blockchain, based on sharing requests triggered by user terminals.
[0016] The contract layer also includes transaction contracts;
[0017] The transaction contract is used to determine whether a transaction can proceed as scheduled based on the order details between the patient and the hospital.
[0018] The application layer includes medical data collection applications and medical data auditing applications;
[0019] The medical data collection application is used to collect basic patient information, patient medical history information, relevant doctor information, medication information, and patient order information during the treatment process.
[0020] The medical data auditing application is used to review and verify patient basic information, patient medical history information, relevant doctor information, medication information, and patient order information based on the auditing group constructed by the auditing party, and to store the audit and verification results in the blockchain.
[0021] The application layer also includes medical data retrieval applications and medical data sharing applications;
[0022] The medical data retrieval application is used to retrieve the granularity, attributes, and scope of medical data before use;
[0023] The medical data sharing application is used to write the authorization information of the user terminal's data sharing permission application into the sharing contract during the data sharing process, and to obtain shared medical data for the user terminal from a third-party cloud database.
[0024] The application layer also includes loan transaction applications;
[0025] The loan transaction application is used to pay for goods in digital RMB, and the resulting payment information is recorded on the blockchain and broadcast.
[0026] The service layer includes a medical data provision module, a medical data management module, and a medical data usage module;
[0027] The medical data providing module is used to collect medical data and determine the scope of medical data retrieval and sharing.
[0028] The medical data management module is used to manage the collected medical data in a unified manner, and to authorize the auditing, retrieval, sharing and trading of medical data;
[0029] The medical data usage module is used to retrieve medical data from the cloud database using the obtained medical data credentials.
[0030] The blockchain layer includes an identity authentication and management module, a digital signature module, and an underlying data interaction protocol.
[0031] The data layer includes a fully homomorphic encryption module, a cloud storage module, a chain structure, and a hash function.
[0032] The medical data sharing system architecture based on blockchain and digital RMB provided by this invention includes a data layer, a blockchain layer, a contract layer, an application layer, and a service layer. The service layer includes service object modules for the sharing system. The blockchain layer is used to authenticate and manage the identities of multiple node user terminals and establish an underlying data interaction protocol. The contract layer is used to standardize contracts and establish supervised and decentralized contracts based on digital RMB. The application layer includes key application information. The data layer is used to store raw data on the blockchain or in the cloud. The medical data sharing system architecture based on blockchain and digital RMB provided by this invention solves the problems of paperless electronic medical records, cumbersome reporting and feedback due to the large-scale circulation of paper documents, low levels of control over medical data, low efficiency in collaborative diagnosis and treatment, poor medical services, and loss of paper medical records, thus achieving both security and convenience for medical data. Attached Figure Description
[0033] To more clearly illustrate the technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a flowchart illustrating the architecture of a medical data sharing system based on blockchain and digital RMB provided by this invention.
[0035] Figure 2 This is a schematic diagram of the medical record data processing flow during the medical treatment process provided by the present invention;
[0036] Figure 3 This is a schematic diagram of the drug transaction contract system provided by the present invention. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0038] Reference Figure 1 , Figure 1 This is a flowchart illustrating the medical data sharing system architecture based on blockchain and digital RMB provided by this invention. The medical data sharing system architecture based on blockchain and digital RMB provided in this embodiment of the invention includes:
[0039] Data layer, blockchain layer, contract layer, application layer, and service layer;
[0040] The service layer includes a service object module of the shared system;
[0041] The blockchain layer is used to authenticate and manage the identities of multiple node user terminals and to establish an underlying data interaction protocol.
[0042] The contract layer is used to standardize contracts and establish regulated and decentralized contracts based on the digital yuan.
[0043] The application layer includes key application information;
[0044] The data layer is used to store raw data on the blockchain or in the cloud.
[0045] Specifically, the data layer includes the cloud and blockchain, which are used to store raw data on the chain or in the cloud. The on-chain data is used to store data information summaries, while the remaining data is stored in a third-party cloud.
[0046] Furthermore, the blockchain layer is used to authenticate and manage the identities of multiple node user terminals and establish underlying data interaction protocols, combining key technologies from each stage with some algorithms and solutions within the blockchain. In one embodiment, staff used the Hyperledger Fabric blockchain platform to build the blockchain layer.
[0047] Furthermore, the contract layer is used to standardize contracts, establishing regulated and decentralized contracts based on the digital yuan. This can be understood as the contracts involved in the blockchain and digital yuan-based medical data sharing system architecture being stored in the contract layer.
[0048] Furthermore, the application layer includes key application information, which includes payment transactions, order on-chaining, and the collection, auditing, retrieval, and sharing of medical and patient data.
[0049] Furthermore, the service layer includes a service object module of the shared system, which includes a data provision module, a data management module, and a data usage module.
[0050] The medical data sharing system architecture based on blockchain and digital RMB provided by this invention includes a data layer, a blockchain layer, a contract layer, an application layer, and a service layer. The service layer includes service object modules for the sharing system. The blockchain layer is used to authenticate and manage the identities of multiple node user terminals and establish an underlying data interaction protocol. The contract layer is used to standardize contracts and establish supervised and decentralized contracts based on digital RMB. The application layer includes key application information. The data layer is used to store raw data on the blockchain or in the cloud. The medical data sharing system architecture based on blockchain and digital RMB provided by this invention solves the problems of paperless electronic medical records, cumbersome reporting and feedback due to the large-scale circulation of paper documents, low levels of control over medical data, low efficiency in collaborative diagnosis and treatment, poor medical services, and loss of paper medical records, thus achieving both security and convenience for medical data.
[0051] Furthermore, the contract layer includes authorization contracts, audit contracts, retrieval contracts, sharing contracts, and transaction contracts;
[0052] The authorization contract is used to grant user terminals access to medical data.
[0053] The audit contract is used to share audited electronic medical records;
[0054] The retrieval contract is used to return the medical data information retrieved from the chain to the user terminal based on the retrieval request triggered by the user terminal.
[0055] The shared contract is used to provide users with the ability to upload and view shared medical data on the blockchain, based on sharing requests triggered by user terminals.
[0056] The transaction contract is used to determine whether a transaction can proceed as scheduled based on the order details between the patient and the hospital.
[0057] Specifically, the authorization contract is used to enable data managers to enter into agreements with user terminals. Once the authorization contract is successfully signed, it is stored on the blockchain, granting the user terminal access to medical data.
[0058] Furthermore, the audit contract is used to monitor the integrity of the audit data and upload audited electronic medical records to the public blockchain for sharing.
[0059] Furthermore, the retrieval contract is used to: retrieve medical data information in the chain based on the retrieval request initiated by the user terminal, and return the medical data information that matches the retrieval request to the user terminal.
[0060] Furthermore, the sharing contract is used to: receive sharing requests initiated by user terminals, determine the medical data to be shared based on the sharing requests, and then upload the medical data to be shared to the public blockchain, allowing others to view the shared medical data.
[0061] Furthermore, the transaction contract is used to: record order-related information between patients and hospitals, track the progress of orders, determine whether the transaction can be completed as scheduled, and provide protection for the property security of all parties involved in the transaction.
[0062] In this embodiment of the invention, the contract layer provides authorization contracts, audit contracts, retrieval contracts, sharing contracts, and transaction contracts, which standardize the contracts and establish regulated and decentralized contracts based on the digital yuan.
[0063] Furthermore, the application layer includes medical data collection applications, medical data auditing applications, medical data retrieval applications, medical data sharing applications, and loan transaction applications;
[0064] The medical data collection application is used to collect basic patient information, patient medical history information, relevant doctor information, medication information, and patient order information during the treatment process.
[0065] The medical data auditing application is used to audit and verify patient basic information, patient medical history information, relevant doctor information, medication information, and patient order information according to the auditing group constructed by the auditing party, and to store the audit and verification results in the blockchain;
[0066] The medical data retrieval application is used to retrieve the granularity, attributes, and scope of medical data before use;
[0067] The medical data sharing application is used to write the authorization information of the user terminal's data sharing permission application into the sharing contract during the data sharing process, and to obtain shared medical data for the user terminal in a third-party cloud database;
[0068] The loan transaction application is used to pay for goods in digital RMB, and the resulting payment information is recorded on the blockchain and broadcast.
[0069] Specifically, medical data collection applications are used to record patient data during treatment and store the data on the blockchain, including basic patient information, patient medical history, relevant doctor information, medication information, and patient order information.
[0070] Furthermore, medical data auditing is applied as follows: after the testing party makes a commitment to the data, the auditing party constructs an audit team based on the commitment, and the audit team reviews and verifies the patient's basic information, patient medical history information, relevant doctor information, medication information, and patient order information, and stores the audit results in the blockchain.
[0071] Furthermore, the medical data retrieval application is used to: receive authorization requests from user terminals to the system, record the authorization information on the blockchain and broadcast it after authorization is granted; and search the granularity, attributes and scope of medical data before use, delete medical data that does not meet the requirements, and retain medical data that does meet the requirements.
[0072] Furthermore, the medical data sharing application is used to: during the data sharing process, when a user terminal initiates a data sharing permission request for different data needs, write the user terminal's authorization information into the sharing contract, and obtain shared medical data for the user terminal from a third-party cloud database. Furthermore, the user terminal providing the data can identify the authorized user terminal through the sharing contract and revoke the sharing permission.
[0073] Furthermore, the loan transaction application is used to: pay for goods in digital RMB, record the resulting payment information on the blockchain and broadcast it. Before the payment transaction, private keys are randomly assigned to all parties involved in the medical transaction; during the payment transaction, each party digitally signs the batch of orders using their private keys, making the signed waybill have the same legal effect as the paper waybill, supporting all parties to complete the payment transaction.
[0074] The application layer in this embodiment of the invention includes a medical data collection application, a medical data auditing application, a medical data retrieval application, a medical data sharing application, and a loan transaction application, thereby enabling the collection, auditing, retrieval, and sharing of key information.
[0075] Furthermore, the service layer includes a medical data provision module, a medical data management module, and a medical data usage module;
[0076] The medical data providing module is used to collect medical data and determine the scope of medical data retrieval and sharing.
[0077] The medical data management module is used to manage the collected medical data in a unified manner, and to authorize the auditing, retrieval, sharing and trading of medical data;
[0078] The medical data usage module is used to retrieve medical data from the cloud database using the obtained medical data credentials.
[0079] Specifically, the medical data provision module includes units that maintain the data from a technical perspective and departments that manage the use of the data, for the purpose of: collecting medical data and determining the scope of medical data retrieval and sharing.
[0080] Furthermore, the medical data management module is used to: uniformly manage the collected medical data, view the permissions of user terminals and determine whether to grant access to medical data; receive request information sent by user terminals and authorize the auditing, retrieval, sharing and trading of medical data.
[0081] Furthermore, the medical data usage module is used to: send access requests to data providers and data managers, receive medical data credentials returned by data providers and data managers, and retrieve medical data from the cloud database based on the medical data credentials.
[0082] This invention collects medical data through a medical data providing module, manages medical data uniformly through a medical data management module, and obtains medical data through a medical data usage module, thereby realizing the storage, management, and retrieval of medical data.
[0083] Furthermore, the blockchain layer includes an identity authentication and management module, a digital signature module, and an underlying data interaction protocol.
[0084] Specifically, the identity authentication and management module is used to: store the information registered by the user terminal user during registration; when the user terminal logs in, compare the login information with the registration information to verify the user terminal user's identity; if the verification is successful, grant the user terminal user the relevant permissions.
[0085] Furthermore, the digital signature module is used to digitally sign contracts using a pre-issued private key, thereby giving the signed contracts legal effect.
[0086] Furthermore, the underlying data interaction protocol is used to combine key technologies in each stage with some algorithms and solutions in the blockchain, so that the data in each stage can be mutually recognized.
[0087] The embodiments of the present invention verify the identity of the user terminal through an identity authentication and management module, increase the reliability of the contract through a digital signature module, and combine key technologies, algorithms and solutions through an underlying data interaction protocol.
[0088] Furthermore, the data layer includes a fully homomorphic encryption module, a cloud storage module, a chain structure, and a hash function.
[0089] Specifically, smart contracts monitor and prevent tampering of medical record data, and the data layer uses fully homomorphic encryption to protect electronic medical records. Furthermore, the data layer encrypts the original data and stores it in a cloud storage module, while storing data digests in a chain structure. Additionally, the data layer includes hash functions, which can be used to retrieve data.
[0090] In one embodiment, the data layer encrypts the original data through a fully homomorphic encryption module. Specifically, based on the characteristics of medical data, initial parameters such as scheme security parameter λ and error distribution χ are set. A private key s is randomly generated based on the parameters. A public key p is generated based on the private key s and the parameters. The public key p is used to perform encryption operations on the intermodal data. The generated ciphertext is stored in a third-party cloud database for sharing, retrieval, and computation.
[0091] This invention provides a variety of data processing modules for the data layer, enhancing its data processing capabilities and encrypting the original data.
[0092] Reference Figure 2 , Figure 2 This is a schematic diagram of the medical record data processing flow during the medical treatment process provided by the present invention. In one embodiment, the identity authentication and management module receives the basic registration information sent by the patient, generates medical record data based on the basic registration information, and uploads the medical record data to the blockchain.
[0093] Furthermore, the user terminal receives the hospital's diagnosis results for the patient and updates the medical record data on the chain based on the diagnosis results.
[0094] Furthermore, when the blockchain layer receives patient authorization information from other hospitals, it grants those hospitals permission to access metadata.
[0095] Furthermore, after receiving the order established between the patient and the hospital, the contract layer executes the order through a smart contract and records the order on the blockchain.
[0096] Furthermore, the user terminal receives patient evaluations of doctors and updates the medical record data on the chain based on these evaluations.
[0097] Specifically, when the identity authentication and management module receives a registration request from the user terminal, it returns the basic information required for registration to the user terminal. Upon receiving the basic registration information from the user terminal, the identity authentication and management module generates medical record data based on this information and uploads the medical record data to the blockchain.
[0098] Furthermore, the blockchain issues public and private key pairs to registered user terminals, enabling the user terminals to perform digital signatures, thereby establishing contracts.
[0099] Furthermore, since the medical platform data involves interactions between multiple user terminals and multiple nodes, a consortium blockchain based on the PBFT (Practical Byzantine Fault Tolerance) consensus mechanism is used as the on-chain storage chain. Because the consortium storage chain has a limited length and is shorter than a public blockchain, and because patient data on the chain is gradually increasing, the following operations are performed to conserve on-chain resources: when the block data volume reaches a preset value, sidechain technology is used to package, verify, and upload it to the public blockchain.
[0100] Furthermore, verified mainchain data is uploaded to the sidechain, and the sidechain can also return uploaded data to the mainchain, enabling data interaction. When the source data information on the sidechain is modified, the MerkleRoot is also modified accordingly. Regulators can use the MerkleTree algorithm to quickly locate problematic data branches and trace responsibility, thereby achieving reverse oversight.
[0101] In one embodiment, the blockchain layer receives the contract establishment application from the patient and the hospital, and forwards the contract and waybill content, signed with the private key, to the authentication node for verification. Upon successful verification, the contract and waybill content are uploaded to the blockchain and broadcast across the entire network. The contract layer uses digital RMB to settle the payment and shipping costs according to the termination conditions.
[0102] Reference Figure 3 , Figure 3 This is a schematic diagram of the drug transaction contract system provided by the present invention. Patients view drug information in the hospital pharmacy on their user terminals and enter into a drug contract with the hospital. The user terminal records the contract on the blockchain, and simultaneously, the patient uses digital RMB to pay a loan to the smart contract. The transaction contract records the loan payment information on the blockchain, automatically executing the contract and disbursing the loan to the corresponding hospital. The hospital provides the corresponding drugs to the patient according to the contract. When a hospital is short of a certain drug, it can send a list of missing drugs to other hospitals and confirm the shipping information with them, ultimately completing the patient's order.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A medical data sharing system architecture based on blockchain and digital RMB, characterized in that, The medical data sharing system architecture includes a data layer, a blockchain layer, a contract layer, an application layer, and a service layer. The service layer includes a service object module of the shared system; The blockchain layer is used to authenticate and manage the identities of multiple node user terminals and to establish an underlying data interaction protocol. The contract layer is used to standardize contracts and establish regulated and decentralized contracts based on digital RMB. After receiving an order from a patient and a hospital, the contract layer executes the order through a smart contract and records the order on the blockchain. The contract layer uses digital RMB to settle the payment for goods and shipping costs according to the termination conditions. The application layer includes key application information, which includes information on payment transactions, order on-chaining, medical and patient data collection, auditing, retrieval, and sharing. The data layer is used to encrypt the original data information and store it in the cloud storage module, and to store the data information digest in a chain structure. The blockchain layer is used for identity authentication to obtain application permissions and for digitally signing contracts established by the contract layer; the service layer is used for acquiring and managing medical data; the application layer is used for collecting, auditing, retrieving and sharing medical data, and for payment contracts based on digital RMB; and the data layer is used for storing medical data in a cloud database and on the blockchain.
2. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 1, characterized in that, The contract layer includes authorization contracts and audit contracts; The authorization contract is used to grant user terminals access to medical data. The audit contract is used to share audited electronic medical records.
3. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 2, characterized in that, The contract layer also includes retrieval contracts and sharing contracts; The retrieval contract is used to return the medical data information retrieved from the chain to the user terminal based on the retrieval request triggered by the user terminal. The shared contract is used to provide users with the ability to upload and view shared medical data on the blockchain, based on sharing requests triggered by user terminals.
4. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 3, characterized in that, The contract layer also includes transaction contracts; The transaction contract is used to determine whether a transaction can proceed as scheduled based on the order details between the patient and the hospital.
5. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 1, characterized in that, The application layer includes medical data collection applications and medical data auditing applications; The medical data collection application is used to collect basic patient information, patient medical history information, relevant doctor information, medication information, and patient order information during the treatment process. The medical data auditing application is used to review and verify patient basic information, patient medical history information, relevant doctor information, medication information, and patient order information based on the auditing group constructed by the auditing party, and to store the audit and verification results in the blockchain.
6. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 5, characterized in that, The application layer also includes medical data retrieval applications and medical data sharing applications; The medical data retrieval application is used to retrieve the granularity, attributes, and scope of medical data before use; The medical data sharing application is used to write the authorization information of the user terminal's data sharing permission application into the sharing contract during the data sharing process, and to obtain shared medical data for the user terminal from a third-party cloud database.
7. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 6, characterized in that, The application layer also includes loan transaction applications; The loan transaction application is used to pay for goods in digital RMB, and the resulting payment information is recorded on the blockchain and broadcast.
8. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 1, characterized in that, The service layer includes a medical data provision module, a medical data management module, and a medical data usage module; The medical data providing module is used to collect medical data and determine the scope of medical data retrieval and sharing. The medical data management module is used to manage the collected medical data in a unified manner and to authorize the auditing, retrieval, sharing and trading of medical data. The medical data usage module is used to retrieve medical data from the cloud database using the obtained medical data credentials.
9. The medical data sharing system architecture based on blockchain and digital RMB as described in claim 1, characterized in that, The blockchain layer includes an identity authentication and management module, a digital signature module, and an underlying data interaction protocol.
10. The medical data sharing system architecture based on blockchain and digital RMB according to claim 1, characterized in that, The data layer includes a fully homomorphic encryption module, a cloud storage module, a chain structure, and a hash function.
Citation Information
Patent Citations
Electronic health record data blockchain system and process
CA3142834A1
A medical data management system based on a medical block chain
CN109947844A