Patient information security management method and system based on digital medical care
By performing matrix format conversion and information variation analysis on patient data, partitioning fixed and changing information blocks, and selecting appropriate blockchain nodes for storage, the problem of waste of updating patient data resources in the existing technology is solved, and efficient and secure data storage is achieved.
Patent Information
- Application Number
- CN202510171077.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2045-02-17
AI Technical Summary
In the prior art, storing patient data that needs to be updated through digital technology will consume a lot of resources.
By obtaining the patient's original data, performing matrix format conversion, analyzing information variability, dividing fixed information blocks and changing information blocks, calculating the required number of blockchain nodes, and selecting appropriate nodes for storage.
The storage management of patient information is optimized, data security and availability are improved, efficient storage is achieved, information integrity and timely updates are ensured, and resource waste is solved.
Smart Images

Figure CN119626433B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of safe storage of medical data, and in particular to a patient information security management method and system based on digital medicine. Background Art
[0002] In the medical field, the management and storage of patient data are becoming increasingly important. With the development of electronic health records (EHR), patient data can be saved through digital records. In order to prevent patient data from being tampered with, patient data can be digitally recorded through blockchain technology. However, there are continuously updated data items in some patient data. Directly using blockchain technology to record patient data will cause these continuously updated data items to be unable to be updated, resulting in the loss of some patient data. The current solution is to supplement the original data and store all the data again. This method requires a large loss of storage resources. Summary of the invention
[0003] The purpose of the present invention is to provide a patient information security management method and system based on digital medicine, aiming to solve the problem in the prior art that storing patient data that needs to be updated through digital technology will consume a lot of resources.
[0004] The present invention is implemented in this way. In a first aspect, the present invention provides a patient information security management method based on digital medicine, comprising:
[0005] Acquire the original data of the patient, and convert the original data of the patient into a matrix format to obtain a patient information matrix;
[0006] Performing information variability analysis based on the patient information matrix to generate an information variability index list of the patient information matrix;
[0007] According to the information change index list, the storage format of the patient information matrix is differentiated and converted to obtain a fixed information block and a change information block of the patient information matrix;
[0008] Calculating the number of blockchain nodes required to store the fixed information block to obtain the number of blockchain nodes storing the fixed information block;
[0009] Selecting a blockchain node according to the number of blockchain nodes storing the fixed information block, obtaining a first storage node set for blockchain storage of the fixed information block, and performing storage processing on the fixed information block according to the first storage node set;
[0010] Calculating the number of blockchain nodes required to store the change information block to obtain the number of blockchain nodes storing the change information block;
[0011] A blockchain node is selected according to the number of blockchain nodes storing the change information block, a second storage node set is obtained for blockchain storage of the change information block, and storage processing is performed on the change information block according to the second storage node set.
[0012] In a second aspect, the present invention provides a patient information security management system based on digital medicine, which is used to implement a patient information security management method based on digital medicine as described in any one of the first aspects.
[0013] The present invention provides a patient information security management method based on digital medical care, which has the following beneficial effects:
[0014] The present invention obtains original patient data and converts it into a matrix format to form a patient information matrix, analyzes the patient information matrix, generates an information change index list, identifies dynamic changes in information, divides the information matrix into fixed information blocks and change information blocks according to the change index, calculates the number of blockchain nodes required for the fixed and change information blocks respectively, selects appropriate blockchain nodes according to the calculation results, forms a first and a second storage node set, and performs data storage, thereby optimizing the storage management of patient information, improving data security and availability, achieving efficient storage through dynamic analysis and reasonable node selection, ensuring the integrity and timely updating of information, meeting the needs of medical data management, and solving the problem in the prior art that storing patient data that needs to be updated through digital technology consumes a lot of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the steps of a patient information security management method based on digital medicine provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0017] The implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0018] Reference Figure 1 As shown, a preferred embodiment of the present invention is provided.
[0019] In a first aspect, the present invention provides a patient information security management method based on digital medicine, comprising:
[0020] S1: Acquire the original data of the patient, and convert the original data of the patient into a matrix format to obtain a patient information matrix;
[0021] S2: Analyzing and processing the information variability based on the patient information matrix to generate an information variability index list of the patient information matrix;
[0022] S3: performing storage format differentiation conversion on the patient information matrix according to the information change index list to obtain a fixed information block and a change information block of the patient information matrix;
[0023] S4: Calculate the number of blockchain nodes required to store the fixed information block to obtain the number of blockchain nodes storing the fixed information block;
[0024] S5: selecting a blockchain node according to the number of blockchain nodes storing the fixed information block, obtaining a first storage node set for blockchain storage of the fixed information block, and performing storage processing on the fixed information block according to the first storage node set;
[0025] S6: Calculate the number of blockchain nodes required to store the change information block to obtain the number of blockchain nodes storing the change information block;
[0026] S7: Select a blockchain node according to the number of blockchain nodes storing the change information block, obtain a second storage node set for blockchain storage of the change information block, and perform storage processing on the change information block according to the second storage node set.
[0027] Specifically, in step S1 of the embodiment provided by the present invention, the original data of the patient is obtained from the hospital electronic medical record system, laboratory equipment or medical sensors, etc. The original data has multiple sources, and the original data from different data sources have different data forms and data formats. In order to uniformly store the original data, it is necessary to perform consistent format conversion on the original data, extract valid information from the original data, and arrange the valid information in a standard format to obtain a patient information matrix.
[0028] More specifically, the patient information matrix includes a layout structure for expressing multiple pieces of information, and specific information content for expressing the multiple pieces of information based on the layout structure, thereby completely retelling the original data of the patient.
[0029] More specifically, in order to store the patient's original data, it is necessary to extract data information and convert the data format of the patient's original data in advance so that the original data is in a state that can be stored, that is, convert the patient's original data into a matrix format to obtain a patient information matrix.
[0030] Specifically, in step S2 of the embodiment provided by the present invention, the patient's original data is used to describe the patient's disease condition, medical condition and subsequent changes, and the subsequent changes are obtained at a time interval with the aforementioned part. Therefore, the patient's original data obtained first is not all the data, but there is a possibility of subsequent data addition. Therefore, when storing data, storage space needs to be reserved for these changed data.
[0031] More specifically, the patient information matrix contains information data on the patient in various aspects, and whether the information data in different aspects needs to be increased can be deduced by analyzing the information properties of the information data, that is, analyzing and processing the information variability of the patient information matrix, extracting multi-dimensional feedback information from the information data in various aspects of the patient information matrix, and judging the feedback information from multiple dimensions to determine whether this information will be supplemented later.
[0032] More specifically, the calculated variability indicators are summarized into a list to obtain an information variability index list. Each variability indicator in the list corresponds to a feedback information in the patient information matrix. The information variability of each feedback information in the patient information matrix is expressed in list form to facilitate the subsequent execution of different storage strategies for different feedback information in the patient information matrix.
[0033] Specifically, in step S3 of the embodiment provided by the present invention, the information property of the patient information matrix is judged according to the information change index list to distinguish between fixed information and changed information.
[0034] More specifically, each index in the information change index list corresponds one-to-one to each information data in the patient information matrix and has a fixed corresponding relationship. That is to say, based on this corresponding relationship, it is possible to judge whether the information data will change in the future according to the information change index, thereby distinguishing between fixed information and changing information.
[0035] More specifically, the information change index not only provides feedback on whether the information will change in the future, but also provides feedback on the degree of change of the information that will change. Different degrees of change require different reserved storage spaces. In subsequent steps, the reserved space for the changed information is allocated according to the information change index.
[0036] More specifically, each item of information in the patient information matrix is judged separately according to the information change index list, and each item of information in the patient information matrix is divided into fixed information and change information. Then all the fixed information is summarized into one as a fixed information block, and all the change information is summarized into one as a change information block.
[0037] It can be understood that by distinguishing between fixed information and changing information, data can be stored and managed more reasonably, storage efficiency can be improved, and the separation of fixed information blocks and changing information blocks facilitates rapid access and processing for different needs. Clearly distinguishing between fixed information and changing information helps to process data in a targeted manner in subsequent analysis and improve analysis accuracy.
[0038] Specifically, in step S4 of the embodiment provided by the present invention, the data volume of the fixed information block is determined by calculation, and the storage space required for storing the fixed information block is described according to the total data volume.
[0039] More specifically, the available storage capacity (in bytes) of each blockchain node is obtained based on the hardware configuration and network protocol settings of the node, and the required number of blockchain nodes is calculated based on the total data volume of the fixed information block and the storage capacity of each node.
[0040] More specifically, the calculated number of blockchain nodes is recorded for subsequent node selection and storage operations. In order to ensure the accuracy of the calculation process, the calculation results under different data amounts can be verified and compared multiple times.
[0041] It can be understood that by reasonably calculating the number of blockchain nodes required, storage resources can be effectively configured to avoid over-allocation or under-allocation. Reasonable selection of the number of nodes will help improve the efficiency of data storage and access speed, ensure fast access to data, ensure that the required storage space is sufficient, help maintain data integrity and security, and prevent data loss or damage. Through these steps, the number of blockchain nodes required to store fixed information blocks can be accurately calculated, providing effective support for subsequent storage processing.
[0042] Specifically, in step S5 of the embodiment provided by the present invention, a list of available blockchain nodes is obtained, and information of all available nodes is obtained from the blockchain network, including node ID, storage capacity, current load, etc.
[0043] More specifically, based on the required number of nodes and storage capacity, nodes that meet the conditions are screened out, ensuring that the selected nodes have sufficient storage space, and considering the load of the nodes, selecting nodes with lower current loads.
[0044] More specifically, the selected nodes are recorded as the first storage node set to ensure the accuracy of subsequent storage operations, and the data of the fixed information block is distributed to the selected nodes to ensure that each node is stored evenly. The blockchain's storage API can be used to send data to each node to ensure that each node successfully receives and stores data, and records the storage status and any error information.
[0045] It can be understood that by selecting appropriate nodes, ensuring the effective use of storage resources, improving storage efficiency, storing data on multiple nodes, enhancing data reliability and security, avoiding single point failures, and considering node load, it helps to achieve system load balancing and prevent a node from being overloaded. By flexibly selecting nodes, it is convenient to expand when the amount of data increases in the future and adapt to changing storage needs.
[0046] Specifically, in steps S6 and S7 of the embodiment provided by the present invention, the storage node of the change information block is selected and determined to obtain a second storage node set, and the change information block is node stored according to the second storage node set. This step can refer to steps S4 and S5 for fixed change blocks.
[0047] More specifically, with regard to the selection of storage nodes and the specific details of storage based on storage nodes, since there are certain differences between the changing information blocks and the fixed information blocks, different selection strategies and storage schemes can be adopted for the changing information blocks and the fixed information blocks respectively to adapt to the data formats of the changing information blocks and the fixed information blocks.
[0048] The present invention provides a patient information security management method based on digital medical care, which has the following beneficial effects:
[0049] The present invention obtains original patient data and converts it into a matrix format to form a patient information matrix, analyzes the patient information matrix, generates an information change index list, identifies dynamic changes in information, divides the information matrix into fixed information blocks and change information blocks according to the change index, calculates the number of blockchain nodes required for the fixed and change information blocks respectively, selects appropriate blockchain nodes according to the calculation results, forms a first and a second storage node set, and performs data storage, thereby optimizing the storage management of patient information, improving data security and availability, achieving efficient storage through dynamic analysis and reasonable node selection, ensuring the integrity and timely updating of information, meeting the needs of medical data management, and solving the problem in the prior art that storing patient data that needs to be updated through digital technology consumes a lot of resources.
[0050] Preferably, the steps of acquiring the original data of the patient and converting the original data of the patient into a matrix format to obtain the patient information matrix include:
[0051] S11: Identify the source of the original data of the patient, and obtain the difference characteristics between the original data of the patient and the standard format;
[0052] S12: Based on the difference characteristics between the original data and the standard format, convert the data format of the original data of the patient to obtain standard format data;
[0053] S13: dividing the standard format data into data items to obtain standard item data corresponding to a plurality of data items;
[0054] S14: Performing layout design based on each of the data items to obtain an information matrix framework;
[0055] S15: Substitute the standard item data corresponding to each of the data items into the information matrix framework to obtain a patient information matrix.
[0056] Specifically, the original data of patients are collected from multiple channels such as the hospital electronic medical record system, laboratory equipment, medical sensors, etc., and the original data are compared with the preset standard format to identify differences in data types, field names, units, etc.
[0057] More specifically, based on the identified difference features, the fields and data types that need to be converted are determined, and the conversion rules are applied to format the original data, including field renaming, unit conversion, data type conversion, etc.
[0058] More specifically, according to business requirements and data characteristics, the standard format data is divided into several data items (for example, basic information, examination results, medical history, etc.), and a corresponding standard item data set is generated for each data item.
[0059] More specifically, based on the characteristics of each data item, a structural framework of the information matrix is designed, and the content of the structural framework includes information items that describe the nature of the information content, and the relative relationship between each information item.
[0060] More specifically, after obtaining the structural framework, the standard item data is substituted into the corresponding information items in the information matrix framework one by one to ensure that the information of each patient is accurately filled in.
[0061] It can be understood that through the above steps, the standardization of patient information in structure and format is ensured to facilitate subsequent analysis and processing. The standardized data format and matrix structure greatly improve the efficiency of data processing and query, and are suitable for subsequent statistics and analysis. The constructed information matrix can provide a basis for further data mining and machine learning model training, support complex analysis needs, and integrate raw data from different sources to form a unified information matrix, which is conducive to analysis and decision support from a global perspective.
[0062] Preferably, the step of performing information variability analysis based on the patient information matrix and generating an information variability index list of the patient information matrix comprises:
[0063] S21: Analyzing the information expression position of the patient information matrix to obtain the positioning distribution of the information expression position of the patient information matrix;
[0064] S22: generating an information location mapping list based on the location distribution of the information expression position of the patient information matrix; wherein the information location mapping list includes a plurality of information location mapping features and information fields corresponding to each of the information location mapping features;
[0065] S23: extracting expression information from the patient information matrix according to each information location mapping feature of the information location mapping list, and storing each extracted expression information into an information field corresponding to each information location mapping feature;
[0066] S24: analyzing and processing the information type and information completeness of the information expressed in each information field in the information location mapping list to obtain an information change index of each information field;
[0067] S25: combining the information change index of each information field with each information field to obtain the information change index list.
[0068] Specifically, the patient information matrix is analyzed to identify the position of the information in the matrix, including the distribution of rows and columns. Furthermore, the storage location of each type of information is determined using the attributes of the data frame. The storage locations of each type of information are integrated to obtain a positioning distribution that is used to describe the position of each information in the patient information matrix.
[0069] More specifically, based on the positioning distribution, an information positioning mapping list is constructed, including feature names and their corresponding information fields. The information positioning mapping list includes various information positioning mapping features and information fields corresponding to each information positioning mapping feature. The function of the information positioning mapping feature is to associate the information field with the information in the patient information matrix, thereby maintaining a corresponding relationship between the information field and the information in the patient information matrix through the mapping association of the information positioning mapping feature, so that the information field can be locked and wait for subsequent reception of information.
[0070] More specifically, the expression information in the patient information matrix is extracted according to the information location mapping list and stored in the corresponding information field. Specifically, the information location needs to be obtained according to the information location mapping feature of the information location mapping list, and the patient information matrix is extracted based on the information location to obtain the expression information at the corresponding position of the patient information matrix, so as to fill the expression information into the information field, and repeat this step until the data filling of the information location mapping list is completed.
[0071] More specifically, the information type and information completeness of the expression information of each information field in the information location mapping list are analyzed respectively to obtain the information type and information completeness of the expression information, wherein the information type is used to describe the information content classification of the expression information, and the information completeness describes the degree of completeness of the expression information with respect to its information type.
[0072] More specifically, the classification of the information type of the expressed information can be achieved by analyzing the information meaning of the expressed information and then making a superordinate inference, or by analyzing the layout design of the matrix framework of the patient information matrix, thereby obtaining the type of information to be expressed at this position through layout design.
[0073] More specifically, the analysis of the completeness of the information expressed is performed on the basis of the information type. Different information types correspond to different information change properties. For example, the change nature of information such as name and gender will not increase. As long as these information types have corresponding filled information, they can be determined to be complete. For information on the specific manifestations of the disease at different times, the change nature will change, that is, supplementary descriptive information will be added later. At this time, the specific stage of the change nature of the information is analyzed to determine the stage of change it is in to generate the corresponding information completeness.
[0074] More specifically, the information change index of each information field is combined with its features to form a final information change index list.
[0075] It can be understood that through the analysis of the location and variability of information expression, the status of the patient information matrix can be systematically understood. The calculation of the information change index helps identify missing and incomplete data, guides data quality improvement, and provides a basis for subsequent data updates and maintenance, thereby achieving dynamic monitoring and management of patient information.
[0076] Preferably, the step of performing a storage format differentiation conversion on the patient information matrix according to the information change index list to obtain a fixed information block and a change information block of the patient information matrix comprises:
[0077] S31: judging the expected information change of the patient information matrix according to the information change index list, marking the part where the judgment result shows that the information will not change as the fixed information part, and marking the part where the judgment result shows that the information is expected to change as the changed information part;
[0078] S32: performing feature analysis on the relative position relationship between the fixed information parts to obtain a fixed information distribution framework;
[0079] S33: performing feature analysis on the relative position relationship between the change information parts to obtain a change information distribution framework;
[0080] S34: Based on the simulated interlocking process between the fixed information distribution framework and the variable information distribution framework, the fixed information distribution framework and the variable information distribution framework are positioned and adjusted to obtain the fixed information distribution framework and the variable information distribution framework after positioning adjustment;
[0081] S35: Substituting each of the fixed information parts into the fixed information distribution framework after the positioning adjustment to obtain a fixed information block of the patient information matrix;
[0082] S36: Substitute each of the change information parts into the change information distribution framework after the positioning adjustment to obtain the change information block of the patient information matrix.
[0083] Specifically, according to the information change index list, the expected change judgment is performed on each information item. The information change index indicates that the part of data has been completed, that is, it is marked as the fixed information part. The existence of the information change index indicates that the part of data may change, that is, it is marked as the changing information part.
[0084] More specifically, feature analysis is performed on the relative positions between the fixed information parts to identify their layout features, identify the relationship between rows and columns, and determine the structural framework of the information block.
[0085] More specifically, feature analysis is performed on the relative positions between the change information parts to identify their layout features, and to identify the relevance and distribution features of the change information.
[0086] More specifically, based on the fixed information distribution framework and the changing information distribution framework, simulated mosaic processing is performed to adjust the frame positions to make the layout of the two more reasonable and ensure the integration of information. According to the analysis results, the fixed information and changing information frameworks are positioned and adjusted to optimize the information storage structure.
[0087] More specifically, the data of the fixed information part is substituted into the fixed information distribution frame after positioning adjustment to generate a fixed information block, and the data of the variable information part is substituted into the variable information distribution frame after positioning adjustment to generate a variable information block.
[0088] It can be understood that by distinguishing between fixed information and changing information, the storage structure of the patient information matrix is optimized, data management efficiency is improved, the fixed information part is stabilized, and the maintenance cost caused by data changes is reduced; the changing information part can be updated more flexibly, and the clear framework and structure make the data easier to understand and use, enhance the operability of the system, and provide a basis for dynamic response to subsequent data changes, which can better adapt to changes in clinical needs.
[0089] Preferably, the step of calculating the number of blockchain nodes required for storing the fixed information block to obtain the number of blockchain nodes storing the fixed information block includes:
[0090] S41: Calculating the total amount of data according to the fixed information block to obtain information on the total amount of data in the fixed information block;
[0091] S42: Calculating the redundant space required for executing the encryption strategy based on the total amount of data in the fixed information block to obtain data redundancy information;
[0092] S43: obtaining the total amount of data space for storing the fixed information block based on the data total amount information and the data redundancy amount information;
[0093] S44: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the fixed information block;
[0094] S45: Analyzing the blockchain storage strategy of the fixed information block according to the blockchain node information and the blockchain protocol information, and obtaining the blockchain storage strategy for storing the fixed information block in the target blockchain;
[0095] S46: Based on the blockchain storage strategy, the blockchain node information of the target blockchain and the blockchain protocol information, the number of blockchain nodes required to store the total amount of data space in the target blockchain is calculated to obtain the number of blockchain nodes that store the fixed information block.
[0096] Specifically, the fixed information block is analyzed, and the size of the statistics, including the number of bytes of all fields and records, is counted to obtain the total amount of data in the fixed information block. Based on the encryption strategy and data protection requirements, the required redundant space is calculated, which is usually a certain proportion of the total amount of data.
[0097] More specifically, in order to securely protect each piece of information in a fixed information block, the information needs to be encrypted according to a preset information encryption strategy. Encryption will take up additional storage space, that is, the redundant space required for the execution of the encryption strategy. The total amount of data is added to the redundant amount to obtain the total data space required for storage.
[0098] More specifically, the node information and protocol specifications of the target blockchain are obtained, including the storage capacity of each node. Based on the node information and protocol, a strategy for storing fixed information blocks in the blockchain is determined, such as sharded storage or redundant backup. Different storage strategies will result in different application modes of blockchain nodes and different spaces required. After determining the storage strategy, the required number of blockchain nodes is calculated based on the storage strategy and the storage capacity of the blockchain nodes.
[0099] It can be understood that through the above steps, the number of blockchain nodes required to store fixed information blocks can be effectively evaluated and calculated, ensuring the security and availability of data while optimizing the utilization of storage resources.
[0100] Preferably, the steps of selecting a blockchain node according to the number of blockchain nodes storing the fixed information block, obtaining a first storage node set for blockchain storage of the fixed information block, and performing storage processing on the fixed information block according to the first storage node set include:
[0101] S51: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the fixed information block;
[0102] S52: simulating node setting of the number of blockchain nodes based on the blockchain node information and blockchain protocol information of the target blockchain, and obtaining several simulation setting schemes and priority weights corresponding to the various simulation setting schemes;
[0103] S53: Analyze the comprehensive selectivity of each blockchain node in various simulation distribution schemes according to the reliability index corresponding to each simulation distribution scheme, and obtain the comprehensive selection weight of each blockchain node;
[0104] S54: Sort each of the blockchain nodes according to the comprehensive selection weight of each of the blockchain nodes to obtain a node priority sequence;
[0105] S55: Performing connectivity tests on each of the blockchain nodes in turn based on the node priority sequence to obtain connectivity response characteristics of each of the blockchain nodes in the node priority sequence;
[0106] S56: Calculate the node trust value of each blockchain node according to the ranking position of each blockchain node in the node priority sequence and the connectivity response characteristics to obtain the node trust value of each blockchain node;
[0107] S57: Sort the blockchain nodes in sequence according to the node trust values of the blockchain nodes to obtain a node trust sequence;
[0108] S58: Based on the node trust sequence, blockchain nodes that meet the number of blockchain nodes are selected in turn as the first storage node set, and the fixed information block is stored and processed according to the first storage node set.
[0109] Specifically, first, the node information of the target blockchain is collected, including parameters such as storage capacity, network latency, bandwidth, and related blockchain protocol characteristics of each node.
[0110] More specifically, based on the acquired node information and protocol characteristics, several node setting schemes are designed, the advantages and disadvantages of different node combinations are considered, and a priority weight is assigned to each scheme, which can be determined based on the performance, reliability and historical performance of the node.
[0111] More specifically, a comprehensive analysis is conducted on the blockchain nodes in each simulation scenario, and the reliability index is calculated by considering the stability and historical failure rate of the nodes. Based on the reliability index, a comprehensive selection weight is assigned to each node, reflecting its relative importance in the simulation scenario.
[0112] More specifically, the nodes are sorted according to their comprehensive selection weights to obtain a priority sequence of nodes, which reflects the selection priority of each node in a given simulation scenario.
[0113] More specifically, the connectivity test is performed on the nodes in the priority sequence in turn, the response time and reachability of each node in the network are evaluated, and the connectivity response characteristics of each node are recorded for subsequent analysis.
[0114] More specifically, the trust value of each node is calculated based on its position in the priority sequence and its connectivity response characteristics. The trust value can be comprehensively derived based on response speed, stability and historical performance. The nodes are sorted according to their trust values to obtain the node trust sequence. The trust sequence shows which nodes are the most trustworthy in the current network environment.
[0115] More specifically, based on the node trust sequence, nodes that meet the required number of blockchain nodes are selected to form a first storage node set. Finally, based on the selected first storage node set, the fixed information blocks are stored and processed to ensure the security and accessibility of the information.
[0116] It can be understood that through this series of steps, the best set of blockchain nodes can be efficiently selected for storing fixed information blocks. This method not only takes into account the performance and reliability of the nodes, but also ensures the robustness and availability of the storage solution through connectivity testing and trust value calculation, thereby optimizing the efficiency and security of blockchain storage.
[0117] Preferably, the step of calculating the number of blockchain nodes required for storing the change information block to obtain the number of blockchain nodes storing the change information block includes:
[0118] S61: Calculate the total amount of data according to the change information block to obtain the total amount of data of the change information block;
[0119] S62: Calculate the redundant space required for executing the encryption strategy according to the total amount of data in the change information block to obtain data redundancy information of the change information block;
[0120] S63: performing information analysis on the feedback information of the change information block to obtain information feedback features of the change information block;
[0121] S64: estimating the number of information additions based on the information feedback characteristics of the change information block to obtain the estimated number of changes of the change information block;
[0122] S65: simulating and calculating the change reserved space for the total amount of data in the change information block according to the estimated number of changes, to obtain change reserved space information;
[0123] S66: performing combined calculation based on the total amount of data information, the data redundancy information, and the change reserve information of the change information block to obtain the total amount of storage information of the change information block;
[0124] S67: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the change information block;
[0125] S68: Analyze the blockchain storage strategy of the change information block according to the blockchain node information and the blockchain protocol information to obtain the blockchain storage strategy for storing the change information block in the target blockchain;
[0126] S69: Based on the blockchain storage strategy, the blockchain node information of the target blockchain and the blockchain protocol information, the number of blockchain nodes required to store the total storage amount information in the target blockchain is calculated to obtain the number of blockchain nodes that store the change information block.
[0127] Specifically, the changed information blocks are analyzed and the amount of data (number of bytes) they contain is calculated, covering all relevant fields and records. According to the encryption and data protection strategies, the required redundant space is deduced, which is usually a certain proportion of the total amount of data, to ensure the security and integrity of the data.
[0128] More specifically, the feedback information of the change information block is analyzed to evaluate its dynamic and frequently changing characteristics, such as update frequency, change pattern, etc. Based on the feedback characteristics, the number of future information changes is estimated to reserve additional space for storage.
[0129] More specifically, based on the estimated number of changes, the total amount of data is simulated and extrapolated to calculate the required amount of reserved space to cope with future changes. The total amount of data, redundancy and change reserve are combined to calculate the total storage capacity of the change information block.
[0130] More specifically, obtain the node information and related protocol specifications of the target blockchain, understand the storage capacity and characteristics of each node, analyze how to store the change information block in the blockchain based on the node information and protocol, determine the appropriate storage strategy, such as sharding or redundant storage, and calculate the number of blockchain nodes required to store the change information block based on the storage strategy, node information and total storage volume to ensure effective data storage and access.
[0131] It is understandable that through the above steps, the number of blockchain nodes required to store the change information block can be accurately calculated to ensure that data is stored and managed safely and efficiently on the blockchain. This process takes into account multiple factors such as redundancy, reserved space, and feedback characteristics, enhancing the flexibility and reliability of the storage solution.
[0132] Preferably, the steps of selecting a blockchain node according to the number of blockchain nodes storing the change information block, obtaining a second storage node set for blockchain storage of the change information block, and storing the change information block according to the second storage node set include:
[0133] S71: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the change information block;
[0134] S72: Performing a trial allocation of storage tasks to the blockchain nodes based on the blockchain node information and blockchain protocol information of the target blockchain to obtain a trial storage task for each of the blockchain nodes;
[0135] S73: Analyzing the task completion index of the target blockchain according to the trial storage tasks of each of the blockchain nodes to obtain the task completion index;
[0136] S74: Evaluate the task completion index according to a preset standard. If the evaluation result is that the standard is not met, optimize the trial storage task of each blockchain node to obtain the optimized storage task of each blockchain node;
[0137] S75: taking the optimized storage tasks of each of the blockchain nodes as trial storage tasks, returning to analyzing the task completion index of the target blockchain according to the trial storage tasks of each of the blockchain nodes, obtaining the task completion index, and evaluating the task completion index according to a preset standard until obtaining the task completion index whose evaluation result meets the standard;
[0138] S76: If the evaluation result is in compliance with the standard, then sorting the blockchain nodes according to the trial storage tasks of the blockchain nodes corresponding to the task completion indicators that meet the standard to obtain an execution node sequence;
[0139] S77: Based on the execution node sequence, blockchain nodes that meet the number of blockchain nodes are selected in turn as the second storage node set, and the change information block is stored and processed according to the second storage node set.
[0140] Specifically, collect node information of the target blockchain, including the node’s storage capacity, performance indicators, network status, etc., to ensure a comprehensive understanding of the node characteristics.
[0141] More specifically, based on node information and protocol characteristics, a trial storage task is assigned to each node, the storage capacity that each node needs to bear is determined, the completion status of the trial storage tasks of each node is analyzed, and task completion indicators such as storage speed, success rate, latency, etc. are calculated to evaluate the performance of each node.
[0142] More specifically, the task completion index is compared and evaluated with the preset standard. If the index does not meet the standard, optimization is required. Based on the evaluation results, the storage task of each node is adjusted, such as reallocating storage capacity or increasing resources, to form an optimized storage task.
[0143] More specifically, the optimized storage task is analyzed again for task completion indicators until the evaluation result meets the standard. This process may require multiple iterations to ensure that the preset standard is finally met.
[0144] More specifically, each node is sorted according to the task completion indicators that meet the standards, and an execution node sequence is generated to reflect the priority of each node. According to the execution node sequence, nodes that meet the required number of blockchain nodes are selected in turn to form a second storage node set.
[0145] More specifically, based on the second storage node set, the change information blocks are actually stored to ensure the security and accessibility of the data.
[0146] It is understandable that through these steps, it is possible to effectively select suitable blockchain nodes for storage, ensure that the task completion indicators meet the preset standards, and thus optimize storage efficiency and reliability. This not only improves the flexibility of the storage process, but also enhances the overall performance and scalability of the system.
[0147] In a second aspect, the present invention provides a patient information security management system based on digital medicine, which is used to implement a patient information security management method based on digital medicine as described in any one of the first aspects.
[0148] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A patient information security management method based on digital medicine, characterized in that: include: Acquire the original data of the patient, and convert the original data of the patient into a matrix format to obtain a patient information matrix; Performing information variability analysis based on the patient information matrix to generate an information variability index list of the patient information matrix; According to the information change index list, the storage format of the patient information matrix is differentiated and converted to obtain a fixed information block and a change information block of the patient information matrix; Calculating the number of blockchain nodes required to store the fixed information block to obtain the number of blockchain nodes storing the fixed information block; Selecting a blockchain node according to the number of blockchain nodes storing the fixed information block, obtaining a first storage node set for blockchain storage of the fixed information block, and performing storage processing on the fixed information block according to the first storage node set; Calculating the number of blockchain nodes required to store the change information block to obtain the number of blockchain nodes storing the change information block; Selecting a blockchain node according to the number of blockchain nodes storing the change information block, obtaining a second storage node set for blockchain storage of the change information block, and performing storage processing on the change information block according to the second storage node set; The steps of obtaining the original data of the patient and converting the original data of the patient into a matrix format to obtain the patient information matrix include: Identify the source of the original data of the patient and obtain the difference characteristics between the original data of the patient and the standard format; Based on the difference characteristics between the original data and the standard format, converting the data format of the original data of the patient to obtain standard format data; The standard format data is processed by dividing the data items to obtain standard item data corresponding to a plurality of data items; Perform layout design based on each of the data items to obtain an information matrix framework; Substituting the standard item data corresponding to each of the data items into the information matrix framework to obtain a patient information matrix; The steps of performing a storage format differentiation conversion on the patient information matrix according to the information change index list to obtain a fixed information block and a change information block of the patient information matrix include: Judging the expected information change of the patient information matrix according to the information change index list, marking the part where the judgment result shows that the information will not change as the fixed information part, and marking the part where the judgment result shows that the information is expected to change as the changed information part; Performing feature analysis on the relative position relationship between each of the fixed information parts to obtain a fixed information distribution framework; Performing feature analysis on the relative position relationship between each of the change information parts to obtain a change information distribution framework; Based on the simulated interlocking process between the fixed information distribution framework and the variable information distribution framework, the fixed information distribution framework and the variable information distribution framework are subjected to positioning adjustment of the framework distribution to obtain the fixed information distribution framework and the variable information distribution framework after positioning adjustment; Substituting each of the fixed information parts into the fixed information distribution framework after the positioning adjustment to obtain a fixed information block of the patient information matrix; Each of the change information parts is substituted into the change information distribution framework after the positioning adjustment to obtain the change information block of the patient information matrix.
2. The patient information security management method based on digital medical care according to claim 1, characterized in that: The step of analyzing and processing the information variability based on the patient information matrix and generating an information variability index list of the patient information matrix comprises: Analyzing the information expression position of the patient information matrix to obtain the location distribution of the information expression position of the patient information matrix; Based on the location distribution of the information expression position of the patient information matrix, an information location mapping list is generated; wherein the information location mapping list includes a plurality of information location mapping features and information fields corresponding to each of the information location mapping features; According to each information location mapping feature of the information location mapping list, the patient information matrix is subjected to expression information extraction processing, and each extracted expression information is stored in the information field corresponding to each information location mapping feature; Analyzing and processing the information type and information completeness of the information expressed in each information field of the information location mapping list to obtain the information change index of each information field; The information change index of each of the information fields is combined with each of the information fields to obtain the information change index list.
3. The patient information security management method based on digital medical care according to claim 1, characterized in that: The step of calculating the number of blockchain nodes required for storing the fixed information block to obtain the number of blockchain nodes storing the fixed information block includes: Calculating the total amount of data according to the fixed information block to obtain total amount of data information of the fixed information block; Calculate the redundant space required for executing the encryption strategy based on the total amount of data in the fixed information block to obtain data redundancy information; Based on the combination of the total amount of data information and the data redundancy information, the total amount of data space for storing the fixed information block is obtained; Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the fixed information block; Analyzing the blockchain storage strategy of the fixed information block according to the blockchain node information and the blockchain protocol information to obtain a blockchain storage strategy for storing the fixed information block in the target blockchain; Based on the blockchain storage strategy, the blockchain node information of the target blockchain and the blockchain protocol information, the number of blockchain nodes required to store the total amount of data space in the target blockchain is calculated to obtain the number of blockchain nodes storing the fixed information block.
4. The patient information security management method based on digital medical care according to claim 1, characterized in that: The steps of selecting a blockchain node according to the number of blockchain nodes storing the fixed information block, obtaining a first storage node set for blockchain storage of the fixed information block, and performing storage processing on the fixed information block according to the first storage node set include: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the fixed information block; Based on the blockchain node information and blockchain protocol information of the target blockchain, simulate node setting for the number of blockchain nodes to obtain several simulated setting schemes and priority weights corresponding to the various simulated setting schemes; According to the reliability index corresponding to various simulated distribution schemes, the comprehensive selectivity of each blockchain node in various simulated distribution schemes is analyzed to obtain the comprehensive selection weight of each blockchain node; Sort each of the blockchain nodes according to the comprehensive selection weight of each of the blockchain nodes to obtain a node priority sequence; Performing connectivity tests on each of the blockchain nodes in turn based on the node priority sequence to obtain connectivity response characteristics of each of the blockchain nodes in the node priority sequence; Calculating the node trust value of each blockchain node according to the ranking position of each blockchain node in the node priority sequence and the connectivity response characteristics to obtain the node trust value of each blockchain node; Sort the blockchain nodes in sequence according to the node trust values of the blockchain nodes to obtain a node trust sequence; Based on the node trust sequence, blockchain nodes that meet the number of blockchain nodes are selected in turn as the first storage node set, and the fixed information block is stored and processed according to the first storage node set.
5. The patient information security management method based on digital medical care according to claim 1, characterized in that: The step of calculating the number of blockchain nodes required to store the change information block to obtain the number of blockchain nodes storing the change information block includes: Calculating the total amount of data according to the change information block to obtain the total amount of data of the change information block; Calculate the redundant space required for executing the encryption strategy based on the total amount of data in the change information block to obtain the data redundancy information of the change information block; Performing information analysis on the feedback information of the change information block to obtain information feedback characteristics of the change information block; estimating the number of information additions based on the information feedback characteristics of the change information block to obtain the estimated number of changes of the change information block; According to the estimated number of changes, simulate and calculate the change reserved space for the total amount of data in the change information block to obtain change reserved space information; Based on the total amount of data information, data redundancy information and change reserve information of the change information block, a combined calculation is performed to obtain the total amount of storage information of the change information block; Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the change information block; Analyzing the blockchain storage strategy of the change information block according to the blockchain node information and the blockchain protocol information to obtain a blockchain storage strategy for storing the change information block in the target blockchain; Based on the blockchain storage strategy, the blockchain node information of the target blockchain and the blockchain protocol information, the number of blockchain nodes required to store the total storage amount information in the target blockchain is calculated to obtain the number of blockchain nodes storing the change information block.
6. The patient information security management method based on digital medical care according to claim 1, characterized in that: The steps of selecting a blockchain node according to the number of blockchain nodes storing the change information block, obtaining a second storage node set for blockchain storage of the change information block, and storing the change information block according to the second storage node set include: Obtaining blockchain node information and blockchain protocol information of a target blockchain for blockchain storage of the change information block; Performing a trial allocation of storage tasks to the blockchain nodes based on the blockchain node information and blockchain protocol information of the target blockchain to obtain a trial storage task for each of the blockchain nodes; Analyzing the task completion index of the target blockchain according to the trial storage tasks of each of the blockchain nodes to obtain the task completion index; The task completion index is evaluated according to a preset standard. If the evaluation result is that the standard is not met, the trial storage task of each blockchain node is optimized to obtain the optimized storage task of each blockchain node; The optimized storage tasks of each of the blockchain nodes are used as trial storage tasks, and the task completion indicators of the target blockchain are analyzed according to the trial storage tasks of each of the blockchain nodes to obtain the task completion indicators, and the task completion indicators are evaluated according to preset standards until the task completion indicators whose evaluation results meet the standards are obtained; If the evaluation result is in compliance with the standard, then sorting the blockchain nodes according to the trial storage tasks of the blockchain nodes corresponding to the task completion indicators that meet the standard to obtain an execution node sequence; Based on the execution node sequence, blockchain nodes that meet the number of blockchain nodes are selected in turn as the second storage node set, and the change information block is stored and processed according to the second storage node set.
7. A patient information security management system based on digital medicine, characterized in that: Used to implement a patient information security management method based on digital medicine as described in any one of claims 1-6.
Citation Information
Patent Citations
Medical record storage, sharing and security claim settlement model and method based on a block chain
CN110008746A
Block chain-based partial variable information storage method and device
CN113806780A