Medical privacy data security sharing method based on ciphertext retrieval and multi-party security computing

By building a data sharing alliance chain and IPFS network among medical institutions, using ciphertext search keys and anti-quantum multi-party security computing algorithms, the key leakage and complex permission management problems in private data sharing are solved, and the flexibility of private data is achieved Sharing and efficient retrieval ensure the trustworthiness and full utilization of data.

CN118984221APending Publication Date: 2024-11-19WONDERS INFORMATION
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411092569.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

There are problems of key leakage, source data out of the domain, complex permission management and data retrieval failure in privacy data sharing among existing medical institutions, especially when multiple parties participate, it is difficult to achieve flexible data sharing and secure co-construction.

Method used

By building a data sharing alliance chain and IPFS network, using ciphertext search keys and anti-quantum multi-party security computing algorithms, a multi-party security computing threshold key is generated to realize private data sharing and secure computing based on ciphertext search, combining smart contracts and identity Permission control ensures trustworthiness, traceability and real-time sharing of data.

Benefits of technology

It effectively avoids the problems of key leakage and excessive unilateral permissions, realizes flexible sharing and efficient retrieval of private data, and ensures the trustworthiness and full mining of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118984221A_ABST
    Figure CN118984221A_ABST
Patent Text Reader

Abstract

The invention discloses a medical privacy data security sharing method based on ciphertext retrieval and multi-party security calculation. According to the method, based on the actual sharing requirement of the privacy data, the privacy data is subjected to classification and authority management by establishing a trusted data directory, an account book and a data set; privacy data key values are ensured to be hidden through a ciphertext retrieval technology, and the retrieval capability aiming at the hidden key values is provided; through an anti-quantum multi-party security computing technology and in combination with key distribution algorithm control, sharing of privacy data among multiple parties becomes possible. The method is beneficial for avoiding the problems that a private key is easy to leak and the unilateral authority is too large in a traditional mode, is beneficial for ensuring the credibility, traceability, real-time performance and verifiability of the whole private data sharing process, is beneficial for fully mining the value of the private data, and promotes the efficient circulation of data assets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for realizing secure sharing of medical privacy data among multiple parties through multi-party secure computing technology of blockchain and privacy computing, and belongs to the technical field of blockchain and privacy computing. Background Art

[0002] There is widespread cross-departmental and cross-institutional business collaboration among existing medical institutions, which often involves the need to share, co-build, and co-manage private data such as the names and mobile phone numbers of patients in the medical field. However, due to the lack of effective and reliable real-time monitoring of shared data and data use authorization mechanisms, there are also problems such as difficulty in controlling the scope of data sharing, lack of incentives, and legal compliance, which makes it difficult to take a substantive step forward in the sharing of private data. On the other hand, some existing solutions generally focus on privacy sharing between two parties. The data owner encrypts the data and authorizes the data user to use it and decrypts it for use. Once there are too many participants, the complexity of its implementation and the difficulty of permission management increase dramatically. At the same time, it also faces the problems of key out of the domain, easy leakage, and data index exposing privacy. Summary of the invention

[0003] The technical problems to be solved by the present invention are: (1) When multiple parties share private data, the private data needs to be encrypted before sharing. When using it, there will be problems such as key leakage, source data out of the domain or repeated encryption and decryption. In addition, data is generally only shared between two parties, which is not flexible enough. Once more than two parties participate, its implementation will become complicated. At the same time, the simple symmetric encryption mode also leads to the problem of excessive authority of a single party, which is not in line with the idea of ​​data sharing, co-construction and co-management; (2) If the data is hashed and then shared, it can only be applied in the fields of comparison, repeated judgment, etc., with a small application scenario and unable to fully tap the value potential of the data; (3) For the sharing of ciphertext data, in order to facilitate retrieval, the key information fields of the data will be used directly or after hashing. The former has the risk of data leakage, and the latter will cause data retrieval to lose the plaintext characteristics.

[0004] In order to solve the above technical problems, the technical solution of the present invention is to provide a method for securely sharing medical privacy data based on ciphertext retrieval and multi-party secure computing, which is characterized by comprising the following steps:

[0005] Step 1: All parties involved in the secure sharing of private data, including regulators and data sharing participants, build a data sharing alliance chain and IPFS network. The data sharing alliance chain is responsible for carrying the core sharing business of private data, and the smart contract handles the specific operation behavior and records it on the chain. The IPFS network is responsible for storing various file data.

[0006] Step 2: Generate a ciphertext retrieval key based on ciphertext retrieval and a multi-party secure computing threshold key based on a quantum-resistant multi-party secure computing algorithm. The ciphertext retrieval key is only kept by the alliance regulator, and the multi-party secure computing threshold key is kept by the regulator and the data sharing participants themselves.

