A reference interval construction method and device
Through multi-step data preprocessing and multiple algorithm combinations, the problem of poor reliability of reference interval construction in the prior art is solved, and a more accurate and privacy-protected reference interval construction is achieved to adapt to different data distributions.
Patent Information
- Application Number
- CN202310401826.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-04-14
AI Technical Summary
The reference interval construction method of existing laboratory test projects is based on a single algorithm, which leads to poor reliability and inability to effectively handle abnormal and private data. It is difficult to accurately construct reference intervals when the data distribution does not conform to normal.
Through data deduplication, abnormal filtering, effective data filtering and deprivatisation processing, we can determine whether the data complies with normal distribution, and use multiple reference interval algorithms to calculate and filter out the target reference interval. If it does not comply with normal conditions, data conversion processing will be carried out.
The reliability and effectiveness of reference interval construction are improved, and through multiple filtering and algorithm combination, the accuracy and privacy protection of data are enhanced to adapt to different data distributions.
Smart Images

Figure CN116580800B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a reference interval construction method and device, and belongs to the field of data analysis. Background Art
[0002] The reference interval of laboratory test items usually refers to the 95% central distribution of reference values measured in healthy individuals. It is a basic scale for interpreting test results and analyzing test information. It is indispensable in clinical medical evaluation and decision-making, and provides an analytical basis for disease diagnosis, prognosis, efficacy evaluation and health monitoring.
[0003] However, the reference intervals currently used in most laboratories are constructed based on reference test data using a single reference interval algorithm. The construction method is single, resulting in poor reliability in the construction of reference intervals. Summary of the invention
[0004] The present invention provides a reference interval construction method, device and computer-readable storage medium, the main purpose of which is to improve the reliability of reference interval construction.
[0005] To achieve the above object, the present invention provides a reference interval construction method, comprising:
[0006] Obtain the test data set of the target experimental project;
[0007] Performing data deduplication processing on the test data set to obtain a first test data set;
[0008] Screening the first test data set for abnormal data to obtain a second test data set;
[0009] Screening the second test data set for valid data to obtain a third test data set;
[0010] Performing data de-privacy processing on the third test data set to obtain a target test data set;
[0011] Determine whether all test values in the target test data set conform to a normal distribution;
[0012] When all the test values in the target test data set conform to a normal distribution, a plurality of preset reference interval algorithms are used to perform calculations based on all the test values in the target test data set to obtain reference intervals corresponding to each of the reference interval algorithms;
[0013] Calculating the difference between each of the reference intervals and a preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all of the reference intervals according to all of the difference results to obtain a target reference interval of the target experimental item;
[0014] When all the test values in the target test data set do not conform to the normal distribution, performing data normality transformation on each of the test values to obtain a corresponding transformed test value;
[0015] Using a plurality of preset reference interval algorithms respectively, and performing calculations based on all the conversion test values, to obtain conversion reference intervals corresponding to each of the reference interval algorithms;
[0016] The converted reference interval is converted and restored to obtain a corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
[0017] Optionally, screening the first test data set for abnormal data to obtain a second test data set includes:
[0018] Determining the test data of which the data of the preset data type in the first test data set is empty as abnormal test data;
[0019] All abnormal test data in the first test data set are deleted to obtain the second test data set.
[0020] Optionally, the performing effective data screening on the second test data set to obtain a third test data set includes:
[0021] Identifying the inspection data in the second inspection data set that does not meet the preset valid data screening rule to obtain invalid inspection data;
[0022] All invalid inspection data in the second inspection data set are deleted to obtain a third inspection data set.
[0023] Optionally, performing data de-privacy processing on the third test data set to obtain a target test data set includes:
[0024] Obtain all privacy data types that require privacy processing;
[0025] Identify data corresponding to each type of the privacy data in the third verification data set, and delete all identified data to obtain a target verification data set.
[0026] Optionally, performing data de-privacy processing on the third test data set to obtain a target test data set includes:
[0027] Obtain all privacy data types that require privacy processing and the corresponding encryption rules;
[0028] The data corresponding to each type of privacy data in the identified third verification data set is encrypted using the encryption rules corresponding to each type of privacy data in the identified third verification data set to obtain the target verification data set.
[0029] Optionally, the determining whether all test values in the target test data set conform to a normal distribution includes:
[0030] Calculate the kurtosis coefficient of all test values in the target test data set;
[0031] Calculate the skewness coefficient of all test values in the target test data set;
[0032] Calculate based on the kurtosis coefficient and the skewness coefficient to obtain a normal distribution evaluation value;
[0033] When the normal distribution evaluation value is greater than a preset normal distribution evaluation threshold, all test values in the target test data set do not conform to the normal distribution;
[0034] When the normal distribution evaluation value is not greater than a preset normal distribution evaluation threshold, all test values in the target test data set conform to the normal distribution.
[0035] Optionally, the determining whether all test values in the target test data set conform to a normal distribution includes:
[0036] Calculate the mean and standard deviation of all test values in the target test data set;
[0037] Based on the mean and the standard deviation, using the cumulative distribution function of the normal distribution, the theoretical cumulative probability corresponding to each test value in each of the target test data sets is calculated;
[0038] Sorting all test values in the target test data set, and calculating the actual cumulative probability corresponding to each test value in the target test data set;
[0039] Calculate the difference between the theoretical cumulative probability and the actual cumulative probability corresponding to each test value in the target test data set to obtain the test difference corresponding to each test value in the target test data set;
[0040] When the largest test difference is greater than a preset critical value, all test values in the target test data set do not conform to a normal distribution;
[0041] When the largest test difference is not greater than a preset critical value, all test values in the target test data set conform to a normal distribution.
[0042] Optionally, calculating the difference between each of the reference intervals and a preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all the reference intervals according to all the difference results to obtain a target reference interval of the target experimental item includes:
[0043] Calculating the relative deviation value between each reference interval and the set reference interval;
[0044] Obtaining a reference change value of the target experimental item;
[0045] Screening a relative deviation value that is smaller than the reference change value to obtain an initial relative deviation value;
[0046] Determine the minimum initial relative deviation value as the target relative deviation value;
[0047] The reference interval corresponding to the target relative deviation value is determined as the target reference interval.
[0048] Optionally, performing a data normality transformation on each of the test values to obtain a corresponding transformed test value includes:
[0049] The conversion test value is calculated using the following formula:
[0050]
[0051] Among them, x is the test value, m is a preset transformation parameter, and y is the converted test value corresponding to the test value x.
[0052] In order to solve the above problems, the present invention also provides a reference interval construction device, the device comprising:
[0053] A data acquisition module is used to obtain a test data set for a target experimental project;
[0054] A data screening module is used to perform data deduplication processing on the test data set to obtain a first test data set; perform abnormal data screening on the first test data set to obtain a second test data set; perform valid data screening on the second test data set to obtain a third test data set; perform data de-privacy processing on the third test data set to obtain a target test data set;
[0055] A target reference interval construction module is used to determine whether all the test values in the target test data set conform to the normal distribution; when all the test values in the target test data set conform to the normal distribution, a plurality of preset reference interval algorithms are used respectively to perform calculations based on all the test values in the target test data set to obtain the reference interval corresponding to each of the reference interval algorithms; the difference between each of the reference intervals and the preset reference interval of the target experimental item is calculated to obtain the corresponding difference result, and all the reference intervals are screened according to all the difference results to obtain the target reference interval of the target experimental item; when all the test values in the target test data set do not conform to the normal distribution, data normality conversion is performed on each of the test values to obtain the corresponding converted test value; a plurality of preset reference interval algorithms are used respectively to perform calculations based on all the converted test values to obtain the converted reference interval corresponding to each of the reference interval algorithms; the converted reference interval is converted and restored to obtain the corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
[0056] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0057] at least one processor; and,
[0058] a memory communicatively connected to the at least one processor; wherein,
[0059] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the reference interval construction method described above.
[0060] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the reference interval construction method described above.
[0061] Compared with the problem described in the background technology, the embodiment of the present invention performs data deduplication processing on the test data set to obtain a first test data set; screens abnormal data on the first test data set to obtain a second test data set; screens valid data on the second test data set to obtain a third test data set; performs data privacy removal processing on the third test data set to obtain a target test data set; uses a plurality of preset reference interval algorithms respectively, calculates based on all the test values in the target test data set, and obtains the reference interval corresponding to each reference interval algorithm; calculates the difference between each reference interval and the preset reference interval of the target experimental project, obtains the corresponding difference result, and screens all the reference intervals according to all the difference results to obtain the target reference interval of the target experimental project; multiple screening of data improves the validity of the data, thereby improving the validity of the reference interval constructed based on the screened data, and at the same time uses multiple reference interval algorithms to construct multiple reference intervals, and then screens a more reliable reference interval as the target reference interval, and the reference interval construction is more reliable than using only a single construction method to construct a reference interval as the target reference interval. Therefore, the reference interval construction method, device, electronic device and computer-readable storage medium proposed in the present invention are mainly intended to improve the reliability of reference interval construction. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A schematic diagram of a reference interval construction method provided in one embodiment of the present invention;
[0063] Figure 2 A functional module diagram of a reference interval construction device provided by an embodiment of the present invention;
[0064] Figure 3 A schematic diagram of the structure of an electronic device for implementing the reference interval construction method provided in one embodiment of the present invention.
[0065] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0066] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0067] The embodiment of the present application provides a reference interval construction method. The execution subject of the reference interval construction method includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the reference interval construction method can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0068] Example:
[0069] Referring to the figure, a flow chart of a reference interval construction method provided in an embodiment of the present invention is shown. In this embodiment, the reference interval construction method includes:
[0070] , obtain the test data set of the target experimental project;
[0071] The target experimental item in the embodiment of the present invention is a laboratory test item (such as thyroid stimulating hormone detection) that requires reference interval construction, and the test data set is a collection of different test data. The test data is user test information of the target experimental item, including: test subject information (such as name, gender, age, test date) and test value (such as: the target experimental item is thyroid stimulating hormone detection, and the test value is the TSH (TyoSmulngomone) test value of the test subject).
[0072] S2, performing data deduplication processing on the test data set to obtain a first test data set;
[0073] In the embodiment of the present invention, the test data set may contain identical data. In order to reduce the impact of duplicate data on subsequent data processing, the test data set is deduplicated to remove duplicate data in the test data set to obtain a first test data set.
[0074] The embodiment of the present invention does not limit the deduplication processing method.
[0075] S3, screening the first test data set for abnormal data to obtain a second test data set;
[0076] In order to reduce the impact of abnormal data on subsequent data processing in the embodiment of the present invention, the first test data set is screened for abnormal data to obtain a second test data set.
[0077] The abnormal data in the embodiment of the present invention is mainly incomplete test data. Specifically, the abnormal data screening of the first test data set to obtain the second test data set in the embodiment of the present invention includes:
[0078] Determining the test data of which the data of the preset data type in the first test data set is empty as abnormal test data;
[0079] All abnormal test data in the first test data set are deleted to obtain the second test data set.
[0080] Specifically, in the embodiment of the present invention, the data types are all data types that should be included in the test data, such as name, test value, etc., corresponding to the data types included in S.
[0081] S4, screening the second test data set for valid data to obtain a third test data set;
[0082] The data required for constructing the reference interval in the embodiments of the present invention may have different valid data screening rules depending on the specificity of the research, such as: test data of all male testers, test data of all female testers, test data of all adult testers, and test data of testers aged between 18 and 90.
[0083] In the embodiment of the present invention, the inspection data in the second inspection data set that does not meet the preset valid data screening rule is identified to obtain invalid inspection data; all invalid inspection data in the second inspection data set are deleted to obtain a third inspection data set.
[0084] S5, performing data de-privacy processing on the third test data set to obtain a target test data set;
[0085] In order to ensure that the private data in the third verification data set is not leaked, the embodiment of the present invention performs data de-privacy processing on the first verification data set to obtain the target verification data set.
[0086] In detail, in the embodiment of the present invention, data privacy protection is performed on the third test data set to obtain a target test data set, including:
[0087] Obtain all privacy data types that require privacy processing;
[0088] Identify data corresponding to each type of the privacy data in the third verification data set, and delete all identified data to obtain a target verification data set.
[0089] In another embodiment of the present invention, performing data de-privacy processing on the third test data set to obtain a target test data set includes:
[0090] Obtain all privacy data types that require privacy processing and the corresponding encryption rules;
[0091] The data corresponding to each type of privacy data in the identified third verification data set is encrypted using the encryption rules corresponding to each type of privacy data in the identified third verification data set to obtain the target verification data set.
[0092] The type of privacy data in the embodiment of the present invention may be name, mobile phone number, address, etc., and the encryption rule may be encryption operation processing such as character masking.
[0093] S6, determining whether all test values in the target test data set conform to a normal distribution;
[0094] In this field, it is believed that the test values of the target experimental items of a large number of users should present a normal distribution curve, the test value differences of most users are small, and the number of users with large test value differences is small. Therefore, in order to better calculate the reference interval, it is determined whether all the test values in the target test data set conform to the normal distribution, so that when they do not conform to the normal distribution, the test values are further converted to conform to the normal distribution.
[0095] In detail, in the embodiment of the present invention, determining whether all test values in the target test data set conform to a normal distribution includes:
[0096] Calculate the kurtosis coefficient of all test values in the target test data set;
[0097] Calculate the skewness coefficient of all test values in the target test data set;
[0098] Calculate based on the kurtosis coefficient and the skewness coefficient to obtain a normal distribution evaluation value;
[0099] When the normal distribution evaluation value is greater than a preset normal distribution evaluation threshold, all test values in the target test data set do not conform to the normal distribution;
[0100] When the normal distribution evaluation value is not greater than a preset normal distribution evaluation threshold, all test values in the target test data set conform to the normal distribution.
[0101] Specifically, the normal distribution evaluation value described in the embodiment of the present invention can be a Z-score (Z-score) of the kurtosis coefficient and the skewness coefficient. Optionally, the normal distribution evaluation value described in the embodiment of the present invention can also be (|skewness coefficient|+|kurtosis coefficient-3|).
[0102] Furthermore, in another embodiment of the present invention, determining whether all test values in the target test data set conform to a normal distribution includes:
[0103] Calculate the mean and standard deviation of all test values in the target test data set;
[0104] Based on the mean and the standard deviation, using the cumulative distribution function of the normal distribution, the theoretical cumulative probability corresponding to each test value in each of the target test data sets is calculated;
[0105] Sorting all test values in the target test data set, and calculating the actual cumulative probability corresponding to each test value in the target test data set;
[0106] Calculate the difference between the theoretical cumulative probability and the actual cumulative probability corresponding to each test value in the target test data set to obtain the test difference corresponding to each test value in the target test data set;
[0107] When the largest test difference is greater than a preset critical value, all test values in the target test data set do not conform to a normal distribution;
[0108] When the largest test difference is not greater than a preset critical value, all test values in the target test data set conform to a normal distribution.
[0109] The critical value in the embodiment of the present invention is a numerical value artificially set according to the amount of test data in the target test data set and the significance level of the target experimental item.
[0110] S7. When all the test values in the target test data set conform to the normal distribution, a plurality of preset reference interval algorithms are used to perform calculations based on all the test values in the target test data set to obtain reference intervals corresponding to each of the reference interval algorithms;
[0111] The reference interval algorithm is not limited in the embodiments of the present invention, including but not limited to: non-parametric method and Hoffmann method.
[0112] S8, calculating the difference between each reference interval and the preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all the reference intervals according to all the difference results to obtain a target reference interval of the target experimental item;
[0113] In detail, in an embodiment of the present invention, in order to verify whether the reference interval has actual reference value, the difference between each reference interval and a preset reference interval of the target experimental item is calculated to obtain a corresponding difference result, and all the reference intervals are screened according to all the difference results to obtain the target reference interval of the target experimental item.
[0114] Calculating the relative deviation value between each reference interval and the set reference interval;
[0115] Obtaining a reference change value of the target experimental item;
[0116] Screening a relative deviation value that is smaller than the reference change value to obtain an initial relative deviation value;
[0117] Determine the minimum initial relative deviation value as the target relative deviation value;
[0118] The reference interval corresponding to the target relative deviation value is determined as the target reference interval.
[0119] In the embodiment of the present invention, the reference change value is the RCV (Reference Change Value) of the target experimental item, and the set reference interval can be the current reference interval of the laboratory, or the test reference interval marked with the instruction number of the detection reagent used for the target experimental item.
[0120] Furthermore, an embodiment of the present invention uses the target reference interval as a reference interval constructed for the target experimental item, and sends the target reference interval to a terminal device of a person who constructs a preset reference interval. The terminal device may be a smart terminal such as a mobile phone, computer, or tablet.
[0121] S9, when all the test values in the target test data set do not conform to the normal distribution, perform data normality transformation on each of the test values to obtain a corresponding transformed test value;
[0122] The test values in the target test data set described in the embodiment of the present invention do not conform to the normal distribution. In order to make the data conform to the normal distribution, the reference interval is calculated, and the data normality transformation is performed on each of the test values to obtain the corresponding transformed test value.
[0123] Specifically, in the embodiment of the present invention, the following formula is used to perform data normality transformation on each of the test values to obtain the corresponding transformed test value:
[0124]
[0125] Among them, x is the test value, m is a preset transformation parameter, and y is the converted test value corresponding to the test value x.
[0126] S0, respectively using a plurality of preset reference interval algorithms to perform calculations based on all the conversion test values to obtain a conversion reference interval corresponding to each of the reference interval algorithms;
[0127] The reference interval algorithm described in the embodiment of the present invention is consistent with S7 and will not be repeated here.
[0128] S. Convert and restore the converted reference interval to obtain a corresponding reference interval, and return to step S8.
[0129] The conversion reference interval in the embodiment of the present invention corresponds to the range of test values after normality conversion. In order to convert the conversion reference interval into a normal test value range, the conversion reference interval is converted and restored to obtain the corresponding reference interval.
[0130] In detail, the conversion reference interval is converted and restored in the embodiment of the present invention to obtain a corresponding reference interval;
[0131] Performing an inverse normal transformation on the left endpoint of the conversion reference interval to obtain a first interval endpoint;
[0132] Performing an inverse normal transformation on the right endpoint of the conversion reference interval to obtain a second interval endpoint;
[0133] The first interval endpoint and the second interval endpoint are used as endpoints to construct a closed interval to obtain the reference interval.
[0134] In detail, the embodiment of the present invention can use the following formula to perform an inverse normal transformation on the left endpoint of the conversion reference interval:
[0135]
[0136] Among them, a is the left endpoint of the conversion reference interval, b is the endpoint of the first interval, and m is a preset transformation parameter.
[0137] Embodiment 2:
[0138] like Figure 2 , which is a functional module diagram of a reference interval construction device provided in one embodiment of the present invention.
[0139] The reference interval construction device 00 of the present invention can be installed in an electronic device. According to the functions to be implemented, the reference interval construction device 00 can include a data acquisition module 0, a data screening module 02, and a target reference interval construction module 03. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0140] The data acquisition module 101 is used to acquire a test data set of a target experimental project;
[0141] The data screening module 102 is used to perform data deduplication processing on the test data set to obtain a first test data set; perform abnormal data screening on the first test data set to obtain a second test data set; perform valid data screening on the second test data set to obtain a third test data set; perform data de-privacy processing on the third test data set to obtain a target test data set;
[0142] The target reference interval construction module 103 is used to determine whether all the test values in the target test data set conform to the normal distribution; when all the test values in the target test data set conform to the normal distribution, a plurality of preset reference interval algorithms are used respectively to calculate based on all the test values in the target test data set to obtain the reference interval corresponding to each of the reference interval algorithms; the difference between each of the reference intervals and the preset reference interval of the target experimental item is calculated to obtain the corresponding difference result, and all the reference intervals are screened according to all the difference results to obtain the target reference interval of the target experimental item; when all the test values in the target test data set do not conform to the normal distribution, data normality conversion is performed on each of the test values to obtain the corresponding converted test value; a plurality of preset reference interval algorithms are used respectively to calculate based on all the converted test values to obtain the converted reference interval corresponding to each of the reference interval algorithms; the converted reference interval is converted and restored to obtain the corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
[0143] In detail, the modules in the reference interval construction device 100 in the embodiment of the present invention are used in the same manner as described above. Figure 1 The reference interval construction method described in the present invention is a technical method that is similar to the one described in the present invention and can produce the same technical effect, so it will not be repeated here.
[0144] Embodiment 3:
[0145] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing a reference interval construction method provided by an embodiment of the present invention.
[0146] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a reference interval construction program.
[0147] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (SmartM edia Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the reference interval construction program, but also can be used to temporarily store data that has been output or is to be output.
[0148] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as reference interval construction programs, etc.) stored in the memory 11, and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0149] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0150] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0151] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0152] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0153] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0154] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0155] The reference interval construction program stored in the memory of the electronic device is a combination of multiple instructions, and when executed in the processor 0, it can achieve:
[0156] Obtain the test data set of the target experimental project;
[0157] Performing data deduplication processing on the test data set to obtain a first test data set;
[0158] Screening the first test data set for abnormal data to obtain a second test data set;
[0159] Screening the second test data set for valid data to obtain a third test data set;
[0160] Performing data de-privacy processing on the third test data set to obtain a target test data set;
[0161] Determine whether all test values in the target test data set conform to a normal distribution;
[0162] When all the test values in the target test data set conform to a normal distribution, a plurality of preset reference interval algorithms are used to perform calculations based on all the test values in the target test data set to obtain reference intervals corresponding to each of the reference interval algorithms;
[0163] Calculating the difference between each of the reference intervals and a preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all of the reference intervals according to all of the difference results to obtain a target reference interval of the target experimental item;
[0164] When all the test values in the target test data set do not conform to the normal distribution, performing data normality transformation on each of the test values to obtain a corresponding transformed test value;
[0165] Using a plurality of preset reference interval algorithms respectively, and performing calculations based on all the conversion test values, to obtain conversion reference intervals corresponding to each of the reference interval algorithms;
[0166] The converted reference interval is converted and restored to obtain a corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
[0167] Specifically, the specific implementation method of the processor 0 for the above instructions can refer to Figures 1 to 3. Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0168] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0169] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0170] Obtain the test data set of the target experimental project;
[0171] Performing data deduplication processing on the test data set to obtain a first test data set;
[0172] Screening the first test data set for abnormal data to obtain a second test data set;
[0173] Screening the second test data set for valid data to obtain a third test data set;
[0174] Performing data de-privacy processing on the third test data set to obtain a target test data set;
[0175] Determine whether all test values in the target test data set conform to a normal distribution;
[0176] When all the test values in the target test data set conform to a normal distribution, a plurality of preset reference interval algorithms are used to perform calculations based on all the test values in the target test data set to obtain reference intervals corresponding to each of the reference interval algorithms;
[0177] Calculating the difference between each of the reference intervals and a preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all of the reference intervals according to all of the difference results to obtain a target reference interval of the target experimental item;
[0178] When all the test values in the target test data set do not conform to the normal distribution, performing data normality transformation on each of the test values to obtain a corresponding transformed test value;
[0179] Using a plurality of preset reference interval algorithms respectively, and performing calculations based on all the conversion test values, to obtain conversion reference intervals corresponding to each of the reference interval algorithms;
[0180] The converted reference interval is converted and restored to obtain a corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
[0181] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0182] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0183] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for constructing a reference interval. It is characterized in that The method comprises: Obtain the test data set of the target experimental project; Performing data deduplication processing on the test data set to obtain a first test data set; Screening the first test data set for abnormal data to obtain a second test data set; Screening the second test data set for valid data to obtain a third test data set; Performing data de-privacy processing on the third test data set to obtain a target test data set; Determine whether all test values in the target test data set conform to a normal distribution; When all the test values in the target test data set conform to a normal distribution, a plurality of preset reference interval algorithms are used to perform calculations based on all the test values in the target test data set to obtain reference intervals corresponding to each of the reference interval algorithms; Calculating the difference between each of the reference intervals and a preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all of the reference intervals according to all of the difference results to obtain a target reference interval of the target experimental item; When all the test values in the target test data set do not conform to the normal distribution, performing data normality transformation on each of the test values to obtain a corresponding transformed test value; The step of performing data normality transformation on each of the test values comprises: The conversion test value is calculated using the following formula: ; Wherein, x is the test value, m is a preset transformation parameter, and y is a conversion test value corresponding to the test value x; Using a plurality of preset reference interval algorithms respectively, and performing calculations based on all the conversion test values, to obtain conversion reference intervals corresponding to each of the reference interval algorithms; The converted reference interval is converted and restored to obtain a corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned.
2. The reference interval construction method according to claim 1, It is characterized in that The step of screening the first test data set for abnormal data to obtain a second test data set includes: Determining the test data of which the data of the preset data type in the first test data set is empty as abnormal test data; All abnormal test data in the first test data set are deleted to obtain the second test data set.
3. The reference interval construction method according to claim 1, It is characterized in that The step of screening the second test data set for valid data to obtain a third test data set includes: Identifying the inspection data in the second inspection data set that does not meet the preset valid data screening rule to obtain invalid inspection data; All invalid inspection data in the second inspection data set are deleted to obtain a third inspection data set.
4. The reference interval construction method according to claim 1, It is characterized in that The performing data de-privacy processing on the third inspection data set to obtain a target inspection data set includes: Obtain all privacy data types that require privacy processing; Identify data corresponding to each type of the privacy data in the third verification data set, and delete all identified data to obtain a target verification data set.
5. The reference interval construction method according to claim 1, It is characterized in that The performing data de-privacy processing on the third inspection data set to obtain a target inspection data set includes: Obtain all privacy data types that require privacy processing and the corresponding encryption rules; The data corresponding to each type of privacy data in the identified third verification data set is encrypted using the encryption rules corresponding to each type of privacy data in the identified third verification data set to obtain the target verification data set.
6. The reference interval construction method according to claim 1, It is characterized in that The determining whether all test values in the target test data set conform to a normal distribution includes: Calculate the kurtosis coefficient of all test values in the target test data set; Calculate the skewness coefficient of all test values in the target test data set; Calculate based on the kurtosis coefficient and the skewness coefficient to obtain a normal distribution evaluation value; When the normal distribution evaluation value is greater than a preset normal distribution evaluation threshold, all test values in the target test data set do not conform to the normal distribution; When the normal distribution evaluation value is not greater than a preset normal distribution evaluation threshold, all test values in the target test data set conform to the normal distribution.
7. The reference interval construction method according to claim 1, It is characterized in that The determining whether all test values in the target test data set conform to a normal distribution includes: Calculate the mean and standard deviation of all test values in the target test data set; Based on the mean and the standard deviation, using the cumulative distribution function of the normal distribution, the theoretical cumulative probability corresponding to each test value in each of the target test data sets is calculated; Sort all the test values in the target test data set, and calculate the actual cumulative probability corresponding to each test value in the target test data set; Calculate the difference between the theoretical cumulative probability and the actual cumulative probability corresponding to each test value in the target test data set to obtain the test difference corresponding to each test value in the target test data set; When the largest test difference is greater than a preset critical value, all test values in the target test data set do not conform to a normal distribution; When the largest test difference is not greater than a preset critical value, all test values in the target test data set conform to a normal distribution.
8. The reference interval construction method according to claim 1, It is characterized in that The calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item to obtain a corresponding difference result, and screening all the reference intervals according to all the difference results to obtain a target reference interval of the target experimental item, comprises: Calculating the relative deviation value between each reference interval and the set reference interval; Obtaining a reference change value of the target experimental item; Screening a relative deviation value that is smaller than the reference change value to obtain an initial relative deviation value; Determine the minimum initial relative deviation value as the target relative deviation value; The reference interval corresponding to the target relative deviation value is determined as the target reference interval.
9. A reference interval construction device, It is characterized in that The device comprises: A data acquisition module is used to obtain a test data set for a target experimental project; A data screening module is used to perform data deduplication processing on the test data set to obtain a first test data set; perform abnormal data screening on the first test data set to obtain a second test data set; perform valid data screening on the second test data set to obtain a third test data set; perform data de-privacy processing on the third test data set to obtain a target test data set; A target reference interval construction module is used to determine whether all the test values in the target test data set conform to the normal distribution; when all the test values in the target test data set conform to the normal distribution, a plurality of preset reference interval algorithms are used respectively to calculate based on all the test values in the target test data set to obtain the reference interval corresponding to each of the reference interval algorithms; the difference between each of the reference intervals and the preset reference interval of the target experimental item is calculated to obtain the corresponding difference result, and all the reference intervals are screened according to all the difference results to obtain the target reference interval of the target experimental item; when all the test values in the target test data set do not conform to the normal distribution, data normality conversion is performed on each of the test values to obtain the corresponding converted test value; a plurality of preset reference interval algorithms are used respectively to calculate based on all the converted test values to obtain the converted reference interval corresponding to each of the reference interval algorithms; the converted reference interval is converted and restored to obtain the corresponding reference interval, and the step of calculating the difference between each of the reference intervals and the preset reference interval of the target experimental item is returned, and the step of performing data normality conversion on each of the test values includes calculating the converted test value using the following formula: ; Among them, x is the test value, m is a preset transformation parameter, and y is a converted test value corresponding to the test value x.
