Medical health data privacy security management method and system based on MLWE
By combining MLWE and AES encryption algorithms in medical and health data transmission, the problem of data security risks is solved, the security and efficiency of data transmission are improved, and the privacy and security management of medical and health data is ensured.
Patent Information
- Application Number
- CN202411488420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-10-24
AI Technical Summary
The prior art has data security risks in the transmission of medical and health data, and the encryption form is single and has great limitations.
Using MLWE-based low-expansion-rate encryption algorithm and AES encryption algorithm, the biomedical sensor is initialized through the key generation server, and data is collected and preprocessed in real time, and transmitted to the database through the MLWE encryption algorithm, and then transmitted to the medical cloud using the AES encryption algorithm. The server uses user registration method to perform decryption access to ensure data privacy and security.
It improves the security and accuracy of medical and health data privacy security management, enhances the security and efficiency of data transmission, reduces data redundancy, and achieves efficient privacy and security management.
Smart Images

Figure CN119004520A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data encryption technology, and in particular to a medical health data privacy security management method and system based on MLWE. Background Art
[0002] With the continuous development of hospital informatization, the digital medical model has become more and more perfect. However, since the medical and health data in the digital medical model needs to be publicly transmitted, it is easy to cause data leakage and there are certain data security risks.
[0003] The existing Chinese patent application CN117874789A identifies and partitions private data, associates the identified and partitioned data with encryption tasks, and uses dynamic incremental encryption to only encrypt and transmit the changed data parts, and returns the encrypted data and applies it to related data blocks. However, since only one encryption method is considered, the encryption form is single and has certain limitations. Summary of the invention
[0004] Technical issues solved In view of the shortcomings of the prior art, the present invention provides a medical health data privacy security management method and system based on MLWE, which has the advantages of security, efficiency, accuracy, etc., and solves the problem of data security risks in the data transmission process.
[0005] (II) Technical solution In order to solve the technical problem of data security risks in the above data transmission process, the present invention provides the following technical solutions: The present invention discloses a medical health data privacy security management method and system based on MLWE, which specifically includes the following steps: S1. Initialize the installed biomedical sensors through the key generation server, and collect patient medical health data in real time through the installed biomedical sensors; S2. Preprocessing the medical and health data of patients collected in real time to obtain preprocessed medical and health data of patients; S3, constructing a low expansion rate encryption algorithm of MLWE, and transmitting the obtained pre-processed patient medical health data to the database based on the constructed encryption algorithm; S4, transmitting the pre-processed patient medical health data in the database to the medical cloud server by using the AES encryption algorithm; S5. Based on the user registration method, the pre-processed patient medical health data in the accessed medical cloud server is decrypted by performing the inverse operation of the encryption algorithm corresponding to each step of the AESS encryption algorithm to obtain the corresponding pre-processed patient medical health data.
[0006] The present invention initializes the installed biomedical sensors through a key generation server, and collects the medical health data of patients in real time through the biomedical sensors; at the same time, the medical health data of patients collected in real time is processed by data verification and filtering, and the processed medical health data of patients is transmitted to the database through the low expansion rate encryption algorithm of MLWE; at the same time, the processed medical health data of patients in the database is transmitted to the medical cloud server by using the AES encryption algorithm, and decrypted and accessed through the user registration method, thereby realizing the security management of the privacy of medical health data and improving the security and accuracy of the privacy security management of medical health data.
[0007] Preferably, the initialization of the installed biomedical sensor by the key generation server comprises the following steps: S11, numbering the installed biomedical sensors, and using the numbers of the biomedical sensors as biomedical sensor IDs; S12, setting the parameters required in the key generation process; The key generation server randomly divides a prime domain; set is the additive group constructed for all integers in the prime field, and Z is the set of all prime numbers in the prime field.
[0008] The present invention completes the initialization of installed biomedical sensors by numbering the installed biomedical sensors and setting the parameters required in the key generation process, thereby improving the efficiency of privacy and security management of medical health data.
[0009] Preferably, the preprocessing of the patient medical health data collected in real time comprises the following steps: S21, data analysis; Classify patient medical health data collected in real time by biomedical sensors according to data types; The classification includes: time-based data, continuous data, selective data, and descriptive data; Time-based data refer to the patient visit time, physical examination time, and examination time of vital signs; Continuous data refers to variables that have meaningful values within a certain range, such as height, weight, and body temperature; Selection data refers to variables with options, such as gender options and patient adverse status options; Descriptive data refers to variables that require specific descriptions, such as the name of the patient's adverse event or the name of the medication; S22, data editing check; Edit and check the patient medical and health data collected in real time by the biomedical sensor through the set patient medical and health data threshold; The editing check pointer checks the value of a single data point; For example, in a clinical trial project, the patient's body temperature data should be greater than 30℃ and less than 45℃. When the biomedical sensor detects that a patient's body temperature is less than 30℃ or greater than 45℃, it will automatically prompt that the data is wrong and the threshold range of the value here will be prompted; S23, data filtering; The erroneous data prompted in the data editing check are deleted and filtered to obtain the filtered patient medical health data, and the filtered patient medical health data is set as the pre-processed patient medical health data.
[0010] The present invention completes the preprocessing of the patient medical health data collected in real time by performing data analysis, data editing inspection and data filtering on the patient medical health data collected in real time, thereby ensuring the accuracy of the privacy and security management of the medical health data.
[0011] Preferably, constructing a low expansion rate encryption algorithm of MLWE, and transmitting the pre-processed patient medical health data to a database based on the constructed encryption algorithm comprises the following steps: S31, setting the low expansion rate encryption algorithm parameters of MLWE; S32. Determine the homomorphic encryption scheme of the MLWE low dilation rate encryption algorithm based on the set MLWE low dilation rate encryption algorithm parameters.
[0012] Preferably, the setting of the low expansion rate encryption algorithm parameters of MLWE includes: Set the preprocessed patient medical health data to , ,in, represents the dimension of the vector, Represents the preprocessed patient medical health data The dimension of the vector, ,in, Represents the modulus of a vector.
[0013] Preferably, the determining of the MLWE low expansion rate encryption algorithm homomorphic encryption scheme based on setting the MLWE low expansion rate encryption algorithm parameters comprises the following steps: S321, key generation; Generate public and private keys based on key generation calculations; Set up two one-way cryptographic hash functions; ; ; in, Indicates the message length, Indicates the message identifier. Indicates the timestamp, Represents a string of any length composed of 0 and 1; Random Selection ∈ , set the system master key to , and calculate = As the system public key, where yes The generator of Random Selection ∈ , set the sensor master key to , and calculate = As the sensor public key; Random Selection ∈ ,calculate As the private key of ; Setting security parameters ; The safety parameters Shared parameters for the system; S322, encrypting the pre-processed patient medical health data to be sent; Select a pre-processed patient health data to send , by generating a public key for encryption calculation , obtain the encrypted and pre-processed medical and health data of the patient; in, Indicates the first Items of data, Indicates that the hash function is used to The data is encrypted. Indicates A randomly generated secret value for a piece of data, represents the second one-way cryptographic hash function, Represents the sensor public key; S323, performing homomorphic calculation on the encrypted pre-processed patient medical health data; Input the encrypted pre-processed patient medical health data, and obtain the pre-processed patient medical health data after homomorphic calculation through homomorphic calculation; The homomorphic calculation formula is as follows:
[0014] in, Indicates Line The pre-processed patient medical health data of the column, Indicates the encrypted The pre-processed patient medical health data Indicates The system master key of the pre-processed patient medical health data, Indicates The private key of the pre-processed patient medical health data; S324, decryption; Input the pre-processed patient medical health data after homomorphic calculation, obtain the pre-processed patient medical health data through decryption calculation and save it in the database; .
[0015] The present invention uses the MLWE low expansion rate encryption algorithm to ensure the encrypted transmission of patient medical health data through key generation, data encryption, homomorphic computing and decryption, thereby improving the security of medical health data privacy security management.
[0016] Preferably, the method of transmitting the pre-processed patient medical health data in the database to the medical cloud server by using the AES encryption algorithm comprises the following steps: The process of transmitting the pre-processed patient medical health data in the database to the medical cloud server is set as a data interaction process; S41, segmenting and completing the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process, and dividing the plaintext in the pre-processed patient medical health data that needs to be encrypted into plaintext data blocks equal to the key length; The segmentation and completion of the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process includes the following steps: S411, setting the length of the key based on the data interaction process; Set the data exchange process to use bytes as the unit; Since 1 byte = 8 bits; 1 bit represents a digit in the data exchange process; Then the length of the key should be set to an integer multiple of bytes; S412, segmenting the plaintext in the preprocessed patient medical health data based on the set key length; segmenting the plaintext in the preprocessed patient medical health data based on the number of bytes contained in the plaintext in the preprocessed patient medical health data and the key length;
[0017] in, Indicates the number of plaintext data blocks after segmentation. Indicates the number of bytes contained in the plain text of the preprocessed patient medical health data. Indicates the key length; S413, padding the plaintext in the preprocessed patient medical health data that is insufficient in length, based on the byte difference between the plaintext in the preprocessed patient medical health data and the key length, padding the end of the plaintext in the preprocessed patient medical health data that is insufficient in length; Set the data in the padding bytes to all 0; S42, encrypting each plaintext data block after segmentation and padding using the AES encryption algorithm.
[0018] Preferably, encrypting each plaintext data block after segmentation and padding by using an AES encryption algorithm comprises the following steps: S421, generating a vector matrix and performing XOR with the plaintext data block; S422, encrypting the plaintext data block using the AES encryption algorithm; S4221, setting, the key addition round to perform multiple rounds of addition of the plaintext data block and the key and outputting the result; S4222, set a byte substitution layer; After multiple rounds of addition, the plaintext data blocks are byte-converted in the byte substitution layer and output; S4223, setting the byte step of the row displacement, shifting each byte in the plaintext data after byte substitution in sequence by the byte step of the row displacement; S4224, setting the byte step of the column shift, shifting each byte in the plaintext data after the row shift in sequence to set the byte step of the column shift; S4225. Set the number of cycles of the AES encryption algorithm, and execute steps S4221 to S4224 based on the set number of cycles.
[0019] The present invention uses the AES encryption algorithm, sets the key length, and supplements and divides the data plaintext to perform segmented encryption on medical and health data, thereby reducing the redundancy of medical and health data, improving the efficiency of medical and health data transmission, and ensuring the high efficiency of medical and health data privacy and security management.
[0020] The present invention discloses a medical health data privacy security management system based on MLWE, comprising: a biomedical sensor, a key generation server, a medical cloud server, a data processing module, a database, an MLWE encryption module and an ASE encryption module; The biomedical sensor is used to collect patient medical health data in real time; The key generation server is used to generate public keys and private keys in real time; The medical cloud server is used to store the collected patient medical health data in the cloud; The data processing module is used to process and verify the medical and health data collected from patients in real time; The database is used to store the medical and health data of patients collected in real time; The MLWE encryption module is used to encrypt the interaction process between the biomedical sensor and the database; The ASE encryption module is used to encrypt the interaction process between the database and the medical cloud server.
[0021] (III) Beneficial effects Compared with the prior art, the present invention provides a medical health data privacy security management method and system based on MLWE, which has the following beneficial effects: 1. The present invention initializes the installed biomedical sensors through a key generation server, and collects the patient's medical health data in real time through the biomedical sensors; at the same time, the real-time collected patient medical health data is processed by data verification and filtering, and the processed patient medical health data is transmitted to the database through the MLWE low expansion rate encryption algorithm; at the same time, the processed patient medical health data in the database is transmitted to the medical cloud server by using the AES encryption algorithm, and decrypted and accessed through user registration, thereby realizing the security management of medical health data privacy and improving the security and accuracy of medical health data privacy security management.
[0022] 2. The present invention completes the initialization of installed biomedical sensors by numbering the installed biomedical sensors and setting the parameters required in the key generation process, thereby improving the efficiency of privacy and security management of medical and health data.
[0023] 3. The present invention completes the preprocessing of the patient medical health data collected in real time by performing data analysis, data editing inspection and data filtering on the patient medical health data collected in real time, thereby ensuring the accuracy of the privacy and security management of the medical health data.
[0024] 4. The present invention uses the MLWE low expansion rate encryption algorithm, key generation, data encryption, homomorphic computing and decryption steps to ensure the encrypted transmission of patient medical and health data, thereby improving the security of medical and health data privacy and security management.
[0025] 5. The present invention uses the AES encryption algorithm, sets the key length, and supplements and splits the data plaintext to perform segmented encryption on the medical and health data, thereby reducing the redundancy of the medical and health data, improving the efficiency of medical and health data transmission, and ensuring the high efficiency of medical and health data privacy and security management. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a schematic diagram of the process structure of the medical health data privacy and security management method of the present invention. DETAILED DESCRIPTION
[0027] 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.
[0028] Example 1 This embodiment discloses a medical health data privacy security management method and system based on MLWE, which specifically includes the following steps: S1. Initialize the installed biomedical sensors through the key generation server, and collect patient medical health data in real time through the installed biomedical sensors; Initializing the installed biomedical sensors via the key generation server includes the following steps: S11, numbering the installed biomedical sensors, and using the numbers of the biomedical sensors as biomedical sensor IDs; S12, setting the parameters required in the key generation process; The key generation server randomly divides a prime domain; set The additive group constructed for all integers in the prime field, Z is the set of all prime numbers in the prime field; S2. Preprocessing the medical and health data of patients collected in real time to obtain preprocessed medical and health data of patients; Preprocessing of patient medical health data collected in real time includes the following steps: S21, data analysis; Classify the patient medical health data collected in real time by biomedical sensors according to data types; The classification includes: time-based data, continuous data, selective data, and descriptive data; Time-based data refer to the patient visit time, physical examination time, and examination time of vital signs; Continuous data refers to variables that have meaningful values within a certain range, such as height, weight, and body temperature; Selection data refers to variables with options, such as gender options and patient adverse status options; Descriptive data refers to variables that require specific descriptions, such as the name of the patient's adverse event or the name of the medication; S22, data editing check; Edit and check the patient's medical and health data collected in real time by biomedical sensors through set patient medical and health data thresholds; The editing check pointer checks the value of a single data point; For example, in a clinical trial project, the patient's body temperature data should be greater than 30℃ and less than 45℃. When the biomedical sensor detects that a patient's body temperature is less than 30℃ or greater than 45℃, it will automatically prompt that the data is wrong and the threshold range of the value here will be prompted; S23, data filtering; Deleting and filtering the erroneous data prompted in the data editing check to obtain filtered patient medical health data, and setting the filtered patient medical health data as the pre-processed patient medical health data; S3, constructing a low expansion rate encryption algorithm of MLWE, and transmitting the pre-processed patient medical health data to the database based on the constructed encryption algorithm; Constructing a low expansion rate encryption algorithm of MLWE and transmitting the pre-processed patient medical health data to the database based on the constructed encryption algorithm includes the following steps: S31, setting the low expansion rate encryption algorithm parameters of MLWE; Set the preprocessed patient medical health data to , ,in, represents the dimension of the vector, Represents the preprocessed patient medical health data The dimension of the vector, ,in, Represents the modulus of a vector; S32, determining a homomorphic encryption scheme of a low expansion rate encryption algorithm of MLWE based on setting parameters of the low expansion rate encryption algorithm of MLWE; Determining the homomorphic encryption scheme of the low expansion rate encryption algorithm of MLWE based on setting the parameters of the low expansion rate encryption algorithm of MLWE includes the following steps: S321, key generation; Generate public and private keys based on key generation calculations; Set up two one-way cryptographic hash functions; ; ; in, Indicates the message length, Indicates the message identifier. Indicates the timestamp, Represents a string of any length composed of 0 and 1; Random Selection ∈ , set the system master key to , and calculate = As the system public key, where yes The generator of Random Selection ∈ , set the sensor master key to , and calculate = As the sensor public key; Random Selection ∈ ,calculate As the private key of ; Furthermore, set the security parameters ; Furthermore, the safety parameter Shared parameters for the system; S322, encrypting the pre-processed patient medical health data to be sent; Select a pre-processed patient health data to send , by generating a public key for encryption calculation , obtain the encrypted and pre-processed medical and health data of the patient; in, Indicates the first Items of data, Indicates that the hash function is used to The data is encrypted. Indicates A randomly generated secret value for a piece of data, represents the second one-way cryptographic hash function, Represents the sensor public key; S323, performing homomorphic calculation on the encrypted pre-processed patient medical health data; Input the encrypted pre-processed patient medical health data, and obtain the pre-processed patient medical health data after homomorphic calculation through homomorphic calculation; The homomorphic calculation formula is as follows:
[0029] in, Indicates Line The pre-processed patient medical health data of the column, Indicates the encrypted The pre-processed patient medical health data Indicates The system master key of the pre-processed patient medical health data, Indicates The private key of the pre-processed patient medical health data; S324, decryption; Input the pre-processed patient medical health data after homomorphic calculation, obtain the pre-processed patient medical health data through decryption calculation and save it in the database; ; S4, transmitting the pre-processed patient medical health data in the database to the medical cloud server by using the AES encryption algorithm; The following steps are involved in transferring the pre-processed patient medical health data in the database to the medical cloud server using the AES encryption algorithm: The process of transmitting the pre-processed patient medical health data in the database to the medical cloud server is set as a data interaction process; S41, segmenting and completing the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process, and dividing the plaintext in the pre-processed patient medical health data that needs to be encrypted into plaintext data blocks equal to the key length; The segmentation and completion of the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process includes the following steps: S411, setting the length of the key based on the data interaction process; Set the data exchange process to use bytes as the unit; Since 1 byte = 8 bits; 1 bit represents a digit in the data exchange process; Then the length of the key should be set to an integer multiple of bytes; S412, segmenting the plaintext in the preprocessed patient medical health data based on the set key length; segmenting the plaintext in the preprocessed patient medical health data based on the number of bytes contained in the plaintext in the preprocessed patient medical health data and the key length;
[0030] in, Indicates the number of plaintext data blocks after segmentation. Indicates the number of bytes contained in the plain text of the preprocessed patient medical health data. Indicates the key length; S413, padding the plaintext in the preprocessed patient medical health data that is insufficient in length, padding the end of the plaintext in the preprocessed patient medical health data that is insufficient in length based on the byte difference between the plaintext in the preprocessed patient medical health data and the key length; Set the data in the padding bytes to all 0; S42, encrypting each plaintext data block after segmentation and padding by using the AES encryption algorithm; Encrypting each plaintext data block after segmentation and padding using the AES encryption algorithm includes the following steps: S421, generating a vector matrix and performing XOR with the plaintext data block; S422, encrypting the plaintext data block using the AES encryption algorithm; S4221, setting, the key addition round to perform multiple rounds of addition of the plaintext data block and the key and outputting the result; S4222, set a byte substitution layer; After multiple rounds of addition, the plaintext data blocks are byte-converted in the byte substitution layer and output; S4223, setting the byte step of the row displacement, shifting each byte in the plaintext data after byte substitution in sequence by the byte step of the row displacement; S4224, setting the byte step of the column shift, shifting each byte in the plaintext data after the row shift in sequence to set the byte step of the column shift; S4225, setting the number of cycles of the AES encryption algorithm, and executing steps S4221 to S4224 based on the set number of cycles; S5. Based on the user registration method, the pre-processed patient medical health data in the accessed medical cloud server is decrypted by performing the inverse operation of the encryption algorithm corresponding to each step of the AESS encryption algorithm to obtain the corresponding pre-processed patient medical health data.
[0031] Example 2 This embodiment discloses a medical health data privacy security management system based on MLWE that implements the method of the above embodiment, including: a biomedical sensor, a key generation server, a medical cloud server, a data processing module, a database, an MLWE encryption module and an ASE encryption module; The biomedical sensor is used to collect patient medical health data in real time; The key generation server is used to generate public keys and private keys in real time; The medical cloud server is used to store the collected patient medical health data in the cloud; The data processing module is used to process and verify the medical and health data collected from patients in real time; The database is used to store the medical and health data of patients collected in real time; The MLWE encryption module is used to encrypt the interaction process between the biomedical sensor and the database; The ASE encryption module is used to encrypt the interaction process between the database and the medical cloud server.
[0032] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A medical health data privacy security management method based on MLWE, characterized in that: The following steps are involved: S1. Initialize the installed biomedical sensors through the key generation server, and collect patient medical health data in real time through the installed biomedical sensors; S2. Preprocessing the medical and health data of patients collected in real time to obtain preprocessed medical and health data of patients; S3, constructing a low expansion rate encryption algorithm of MLWE, and transmitting the pre-processed patient medical health data to the database based on the constructed encryption algorithm; S4, transmitting the pre-processed patient medical health data in the database to the medical cloud server by using the AES encryption algorithm; S5. Based on the user registration method, the pre-processed patient medical health data in the accessed medical cloud server is decrypted by performing the inverse operation of the encryption algorithm corresponding to each step of the AESS encryption algorithm to obtain the corresponding pre-processed patient medical health data.
2. According to the MLWE-based medical health data privacy security management method of claim 1, it is characterized in that: The biomedical sensor installed by initializing the key generation server comprises the following steps: S11, numbering the installed biomedical sensors, and using the numbers of the biomedical sensors as biomedical sensor IDs; S12, setting the parameters required in the key generation process; The key generation server randomly divides a prime domain; set is the additive group constructed for all integers in the prime field, and Z is the set of all prime numbers in the prime field.
3. According to a medical health data privacy security management method based on MLWE according to claim 1, it is characterized in that: The preprocessing of the patient medical health data collected in real time includes the following steps: S21, data analysis; Classify the patient medical health data collected in real time by biomedical sensors according to data types; The classification includes: time-based data, continuous data, selective data, and descriptive data; Time-based data refer to the patient visit time, physical examination time, and examination time of vital signs; Continuous data refers to variables that have meaningful values within a certain range, such as height, weight, and body temperature; Selection data refers to variables with options, such as gender options and patient adverse status options; Descriptive data refers to variables that require specific descriptions, such as the name of the patient's adverse event or the name of the medication; S22, data editing check; Edit and check the patient's medical and health data collected in real time by biomedical sensors through set patient medical and health data thresholds; The editing check pointer checks the value of a single data point; S23, data filtering; The erroneous data prompted in the data editing check are deleted and filtered to obtain the filtered patient medical health data, and the filtered patient medical health data is set as the pre-processed patient medical health data.
4. According to a method for privacy and security management of medical health data based on MLWE according to claim 1, it is characterized in that: The method of constructing a low expansion rate encryption algorithm of MLWE and transmitting the pre-processed patient medical health data to a database based on the constructed encryption algorithm includes the following steps: S31, setting the low expansion rate encryption algorithm parameters of MLWE; S32. Determine the homomorphic encryption scheme of the MLWE low dilation rate encryption algorithm based on the set MLWE low dilation rate encryption algorithm parameters.
5. According to a method for privacy and security management of medical health data based on MLWE according to claim 4, it is characterized in that: The setting of the low expansion rate encryption algorithm parameters of MLWE includes: Set the preprocessed patient medical health data to , ,in, represents the dimension of the vector, Represents the preprocessed patient medical health data The dimension of the vector, ,in, Represents the modulus of a vector.
6. According to the MLWE-based medical health data privacy security management method of claim 4, it is characterized in that: The method of determining the homomorphic encryption scheme of the low expansion rate encryption algorithm of MLWE based on setting the low expansion rate encryption algorithm parameters of MLWE comprises the following steps: S321, key generation; Generate public and private keys based on key generation calculations; Set up two one-way cryptographic hash functions; ; ; in, Indicates the message length, Indicates the message identifier. Indicates the timestamp, Represents a string of any length composed of 0 and 1; Random Selection ∈ , set the system master key to , and calculate = As the system public key, where yes The generator of Random Selection ∈ , set the sensor master key to , and calculate = As the sensor public key; Random Selection ∈ ,calculate As the private key of ; Setting security parameters ; The safety parameters Shared parameters for the system; S322, encrypting the pre-processed patient medical health data to be sent; Select a pre-processed patient health data to send , by generating a public key for encryption calculation , obtain the encrypted and pre-processed medical and health data of the patient; in, Indicates the first Items of data, Indicates that the hash function is used to The data is encrypted. Indicates A randomly generated secret value for a piece of data, represents the second one-way cryptographic hash function, Represents the sensor public key; S323, performing homomorphic calculation on the encrypted pre-processed patient medical health data; Input the encrypted pre-processed patient medical health data, and obtain the pre-processed patient medical health data after homomorphic calculation through homomorphic calculation; The homomorphic calculation formula is as follows: ; in, Indicates Line The pre-processed patient medical health data of the column, Indicates the encrypted The pre-processed patient medical health data Indicates The system master key of the pre-processed patient medical health data, Indicates The private key of the pre-processed patient medical health data; S324, decryption; Input the pre-processed patient medical health data after homomorphic calculation, obtain the pre-processed patient medical health data through decryption calculation and save it in the database; 。 7. According to a method for privacy and security management of medical health data based on MLWE according to claim 1, it is characterized in that: The method of transmitting the pre-processed patient medical health data in the database to the medical cloud server by using the AES encryption algorithm includes the following steps: The process of transmitting the pre-processed patient medical health data in the database to the medical cloud server is set as a data interaction process; S41, segmenting and completing the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process, and dividing the plaintext in the pre-processed patient medical health data that needs to be encrypted into plaintext data blocks equal to the key length; The segmentation and completion of the plaintext in the pre-processed patient medical health data that needs to be encrypted during the data interaction process includes the following steps: S411, setting the length of the key based on the data interaction process; Set the data exchange process to use bytes as the unit; S412, segmenting the plaintext in the preprocessed patient medical health data based on the set key length; segmenting the plaintext in the preprocessed patient medical health data based on the number of bytes contained in the plaintext in the preprocessed patient medical health data and the key length; ; in, Indicates the number of plaintext data blocks after segmentation. Indicates the number of bytes contained in the plain text of the preprocessed patient medical health data. Indicates the key length; S413, padding the plaintext in the preprocessed patient medical health data that is insufficient in length, based on the byte difference between the plaintext in the preprocessed patient medical health data and the key length, padding the end of the plaintext in the preprocessed patient medical health data that is insufficient in length; Set the data in the padding bytes to all 0; S42, encrypting each plaintext data block after segmentation and padding using the AES encryption algorithm.
8. According to the MLWE-based medical health data privacy security management method of claim 7, it is characterized in that: The process of encrypting each plaintext data block after segmentation and padding by using the AES encryption algorithm comprises the following steps: S421, generate a vector matrix and perform XOR with the plaintext data block; S422, encrypting the plaintext data block using the AES encryption algorithm; S4221, setting, the key addition round to perform multiple rounds of addition of the plaintext data block and the key and outputting the result; S4222, set a byte substitution layer; After multiple rounds of addition, the plaintext data blocks are byte-converted in the byte substitution layer and output; S4223, setting the byte step of the row displacement, shifting each byte in the plaintext data after the byte substitution in sequence by the byte step of the row displacement; S4224, setting the byte step of the column shift, shifting each byte in the plaintext data after the row shift in sequence to set the byte step of the column shift; S4225. Set the number of cycles of the AES encryption algorithm, and execute steps S4221 to S4224 based on the set number of cycles.
9. A system for implementing the medical health data privacy security management method based on MLWE according to any one of claims 1 to 8, characterized in that: It includes biomedical sensors, key generation servers, medical cloud servers, data processing modules, databases, MLWE encryption modules, and ASE encryption modules; The biomedical sensor is used to collect patient medical health data in real time; The key generation server is used to generate public keys and private keys in real time; The medical cloud server is used to store the collected patient medical health data in the cloud; The data processing module is used to process and verify the medical and health data collected from patients in real time; The database is used to store the medical and health data of patients collected in real time; The MLWE encryption module is used to encrypt the interaction process between the biomedical sensor and the database; The ASE encryption module is used to encrypt the interaction process between the database and the medical cloud server.
Citation Information
Patent Citations
Mobile health medical sensor data privacy protection method based on certificateless dual authentication protection aggregate signature
CN108881279A
Privacy protection similar medical record query method in large-scale electronic medical system
CN112837770A
Medical information intercommunication interaction system and application
CN116842558A
Medical health service cloud platform based on industrial internet technology
CN117012364A
Electroencephalogram signal privacy data protection system and method based on confidential calculation
CN118656865A