[0007] Step 3: The private data that needs to be shared securely is encrypted by the participants using the multi-party secure computing threshold key generated in step 2 and uploaded to the IPFS network storage. The IPFS content identifier and related annotation information are returned and stored on the chain.

[0008] Step 4: For the index of private data, the data owner selects the appropriate search keyword, encrypts it with the public key of the alliance supervisor, and sends it to the supervisor. The supervisor uses the ciphertext retrieval key to generate a ciphertext index on the chain;

[0009] Step 5: The data user obtains the ciphertext search authorization and sends the search keyword to the supervisor through a secure channel. The supervisor generates a trapdoor based on the ciphertext search key and returns it. The data user then initiates a search based on the generated trapdoor combined with the on-chain ciphertext index.

[0010] Step 6: The data user obtains the ciphertext search results and initiates a multi-party secure computing request on the chain; the relevant participants independently decrypt the ciphertext and return the corresponding decryption share. The data user collects enough decryption shares, calls the multi-party secure computing smart contract for joint computing, and finally obtains the use of private data.

[0011] Preferably, after step 1 and before step 2, the method further includes the following steps:

[0012] Build and deploy identity and access control, privacy data directory management, multi-party secure computing, and ciphertext retrieval smart contracts, and build corresponding privacy data sharing permissions and constraint settings according to the needs of different business scenarios.

[0013] Preferably, in step 2, the following steps are also included:

[0014] For the generation of multi-party secure computing keys, the alliance regulator generates n=2N multi-party secure computing threshold keys in a trusted environment, distributes N of them to each data sharing participant through a secure channel, and the remaining N are managed by the regulator.

[0015] Preferably, after step 3 and before step 4, the following steps are also included:

[0016] The content identifiers and on-chain standard information of private data in the IPFS network are automatically pulled into the local database through data synchronization tools, thereby improving the retrieval efficiency of private data.

[0017] Preferably, after step 4 and before step 5, the following steps are also included:

[0018] The ciphertext index data is synchronously loaded into the Redis memory database. When the ciphertext index data needs to be retrieved, it is directly loaded from the memory database to improve the retrieval efficiency.

[0019] The present invention starts from the actual sharing needs of private data, and manages private data by classification and authority by establishing a trusted data directory, account book and data set; ensures the concealment of private data key values ​​through ciphertext retrieval technology, and provides retrieval capabilities for hidden key values; and provides the possibility of sharing private data among multiple parties through quantum-resistant multi-party secure computing technology and combined with key distribution algorithm control. The present invention is conducive to avoiding the problems of easy leakage of private keys and excessive unilateral authority in traditional methods, and is conducive to ensuring the credibility, traceability, real-time and verifiability of the entire process of private data sharing, and is conducive to fully exploring the value of private data and promoting the efficient circulation of data assets. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0021] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.

[0022] like Figure 1 As shown, the embodiment of the present invention discloses a data security sharing method based on blockchain and privacy computing technology, which specifically includes the following steps:

[0023] Step 1: Multiple participants with privacy data security sharing business, including one or more regulators, build a data security sharing alliance, build identity and access rights control, privacy data directory management, multi-party secure computing, and ciphertext retrieval smart contracts, and deploy and complete various initialization configurations.

[0024] Step 2. Each participant deploys the IPFS network to store file-type data that needs to be shared. For publicly available and relatively small data, you can choose to store and share it directly on the chain. Data with general sharing value is not recommended to be stored on the chain. Private data that needs to be shared needs to be encrypted or desensitized before being stored on the IPFS network.

[0025] Step 3: In a trusted environment, the alliance regulator generates n = 2N multi-party secure computing private keys, distributes N of them to the alliance participants through a secure channel, and the remaining N are managed by the alliance regulator. In the absence of the regulator, if a user's ciphertext is to be shared, each participant must decrypt it; if a participant fails or loses the private key, the ciphertext sharing system can operate normally after requesting the regulator to intervene. This mechanism ensures that the owner of the ciphertext data must participate in the decryption, meets compliance and regulatory requirements, and improves the robustness of the system.

[0026] Step 4: When collaborating on business, each participant will encrypt the private data to be shared using the multi-party secure computing private key obtained in step 3, upload it to the IPFS network for storage, and return a content identifier, through which the corresponding data can be addressed.

[0027] Step 5: Generate a ciphertext index for private data to ensure that the index does not expose data privacy and meets the requirements of retrieval. The data owner selects appropriate search keywords for private data, encrypts them with the public key of the alliance regulator, and sends them to the regulator. After decryption in the local security zone, the regulator uses the ciphertext retrieval key to generate a ciphertext index and returns it. The data owner obtains the ciphertext index, adds the content identifier generated in step 4, and calls the smart contract to put the data on the chain.

