A medical data security and privacy protection system based on blockchain
Through the medical data security and privacy protection system based on the blockchain, through data classification, traceability and risk analysis, a risk evolution model is generated to optimize protection and optimization priorities, solving the problem of insufficient security of the traditional medical data protection system and achieving high efficiency. data security and privacy protection.
Patent Information
- Application Number
- CN202410412645.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-04-08
AI Technical Summary
The traditional medical data protection system has poor security, and measures can only be taken after abnormal problems are discovered, resulting in losses to the medical system. How to efficiently protect the security and privacy of medical data has become a challenge.
Adopt a blockchain-based medical data security and privacy protection system, establish multiple nodes through blockchain technology, conduct data classification, traceability, risk analysis and model construction, generate a risk evolution model, and optimize and protect priority execution data based on the model Protect.
Enhance data security and privacy through blockchain technology, achieve prediction and preventive protection of medical data risks, and improve data security and privacy.
Smart Images

Figure CN118551408B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical data management, and in particular to a medical data security and privacy protection system based on blockchain. Background Art
[0002] Blockchain is a decentralized, tamper-proof digital ledger technology that stores data in a distributed network of nodes, each of which can see all transactions and data records, and uses cryptographic algorithms to ensure the security and integrity of the data.
[0003] As the medical system becomes increasingly networked, the security and privacy protection of medical data has gradually become an unavoidable topic. Traditional medical data protection systems have poor security and can only take measures to solve problems after abnormal problems are discovered, resulting in a certain degree of loss in the medical system. How to efficiently protect the security and privacy of medical data is the problem we are currently facing. Summary of the invention
[0004] In order to solve the above problems, the purpose of the present invention is to provide a medical data security and privacy protection system based on blockchain.
[0005] The object of the present invention can be achieved by the following technical solutions: A medical data security and privacy protection system based on blockchain, comprising a cloud terminal, wherein the cloud terminal is communicatively connected with a medical data storage module, a medical data processing module, a model building module, and a medical data protection module;
[0006] The medical data storage module is used to establish a plurality of blockchain nodes through blockchain technology, and store medical data corresponding to a plurality of patients through the plurality of blockchain nodes;
[0007] The medical data processing module is used to perform data classification and data traceability on medical data, and then generate node data packets after completing data classification and data traceability, and generate corresponding risk evolution feature data by performing risk evolution analysis on the node data packets;
[0008] The model building module is used to establish a risk evolution model according to the risk evolution characteristic data, and to perform model tuning on the risk evolution model, thereby converting the risk evolution model into an optimal model;
[0009] The medical data protection module locates blockchain nodes with different protection priorities according to the optimal model, and performs data protection on the corresponding blockchain nodes in order of protection priority from high to low.
[0010] Furthermore, the process of establishing a plurality of blockchain nodes through blockchain technology and storing the medical data corresponding to a plurality of patients through the plurality of blockchain nodes includes:
[0011] Select a block construction algorithm corresponding to the blockchain technology, and then establish several blockchain nodes and number them, record the number as i, i = 1, 2, 3, ..., n, associate network broadcast permissions and verification procedures for each blockchain node, obtain medical data corresponding to several patients, and number several patients, record them as j, j = 1, 2, 3, ..., m, where n and m are natural numbers greater than 0;
[0012] Establish a mapping relationship between blockchain nodes and patients, and record the mapping relationship as R, with R =<i,j> , which means: the medical data of the patient numbered j is stored in the blockchain node numbered i. Whenever medical data is stored in the blockchain node, the medical data in the blockchain is copied to generate a data copy, and the data copy is notified to other blockchain nodes through the network broadcast authority. Several blockchain nodes verify the data copy through their own verification procedures;
[0013] If the preset dangerous information words do not exist in the data copy, the verification is passed, otherwise, the verification fails. When the verification is successful, the medical data is stored in the corresponding blockchain node. When the verification fails, the medical data is moved out of the blockchain node, thereby completing the storage of medical data corresponding to several patients by several blockchain nodes.
[0014] Furthermore, the process of classifying and tracing the medical data and then generating a node data packet based on the medical data includes:
[0015] The data classification includes case classification and data property classification. The content of data property classification is as follows: the hash value corresponding to the medical data is calculated by a hash function. When the medical data is processed, the corresponding hash value changes. The changed hash value after the processing is completed is compared with the preset expected hash value. If the changed hash value is equal to the expected hash value, the medical data is marked as complete data. If the changed hash value is not equal to the expected hash value, the medical data is marked as damaged data. The content of case classification is as follows: the medical data is classified into several case data sets according to the type of disease, the time of consultation and the number of the doctor who consulted;
[0016] Obtain the operation authority of each blockchain node, and then obtain the time when each blockchain node records data, modifies data, and deletes data, as well as the content details of the above operations. The medical data is summarized at several time points to form its traceability path. When there is an incorrect operation behavior at the corresponding time point and location, it is marked as an abnormal point in the traceability path. When each blockchain node completes its own corresponding data classification and data traceability, it summarizes its own corresponding medical data to generate a node data packet.
[0017] Furthermore, the process of performing risk evolution analysis on the node data packet and then generating corresponding risk evolution characteristic data includes:
[0018] Set the preprocessing period and risk analysis period, set the standard data format and outlier judgment text, the outlier judgment text records several different risk keywords, in the preprocessing period, obtain the data format corresponding to the medical data stored in each node data packet, and compare it with the standard data format, perform corresponding operations according to the comparison results, obtain all the data information vocabulary corresponding to each node data packet and match them with the risk keywords, and then obtain the number of successful matches between the data information vocabulary and the risk keywords in each node data packet, record this number as K;
[0019] During the risk analysis period, risk evolution analysis is performed to obtain the risk content corresponding to each risk keyword, which includes data tampering, data loss, abnormal intrusion behavior and abnormal code injection. The number K corresponding to each node data packet is used as its risk level, and the risk analysis period is divided into several sub-period intervals. The risk change trend of the risk content in each sub-period interval is obtained. The types of risk change trends include rising, flat and falling. The number of sub-period intervals of each type is counted, and the risk change trend corresponding to the sub-period interval with the largest number is taken as the overall risk change trend. The risk content, risk level and overall risk change trend are then summarized to generate risk evolution characteristic data.
[0020] Furthermore, the process of establishing a risk evolution model based on risk evolution characteristic data includes:
[0021] The risk evolution characteristic data is obtained, and then the risk content, risk level and overall risk change trend included in the risk evolution characteristic data are used as modeling elements. The modeling elements include the first modeling element, the second modeling element and the third modeling element. The corresponding relationship is as follows:
[0022] Risk content – the first element of modeling;
[0023] Risk level – the second element of modeling;
[0024] Overall risk change trend – the third element of modeling;
[0025] Construct a model framework, and the model framework is correspondingly provided with a number of modeling filling points, and the modeling filling points are used to map the first modeling element, and then expand the model framework into content sub-areas corresponding to different risk contents, and set corresponding risk level sub-blocks for the content sub-areas according to the second modeling element, and set corresponding trend change levels for the risk level sub-blocks according to the third modeling element. After completing the corresponding operations of the first modeling element, the second modeling element and the third modeling element, the model framework is converted and established as a risk evolution model.
[0026] Furthermore, the process of optimizing the risk evolution model and converting the risk evolution model into an optimal model includes:
[0027] Obtain a certain amount of second-hand equipment sample data, and set the division ratio to divide it into Y parts of training data and data to be used. Let the number of training data be z, and the number of data to be used be Yz, that is, the division ratio is: z:Yz, where 0<z<Yz;
[0028] Input z copies of training data into the risk evolution model, and then perform model tuning on the risk evolution model. Each copy of training data is associated with a corresponding correct risk evolution result. The risk evolution result of the risk evolution model on the training data is obtained, and the number of risk evolution results generated by the risk evolution model after performing training operations on the training data is counted, which is recorded as Num1, and the number of times the risk evolution model obtains the correct risk evolution result of the training data is recorded as Num2;
[0029] Then, the evolution success rate of the risk evolution model is obtained, and the evolution success rate is recorded as Sc, then Sc = Num2 / Num1, and the sample replacement threshold and the completion threshold of the optimal model are preset, and the sample replacement threshold and the completion threshold are recorded as α and β respectively, where 0<α<β;
[0030] When Sc<α, it means that the obtained second-hand equipment sample data is abnormal, and the second-hand equipment sample data is replaced. When α≤Sc<β, it means that the risk evolution model has not yet achieved the optimal evolution effect. The data to be used is input into the risk evolution model as training data, and the risk evolution model continues to be trained. When Sc≥β, it means that the model tuning has been completed, and the risk evolution model at this time is converted into the optimal model.
[0031] Furthermore, the process of locating blockchain nodes with different protection priorities according to the optimal model includes:
[0032] When the optimal model conversion is completed, the risk trend change level of each blockchain node is analyzed through the optimal model. The risk trend change levels include red level, orange level, yellow level and green level. Different risk trend change levels correspond to different protection priorities. The protection priorities include primary protection, secondary protection, tertiary protection and security level. The correspondence between the risk trend change level and the protection priority is as follows: red level - primary protection; orange level - secondary protection; yellow level - tertiary protection; green level - security level.
[0033] Furthermore, the process of performing data protection on the corresponding blockchain nodes in descending order of protection priority includes:
[0034] Perform data protection on blockchain nodes corresponding to the protection priority in descending order of protection priority, wherein the data protection includes access control, log monitoring and data disaster recovery;
[0035] Access control is used to set access rights for different visitors. Access rights for ordinary visitors to the ordinary data content of the blockchain node are set. Access rights for administrators to the sensitive data of the blockchain node are set. Operations on sensitive data are monitored in logs to obtain all operations of the administrator. When abnormal operations are detected in the logs, the data operated by the administrator is recovered and the administrator's access rights are set to those of ordinary visitors.
[0036] The medical data stored in each blockchain node is backed up, and the data generated after the data backup is transferred to the set backup storage area. When the medical data stored in the corresponding blockchain node is damaged or leaked and cannot be processed, the data in the backup storage area is replaced to the blockchain node for rapid data recovery.
[0037] Compared with the prior art, the beneficial effects of the present invention are: establishing a number of blockchain nodes through blockchain technology, storing a number of patients' medical data through a number of blockchain nodes, generating node data packets after data classification and data traceability of the medical data, generating corresponding risk evolution characteristic data after risk evolution analysis of the node data packets, and then constructing a risk evolution model through the risk evolution characteristic data, generating an optimal model after model tuning of the risk evolution model, analyzing the risk hazards of medical data stored corresponding to different blockchain nodes and locating the protection priority according to the optimal model, and then executing data protection. On the one hand, blockchain technology is used to build blockchain nodes to store medical data, which enhances data security and privacy. On the other hand, the generation of a risk evolution model realizes the prediction of risk hazards corresponding to medical data, and further enhances the prediction accuracy of the model through model tuning, thereby achieving the purpose of predicting risks and performing data protection in advance. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION
[0039] like Figure 1 As shown, a medical data security and privacy protection system based on blockchain includes a cloud terminal, wherein the cloud terminal is communicatively connected to a medical data storage module, a medical data processing module, a model building module, and a medical data protection module;
[0040] The medical data storage module is used to establish a plurality of blockchain nodes through blockchain technology, and store medical data corresponding to a plurality of patients through the plurality of blockchain nodes;
[0041] The medical data processing module is used to perform data classification and data traceability on medical data, and then generate node data packets after completing data classification and data traceability, and generate corresponding risk evolution feature data by performing risk evolution analysis on the node data packets;
[0042] The model building module is used to establish a risk evolution model according to the risk evolution characteristic data, and to perform model tuning on the risk evolution model, thereby converting the risk evolution model into an optimal model;
[0043] The medical data protection module locates blockchain nodes with different protection priorities according to the optimal model, and performs data protection on the corresponding blockchain nodes in order of protection priority from high to low.
[0044] It should be further explained that, in the specific implementation process, the process of establishing a number of blockchain nodes through blockchain technology and storing the medical data corresponding to a number of patients through the several blockchain nodes includes:
[0045] Select a block construction algorithm corresponding to the blockchain technology, and then establish a number of blockchain nodes through the block construction algorithm, and number the blockchain nodes, denoted by i, then i=1, 2, 3, ..., n, where n is a natural number greater than 0;
[0046] Associate network broadcasting permissions and verification procedures for each blockchain node, obtain medical data corresponding to several patients, number several patients, record the number as j, then j = 1, 2, 3, ..., m, where m is a natural number greater than 0;
[0047] The medical data corresponding to the patient numbered j is denoted as Data[j], and a mapping relationship between the blockchain node and the patient is established. The mapping relationship is denoted as R, and R =<i,j> , R=<i,j> The meaning is: the patient numbered j is connected to the blockchain node numbered i, and then the medical data Data[j] of the patient numbered j is stored in the blockchain node numbered i;
[0048] Whenever medical data is stored in a blockchain node, the medical data in the blockchain is copied to generate a data copy, and the data copy is notified to other blockchain nodes through network broadcast authority. Several blockchain nodes verify the data copy through their own verification procedures. If the data copy does not contain the preset dangerous information words, the verification is passed, otherwise, the verification fails;
[0049] When the verification is successful, the medical data is stored in the corresponding blockchain node. When the verification fails, the medical data is moved out of the blockchain node, thereby completing the storage of medical data corresponding to several patients in several blockchain nodes.
[0050] It should be further explained that, in the specific implementation process, the process of classifying and tracing the medical data and then generating node data packets based on the medical data includes:
[0051] When several blockchain nodes obtain medical data for storage, the medical data is classified. The data classification includes case classification and data nature classification. The order of data classification is set as follows: data nature classification takes precedence over case classification.
[0052] The content of data property classification is as follows: the hash value corresponding to the medical data is calculated by a hash function. When the medical data is processed, its corresponding hash value changes. The changed hash value after processing is compared with the preset expected hash value. If the changed hash value is equal to the expected hash value, the medical data is marked as complete data. If the changed hash value is not equal to the expected hash value, the medical data is marked as damaged data.
[0053] The content of case classification is as follows: medical data is classified into several case data sets according to the type of illness, consultation time and consultation doctor number;
[0054] Obtain the operation authority of each blockchain node, and then obtain the time when each blockchain node records, modifies, and deletes data, as well as the content details of the above operations, and summarize the location of medical data at several time points to form its traceability path. When there is an incorrect operation behavior at the corresponding time point and location, it is marked as an abnormal point in the traceability path;
[0055] Among them, incorrect operating behaviors include recording duplicate data, illegal external tampering with data, and accidental deletion of data. When each blockchain node completes its own corresponding data classification and data traceability, it aggregates its own corresponding medical data to generate a node data packet.
[0056] It should be further explained that, in the specific implementation process, the process of performing risk evolution analysis on the node data packet and then generating corresponding risk evolution characteristic data includes:
[0057] Setting a preprocessing period and a risk analysis period, setting a standard data format and an abnormal value judgment text, wherein the abnormal value judgment text records a number of different risk keywords, each of which corresponds to a risk hazard that is about to occur in a node data packet;
[0058] During the pre-processing period, the following operations are performed:
[0059] Obtain the data format corresponding to the medical data stored in each node data packet and compare it with the standard data format. If the data format is consistent with the standard data format, it means that there is no format problem with the node data packet and no operation is performed. If the comparison is inconsistent, convert its data format into the standard data format;
[0060] Obtain all data information words corresponding to each node data packet, and match the data information words with risk keywords, and then obtain the number of successful matches between the data information words and risk keywords in each node data packet, and record this number as K;
[0061] During the risk analysis period, risk evolution analysis is performed, the contents of which are as follows: obtaining the risk content corresponding to each risk keyword, the risk content including data tampering, data loss, abnormal intrusion behavior, and abnormal code injection;
[0062] The number K corresponding to each node data packet is used as its risk level, and the risk analysis period is divided into several sub-period intervals. The risk change trend of the risk content in each sub-period interval is obtained. The types of risk change trends include rising, flat and falling. The number of sub-period intervals of each type is counted, and the risk change trend corresponding to the sub-period interval with the largest number is used as the overall risk change trend. The larger the value of K, the higher the risk level and the higher the risk hazard degree.
[0063] The risk content, risk level and overall risk change trend are then summarized to generate risk evolution characteristic data.
[0064] It should be noted that abnormal code injection refers to the injection of control code into node data packets, thereby achieving control operations on node data packets. Data tampering, data loss, abnormal intrusion behavior and abnormal code injection in risk content correspond to most abnormal problems existing in data management.
[0065] It should be further explained that, in the specific implementation process, the process of establishing a risk evolution model based on risk evolution characteristic data includes:
[0066] The risk evolution characteristic data is obtained, and the risk content, risk level and overall risk change trend included in the risk evolution characteristic data are used as modeling elements. The modeling elements include a first modeling element, a second modeling element and a third modeling element. The corresponding relationship is as follows:
[0067] Risk content – the first element of modeling;
[0068] Risk level – the second element of modeling;
[0069] Overall risk change trend – the third element of modeling;
[0070] Constructing a model framework, wherein the model framework is provided with a plurality of modeling filling points, wherein the modeling filling points are used to map the first modeling element, thereby expanding the model framework into content sub-areas corresponding to different risk contents;
[0071] According to the second modeling element, a corresponding risk level sub-block is set for the content sub-area, and according to the third modeling element, a corresponding trend change level is set for the risk level sub-block. After completing the corresponding operations of the first modeling element, the second modeling element, and the third modeling element, the model framework is converted into a risk evolution model.
[0072] It should be further explained that, in the specific implementation process, the process of optimizing the risk evolution model and converting the risk evolution model into the optimal model includes:
[0073] Obtain a certain amount of sample data of second-hand equipment, and record the amount of data as D 样本 , set the division ratio, and divide the data volume D according to the division ratio 样本 The second-hand equipment sample data is divided into Y sets of training data and data to be used. The number of training data is z, and the number of data to be used is Yz, that is, the division ratio is: z:Yz, where 0<z<Yz;
[0074] Input z copies of training data into the risk evolution model, and then perform model tuning on the risk evolution model. Each copy of training data is associated with a corresponding correct risk evolution result. The risk evolution result of the risk evolution model on the training data is obtained, and the number of risk evolution results generated by the risk evolution model after performing training operations on the training data is counted, which is recorded as Num1, and the number of times the risk evolution model obtains the correct risk evolution result of the training data is recorded as Num2;
[0075] Then, the evolution success rate of the risk evolution model is obtained, and the evolution success rate is recorded as Sc, then Sc = Num2 / Num1, and the sample replacement threshold and the completion threshold of the optimal model are preset, and the sample replacement threshold and the completion threshold are recorded as α and β respectively, where 0<α<β;
[0076] When Sc<α, it means that the obtained second-hand equipment sample data is abnormal, and the second-hand equipment sample data is replaced. When α≤Sc<β, it means that the risk evolution model has not yet achieved the optimal evolution effect. The data to be used is input into the risk evolution model as training data, and the risk evolution model continues to be trained. When Sc≥β, it means that the model tuning has been completed, and the risk evolution model at this time is converted into the optimal model.
[0077] It should be further explained that, in the specific implementation process, the process of locating blockchain nodes with different protection priorities according to the optimal model includes:
[0078] When the optimal model conversion is completed, the risk trend change level of each blockchain node is analyzed through the optimal model, and the risk trend change level includes red level, orange level, yellow level and green level;
[0079] Different risk trend change levels are associated with different protection priorities, including primary protection, secondary protection, tertiary protection and security level. The protection priorities are executed in the following order: primary protection first, secondary protection second, and tertiary protection third. When it is the security level, no data protection is required.
[0080] The corresponding relationship between the risk trend change level and the protection priority is as follows:
[0081] Red level – first level protection;
[0082] Orange level – secondary protection;
[0083] Yellow level—third level of protection;
[0084] Green level – safety level;
[0085] Then, different protection priorities corresponding to several blockchain nodes are identified.
[0086] It should be further explained that, in the specific implementation process, the process of executing data protection of the corresponding blockchain nodes in order of protection priority from high to low includes:
[0087] Perform data protection on blockchain nodes corresponding to the protection priority in descending order of protection priority, wherein the data protection includes access control, log monitoring and data disaster recovery;
[0088] Access control is used to set access rights for different visitors. Access rights for ordinary visitors to the ordinary data content of the blockchain node are set. Access rights for administrators to the sensitive data of the blockchain node are set. Operations on sensitive data are monitored in logs to obtain all operations of the administrator. When abnormal operations are detected in the logs, the data operated by the administrator is recovered and the administrator's access rights are set to those of ordinary visitors.
[0089] Back up the medical data stored in each blockchain node, and transfer the data generated after the data backup to the set backup storage area. When the medical data stored in the corresponding blockchain node is damaged or leaked and cannot be processed, the data in the backup storage area will be replaced to the blockchain node to achieve rapid data recovery;
[0090] It should be noted that abnormal operations performed by administrators include data tampering, accidental deletion, implantation of Trojan viruses, and abnormal control of access to blockchain nodes. The administrator is the authorized object of the blockchain node, and abnormal control refers to the access control of the administrator to the blockchain node as an unauthorized third party. Through data protection, the security of the data and the privacy protection of sensitive data are improved to a certain extent.
[0091] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A medical data security and privacy protection system based on blockchain, including a cloud terminal, characterized in that: The cloud terminal is communicatively connected to a medical data storage module, a medical data processing module, a model building module and a medical data protection module; The medical data storage module is used to establish a plurality of blockchain nodes through blockchain technology, and store medical data corresponding to a plurality of patients through the plurality of blockchain nodes; The medical data processing module is used to perform data classification and data traceability on medical data, and then generate node data packets after completing data classification and data traceability, and generate corresponding risk evolution feature data by performing risk evolution analysis on the node data packets; The model building module is used to establish a risk evolution model according to the risk evolution characteristic data, and to perform model tuning on the risk evolution model, thereby converting the risk evolution model into an optimal model; The medical data protection module locates blockchain nodes with different protection priorities according to the optimal model, and performs data protection on the corresponding blockchain nodes in order of protection priority from high to low; The process of performing risk evolution analysis on node data packets and then generating corresponding risk evolution feature data includes: Set the preprocessing period and risk analysis period, set the standard data format and outlier judgment text, the outlier judgment text records several different risk keywords, in the preprocessing period, obtain the data format corresponding to the medical data stored in each node data packet, and compare it with the standard data format, perform corresponding operations according to the comparison results, obtain all the data information vocabulary corresponding to each node data packet and match them with the risk keywords, and then obtain the number of successful matches between the data information vocabulary and the risk keywords in each node data packet, record this number as K; During the risk analysis period, risk evolution analysis is performed to obtain the risk content corresponding to each risk keyword, including data tampering, data loss, abnormal intrusion behavior, and abnormal code injection. The number K corresponding to each node data packet is used as its risk level. The risk analysis period is divided into several sub-period intervals, and the risk change trend of the risk content in each sub-period interval is obtained. The types of risk change trends include rising, flat, and falling. The number of sub-period intervals of each type is counted, and the risk change trend corresponding to the sub-period interval with the largest number is taken as the overall risk change trend, and then the risk content, risk level, and overall risk change trend are summarized to generate risk evolution feature data; The process of establishing a risk evolution model based on risk evolution characteristic data includes: The risk evolution characteristic data is obtained, and then the risk content, risk level and overall risk change trend included in the risk evolution characteristic data are used as modeling elements. The modeling elements include the first modeling element, the second modeling element and the third modeling element. The corresponding relationship is as follows: Risk content – the first element of modeling; Risk level – the second element of modeling; Overall risk change trend – the third element of modeling; Construct a model framework, wherein the model framework is provided with a number of modeling filling points corresponding to the modeling first element, and the modeling filling points are used to map the modeling first element, thereby expanding the model framework into content sub-areas corresponding to different risk contents, setting corresponding risk level sub-blocks for the content sub-areas according to the modeling second element, and setting corresponding risk trend change levels for the risk level sub-blocks according to the third modeling element. After completing the corresponding operations of the modeling first element, the modeling second element, and the modeling third element, the model framework is converted and established into a risk evolution model; The process of locating blockchain nodes with different protection priorities based on the best model includes: When the optimal model conversion is completed, the risk trend change level of each blockchain node is analyzed through the optimal model. The risk trend change levels include red level, orange level, yellow level and green level. Different risk trend change levels correspond to different protection priorities. The protection priorities include primary protection, secondary protection, tertiary protection and security level. The correspondence between the risk trend change level and the protection priority is as follows: red level - primary protection; orange level - secondary protection; yellow level - tertiary protection; green level - security level.
2. According to claim 1, a blockchain-based medical data security and privacy protection system is characterized in that: The process of establishing several blockchain nodes through blockchain technology and storing the medical data corresponding to several patients through several blockchain nodes includes: Select a block construction algorithm corresponding to the blockchain technology, and then establish several blockchain nodes and number them, record the number as i, i = 1, 2, 3, ..., n, associate network broadcast permissions and verification procedures for each blockchain node, obtain medical data corresponding to several patients, and number several patients, record them as j, j = 1, 2, 3, ..., m, where n and m are natural numbers greater than 0; Establish a mapping relationship between blockchain nodes and patients, and record the mapping relationship as R, with R =<i,j> , which means: the medical data of the patient numbered j is stored in the blockchain node numbered i. Whenever medical data is stored in the blockchain node, the medical data in the blockchain is copied to generate a data copy, and the data copy is notified to other blockchain nodes through the network broadcast authority. Several blockchain nodes verify the data copy through their own verification procedures; If the preset dangerous information words do not exist in the data copy, the verification is passed, otherwise, the verification fails. When the verification is successful, the medical data is stored in the corresponding blockchain node. When the verification fails, the medical data is moved out of the blockchain node, thereby completing the storage of medical data corresponding to several patients by several blockchain nodes.
3. According to the blockchain-based medical data security and privacy protection system of claim 2, it is characterized in that: The process of classifying and tracing medical data and then generating node data packets based on the medical data includes: The data classification includes case classification and data property classification. The content of data property classification is as follows: the hash value corresponding to the medical data is calculated by a hash function. When the medical data is processed, the corresponding hash value changes. The changed hash value after the processing is completed is compared with the preset expected hash value. If the changed hash value is equal to the expected hash value, the medical data is marked as complete data. If the changed hash value is not equal to the expected hash value, the medical data is marked as damaged data. The content of case classification is as follows: the medical data is classified into several case data sets according to the type of disease, the time of consultation and the number of the doctor who consulted; Obtain the operation authority of each blockchain node, and then obtain the time when each blockchain node records data, modifies data, and deletes data, as well as the content details of the above operations. The medical data is summarized at several time points to form its traceability path. When there is an incorrect operation behavior at the corresponding time point and location, it is marked as an abnormal point in the traceability path. When each blockchain node completes its own corresponding data classification and data traceability, it summarizes its own corresponding medical data to generate a node data packet.
4. According to claim 3, a blockchain-based medical data security and privacy protection system is characterized in that: The process of tuning the risk evolution model and converting the risk evolution model into the optimal model includes: Obtain a certain amount of second-hand equipment sample data, and set the division ratio to divide it into Y parts of training data and data to be used. Let the number of training data be z, and the number of data to be used be Yz, that is, the division ratio is: z:Yz, where 0<z<Yz; Input z copies of training data into the risk evolution model, and then perform model tuning on the risk evolution model. Each copy of training data is associated with a corresponding correct risk evolution result. The risk evolution result of the risk evolution model on the training data is obtained, and the number of risk evolution results generated by the risk evolution model after performing training operations on the training data is counted, which is recorded as Num1, and the number of times the risk evolution model obtains the correct risk evolution result of the training data is recorded as Num2; Then, the evolution success rate of the risk evolution model is obtained, and the evolution success rate is recorded as Sc, then Sc = Num2 / Num1, and the sample replacement threshold and the completion threshold of the optimal model are preset, and the sample replacement threshold and the completion threshold are recorded as α and β respectively, where 0<α<β; When Sc<α, it means that the obtained second-hand equipment sample data is abnormal, and the second-hand equipment sample data is replaced. When α≤Sc<β, it means that the risk evolution model has not yet achieved the optimal evolution effect. The data to be used is input into the risk evolution model as training data, and the risk evolution model continues to be trained. When Sc≥β, it means that the model tuning has been completed, and the risk evolution model at this time is converted into the optimal model.
5. According to claim 4, a blockchain-based medical data security and privacy protection system is characterized in that: The process of performing data protection on the corresponding blockchain nodes in descending order of protection priority includes: Perform data protection on blockchain nodes corresponding to the protection priority in descending order of protection priority, wherein the data protection includes access control, log monitoring and data disaster recovery; Access control is used to set access rights for different visitors. Access rights for ordinary visitors to the ordinary data content of the blockchain node are set. Access rights for administrators to the sensitive data of the blockchain node are set. Operations on sensitive data are monitored in logs to obtain all operations of the administrator. When abnormal operations are detected in the logs, the data operated by the administrator is recovered and the administrator's access rights are set to those of ordinary visitors. The medical data stored in each blockchain node is backed up, and the data generated after the data backup is transferred to the set backup storage area. When the medical data stored in the corresponding blockchain node is damaged or leaked and cannot be processed, the data in the backup storage area is replaced to the blockchain node for rapid data recovery.
Citation Information
Patent Citations
Medical data view implementation method and system
CN112489743A
Method and device for determining model, storage medium and electronic equipment
CN115982580A
