A medical data classification management system
Through the data collection and classification encryption module of the medical data classification management system, query records are analyzed for automatic classification and encryption processing, which solves the problems of cumbersome query and unreasonable encryption processing in the existing medical database, and achieves efficient query and data security.
Patent Information
- Application Number
- CN202311466686.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-11-06
AI Technical Summary
Existing medical databases have inefficiencies in search and encryption processing, and cannot automatically and reasonably encrypt each type of medical data, resulting in cumbersome queries and insufficient security.
A medical data classification management system is designed, including a data collection module and a classification encryption module. By analyzing query records, medical data types are automatically classified, sorted and encrypted to achieve different levels of encryption.
The query efficiency and security of medical data are improved, and queries are facilitated through the classification display module. The classification encryption module realizes reasonable encryption processing of each type of data, ensuring efficient management and security of data.
Smart Images

Figure CN117457164B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and more specifically, to a medical data classification management system. Background Art
[0002] With the rapid development of medical technology and medical level, more and more medical data need to be managed in the hospital database. When medical staff need to search for corresponding medical data in the medical database, the search method is cumbersome and cannot efficiently select the corresponding medical data. At the same time, in order to ensure the security of medical data, the current medical database will perform corresponding encryption processing on the medical data, but this encryption requirement is set by medical staff, and it is impossible to automatically perform reasonable encryption processing on each type of data. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention aims to provide a medical data classification management system.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A medical data classification management system, including a data acquisition module, a classification display module, and a classification encryption module;
[0006] The data collection module is used to collect query records of medical data and send the collected query records to the server for storage;
[0007] The classification display module is used to display the titles of different medical data types in sequence on the system terminal interface, specifically:
[0008] Step 1: Obtain the medical data type corresponding to the query record, mark the query records of the same medical data type as the same query record, calculate the time difference between the query end time and the query start time of the same query record, obtain the same query duration, set each same query duration to correspond to a query standard duration, compare the same query duration with the query standard duration, when the same query duration is less than the query standard duration, mark the same query duration as the query low standard duration, and obtain the query low standard value Zc, when the same query duration is greater than or equal to the query standard duration, mark the same query duration as the query high standard duration, and obtain the query high standard value Dm;
[0009] Step 2: Sum and average the query durations of all query records of the same type, obtain the average query duration of the same type, and mark it as Sw, and obtain the total number of query records of the same type, and mark it as Xf;
[0010] Step 3: Obtain the classification ranking value Qe of the same type of query records, sort the same type of query records of different medical data types from large to small according to the numerical value of the classification ranking value, and display the titles of different medical data types in the system terminal interface in the sorting order;
[0011] The classification encryption module is used to perform different levels of encryption processing on different types of medical data, specifically:
[0012] Step 1: Sort all similar query records in the order of the query start time and the query end time, obtain the similar query interval Zb, set each similar query interval Zb to correspond to a general standard query interval, compare the similar query interval with the general standard query interval, when the similar query interval ≤ the general standard query interval, mark the similar query interval as a low general query interval, and obtain the low general query value Hn, when the similar query interval > the general standard query interval, mark the similar query interval as a super general query interval, and obtain the super general query value Fk;
[0013] Step 2: Obtain the classified encryption value Rq, set the classified encryption high value to Gm, set the classified encryption low value to Ap. When the classified encryption value Rq ≥ the classified encryption high value Gm, perform high-level encryption processing on this type of medical data. When the classified encryption low value Ap ≤ the classified encryption value Rq < the classified encryption high value Gm, perform intermediate encryption processing on this type of medical data. When the classified encryption value Rq < the classified encryption low value Ap, perform low-level encryption processing on this type of medical data.
[0014] Furthermore, the query record includes the medical data type, the query start time, and the query end time.
[0015] Further, the query low standard value Zc is obtained by the following steps: the difference between the query standard duration and the query low standard duration is calculated to obtain the query low standard time difference, and marked as Wi, the query low standard time difference coefficient is set to Bh, h = 1, 2, 3, ... h; B1 < B2 < B3 < ... < Bh, each query low standard time difference coefficient is set to correspond to a query low standard time difference range, including (0, W1], (W1, W2], ..., (Wi-1, Wi], when Wi∈(0, W1], the corresponding query low standard time difference coefficient is B1, and the formula is used Get the total low-standard value Gp, where i is the number of times the same query duration is marked as the query low-standard duration. Sort the query low-standard duration in the order of the corresponding query start time, calculate the time difference between the two adjacent query start times after sorting, and get the low-standard query interval. Sum all the low-standard query intervals and take the average to get the low-standard query average interval, which is marked as Ak. Use the formula The query low standard value Zc is obtained, where a1 is the low standard total value coefficient and a2 is the low standard query average interval coefficient.
[0016] Further, the query high standard value Dm is obtained by the following steps: the query high standard duration is calculated to be different from the query standard duration to obtain the query high standard time difference, and marked as Cj, the query high standard time difference coefficient is set to Fv, v = 1, 2, 3, ... v; F1 < F2 < F3 < ... < Fv, each query high standard time difference coefficient is set to correspond to a query high standard time difference range, including (0, C1], (C1, C2], ..., (Cj-1, Cj], when Cj∈(0, C1], the corresponding query high standard time difference coefficient is F1, and the formula is used The total high-standard value Sr is obtained, where j is the number of times the same type of query duration is marked as the query high-standard duration. The query high-standard duration is sorted in the chronological order of the corresponding query start time, and the time difference between the two adjacent query start times after sorting is calculated to obtain the high-standard query interval. All high-standard query intervals are summed and averaged to obtain the high-standard query average interval, which is marked as Yb. The formula is used The query high standard value Dm is obtained, where b1 is the high standard total value coefficient and b2 is the high standard query average interval coefficient.
[0017] Furthermore, the classification sorting value Qe is obtained through the following steps: the classification sorting value Qe is obtained using the formula Qe=Dm×c2-Zc×c1+Sw×c3+Xf×c4, wherein c1 is the query low-standard value coefficient, c2 is the query high-standard value coefficient, c3 is the average length coefficient of similar queries, and c4 is the similar query quantity coefficient.
[0018] Further, the similar query interval Zb is obtained by the following steps: marking the query start time of the similar query record that is adjacent and ranked first after sorting as Ed, marking the query end time of the similar query record that is adjacent and ranked first after sorting as Ea, marking the query start time of the similar query record that is adjacent and ranked later after sorting as Rd, marking the query end time of the similar query record that is adjacent and ranked later after sorting as Ra, and using the formula The same type of query interval Zb is obtained, where d1 is the query start interval coefficient and d2 is the query end interval coefficient.
[0019] Furthermore, the low-common query value Hn is obtained by the following steps: calculate the difference between the standard query interval and the low-common query interval to obtain the low-common interval difference, sum all the low-common interval differences to obtain the total low-common interval difference, and mark it as Nt, obtain the total number of times the same type of query interval is marked as a low-common query interval, and mark it as Uy, and use the formula Hn=Nt×x1+Uy×x2 to obtain the low-common query value Hn, where x1 is the low-common interval total difference coefficient, and x2 is the low-common query number coefficient.
[0020] Furthermore, the super-common query value Fk is obtained through the following steps: calculate the difference between the super-common query interval and the standard query interval to obtain the super-common interval difference, sum all the super-common interval differences to obtain the total super-common interval difference, and mark it as Cv, obtain the total number of times the same type of query interval is marked as a super-common query interval, and mark it as La, and use the formula Fk=Cv×y1+La×y2 to obtain the super-common query value Fk, where y1 is the super-common interval total difference coefficient, and y2 is the super-common query number coefficient.
[0021] Furthermore, the classified encrypted value Rq is obtained by the following steps: the classified encrypted value Rq is obtained by using the formula Rq=Hn×z1-Fk×z2, wherein z1 is the low-common query value coefficient, and z2 is the super-common query value coefficient.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. Set up a classification display module to display the titles of different medical data types in sequence on the system terminal interface. On the basis of classification management of different types of medical data, it is convenient for subsequent operators to query the corresponding types of medical data;
[0024] 2. Setting up a classification encryption module can perform different levels of encryption processing on different types of medical data to ensure that each type of medical data can receive relatively reasonable encryption processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a principle block diagram of the classification display module of the present invention;
[0026] Figure 2 This is a principle block diagram of the classification encryption module of the present invention;
[0027] Figure 3 It is a principle block diagram of the present invention. DETAILED DESCRIPTION
[0028] Example 1
[0029] Reference Figure 1, a medical data classification management system, including a data acquisition module and a classification display module.
[0030] The data acquisition module is used to collect query records of medical data and send the collected query records to the server for storage. The query record includes the type of medical data, the query start time, and the query end time. Medical data types include but are not limited to case data, prescription data, drug data, and clinical trial data. For example, if the medical data type of query record 1 is case data, the query start time is 12:30:18 on June 17, 2022, and the query end time is 12:32:40 on June 17, 2022. If the medical data type of query record 2 is prescription data, the query start time is 13:01:05 on June 17, 2022, and the query end time is 13:02:31 on June 17, 2022.
[0031] The classification display module is used to display the titles of different medical data types in sequence on the system terminal interface, specifically:
[0032] Step 1: Obtain the medical data type corresponding to the query record, mark the query records of the same medical data type as similar query records, calculate the time difference between the query end time and the query start time of the similar query records, obtain the similar query duration, set each similar query duration to correspond to a query standard duration, compare the similar query duration with the query standard duration, when the similar query duration is less than the query standard duration, mark the similar query duration as the query low standard duration, obtain the query low standard value Zc, and query the low standard duration. The value Zc is obtained by the following steps: the difference between the query standard duration and the query low standard duration is calculated to obtain the query low standard time difference, and marked as Wi, the query low standard time difference coefficient is set to Bh, h = 1, 2, 3, ... h; B1 < B2 < B3 < ... < Bh, each query low standard time difference coefficient is set to correspond to a query low standard time difference range, including (0, W1], (W1, W2], ..., (Wi-1, Wi], when Wi∈(0, W1], the corresponding query low standard time difference coefficient is B1, and the formula is used Get the total low-standard value Gp, where i is the number of times the same query duration is marked as the query low-standard duration. Sort the query low-standard duration in the order of the corresponding query start time, calculate the time difference between the two adjacent query start times after sorting, and get the low-standard query interval. Sum all the low-standard query intervals and take the average to get the low-standard query average interval, which is marked as Ak. Use the formula The query low standard value Zc is obtained, where a1 is the low standard total value coefficient, a2 is the low standard query average interval coefficient, a1 is 0.63, and a2 is 0.48. When the query duration of the same type is ≥ the query standard duration, the query duration of the same type is marked as the query high standard duration, and the query high standard value Dm is obtained; the query high standard value Dm is obtained by the following steps: the query high standard duration is calculated to differ from the query standard duration, the query high standard time difference is obtained, and it is marked as Cj, and the query high standard time difference coefficient is set to Fv, v = 1, 2, 3, ... v; F1 < F2 < F3 < ... < Fv, and each query high standard time difference coefficient is set to correspond to a query high standard time difference range, including (0, C1], (C1, C2], ..., (Cj-1, Cj], when Cj∈(0, C1], the corresponding query high standard time difference coefficient is F1, and the formula is used The total high-standard value Sr is obtained, where j is the number of times the same type of query duration is marked as the query high-standard duration. The query high-standard duration is sorted in the chronological order of the corresponding query start time, and the time difference between the two adjacent query start times after sorting is calculated to obtain the high-standard query interval. All high-standard query intervals are summed and averaged to obtain the high-standard query average interval, which is marked as Yb. The formula is used The query high standard value Dm is obtained, where b1 is the high standard total value coefficient, b2 is the high standard query average interval coefficient, the value of b1 is 0.62, and the value of b2 is 0.47.
[0033] Step 2: Sum and average the query durations of all similar query records to obtain the average query duration of the same type, marked as Sw, and obtain the total number of similar query records, marked as Xf.
[0034] Step 3: Obtain the classification ranking value Qe of the same type of query records. The classification ranking value Qe is obtained by the following steps: Use the formula Qe=Dm×c2-Zc×c1+Sw×c3+Xf×c4 to obtain the classification ranking value Qe, where c1 is the query low standard value coefficient, c2 is the query high standard value coefficient, c3 is the same type of query average length coefficient, c4 is the same type of query quantity coefficient, c1 is 0.86, c2 is 0.87, c3 is 0.54, and c4 is 0.43. Sort the same type of query records of different medical data types from large to small according to the numerical value of the classification ranking value, and display the titles of different medical data types in the system terminal interface in the sorting order. For example, there are four medical data types, namely case data, prescription data, drug data, and clinical trial data. According to the numerical value of the classification ranking value, they are sorted from large to small as case data, drug data, prescription data, and clinical trial data. Then, the above title names are displayed in the system terminal interface in the order of case data, drug data, prescription data, and clinical trial data. By setting up a classification display module, the titles of different medical data types can be displayed in sequence on the system terminal interface. On the basis of the classification management of different types of medical data, it is convenient for subsequent operators to query the corresponding type of medical data.
[0035] Example 2
[0036] Reference Figure 2-Figure 3 , based on Example 1, further comprising a classification encryption module, the classification encryption module is used to perform different levels of encryption processing on different types of medical data, specifically:
[0037] Step 1: Sort all similar query records in the order of the query start time and the query end time to obtain the similar query interval Zb. The similar query interval Zb is obtained by the following steps: mark the query start time of the similar query records that are adjacent and ranked first after sorting as Ed, mark the query end time of the similar query records that are adjacent and ranked first after sorting as Ea, mark the query start time of the similar query records that are adjacent and ranked later after sorting as Rd, and mark the query end time of the similar query records that are adjacent and ranked later after sorting as Ra. Use the formula The same type query interval Zb is obtained, where d1 is the query start interval coefficient, d2 is the query end interval coefficient, the value of d1 is 0.79, and the value of d2 is 0.78. Set each similar query interval Zb to correspond to a general query interval, compare the similar query interval with the general query interval, when the similar query interval ≤ the general query interval, mark the similar query interval as a low general query interval, and obtain the low general query value Hn, the low general query value Hn is obtained by the following steps: calculate the difference between the general query interval and the low general query interval to obtain the low general interval difference, sum all the low general interval differences to obtain the total difference of the low general interval, and mark it as Nt, obtain the total number of times the similar query interval is marked as the low general query interval, and mark it as Uy, and use the formula Hn=Nt×x1+Uy×x2 to obtain the low general query value Hn, where x1 is the total difference coefficient of the low general interval, x2 is the coefficient of the number of low general queries, the value of x1 is 0.32, and the value of x2 is 0.41. When the similar query interval>the general query interval, mark the similar query interval as a super general query interval, and obtain the super general query value Fk. The super-common query value Fk is obtained through the following steps: calculate the difference between the super-common query interval and the standard query interval to obtain the super-common interval difference, sum up all the super-common interval differences to obtain the total super-common interval difference, and mark it as Cv, obtain the total number of times the same type of query interval is marked as a super-common query interval, and mark it as La, and use the formula Fk=Cv×y1+La×y2 to obtain the super-common query value Fk, where y1 is the super-common interval total difference coefficient, y2 is the super-common query number coefficient, the value of y1 is 0.31, and the value of y2 is 0.42.
[0038] Step 2: Obtain the classified encryption value Rq. The classified encryption value Rq is obtained by the following steps: Use the formula Rq = Hn × z1-Fk × z2 to obtain the classified encryption value Rq, where z1 is the low-general query value coefficient, z2 is the super-general query value coefficient, the value of z1 is 0.54, and the value of z2 is 0.53. Set the classified encryption high value to Gm, and set the classified encryption low value to Ap. When the classified encryption value Rq ≥ the classified encryption high value Gm, the medical data of this type is subjected to advanced encryption processing. When the classified encryption low value Ap ≤ the classified encryption value Rq < the classified encryption high value Gm, the medical data of this type is subjected to intermediate encryption processing. When the classified encryption value Rq < the classified encryption low value Ap, the medical data of this type is subjected to low-level encryption processing. Setting the classified encryption module can perform different levels of encryption processing on different types of medical data to ensure that each type of medical data can be encrypted relatively reasonably.
[0039] Working principle:
[0040] By setting up a classification display module, the titles of different medical data types can be displayed in sequence on the system terminal interface. On the basis of the classification management of different types of medical data, it is convenient for subsequent operators to query the corresponding types of medical data. By setting up a classification encryption module, different levels of encryption processing can be performed on different types of medical data to ensure that each type of medical data can be encrypted relatively reasonably.
[0041] The above is only a preferred embodiment of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of this template.
[0042] In the description of the present invention, it should be understood that the terms "upper", "lower", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, and a specific direction structure and operation, and therefore, cannot be understood as a limitation on the present invention. In addition, "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0043] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A medical data classification management system, characterized in that: It includes data acquisition module, classification display module and classification encryption module; The data collection module is used to collect query records of medical data and send the collected query records to the server for storage; The classification display module is used to display the titles of different medical data types in sequence on the system terminal interface, specifically: Step 1: Obtain the medical data type corresponding to the query record, mark the query records of the same medical data type as the same query record, calculate the time difference between the query end time and the query start time of the same query record, obtain the same query duration, set each same query duration to correspond to a query standard duration, compare the same query duration with the query standard duration, when the same query duration is less than the query standard duration, mark the same query duration as the query low standard duration, and obtain the query low standard value Zc, when the same query duration is greater than or equal to the query standard duration, mark the same query duration as the query high standard duration, and obtain the query high standard value Dm; Step 2: Sum and average the query durations of all query records of the same type, obtain the average query duration of the same type, and mark it as Sw, and obtain the total number of query records of the same type, and mark it as Xf; Step 3: Obtain the classification ranking value Qe of the same type of query records, sort the same type of query records of different medical data types from large to small according to the numerical value of the classification ranking value, and display the titles of different medical data types in the system terminal interface in the sorting order; The classification encryption module is used to perform different levels of encryption processing on different types of medical data, specifically: Step 1: Sort all similar query records in the order of the query start time and the query end time, obtain the similar query interval Zb, set each similar query interval Zb to correspond to a general standard query interval, compare the similar query interval with the general standard query interval, when the similar query interval ≤ the general standard query interval, mark the similar query interval as a low general query interval, and obtain the low general query value Hn, when the similar query interval > the general standard query interval, mark the similar query interval as a super general query interval, and obtain the super general query value Fk; Step 2: Obtain the classified encryption value Rq, set the classified encryption high value to Gm, set the classified encryption low value to Ap, when the classified encryption value Rq≥the classified encryption high value Gm, perform high-level encryption processing on the medical data of this type, when the classified encryption low value Ap≤the classified encryption value Rq<the classified encryption high value Gm, perform medium-level encryption processing on the medical data of this type, when the classified encryption value Rq<the classified encryption low value Ap, perform low-level encryption processing on the medical data of this type; The query record includes the type of medical data, query start time, and query end time; The query low standard value Zc is obtained by the following steps: Calculate the difference between the query standard duration and the query low standard duration to obtain the query low standard time difference, mark it as Wi, set the query low standard time difference coefficient to Bh, and use the formula Get the total low-standard value Gp, where i is the number of times the same query duration is marked as the query low-standard duration. Sort the query low-standard duration in the order of the corresponding query start time, calculate the time difference between the two adjacent query start times after sorting, and get the low-standard query interval. Sum all the low-standard query intervals and take the average to get the low-standard query average interval, which is marked as Ak. Use the formula The query low standard value Zc is obtained, where a1 is the low standard total value coefficient, and a2 is the low standard query average interval coefficient; The query high standard value Dm is obtained by the following steps: Calculate the difference between the query high standard duration and the query standard duration to obtain the query high standard time difference, and mark it as Cj, set the query high standard time difference coefficient to Fv, and use the formula The total high-standard value Sr is obtained, where j is the number of times the same type of query duration is marked as the query high-standard duration. The query high-standard duration is sorted in the chronological order of the corresponding query start time, and the time difference between the two adjacent query start times after sorting is calculated to obtain the high-standard query interval. All high-standard query intervals are summed and averaged to obtain the high-standard query average interval, which is marked as Yb. The formula is used The query high standard value Dm is obtained, where b1 is the high standard total value coefficient, and b2 is the high standard query average interval coefficient; The classification ranking value Qe is obtained by the following steps: the classification ranking value Qe is obtained by using the formula Qe=Dm×c2-Zc×c1+Sw×c3+Xf×c4, where c1 is the query low standard value coefficient, c2 is the query high standard value coefficient, c3 is the average length coefficient of the same type of query, and c4 is the number coefficient of the same type of query; The similar query interval Zb is obtained by the following steps: mark the query start time of the similar query records that are adjacent and ranked first after sorting as Ed, mark the query end time of the similar query records that are adjacent and ranked first after sorting as Ea, mark the query start time of the similar query records that are adjacent and ranked later after sorting as Rd, and mark the query end time of the similar query records that are adjacent and ranked later after sorting as Ra. Obtain the same type of query interval Zb, where d1 is the query start interval coefficient and d2 is the query end interval coefficient; The low-common query value Hn is obtained by the following steps: the difference between the standard query interval and the low-common query interval is calculated to obtain the low-common interval difference, all the low-common interval differences are summed to obtain the total difference of the low-common interval, and marked as Nt, the total number of times the same query interval is marked as the low-common query interval is obtained, and marked as Uy, and the low-common query value Hn is obtained by using the formula Hn=Nt×x1+Uy×x2, where x1 is the total difference coefficient of the low-common interval, and x2 is the coefficient of the number of low-common queries; The super-common query value Fk is obtained by the following steps: calculating the difference between the super-common query interval and the standard query interval to obtain the super-common interval difference, summing up all the super-common interval differences to obtain the super-common interval total difference, and marking it as Cv, obtaining the total number of times the same query interval is marked as the super-common query interval, and marking it as La, and using the formula Fk=Cv×y1+La×y2 to obtain the super-common query value Fk, where y1 is the super-common interval total difference coefficient, and y2 is the super-common query number coefficient; The classified encrypted value Rq is obtained by the following steps: the classified encrypted value Rq is obtained by using the formula Rq=Hn×z1-Fk×z2, wherein z1 is the low-common query value coefficient and z2 is the super-common query value coefficient.
