Security medical data sharing method based on sequential multi-ring signature
Through sequential multi-ring signature technology, the problems of identity leakage and data tampering in medical data sharing are solved, the anonymity, integrity and non-repudiation of data are achieved, and the security and supervision efficiency of medical data are enhanced.
Patent Information
- Application Number
- CN202410901960.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-20
AI Technical Summary
Medical data faces problems such as identity information leakage, data tampering and lack of supervision mechanisms during the sharing process, making it difficult to guarantee data privacy and security.
Adopt a secure medical data sharing method based on sequential multi-ring signatures to ensure the anonymity and integrity of the data during transmission through initialization of system parameters, key generation, ring signature verification of patients and medical staff, signature chain transfer and third-party tracking sex and non-repudiation.
It effectively protects patient privacy, ensures the authenticity and integrity of data, provides a strong non-repudiation and supervision mechanism, and enhances the security and credibility of medical data.
Smart Images

Figure CN118677624A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a secure medical data sharing method based on sequential multi-ring signatures. Background Art
[0002] Ring signature is an important cryptographic technology designed to ensure that the signer of a message remains anonymous during the signing process. It allows a signer to sign a message with his or her own private key and generate a "ring" or "group" containing a group of other public keys. This group ensures that even if the true identity of the signer is hidden, the verifier can still determine that the signature was indeed created by a member of the group. Ring signatures are often used in scenarios where the signer's non-repudiation needs to be ensured, such as in privacy-sensitive applications such as anonymous voting and medical data sharing.
[0003] In the current field of medical data management, there are multiple complex challenges. First, data privacy and security are one of the most concerned issues at present. Medical data contains a lot of sensitive information, such as patients' health status, diagnosis results and treatment plans. If this information is accessed or leaked without authorization, it will cause serious damage to personal privacy and may even be used for fraud or other illegal activities. Secondly, there are obvious risks in the traditional centralized data storage and management methods. The centralized architecture is easy to become a target of hacker attacks. Once attacked, it may lead to large-scale data leakage or tampering, thus affecting the normal operation of medical services and patient trust. In addition, access control and audit traceability of medical data are also urgent issues to be solved. How to ensure that only authorized medical professionals can access and modify data and can trace the historical records of data operations is the key to ensuring data integrity and credibility. In addition, the diversity and complexity of medical data increase the challenges of data management. Medical information covers a wide range from patients' personal information to clinical research data. Unified standards and effective technical means are needed to manage and integrate this information to support medical decision-making and scientific research. Summary of the invention
[0004] The purpose of the present invention is to provide a secure medical data sharing method based on sequential multi-ring signatures, which can solve the problems of identity information leakage, data tampering, lack of supervision mechanism, etc. in the medical data sharing system, and can effectively enhance the data privacy protection and data authenticity of the system.
[0005] Step 1: The authorized agency first initializes various system parameters, and initializes the hash function, hash table and signature chain list;
[0006] Step 2: The key generation center generates a pair of public and private keys for each member of the ring involved in different entities, and generates a pair of master public and private keys for the system;
[0007] Step 3: The patient protects his or her identity information by signing the electronic health record in a ring and submitting the signature to the data monitoring center;
[0008] Step 4: The data monitoring center verifies the signature from the patient and rejects it if it is illegal;
[0009] Step 5: The designated medical staff for signature verification accepts the legal signature and the signed patient's public key from the monitoring center, signs the electronic health care, and initializes the signature chain list. The generated signature is delivered to the next medical staff in the chain list order;
[0010] Step 6: After receiving the signature submitted by the previous medical staff, the medical staff signs the signature again and delivers it to the next member. Finally, the total signature is generated and delivered to the data monitoring center;
[0011] Step 7: After receiving the signature and electronic medical record from the medical staff, the data monitoring center verifies the signature and rejects it if it is illegal;
[0012] Step 8: The third-party organization requires tracking of the identity of the signer of the illegal signature from the medical staff and outputs the subset of signers of the illegal signature.
[0013] The secure medical data sharing method based on sequential multi-ring signatures according to an embodiment of the present invention has the following characteristics and positive impacts: (1) Privacy protection: Medical data usually contains highly sensitive personal information, and it is crucial to ensure that this data is not leaked during the sharing process. Ring signature technology allows the identity of the signer to remain anonymous within a predefined group, thereby protecting the privacy of the patient. (2) Data integrity and authenticity: In the process of data sharing, it is key to ensure that the data has not been tampered with and the source is trustworthy. Ring signatures require that the verified signature data comes from multiple trusted members of the group, thereby ensuring the integrity and authenticity of the data. (3) Anti-repudiation: Ring signatures provide a non-repudiation mechanism, that is, once a group member signs the data, no one can deny that the signature was made by a member of the group. This is particularly important for the legal and audit requirements of medical data records.
[0014] In addition, the secure medical data sharing method based on sequential multi-ring signature according to the above embodiment of the present invention may also have the following additional technical features:
[0015] In some embodiments of the present invention, steps 1-8 are specifically implemented as follows: comprising Setup(1 λ )、KeyGen(pp)、 Trace(pp,σ (N,t)), the meanings of the parameters involved are as follows. G represents the additive cyclic group consisting of points on the elliptic curve, F p represents a finite field with a prime number p as its order, and E represents a finite field based on F p , q and q′ represent prime numbers, t represents the number of signers, P represents the generator of the G group with order q, G T represents the multiplicative cyclic group of prime order q′, S and P0 represent the system master key, STSR_pk i Represents the STSR public key, MPR_pk i Represents the public key of MPR, pk i and sk i Represent the user's public and private keys respectively, H1-H6 represent six secure hash functions respectively, hash_table represents the hash table storing users in MPR, signer_list represents the signer list in MPR, σ represents the ring signature in STSR, σ (N·t) represents the ring signature in MPR, STSR represents the suspected infected patient ring, and MPR represents the medical staff ring. The specific implementation steps are:
[0016] Setup(1 λ ): Initialization algorithm. This algorithm is used for system initialization, taking the security parameter λ as input and outputting the public parameter pp.
[0017] KeyGen(pp): Key generation algorithm. This algorithm takes the system public parameter pp as input and outputs a pair of keys (pk i ,sk i ) and output a pair of master keys (S, P0) for the system. First, the algorithm randomly selects a positive integer as the private key Public key pk i =sk i *P. Generate a pair of RSA keys for the system as the master key, and then select a positive integer Calculate n = α × β, Then select satisfy And calculate Finally, we get the master key S = {e,n}, P0 = {d,n}.
[0018] Patient signature algorithm. This algorithm uses system public parameters pp and signer private key sk π , message m, public key set As input, the output is the patient signature σ. First, the algorithm randomly selects a positive integer r 1,π and r′ 1,π , and calculate P π =(((r 1,π +r′ 1,π)*sk π )modq)*P, then calculate the corresponding P for each user in the public key set i =(r 2,i +H2(sk π ,P)+h i )modq*P、h i+1 =H1(pk i ,P i ,m), and let r 2,π =((r 1,π modq)sk π -H2(sk π )). Finally, the public key MPR_pk of the medical staff who is designated to verify the signature v and the public key of the signing patient, STSR_pk π Perform RSA encryption to obtain c.
[0019] Patient signature verification algorithm. The algorithm uses system public parameters pp and public key set The patient's signature σ is input, the output value is value, and the public key MPR_pk of the designated signature verifier is v , patient signature σ, signing patient's public key STSR_pk π First, the algorithm calculates Z for each user in the ring. i =(r 2,i +H2skπ+himodq*P and hi+1=H1(pki,Zi,m). Then determine whether user 1's h1 is not equal to H1(pki,Zi,m). If so, the signature is illegal. Otherwise, decrypt c to obtain the public key of the designated signature verification medical staff and determine whether it exists. Finally, send the patient's signature σ to the designated signature verifier.
[0020] Medical staff signature algorithm. This algorithm uses the system public parameter pp, the signer list signer_list, and the signer public key set As input, output the total signature of medical staff σ (N,t) =(σ N,1 ,...,σ N,t ). The algorithm first adds the signer set to the signer chain list in order, and then multiple medical staff use MPR_Resign to sign the electronic medical record multiple times.
[0021] Medical staff re-signature algorithm. This algorithm uses the signer's private key sk π′ , message m′ j , public key set Input, output medical staff signature The algorithm first randomly selects a positive integer At the same time, the signer's s is calculated π′,j =r 1,π′ +sk π′ +H3(m′ j ,pk π′ )modq、F π′,j =s π′,j *P, and get the hash value h pk =H6(pk π′,j ) and h P =H6(P). Then traverse the entire ring members and run different calculation rules to obtain P′ according to whether the member belongs to the signature chain list i,j 、a i,j 、b i,j In addition, calculate the hash value of this signature Finally, the signature σ N,j return.
[0022] Medical staff signature verification algorithm. This algorithm uses the system public parameter pp and the medical staff signature σ (N,t) , message collection Public Key Collection The algorithm first selects the first member in the signature list as the signer, traverses each member in the ring, and calculates Z′ for each member. i,j =a i,j *pk i +b i,j *P, then judge Is it true? If it is true, the signature is invalid. Otherwise, the next signer in the list is selected in turn, and the process repeats. Finally, the value is returned.
[0023] Trace(pp,σ (N,t) ): Tracking algorithm. This algorithm uses the system public parameter pp and the medical staff signature σ (N,t) As input, the output is the signer set S. The algorithm first traverses all ring members in the MPR and calculates a for each member i,j 、b i,j And collect the message m′ of each signature j and hash value h′ j Finally, by the inequality Determine whether the signature of each signer is legal and output the set S of illegal signers.
[0024] This method has the following characteristics and positive impacts:
[0025] (1) Privacy protection
[0026] This method allows the signer's identity to remain anonymous within a predefined group to protect the patient's identity privacy.
[0027] (2) Data integrity and authenticity
[0028] During the ring signature generation process, multiple signers will sign the data and verify the final generated signature to ensure that the data is not tampered with or changed during transmission, thereby enhancing the credibility of the data.
[0029] (3) Non-repudiation
[0030] Ring signatures provide a non-repudiation mechanism, that is, once a group member signs data, no one can deny that the signature was made by a member of the group. This is particularly important for legal and audit requirements of medical data records.
[0031] The security of the ring signature of this method can be reduced to the discrete logarithm problem on the elliptic curve (ECDLP). The ring signature has unconditional anonymity, that is, it is difficult for an attacker to uniquely determine which specific participant generated the signature through the signature itself. At the same time, it is also unforgeable, that is, an attacker cannot forge or tamper with an existing signature without authorization. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is an architecture diagram of a secure medical data sharing method based on sequential multi-ring signatures according to an embodiment of the present invention;
[0033] Figure 2 A structural diagram of a ring signature method according to an embodiment of the present invention;
[0034] Figure 3 The present invention is a flowchart of a method for secure medical data sharing using sequential multi-ring signatures according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, but should not be construed as limiting the present invention.
[0036] The present invention proposes a secure medical data sharing method based on sequential multi-ring signatures to solve the following two problems:
[0037] (1) Increase the protection of patient identity-sensitive data in the medical data sharing system and further enhance the feasibility and integrity of the data.
[0038] (2) Enhance the supervision and audit mechanism between different entities' data sharing, further ensure the authenticity of data and improve sharing efficiency. The specific steps of the present invention are further described below in conjunction with the accompanying drawings.
[0039] like Figure 1 As shown, the specific implementation steps of the present invention are divided into eight stages: Setup (1 λ )(initialization), KeyGen(pp)(key generation), (Patient's signature), (Verify the patient's signature), (Signature of medical staff), (Medical staff repeats signature), (Signature verification of medical staff), Trace(pp,σ (N,t) ) (Signer tracking). The present invention involves seven roles, namely, patients, medical staff, cloud storage center, key generator, medical institution, third medical provider, data supervision agency, and the specific structure of the signature is as follows: Figure 2 The method flow chart is shown in Figure 3 shown.
[0040] Setup(1 λ ): The authority initializes the system by executing the initialization algorithm Setup. First, an additive cyclic group G and a multiplicative cyclic group G are selected. T . In order to ensure the security of the random password, the authorization agency also selected six hash functions. Then create a hash table hash_table to store all medical staff in the MPR, and create a linked list signer_list to sequentially store the medical staff who need to sign;
[0041] KeyGen(pp): KGC generates a pair of unique keys (pk i ,sk i ). In addition, a master key is generated for each system;
[0042] The patient performs a ring signature on the electronic health record through STSR_Sign. First, the identification number of the signing patient is represented as π, and its public-private key pair is represented as (pk π ,sk π ), and select any N patient identities in STSR to form a set This includes the signer. Secondly, the EHR is recorded as m, and a ring signature σ is generated through STSR_Sign. Finally, the patient sends the signature σ to the data monitoring center. STSR_Sign enables patients to report their health status to medical staff while protecting the confidentiality of their sensitive identity information;
[0043] When the data monitoring center receives σ from the patient, it parses the EHR and calculates Z i The value of h1 = H1(pk N ,Z N ,m) is established. If the equation is equal, the signature is valid, and the data monitoring center decrypts the signature and the patient's public key with the master private key S and combines them into a message (σ,STSR_pk π ) is sent to the designated medical staff; if not, the signature is invalid;
[0044] Designated medical staff for visa verification MPR_pk v Receive the legal signature σ and patient identity STSR_pk from the data monitoring center π Then index o according to the order j Bringing patients and medical staff together Add to the signer linked list. Each member in the linked list executes the signature algorithm MPR_Sign on the generated EHR. Finally, the ring signature σ is generated (N,t) MPR_Sign enables different medical staff such as doctors, pharmacists and nurses to jointly sign electronic medical records in a collaborative manner, and the signature is ultimately confirmed by the patient, ensuring transparency and trust in the medical document process.
[0045] Medical staff and patients execute the algorithm MPR_Resign on the electronic medical record. First, the serial number of the signing medical staff is set to π′, and the key pair is set to (pk π′ ,sk π′ ), and select N medical staff from MPR to form a set There are t signatories. Secondly, let EHR be m′ j , and generate a ring signature σ through MPR_Resign N,f Finally, the signature and medical record are combined into one message (σ (N,j) ,m′ j );
[0046] When the data monitoring center receives information sent by medical staff When Z′ i,j and verify the value If the equations are equal, the signature is valid; if they are not equal, the signature is invalid;
[0047] Trace(pp,σ (N,t)): When a third-party medical institution finds that the signature requested from the medical institution does not match the corresponding signature of the data monitoring center, it hopes to identify the signer subset S from the MPR. First, it sends a tracking request to the data monitoring center. Once the request is accepted, the data monitoring center can determine S by interacting with all members in the MPR. In the initial stage, the data monitoring center collects a i,j 、b i,j value, and collect m′ from each signer based on the signature j , h′ j The data monitoring center collects the a values of all ring members. i,j 、b i,j , m′ j , and h′ j , then calculate h for each signer pk and h P Value, where h pk =H6(pk π′,j ),h P =H6(P). Then, the order index o of the signatory subset S i By inequality Decision. When the signature σ (N,t) When ineffective, the algorithm can eliminate the anonymity of certain medical staff or patients.
[0048] A secure medical data sharing method based on sequential multi-ring signatures can ensure the security of medical data sharing. It has the following characteristics:
[0049] (1) From a security perspective, this method can effectively protect the personal identity and sensitive data of participants by using anonymous identity and multi-ring signature technology. Participants do not need to reveal their real identities when making data sharing requests, thus avoiding the risk of identity leakage. At the same time, it also provides a powerful multi-verification mechanism and signature tracking mechanism to ensure the legitimacy of operations and the reliability of data. This mechanism not only prevents data tampering, but also effectively prevents unauthorized data access, thereby protecting the security and credibility of medical data.
[0050] (2) From the perspective of computational efficiency, the signature algorithm in the present invention is implemented based on elliptic curves, and has a shorter key length, faster computational speed, and lower computational overhead.
[0051] The terms used in this document, such as "one embodiment", "example" or "specific example", are not limited to a single case or situation, but refer to the use of any specific feature, structure, material or characteristic described in this document. The technician has the right to adjust, modify, replace or combine the features, structures, materials or characteristics of the different embodiments or examples described in this document in a reasonable manner according to his professional knowledge and specific needs. The purpose of these descriptions is to help technicians understand the principles and applications of the present invention, and it is not meant to make specific limitations on the scope of the present invention. Therefore, the technician should make his own judgment and reasonably apply this information according to legal and technical requirements.
Claims
1. A secure medical data sharing method based on sequential multi-ring signatures, characterized in that: The following steps are involved: Step 1: The system inputs the security parameter λ and the authorized agency executes the initialization algorithm Setup(1 λ ) to set the additive cyclic group G and the multiplicative cyclic group G T The generator and order of the hash function are selected, and finally the hash table hash_table and the linked list signer_list are initialized. The above parameters together constitute the system public parameter pp; Step 2: The key generator calls the key generation algorithm KeyGen(pp) and selects a positive integer in the additive cyclic group G as the private key sk i , and obtain a point on the elliptic curve as the public key pk from the private key and the generator P of group G i ,In addition, the key generator also generates a pair of RSA keys (S = {e,n}, P0 = {d,n}) for the system as the master key; Step 3: A patient in the STSR ring calls the signature algorithm Sign and report your health status. The specific algorithm steps are as follows: First, randomly initialize two positive integers r 1,π and r1′ ,π , and calculate the signer's point P π =(((r 1,π +r′ 1,π )*sk π )modq)*P, then traverse the members in the ring one by one to obtain the point P of each member i =(r 2,i +H2(sk π ,P)+h i )modq*P and hash value h i+1 =H1(pk i ,P i ,m), finally, set the random value r 2,π =((r 1,π modq)sk π -H2(sk π )) and use RSA to encrypt the signer's public key and the designated verifier's public key; Step 4: The data supervision center verifies the patient's signature σ and calculates the Z of each member starting from the first member in the ring. i Value and hash value h i+1 Finally, determine whether the obtained hash value h1 is equal to the hash value in the signature, and output valid or invalid to indicate whether the signature is legal; Step 5: Designated medical staff MPR_pk v Receive the signature σ and patient identity STSR_pk from the patient π Then, according to the signer's public key MPR_pk i Index the medical staff who need to sign in order j Store in linked list Among them, the threshold value is t; Step 6: The signers in the linked list call the repeated signature algorithm in turn To implement multi-signature for HER, the specific algorithm steps are as follows: First, calculate the large value s of the signer π′,j =r 1,π′ +sk π′ +H3(m j ′,pk π′ )modq, elliptic curve point F π′,j =s π′,j *P, hash value h pk =H6(pk π′,j ), where r 1,π′ is a randomly selected positive integer, and then traverses other members in the ring, performing different operations depending on whether the member belongs to the signer list signer_list. When index i is the signer π′, P′ i,j =F π′,j +((r 2,i +r 3,i )modq)*pk π′ ; When i∈{signer_list}, P′ i,j =((r 2,i +r 3,i )modq)*P+((r 1,i +r 2,i )modq)*pk i ;when hour, Similarly, when i = π′, When i∈{signer_list}, a i,j =(r 1,i +r 2,i )modq; when hour, When i = π′, b i,j =((r 2,i +r 3,i )modq)*sk π′ +s π′,j -a i,j *sk π′ ; When i∈{signer_list}, b i,j =(r 2,i +r 3,i )modq; when hour, Finally, calculate the hash value of this signature And return the signature σ N,j ; Step 7: The data supervision center collects the total signatures σ from the MPR ring (Nt) Verify by calculating the elliptic curve point Z′ i,j and verify the value Whether it is established, the output is valid or invalid to indicate whether the signature is legal; Step 8: The data supervision center calls the tracking algorithm Trace(pp,σ (N,t) ) to implement the signature σ (N,t) Track the identities of one or more illegal signers in the MPR ring and output a subset S of illegal signers in the MPR ring.
