Abnormal data determination method and device, electronic equipment and storage medium
Through the combination of feature correlation analysis of data and the isolation forest algorithm, data anomalies can be quickly identified, which solves the problem of slow detection of high-dimensional data in the existing technology and achieves efficient abnormal data identification.
Patent Information
- Application Number
- CN202411017766.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-08-30
AI Technical Summary
Existing abnormal data detection methods require manual analysis of high-dimensional data one by one, making the process slow and cumbersome.
By analyzing the feature correlation between each data and other data, we screen the data whose correlation coefficient is not greater than the preset threshold, and use the isolated forest algorithm to determine data anomalies. We combine the principal component analysis method to reduce the dimensionality of high-dimensional data and quickly identify it. Data anomaly.
It realizes the rapid and convenient determination of data anomalies, reduces manual workload, and improves the efficiency and accuracy of abnormal data detection.
Smart Images

Figure CN118568481A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of abnormal data detection, and in particular to an abnormal data determination method, device, electronic device and storage medium. Background Art
[0002] In the related abnormal data determination method, for the multiple data collected and related to the signal quality, it is usually necessary to manually analyze and compare each data one by one, and then determine whether each data is abnormal data. However, for data with higher dimensions, the abnormal data determination process is slow and cumbersome. Summary of the invention
[0003] The present invention provides an abnormal data determination method, device, electronic device and storage medium to solve the problems in the related art.
[0004] A first aspect of the present invention provides a method for determining abnormal data, the method comprising: Acquire at least one first data associated with signal quality, where the first data is used to indicate the signal quality; Performing feature correlation analysis on each first data and each other first data to determine a correlation coefficient between each first data and each other first data; Filtering, from the first data, second data whose correlation coefficient with each other first data is not greater than a preset correlation coefficient threshold; The isolation forest algorithm is used to determine the third data of data anomalies in the second data.
[0005] In some embodiments of the present invention, before using the isolation forest algorithm to determine the third data of data abnormality in the second data, the abnormal data determination method further includes: Determine whether the number of the second data is not greater than a preset number threshold.
[0006] In some embodiments of the present invention, determining third data with data anomalies in second data using an isolation forest algorithm includes: In response to the number of the second data being not greater than a preset number threshold, an isolation forest algorithm is used to determine third data with data anomalies in the second data.
[0007] In some embodiments of the present invention, determining third data with data anomalies in second data using an isolation forest algorithm includes: In response to the number of the second data being greater than a preset number threshold, calculating a contribution rate of each second data by using a principal component analysis method; sorting the second data according to the contribution rate of each second data; Calculate the cumulative contribution rate of each second data according to the sorting order, where the cumulative contribution rate refers to the sum of the contribution rates of the current second data and all the second data sorted before the current second data; Determine fourth data whose cumulative contribution rate is greater than a preset cumulative contribution rate threshold; An isolation forest algorithm is used to determine third data with data anomalies between the fourth data and all second data ranked before the fourth data.
[0008] In some embodiments of the present invention, before acquiring at least one first data associated with the signal quality, the method includes: Acquire at least one fifth data associated with signal quality; the fifth data is used to indicate the signal quality; Obtain a reasonable value range for the category corresponding to each fifth data; The first data that is within a reasonable value range is filtered out from the fifth data.
[0009] In some embodiments of the present invention, the first data belongs to at least one data group, and the data group includes at least one of a PM distortion data group, a CM data group or an MR data group.
[0010] In some embodiments of the present invention, the abnormal data determination method further includes: determining a data group corresponding to the third data; According to the mapping relationship between the data group and the data abnormality reason, the data abnormality reason of the third data is mapped out.
[0011] A second aspect of the present invention provides an abnormal data determination device, the device comprising: a data acquisition unit, configured to acquire at least one first data associated with the signal quality, wherein the first data is used to indicate the signal quality; A correlation analysis unit, used to perform feature correlation analysis on each first data and each other first data, and determine a correlation coefficient between each first data and each other first data; A correlation coefficient screening unit, used for screening, from the first data, second data whose correlation coefficient with each other first data is not greater than a preset correlation coefficient threshold; The abnormal data determining unit is used to determine the third data with abnormal data in the second data by using the isolation forest algorithm.
[0012] A third aspect of the present invention provides an electronic device, including: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the embodiment of the first aspect of the present invention.
[0013] The fourth aspect embodiment of the present invention proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first aspect embodiment of the present invention.
[0014] In summary, the present invention proposes an abnormal data determination method, device, electronic device and storage medium, the method comprising: acquiring at least one first data associated with signal quality, the first data being used to indicate signal quality; performing feature correlation analysis on each first data and each other first data, and determining the correlation coefficient between each first data and each other first data; screening second data from the first data whose correlation coefficient with each other first data is not greater than a preset correlation coefficient threshold; and using an isolation forest algorithm to determine third data with data abnormality in the second data.
[0015] Through the solution provided by the present invention, feature correlation analysis is performed on each first data and each other first data, and according to the correlation coefficient, second data with a correlation coefficient not greater than a preset correlation coefficient threshold is screened from the first data, and the number of second data is less than the number of first data; the isolation forest algorithm is used to determine the third data with data abnormalities in the second data, so that the third data with data abnormalities in the first data can be determined quickly and conveniently, reducing the workload of manually determining abnormal data.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the description are used to explain the principles of the present invention, and do not constitute improper limitations of the present invention.
[0018] Figure 1 A schematic diagram of a flow chart of a method for determining abnormal data provided by an embodiment of the present invention; Figure 2 A schematic diagram of a correlation coefficient matrix provided by an embodiment of the present invention; Figure 3 A schematic diagram of using an isolation forest algorithm to determine third data with data anomalies in second data provided by an embodiment of the present invention; Figure 4 A flow chart of a method for determining third data with data anomalies among fourth data and all second data sorted before the fourth data using an isolation forest algorithm provided by an embodiment of the present invention; Figure 5A schematic flow chart of a method for selecting first data in a reasonable value range from fifth data provided by an embodiment of the present invention; Figure 6 A flowchart of a method for mapping a data anomaly cause of third data according to a mapping relationship between a data group and a data anomaly cause provided by an embodiment of the present invention; Figure 7 A flow chart of a method for determining abnormal data provided for an application example of the present invention; Figure 8 A schematic diagram of data distribution after dimensionality reduction using principal component analysis provided for an application example of the present invention; Fig. 9 A schematic diagram of the structure of an abnormal data determination device provided by an embodiment of the present invention; Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0020] In the related abnormal data determination method, for the multiple data collected and related to the signal quality, it is usually necessary to manually analyze and compare each data one by one, and then determine whether each data is abnormal data. However, for data with higher dimensions, the abnormal data determination process is slow and cumbersome.
[0021] In order to solve the problems existing in the related art, the present invention proposes a method for determining abnormal data, which performs feature correlation analysis on each first data and each other first data, and selects second data whose correlation coefficient is not greater than a preset correlation coefficient threshold from the first data according to the correlation coefficient, and the number of second data is less than the number of first data; and uses the isolation forest algorithm to determine the third data with data abnormality in the second data, so that the third data with data abnormality in the first data can be determined quickly and conveniently, reducing the workload of manually determining abnormal data.
[0022] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] like Figure 1 As shown, Figure 1 A flowchart of a method for determining abnormal data provided by an embodiment of the present invention. The method for determining abnormal data provided by an embodiment of the present invention comprises the following steps: Step 101, acquiring at least one first data associated with signal quality, where the first data is used to indicate the signal quality; In one embodiment, the first data is data within a reasonable value range.
[0024] In one embodiment, the first data comes from one or more of phase distortion (PM) data, connection management (CM) data, and measurement report (MR) data.
[0025] Step 102, performing feature correlation analysis on each first data and each other first data, and determining a correlation coefficient between each first data and each other first data; In one embodiment, a Pearson correlation coefficient matrix is used to perform feature correlation analysis on each first data and each other first data.
[0026] In one embodiment, taking MR data as an example, the following are selected from the MR data: INITAL_REGISTRATION_NBR; INITAL_REGISTRATICN_SUCCESS; INITAL_REGISTRATION_SUCCESS_RATE; INITAL_REGISTRATICN_LATENCY; INITAL_REGISTRATION_LATENCY_AVG; REPEAT_REGISTRATION_NBR; REPEAT_REGISTRATION_SUCCESS; REPEAT_REGISTRATION_SUCCESS_RATE; REPEAT_REGISTRATION_LATENCY; REPEAT_REGISTRATION_LATENCY_AVG; CANCELL_NBR; CANCELL_SUCCESS; CANCELL_SUCCESS_RATE; CANCELL_LATENCY; CANCELL_LATENCY_AVG; UP_CHATBOT_NBR; UP_CHATBOT_SUCCESS; UP_CHATBOT_SUCCESS_RATE; UP_CHATBOT_LATENCY; LP_GHATBOT_LATENCY_AVG; DOWN_CHATBOT_NBR; DOWN_CHATBOT_SUCCESS; DONN_CHATBOT_SUCCESS_RATE; DOMN_CHATBOT_LATENCY; DONN_GHATBOT_LATENCY_AVG.
[0027] In one embodiment, the Pearson correlation coefficient matrix is used to perform feature correlation analysis on each first data and each other first data to obtain a correlation coefficient matrix such as Figure 2 As shown, the correlation coefficient ranges from 0 to 1. The closer the correlation coefficient is to 1, the higher the correlation is. For example, the correlation coefficient in the first row and the second column is 1, indicating that INITAL_REGISTRATION_NBR and INITAL_REGISTRATICN_SUCCESS are strongly correlated; for example, the correlation coefficient in the first row and the fourth column is 0.28, indicating that INITAL_REGISTRATION_NBR and INITAL_REGISTRATICN_LATENCY are weakly correlated.
[0028] Step 103, selecting second data from the first data, the correlation coefficient between which and each other first data is not greater than a preset correlation coefficient threshold; In one embodiment, the setting of the preset correlation coefficient threshold may be derived from historical experience or may be found from documents related to the correlation coefficient.
[0029] In one embodiment, according to Figure 2 The correlation coefficient matrix of the first data is obtained, and the data whose correlation coefficients are not greater than a preset correlation coefficient threshold are screened to obtain the second data.
[0030] Step 104: using an isolation forest algorithm to determine third data with data anomalies in the second data.
[0031] In one embodiment, the proportion of the abnormal third data to the second data is very small.
[0032] In one embodiment, in the third data, the feature value of the abnormal data is significantly different from the feature value of the normal data.
[0033] In one embodiment, the isolation forest algorithm segments the second data by constructing a binary tree, and then evaluates whether the second data is abnormal data according to the segmentation result.
[0034] In one embodiment, during the construction of the binary tree, randomization is used for the second data selection, feature selection, and split point selection. If a second data is abnormal, it can be split out in only a few times.
[0035] In one embodiment, if Figure 3 As shown in the figure, the hollow dots are abnormal isolated points, and the corresponding areas are the areas that may be identified by the Isolation Forest as areas with poor communication quality. After further manual verification, except for one area that was determined to be normal, the rest were poor areas, with an accuracy rate of 95%, which well realized the function of artificial intelligence in identifying areas with poor communication quality.
[0036] In one embodiment, before step 104, the abnormal data determination method further includes: Determine whether the number of the second data is not greater than a preset number threshold.
[0037] In one embodiment, the preset number threshold may be derived from historical experience, and may specifically be the number of second data corresponding to a situation where both the running speed and accuracy of the isolation forest algorithm can be taken into consideration.
[0038] In one embodiment, the second data is data whose correlation coefficients are not greater than a preset correlation coefficient threshold, that is, the correlation between the second data is weak, indicating that each feature in the second data has a certain influence on the judgment of the signal quality.
[0039] In one embodiment, the number of the second data is not greater than a preset number threshold, indicating that the dimension of the second data is low; at this time, when the isolation forest algorithm is used to determine the abnormal data in the second data, the algorithm training speed is fast.
[0040] In one embodiment, the number of the second data is greater than a preset number threshold, indicating that the dimension of the second data is high, and when the isolation forest algorithm is used to determine abnormal data in the second data, the algorithm training speed is slow.
[0041] In one embodiment, step 104 includes: In response to the number of the second data being not greater than a preset number threshold, an isolation forest algorithm is used to determine third data with data anomalies in the second data.
[0042] In one embodiment, when the number of second data is not greater than a preset number threshold, when the isolation forest algorithm is used to determine the abnormal data in the second data, the algorithm training speed is fast and the required training time is short. Therefore, the isolation forest algorithm can be directly used to determine the third data with abnormal data in the second data.
[0043] In one embodiment, the third data refers to abnormal data in the second data.
[0044] In one embodiment, if Figure 4 As shown, step 104 includes: Step 401, in response to the number of second data being greater than a preset number threshold, calculating the contribution rate of each second data using a principal component analysis method; In one embodiment, when the number of second data is greater than a preset threshold, the dimension of the second data is high. When the isolation forest algorithm is used to determine abnormal data in the second data, the algorithm training speed is slow and the required training time is long. Therefore, it is also necessary to use principal component analysis to reduce the dimension of the second data.
[0045] Step 402, sorting the second data according to the contribution rate of each second data; In one embodiment, each second data is sorted in descending order according to the contribution rate of the second data.
[0046] Step 403, calculating the cumulative contribution rate of each second data according to the sorting order. The cumulative contribution rate refers to the sum of the contribution rates of the current second data and all the second data sorted before the current second data; In one embodiment, according to the cumulative contribution rate of the current second data, it is possible to more intuitively see the proportion of the current second data and all the second data ranked before the current second data to all the second data.
[0047] Step 404, determining fourth data whose cumulative contribution rate is greater than a preset cumulative contribution rate threshold; In one embodiment, the preset cumulative contribution rate can be obtained based on historical experience or can be manually set based on project requirements.
[0048] In one embodiment, the cumulative contribution rate threshold is set to 90%. If the cumulative contribution rate of the current second data reaches 90%, it can be considered that the current second data and all second data ranked before the current second data can represent all second data.
[0049] In one embodiment, the fourth data refers to the current second data that makes the cumulative contribution rate greater than a preset cumulative contribution rate threshold.
[0050] Step 405 , using an isolation forest algorithm to determine the third data with data anomalies among the fourth data and all the second data sorted before the fourth data.
[0051] In one embodiment, the isolation forest algorithm is used to determine the third data with data anomaly from the fourth data and all the second data ranked before the fourth data, rather than determining the third data with data anomaly from all the second data, so as to achieve the effect of simplifying the model.
[0052] In one embodiment, if Figure 5 As shown, step 101 also includes: Step 501, obtaining at least one fifth data associated with signal quality; In one embodiment, the fifth data is used to indicate signal quality.
[0053] In one embodiment, the fifth data is one or more of PM distortion data, CM data, and MR data; Step 502, obtaining a reasonable value range of a category corresponding to each fifth data; In one embodiment, the reasonable value range can be obtained based on historical experience or by searching technical documents related to signal quality.
[0054] In one embodiment, the category corresponding to the fifth data is one of the specific categories of PM distortion data, CM data and MR data. Taking MR data as an example, the type corresponding to the fifth data is one of the aforementioned categories such as INITAL_REGISTRATION_NBR and INITAL_REGISTRATICN_SUCCESS.
[0055] In one embodiment, reasonable value intervals corresponding to specific categories in PM distortion data, CM data, and MR data are obtained respectively.
[0056] In one embodiment, the fifth data may include data within a reasonable value range for each category and data outside the reasonable value range, or may only include data within a reasonable value range for each category.
[0057] Step 503: Filter the first data that is within a reasonable value range from the fifth data.
[0058] In one embodiment, data outside a reasonable value range is removed from the fifth data, and the remaining data is the first data.
[0059] In one embodiment, the first data belongs to at least one data group, and the data group includes at least one of a PM distortion data group, a CM data group or an MR data group.
[0060] In one embodiment, all the data in the first data may include only the same data group, or may include two or more data groups at the same time.
[0061] In one embodiment, if Figure 6 As shown, the data anomaly determination method also includes: Step 601, determining a data group corresponding to the third data; In one embodiment, the third data is abnormal data.
[0062] In one embodiment, the data group corresponding to the third data is at least one of a PM distortion data group, a CM data group or an MR data group.
[0063] Step 602: Map out the data anomaly cause of the third data according to the mapping relationship between the data group and the data anomaly cause.
[0064] In one embodiment, the reasons for the data anomaly corresponding to the PM distortion data group are mainly: time lag in the signal transmission process, different propagation speeds of different frequency components, and signal reflection and interference.
[0065] In one embodiment, the time delay in the signal transmission process is mainly because the signal needs to pass through multiple devices or components during signal transmission, such as cables, plugs, amplifiers, filters, etc. Each device or component will introduce a certain time delay, resulting in different times for the signal to arrive at the destination, thereby causing phase shift.
[0066] In one embodiment, the different propagation speeds of different frequency components are mainly because the electromagnetic wave propagation speeds of different frequency components are different in the medium, the low frequency component propagates slowly, and the high frequency component propagates quickly. When a signal contains multiple frequency components, different frequency components arrive at the destination at different times after transmission, which can also cause phase shift.
[0067] In one embodiment, signal reflection and interference are mainly because the signal may encounter reflection and interference during transmission. Reflection can reverse the phase of the signal, thereby causing phase shift; interference can add noise to the signal or distort the signal shape, which may also cause phase shift.
[0068] In one embodiment, the reasons for the data anomaly corresponding to the CM data group are mainly: optical receiver and amplifier failure, cable line failure, and overall return signal-to-noise ratio deterioration.
[0069] In one embodiment, the optical receiver and amplifier failure is mainly caused by the optical return transmission module in the optical receiver or the return amplification module in the amplifier being damaged or the reverse plug not being inserted, resulting in abnormal CM data due to the return channel being blocked. The fault can be eliminated by replacing the damaged module.
[0070] In one embodiment, the cable line failure is mainly caused by the distribution network having problems such as irregular wiring, improper application of branches and distributors, etc. to a certain extent, which causes abnormal CM data.
[0071] In one embodiment, the overall backhaul carrier-to-noise ratio deteriorates mainly because the noise generated from the user end and the uplink will converge to the entrance and exit of the CMTS uplink signal, resulting in a noise superposition phenomenon, thereby causing a higher noise floor in the uplink channel. In severe cases, it will drown out the useful signal and cause CM data abnormalities.
[0072] In one embodiment, the main reasons for the data anomaly corresponding to the MR data group are: weak uplink coverage, uplink industrial interference and hardware failure.
[0073] In one embodiment, the weak uplink coverage is mainly due to the combination of MRR uplink and downlink level coverage distribution (the uplink signal level sampling points are generally distributed around -90dBm), MRR TA distribution (TA value is too large may be due to over-coverage resulting in weak uplink, or weak uplink caused by remote equipment such as repeaters), and cell call drop type statistics (poor uplink quality and high proportion of call drops due to weak uplink signals).
[0074] In one embodiment, the uplink industrial interference is mainly caused by combining the MRR uplink and downlink level coverage distribution (the uplink and downlink signal level coverage is normal), combining the cell uplink icmband distribution (icmband4 and icmband5 account for a high proportion), combining the MRR TA distribution (TA value is too large, and remote equipment such as repeaters may cause uplink interference), and combining the cell drop call type distribution (the uplink quality is poor and the proportion of dropped calls is high).
[0075] In one embodiment, hardware failure is mainly caused by combining cell alarm verification (failure alarms such as diversity reception will cause uplink performance degradation), combining on-site unplugging test to determine whether individual carrier frequency failures occur, and exchanging antennas to determine whether the uplink performance degradation is caused by the antenna system.
[0076] In summary, the solution provided by the present invention is: First, feature correlation analysis is performed on each first data and each other first data to screen out the second data, which can reduce the workload of manual screening; the third data with data anomalies in the second data is determined using the isolation forest algorithm, which can quickly and conveniently determine the third data with data anomalies in the first data.
[0077] Secondly, selecting the first data that is within a reasonable value range from the fifth data can effectively save computing resources and improve the accuracy of the signal quality detection method.
[0078] Thirdly, using principal component analysis to reduce the dimension of the second data can effectively reduce data redundancy, eliminate noise, and still retain the valid information of the second data.
[0079] The abnormal data determination provided by the present invention is further illustrated by an application example below: like Figure 7 As shown, Figure 7 A flowchart of a method for determining abnormal data provided by an application example of the present invention. The method for determining abnormal data provided by an application example of the present invention comprises the following steps: Step 701, obtaining at least one fifth data associated with signal quality; the fifth data is used to indicate the signal quality; Step 702, obtaining a reasonable value range of a category corresponding to each fifth data; Step 703, filtering the first data that is within a reasonable value range from the fifth data; Step 704, performing feature correlation analysis on each first data and each other first data, and determining a correlation coefficient between each first data and each other first data; Step 705, selecting second data from the first data whose correlation coefficient with each other first data is not greater than a preset correlation coefficient threshold; Step 706, determining whether the number of the second data is not greater than a preset number threshold; If the judgment result is yes, then go to step 707; If the judgment result is no, then go to step 708; Step 707: using the isolation forest algorithm to determine the third data with data anomalies in the second data.
[0080] Step 708, calculating the contribution rate of each second data using principal component analysis method; In one embodiment, assuming there are n second data, there are , where each second data has m feature expressions: ; in, is the qth second data, is the first feature in the qth second data, is the second feature in the qth second data, and so on. is the mth feature in the qth second data.
[0081] The average vector of these n second data is: ; in, is an N-dimensional vector.
[0082] The difference between each second data and the mean vector is expressed as: ; The covariance matrix of the second data can be expressed as: ; Where L is an N×N dimensional matrix.
[0083] set up are the m eigenvalues of the matrix, and the eigenvectors are expressed as: ,in , where T represents the transpose of the matrix.
[0084] Reconstruct the i-th second data, and the new expression is: ; According to the KL transformation, the contribution rate of the i-th second data is calculated as: ; in, , M is determined by the cumulative contribution rate, and the set standard is 90%. As long as the cumulative contribution rate reaches 90%, the first M principal components are selected to replace the original second data.
[0085] In one embodiment, the principal component analysis method is used to obtain the second data distribution after dimension reduction as follows: Figure 8 As shown, it can be seen that most of the feature data are concentrated within the box, and only a few feature data are isolatedly distributed outside the box.
[0086] Step 709, sorting the second data according to the contribution rate of each second data; Step 710, calculating the cumulative contribution rate of each second data according to the sorting order, where the cumulative contribution rate refers to the sum of the contribution rates of the current second data and all the second data sorted before the current second data; Step 711, determining fourth data whose cumulative contribution rate is greater than a preset cumulative contribution rate threshold; In one embodiment, the fourth data is the Tth second data.
[0087] Step 712, using an isolation forest algorithm to determine the third data with data anomalies among the fourth data and all the second data sorted before the fourth data; Step 713, determining the data group corresponding to the third data; Step 714: Map out the data anomaly cause of the third data according to the mapping relationship between the data group and the data anomaly cause.
[0088] In order to implement the abnormal data determination method provided by the embodiment of the present invention, the embodiment of the present invention also provides an abnormal data determination device, such as Fig. 9 shown. Fig. 9 The schematic diagram of the structure of the abnormal data determination device provided by the embodiment of the present invention is as follows: The data acquisition unit 901 is used to acquire at least one first data associated with the signal quality, where the first data is used to indicate the signal quality; A correlation analysis unit 902 is used to perform feature correlation analysis on each first data and each other first data, and determine a correlation coefficient between each first data and each other first data; A correlation coefficient screening unit 903, configured to screen, from the first data, second data whose correlation coefficient with each other first data is not greater than a preset correlation coefficient threshold; The abnormal data determining unit 904 is used to determine the third data with abnormal data in the second data by using the isolation forest algorithm.
[0089] In one embodiment, the abnormal data determination device 900 further includes a number determination unit, which is used to: Determine whether the number of the second data is not greater than a preset number threshold.
[0090] In one embodiment, the abnormal data determination unit 904 is specifically configured to: In response to the number of the second data being not greater than a preset number threshold, an isolation forest algorithm is used to determine third data with data anomalies in the second data.
[0091] In one embodiment, the abnormal data determination unit 904 is specifically configured to: In response to the number of the second data being greater than a preset number threshold, calculating a contribution rate of each second data by using a principal component analysis method; sorting the second data according to the contribution rate of each second data; Calculate the cumulative contribution rate of each second data according to the sorting order, where the cumulative contribution rate refers to the sum of the contribution rates of the current second data and all the second data sorted before the current second data; Determine fourth data whose cumulative contribution rate is greater than a preset cumulative contribution rate threshold; An isolation forest algorithm is used to determine third data with data anomalies between the fourth data and all second data ranked before the fourth data.
[0092] In one embodiment, the abnormal data determining device 900 further includes a data screening unit, which is used to: Acquire at least one fifth data associated with signal quality; the fifth data is used to indicate the signal quality; Obtain a reasonable value range for the category corresponding to each fifth data; The first data that is within a reasonable value range is filtered out from the fifth data.
[0093] In one embodiment, the first data belongs to at least one data group, and the data group includes at least one of a PM distortion data group, a CM data group or an MR data group.
[0094] In one embodiment, the abnormal data determining device 900 further includes a data abnormality mapping unit, and the data abnormality mapping unit is used to: determining a data group corresponding to the third data; According to the mapping relationship between the data group and the data abnormality reason, the data abnormality reason of the third data is mapped out.
[0095] It should be noted that: when the abnormal data determination device 900 provided in the above embodiment performs abnormal data determination, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the abnormal data determination device 900 is divided into different program modules to complete all or part of the processing described above. In addition, the abnormal data determination device 900 provided in the above embodiment and the abnormal data determination method embodiment provided in the embodiment of the present invention belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0096] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention is shown in FIG. Fig.10 As shown, the electronic device 1000 includes at least one processor 1002; and a memory 1001 that is communicatively connected to the at least one processor 1002; wherein the memory 1001 stores instructions that can be executed by the at least one processor 1002, and the instructions are executed by the at least one processor 1002 to implement the steps of the abnormal data determination method provided in an embodiment of the present invention.
[0097] Optionally, the electronic device may specifically be the abnormal data determination device of the embodiment of the present application, and the electronic device may implement the corresponding processes implemented by the abnormal data determination device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0098] It is understood that the electronic device also includes a communication interface 1003. The various components in the electronic device are coupled together through a bus system 1004. It is understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .
[0099] It can be understood that the memory 1001 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 1001 described in the embodiment of the present invention is intended to include but is not limited to these and any other suitable types of memories.
[0100] The method disclosed in the above embodiment of the present invention can be applied to the processor 1002, or implemented by the processor 1002. The processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1002 or the instruction in the form of software. The above processor 1002 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1002 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1001. The processor 1002 reads the information in the memory 1001 and completes the steps of the above method in combination with its hardware.
[0101] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors, or other electronic components to execute the aforementioned method.
[0102] The embodiment of the present invention further provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to implement the steps of the abnormal data determination method provided by the embodiment of the present invention when executed.
[0103] Optionally, the computer-readable storage medium can be applied to the abnormal data determination device in the embodiments of the present application, and the computer instructions enable the computer to execute the corresponding processes implemented by the abnormal data determination device in each method of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0104] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0105] The units described above as separate components may or may not be physically separated, and the components displayed as units 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 units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0106] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0107] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0108] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0109] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for determining abnormal data, characterized in that: include: Acquire at least one first data associated with signal quality, where the first data is used to indicate the signal quality; Performing feature correlation analysis on each of the first data and each of the other first data to determine a correlation coefficient between each of the first data and each of the other first data; Filtering, from the first data, second data whose correlation coefficient with each other of the first data is not greater than a preset correlation coefficient threshold; An isolation forest algorithm is used to determine third data that is abnormal in the second data.
2. The method according to claim 1, characterized in that: Before using the isolation forest algorithm to determine the third data of data anomaly in the second data, the method further includes: Determine whether the number of the second data is not greater than a preset number threshold.
3. The method according to claim 2, characterized in that The method of using the isolation forest algorithm to determine the third data of data anomaly in the second data includes: In response to the number of the second data being not greater than the preset number threshold, an isolation forest algorithm is used to determine third data with data anomalies in the second data.
4. The method according to claim 2, characterized in that: The method of using the isolation forest algorithm to determine the third data of data anomaly in the second data includes: In response to the number of the second data being greater than the preset number threshold, calculating the contribution rate of each of the second data by using a principal component analysis method; sorting the second data according to the contribution rate of each of the second data; Calculate the cumulative contribution rate of each second data according to the sorting order, where the cumulative contribution rate refers to the sum of the contribution rates of the current second data and all the second data sorted before the current second data; Determine fourth data that the cumulative contribution rate is greater than a preset cumulative contribution rate threshold; An isolation forest algorithm is used to determine third data with data anomalies between the fourth data and all second data that are sorted before the fourth data.
5. The method according to claim 1, characterized in that Before acquiring at least one first data associated with the signal quality, the method further comprises: Acquire at least one fifth data associated with signal quality; the fifth data is used to indicate the signal quality; Obtaining a reasonable value range of a category corresponding to each of the fifth data; The first data that is within the reasonable value range is filtered out from the fifth data.
6. The method according to claim 1, characterized in that The first data belongs to at least one data group, and the data group includes at least one of a PM distortion data group, a CM data group, or an MR data group.
7. The method according to claim 6, characterized in that The method further comprises: Determine the data group corresponding to the third data; The data anomaly cause of the third data is mapped out according to the mapping relationship between the data group and the data anomaly cause.
8. An abnormal data determination device, characterized in that: include: a data acquisition unit, configured to acquire at least one first data associated with signal quality, wherein the first data is used to indicate the signal quality; a correlation analysis unit, configured to perform feature correlation analysis on each of the first data and each of the other first data, and determine a correlation coefficient between each of the first data and each of the other first data; A correlation coefficient screening unit, used for screening, from the first data, second data whose correlation coefficient with each other of the first data is not greater than a preset correlation coefficient threshold; The abnormal data determining unit is used to determine the third data with abnormal data in the second data by using the isolation forest algorithm.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, 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 enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Credit fraud gang identification method and system based on improved isolated forest algorithm
CN111695597A
Web traffic anomaly detection method and device based on improved isolated forest algorithm
CN114338195A
Automatic feature screening method and device, electronic equipment and storage medium
CN114511037A
Line loss main cause analysis method and related equipment thereof
CN116245505A
False transaction identification method and device, electronic equipment and storage medium
CN116821820A