[0028] Step 6: When private data needs to be used, the data user first initiates a ciphertext retrieval authorization application, and obtains ciphertext retrieval authorization after approval by the on-chain supervisor and participants. This process is automatically executed by the smart contract according to the predetermined rules. Ciphertext retrieval permissions can be constrained by time or scenario usage restrictions based on actual business conditions.

[0029] Step 7. The data user organizes the search keywords based on the data he needs to use and sends them to the supervisor through a secure channel. The supervisor uses the ciphertext search key locally to generate a trapdoor and returns it. The data user initiates a search based on the generated trapdoor combined with the on-chain ciphertext index. The search results are ranked by score based on the similarity between the index and the search keyword. The system supports customizing the number of data returned. To prevent search abuse, the top five records are generally returned.

[0030] Step 8: The data user obtains the ciphertext retrieval result and initiates a multi-party secure computing request. The relevant participants use their own stored keys to independently decrypt the ciphertext, obtain the corresponding decryption share in return, and hash the decrypted data before storing it on the chain.

[0031] Step 9: The data user obtains decryption shares exceeding the threshold from different participants, uses the private data ciphertext and the decryption shares that meet the decryption conditions, first verifies whether the received decryption share information is consistent with the hash on the chain, then calls the joint calculation function, and finally obtains the use of the private data. The whole process is executed and stored on the chain, the process is transparent and trustworthy, and ensures that the regulator can carry out full-cycle supervision before, during, and after the event.

Claims

1. A method for secure sharing of medical privacy data based on ciphertext retrieval and multi-party secure computing, characterized in that: The following steps are involved: Step 1: All parties involved in the secure sharing of private data, including regulators and data sharing participants, build a data sharing alliance chain and IPFS network. The data sharing alliance chain is responsible for carrying the core sharing business of private data, and the smart contract handles the specific operation behavior and records it on the chain. The IPFS network is responsible for storing various file data. Step 2: Generate a ciphertext retrieval key based on ciphertext retrieval and a multi-party secure computing threshold key based on a quantum-resistant multi-party secure computing algorithm. The ciphertext retrieval key is only kept by the alliance regulator, and the multi-party secure computing threshold key is kept by the regulator and the data sharing participants themselves. Step 3: The private data that needs to be shared securely is encrypted by the participants using the multi-party secure computing threshold key generated in step 2 and uploaded to the IPFS network storage. The IPFS content identifier and related annotation information are returned and stored on the chain. Step 4: For the index of private data, the data owner selects the appropriate search keyword, encrypts it with the public key of the alliance supervisor, and sends it to the supervisor. The supervisor uses the ciphertext retrieval key to generate a ciphertext index on the chain; Step 5: The data user obtains the ciphertext search authorization and sends the search keyword to the supervisor through a secure channel. The supervisor generates a trapdoor based on the ciphertext search key and returns it. The data user then initiates a search based on the generated trapdoor combined with the on-chain ciphertext index. Step 6: The data user obtains the ciphertext retrieval results and initiates a multi-party secure computing request on the chain; the relevant participants independently decrypt the ciphertext and return the corresponding decryption shares; the data user collects enough decryption shares, calls the multi-party secure computing smart contract for joint computing, and finally obtains the use of private data.

2. A method for securely sharing medical privacy data based on ciphertext retrieval and multi-party secure computing as claimed in claim 1, characterized in that: After step 1 and before step 2, the method further includes the following steps: Build and deploy identity and access control, privacy data directory management, multi-party secure computing, and ciphertext retrieval smart contracts, and build corresponding privacy data sharing permissions and constraint settings according to the needs of different business scenarios.

3. A method for securely sharing medical privacy data based on ciphertext retrieval and multi-party secure computing as claimed in claim 1, characterized in that: In step 2, the following steps are also included: For the generation of multi-party secure computing keys, the alliance regulator generates n=2N multi-party secure computing threshold keys in a trusted environment, distributes N of them to each data sharing participant through a secure channel, and the remaining N are managed by the regulator.

4. A method for securely sharing medical privacy data based on ciphertext retrieval and multi-party secure computing as claimed in claim 1, characterized in that: After step 3 and before step 4, the following steps are also included: The content identifiers and on-chain standard information of private data in the IPFS network are automatically pulled into the local database through data synchronization tools, thereby improving the retrieval efficiency of private data.

5. A method for securely sharing medical privacy data based on ciphertext retrieval and multi-party secure computing as claimed in claim 1, characterized in that: After step 4 and before step 5, the following steps are also included: The ciphertext index data is synchronously loaded into the Redis memory database. When the ciphertext index data needs to be retrieved, it is directly loaded from the memory database to improve the retrieval efficiency.

Citation Information

Cited By

  • Personal data sharing management method based on big data

    CN119272338A

  • A method and system for scenario-based assetization of tumor medical data based on trusted data microspace.

    CN123072763A