Anomaly detection method and system for multi-dimensional KPI time series of 5G core network

By combining time series prediction and residual calculation, combined with the time lag cross-correlation algorithm and the isolation forest model method, the complexity of multi-dimensional KPI time series anomaly detection in the 5G core network is solved, and efficient and accurate anomaly detection is achieved, which is suitable for complex network environment.

CN118509527BActive Publication Date: 2024-09-24INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410962604.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-24
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Existing 5G core network multi-dimensional KPI time series anomaly detection methods are difficult to adapt to complex network environments, cannot effectively capture data drift and non-linear relationships, and rely on manual rules and annotation information, resulting in low detection efficiency and poor accuracy.

Method used

Using a combination of offline and online processing methods, through time series prediction and residual calculation, combined with time lag cross-correlation algorithm and isolated forest model, we can automatically identify abnormal patterns in multi-dimensional KPI time series, reduce computing resource consumption, and improve detection accuracy and efficiency. .

Benefits of technology

It realizes various anomaly detection of multi-dimensional KPI time series of 5G core network without annotation information, improves detection accuracy and efficiency, reduces computing resource consumption, and can identify global, local and segment anomalies in a timely manner. It is suitable for Complex 5G core network environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509527B
    Figure CN118509527B
Patent Text Reader

Abstract

The present invention discloses a method and system for detecting anomalies of a multi-dimensional KPI time series of a 5G core network, and belongs to the field of network security. The present invention generates a multi-dimensional KPI time series by collecting and parsing data packets in the 5G core network, identifying message types and performing KPI statistical counting, and then offline processing the multi-dimensional KPI time series to generate KPI screening results, and then filtering the KPI time series based on the aforementioned screening results through online processing and performing anomaly detection. The present invention realizes the detection of multiple anomalies in a multi-dimensional KPI time series without annotation information, and solves the problem that the existing KPI detection method cannot be applied to multi-dimensional KPIs in the 5G core network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network security, and specifically relates to a method and system for detecting anomalies in a 5G core network multi-dimensional KPI time series. Background Art

[0002] like Figure 1 As shown in the figure, a 5G network consists of three main components: user equipment (UE), radio access network (RAN), and 5G core network (5GC). UE refers to various 5G terminal devices. The RAN provides wireless access services for UEs and is responsible for data transmission between the 5GC and UEs. The 5GC performs functions such as authentication and mobility management and is responsible for communication with data networks. The 5G core network may be vulnerable to attacks from multiple sources, including terminal devices, untrusted networks, roaming networks, internet application service providers, and within the network. These attacks can disrupt core network availability and affect user experience and service quality. Network key performance indicators (KPIs) provide clear, intuitive, and quantifiable information about network performance and operational status. By continuously monitoring fluctuations in core network KPIs, network administrators can comprehensively monitor network performance, ensure network service quality, and promptly identify and respond to potential core network security issues.

[0003] The 5G core network includes hundreds of KPI indicators. Some examples of KPI records include: initial registration success rate: 100%; number of VOLTE (Voice over LTE) users: 2,525,419; answered call traffic: 489.3908 Erl; connected call traffic: 580.1689 Erl; caller answer rate: 53.0762%; called call answer rate: 50.6209%. Over time, KPI indicator records are formed in chronological order as follows: Figure 2 The KPI time series shown in Figure 2. Multiple KPI series form a multidimensional KPI time series because the record at each moment contains the values ​​of multiple KPIs.

[0004] Existing traditional network KPI anomaly detection methods primarily rely on domain experts or operations personnel to design detection rules (such as setting anomaly thresholds) and monitor network KPI values ​​in real time. These manually designed detection rules are difficult to apply to complex, changing, and unknown network environments. Furthermore, anomaly detection based on rule matching or thresholds can typically only detect simple rules or obvious outliers. For data with drift (where data distribution changes over time), multidimensional data, or nonlinear relationships, these anomaly detection algorithms struggle to capture anomalous behavior.

[0005] Real-time anomaly detection for KPIs using artificial intelligence and machine learning can adapt to real-time data changes through model updates and adaptive learning. This approach, independent of manual rules, offers stronger generalization and adaptability, enabling it to handle more complex anomaly detection problems. However, in real-world anomaly detection tasks, anomalous data is rare, typically constituting only a tiny fraction of the dataset. Furthermore, comprehensive, ground-truth annotations are often difficult to obtain, while supervised learning algorithms require pre-definition and labeling of all types of anomalies to achieve effective detection results. Consequently, highly imbalanced and poorly labeled datasets make it difficult for supervised learning algorithms to learn sufficient anomalous patterns, leading most machine learning algorithms to overidentify the majority class (normal cases) and ignore the minority class (abnormal cases). Consequently, unsupervised detection methods are often used for anomaly detection in multidimensional KPIs. Existing unsupervised detection methods for multidimensional KPIs can be categorized into two categories: direct anomaly detection and time series prediction.

[0006] (1) Direct anomaly detection is also known as outlier detection. Outliers are defined as points that are sparsely distributed and far away from densely populated groups. From a statistical point of view, sparsely distributed areas in the data space indicate that the probability of data occurring in these areas is very low, so the data falling in these areas can be considered abnormal. For multiple input multidimensional KPI records, the direct anomaly detector first uses an unsupervised learning method to establish a normal behavior model of the data. This model is based on the distribution characteristics of the current overall data and aims to capture the behavior patterns of most KPI records. Then, the model compares the degree of deviation of each record from the normal behavior model and calculates the outlier score. Finally, the outlier score is compared with the detection threshold. If the outlier score is higher than the detection threshold, the KPI record is considered abnormal.

[0007] (2) Using time series prediction for anomaly detection requires first predicting the target KPI time series, and then comparing the predicted series with the actual series. Time points or time periods that exceed the upper and lower limits of the allowed fluctuations are considered abnormal. For the input multi-dimensional KPI time series, each KPI time series needs to be predicted separately. Specifically, a historical time window is set, and the time series prediction model (usually a regression model) is trained for each dimension of the KPI series using the historical series values ​​in the window. Then, the trained model is used to predict the time series value of the KPI for a period of time. The difference between the predicted value and the actual value at each subsequent time point is compared. The point that exceeds the pre-set upper and lower fluctuation thresholds is considered an abnormal time point. There are multiple KPIs in a multi-dimensional KPI record. As long as one KPI in the record is abnormal, the multi-dimensional KPI record is considered abnormal.

[0008] Existing KPI anomaly detection methods have some significant limitations and challenges when applied to the multi-dimensional KPI time series anomaly detection task in 5G core networks.

[0009] (1) When designing anomaly detection models for core networks, the temporal correlation of KPIs and the interactions between multiple KPIs must be comprehensively considered. This requires not only that the model accurately captures abnormal patterns in time series data, but also that it can identify and correlate repeated abnormal signals in multi-dimensional KPI time series. Direct anomaly detection methods do not take into account the temporal dimension of the indicators and may therefore be insensitive to contextual anomalies.

[0010] (2) The core network contains numerous network elements, multiple interfaces, and protocols, with hundreds or even thousands of different KPIs, some cyclical, some volatile, and some sudden. Time series prediction detection methods require fitting and testing each KPI time series, without considering the correlation between KPIs. Testing multiple KPIs with strong correlations will add a lot of repetitive work to the operation and maintenance personnel, consume multiple times the computing resources, and significantly reduce network performance.

[0011] (3) It is not possible to simply use the same method (such as the 3-sigma rule) to set thresholds for all KPIs. Different KPIs may have different anomaly patterns. Therefore, there is currently a lack of an anomaly detection method for 5G core network KPIs that is both efficient and has strong generalization capabilities. Summary of the Invention

[0012] The purpose of the present invention is to provide an anomaly detection method and system for the multidimensional KPI time series of the 5G core network that does not rely on manual labels, thereby realizing the detection of various anomalies in the multidimensional KPI time series without labeling information, and solving the problem that the existing KPI detection method cannot be applied to the multidimensional KPI in the 5G core network.

[0013] The present invention adopts the following technical solutions to achieve the above-mentioned objectives.

[0014] A method for detecting anomalies in a 5G core network multi-dimensional KPI time series includes the following steps:

[0015] Collect data packets in the 5G core network and parse them into detailed xDR call records;

[0016] Identify message types based on xDR call records, analyze message content to perform key performance indicator (KPI) statistics, and generate multi-dimensional KPI time series.

[0017] Offline processing of multi-dimensional KPI time series, including time series prediction and residual calculation of multi-dimensional KPI time series, correlation calculation of KPI residual series generated by residual calculation, retaining only one of the strongly correlated KPIs, and generating screening results;

[0018] The multidimensional KPI time series is processed online, including KPI screening of the multidimensional KPI time series according to the above screening results, time series prediction and residual calculation based on the screened KPI time series, and anomaly detection of the screened KPI time series and the KPI residual series generated by the residual calculation.

[0019] Furthermore, message types include, but are not limited to: a registration request message, a call initiation request message, an incoming call response message, a registration response message, and a success response message.

[0020] Furthermore, the KPIs counted include but are not limited to: initial registration success rate, number of VOLTE users, answered call traffic, connected call traffic, calling answer rate, called call answer rate, incoming call answer rate, outgoing call answer rate and outgoing call completion rate.

[0021] Furthermore, both offline and online time series predictions are performed by setting a time moving window and using a long short-term memory network model to predict the KPI sequence values ​​in the window to generate a KPI prediction sequence.

[0022] Furthermore, the residual calculation of both offline processing and online processing is to subtract the KPI prediction sequence from the KPI time series of equal dimension to obtain the KPI residual sequence of equal dimension.

[0023] Furthermore, the offline correlation calculation is to use the time-lagged cross-correlation algorithm TLCC to calculate the temporal correlation between every two KPI residual sequences.

[0024] Furthermore, the offline KPI screening is to retain the KPI with the earliest fluctuation among several KPIs with strong temporal correlation calculated by the TLCC algorithm; for KPIs that fluctuate at the same time, randomly retain one of them; and eliminate the other KPIs.

[0025] Furthermore, online processing uses the isolation forest model to detect outliers on the filtered KPI time series and the KPI residual series generated by residual calculation, and the union of the anomaly results detected by the two is taken as the final detection result.

[0026] Furthermore, the detected anomalies include one or more of three types: global anomalies, local anomalies, and segment anomalies.

[0027] A 5G core network multi-dimensional KPI time series anomaly detection system, including:

[0028] The data collection module is used to collect data packets in the 5G core network and parse them into xDR call records;

[0029] The KPI statistics module is used to identify message types based on xDR call records, analyze message content, perform KPI statistics, and generate multi-dimensional KPI time series.

[0030] The KPI analysis and processing module is used to first perform offline processing on the multidimensional KPI time series, including time series prediction and residual calculation on the multidimensional KPI time series, performing correlation calculation on the KPI residual series generated by the residual calculation, retaining only one of the strongly correlated KPIs, and generating a screening result; then, the multidimensional KPI time series is processed online, including KPI screening based on the screening results, time series prediction and residual calculation on the screened KPI time series, and anomaly detection on the screened KPI time series and the KPI residual series generated by the residual calculation;

[0031] The alarm storage output module is used to output alarms and store logs based on the detection results.

[0032] The technical solution of the present invention can achieve excellent technical effects, which will be described in detail below.

[0033] 1) This invention proposes a two-stage KPI analysis process, offline and online. Offline processing analyzes the correlations between the original multidimensional KPIs and screens out groups of KPIs with strong correlations (e.g., KPI1, KPI2, and KPI3 are strongly correlated; KPI4 and KPI5 are strongly correlated). Only one KPI from each group (KPI1 and KPI4) is retained. The multidimensional KPI screening results are then passed to the online processing stage for time series prediction, residual calculation, and anomaly detection. Online processing allows for anomaly detection on the input multidimensional KPIs, outputting the time of the anomaly and the KPI that caused it.

[0034] 2) This invention combines the advantages of time series prediction, residual calculation, and outlier detection methods to extract correlations between multidimensional KPIs in the core network while preserving the KPI's temporal dimension. Compared with existing detection methods, this invention significantly improves the accuracy and efficiency of detecting abnormal KPIs in the core network.

[0035] 3) Compared with methods that perform anomaly detection on every KPI in a multidimensional sequence, this method significantly reduces computing resource consumption and redundant alarms. It can also more accurately and comprehensively detect global anomalies, local anomalies (context anomalies), and segment anomalies in time series, allowing for timely responses.

[0036] 4) The anomaly detection method proposed in this paper does not rely on prior data annotation information. It is an unsupervised anomaly detection method. It can automatically identify abnormal patterns through the results of time series prediction and prediction residuals, eliminating the reliance on expert knowledge or manual threshold setting. Therefore, it is more suitable for application in practical scenarios and does not need to rely on strict laboratory environment conditions. It can be flexibly applied to various multi-dimensional KPI detection scenarios and has high scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a diagram of the 5G network architecture.

[0038] Figure 2 It is a multi-dimensional KPI time series chart.

[0039] Figure 3 This is a diagram of the overall architecture for performing anomaly detection on a 5G core network multi-dimensional KPI time series in an embodiment.

[0040] Figure 4 This is a flowchart of offline processing.

[0041] Figure 5 This is a single-layer LSTM structure diagram.

[0042] Figure 6 It is a flowchart of online processing.

[0043] Figure 7 It is a multi-dimensional KPI time series chart.

[0044] Figure 8 It is a multi-dimensional KPI time series diagram after anomaly detection is performed by the present invention. DETAILED DESCRIPTION

[0045] In order to make the various technical features and advantages or technical effects of the above technical solutions of the present invention more obvious and easy to understand, they are described in detail below with reference to the accompanying drawings.

[0046] The embodiment of the present invention proposes a 5G core network multi-dimensional KPI time series anomaly detection method and system, the overall architecture is as follows Figure 3 As shown, the modules used by this system to execute each step of this method include a data acquisition module, a KPI statistics module, a KPI analysis and processing module, and an alarm storage and output module. The specific execution process of this method and this system is the same, which is described in detail below.

[0047] S1: Collect data through the data collection module. First, capture the data packets in the 5G core network, then use deep packet analysis technology to parse the data packets into xDR call record format and input them into the KPI statistics module.

[0048] S2: Message type conversion and KPI statistics are performed in the KPI statistics module. First, xDR call records are identified according to the standard format into corresponding message types, such as "Registration Request Message," "Call Initiation Request Message," "Incoming Call Response Message," "Registration Response Message," and "Success Response Message." The message content is then analyzed to perform KPI statistics. The KPIs counted include "Initial Registration Success Rate," "Number of VOLTE Users," "Answered Call Traffic (Erl)," "Connected Call Traffic (Erl)," "Calling Answer Rate (%)," "Called Answer Rate (%)," "Incoming Call Answer Rate (%)," "Outgoing Call Answer Rate (%)," and "Outgoing Call Completion Rate (%)." These metrics are then integrated into a multidimensional KPI time series with time as the horizontal axis.

[0049] S3: Before the online anomaly detection process begins, the KPI analysis and processing module first needs to perform offline processing on a certain amount of multi-dimensional KPI time series data. The offline processing includes four steps: time series prediction, residual calculation, correlation calculation, and KPI screening. Specifically, the multi-dimensional KPI time series output by the KPI statistics module is subjected to time series prediction and residual calculation, and then the residual series obtained after calculation is subjected to correlation calculation. The purpose of the correlation calculation is to filter the multi-dimensional KPIs and retain only one of the multiple strongly correlated KPIs. The screening results will be used for KPI screening in subsequent online processing. Offline processing only needs to be performed once before starting to detect 5G core network anomalies. The offline process needs to be performed with a certain amount of historical KPI data.

[0050] S4: The online processing stage includes four steps: KPI screening, time series prediction, residual calculation, and anomaly detection. First, the multidimensional KPI time series output by the KPI statistics module is KPI screened according to the offline processing screening results, and only the filtered KPIs are retained. Then, the filtered multidimensional KPI time series is subjected to time series prediction and residual calculation to obtain the predicted sequence and residual sequence. Finally, anomaly detection is performed on the predicted sequence and residual sequence, and the anomaly detection results are output.

[0051] S5: Input the anomaly detection results into the alarm storage and output module for log storage and alarm output.

[0052] The focus of the 5G core network anomaly detection method proposed in the present invention is on the KPI analysis and processing module. The offline processing stage and the online processing stage in the KPI analysis and processing module are introduced in detail below.

[0053] 1. During the offline processing phase, the execution process is as follows: Figure 4 As shown, the specific processing steps are described below.

[0054] 1) Time series forecasting: input m-dimensional KPI time series data Predict future sequence values ​​and obtain an m-dimensional KPI prediction sequence , where each value is predicted based on the sequence values ​​in a moving window of size w using a long short-term memory network (LSTM) model, for example, is composed of the sequence Use a single-layer LSTM fitting to get Figure 5 shown.

[0055] 2) Residual calculation: Subtract the m-dimensional KPI prediction sequence from the m-dimensional KPI time series of equal dimension to obtain the m-dimensional KPI residual sequence = .

[0056] 3) Correlation calculation: used to calculate the time series correlation between each two KPI residual series. Specifically, the time-lagged cross-correlation algorithm (TLCC) is used to calculate the time series correlation of KPIs. The time-lagged cross-correlation algorithm is a similarity measurement method for time-lagged time series. It can determine the similarity of two time series and extract the information of which signal appears first by gradually moving a time series vector and repeatedly calculating the correlation between the two signals. For example, calculating two KPI residual series and TLCC, it can be concluded that when When moving backward 5 time steps The similarity is the highest, that is Earlier than The 5 time steps of .

[0057] 4) KPI screening: KPI screening is performed based on the results of correlation calculation, and the KPI with the earliest fluctuation is retained among several KPIs with strong temporal correlation ( , Medium Reserve If the corresponding KPIs fluctuate simultaneously, one is randomly retained), and other KPIs are eliminated to obtain the k-dimensional KPI screening results for online processing.

[0058] The purpose of offline processing is to calculate the correlation between KPI residual series (KPI fluctuations). In network services, the KPI that first experiences an abnormal change often more accurately indicates the root cause of the problem. Using the cross-correlation method on the m-dimensional KPI residual time series to calculate the temporal correlation between multidimensional KPIs, we can determine the strength of the correlation between any two KPI residual series. For several strongly correlated KPI residual series, the cross-correlation method can also determine the KPI series that experienced the earliest fluctuation, providing a basis for selecting KPIs to retain. This correlation analysis can eliminate redundant KPIs with strong temporal correlations, improve model detection efficiency, and reduce alerts.

[0059] 2. In the online processing stage, the execution process is as follows Figure 6 As shown, the specific processing steps are described below.

[0060] 1) KPI screening: Based on the k-dimensional KPI screening results output by offline processing, the input m-dimensional KPI time series is screened to obtain a k-dimensional KPI time series.

[0061] 2) Time Series Forecasting: Forecast future values ​​of k-dimensional KPI time series data to obtain a k-dimensional KPI prediction sequence. Specifically, set the time moving window size to w and use a single-layer LSTM to perform time series forecasting on each dimension of the KPI time series. This means using the sequence value within the window to predict the next value, then sliding the window back one step and predicting the next value, and so on, to obtain the predicted sequence for that KPI. Repeat these steps for the k-dimensional KPI time series to obtain the k-dimensional KPI prediction sequence.

[0062] 3) Residual calculation: Subtract the k-dimensional KPI prediction sequence from the k-dimensional KPI time series of equal dimension to obtain the k-dimensional KPI residual sequence.

[0063] 4) Anomaly Detection: Anomaly detection is performed on the k-dimensional KPI time series and the k-dimensional KPI residual series. The union of these anomalies is output as the detection result to the alarm storage and output module. Detected anomalies include global anomalies, local anomalies (also known as contextual anomalies), and collective anomalies. These anomalies are detected using the Isolation Forest (iForest) model.

[0064] There are two main purposes for calculating the residual series: first, since the forecast series is based on the fitting of historical data, it usually has a time lag, which means that it cannot immediately capture the sudden change of the data. By calculating the difference between the forecast and the actual series, the sudden change moment can be highlighted, thus compensating for the time lag of the forecast series; second, the residual series reflects the deviation between the forecast and the actual series, which can more clearly highlight the contextual anomalies in the time series data - that is, local differences, making these local anomalies easier to identify.

[0065] Anomaly detection on either the predicted or residual series alone is insufficient and incomplete. Testing the predicted series alone may not detect sudden anomalies in a timely manner. The residual series is derived by subtracting the predicted and actual series. If a KPI exhibits a periodic anomaly, the predicted series will gradually fit to the anomaly based on historical KPI values. Long-lasting periodic anomalies will not be highlighted in the residual series. Therefore, only by combining the predicted and residual series can KPI anomalies be comprehensively identified.

[0066] In order to test the effectiveness of the method of the present invention, Figure 7 The multi-dimensional KPI time series shown in FIG is subjected to anomaly detection using the method of the present invention. The detection results are shown in FIG. Figure 8 The “×” mark in the figure is the detected abnormal point. It can be seen that the method of the present invention can effectively detect the abnormal position of the multi-dimensional KPI time series.

[0067] Although the present invention has been disclosed as above by way of embodiments, they are not intended to limit the present invention. Any appropriate modification or equivalent substitution of the technical solution of the present invention by a person skilled in the art should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on that defined in the claims.

Claims

1. A 5G core network multi-dimensional KPI time series anomaly detection method, characterized in that: The following steps are involved: Collect data packets in the 5G core network and parse them into detailed xDR call records; Identify message types based on xDR call records, analyze message contents to perform key performance indicator (KPI) statistics, and generate multi-dimensional KPI time series. Offline processing of multidimensional KPI time series includes time series prediction and residual calculation of multidimensional KPI time series, correlation calculation of KPI residual series generated by residual calculation, KPI screening of strongly correlated KPIs and retaining only one of them to generate screening results; offline processing correlation calculation is to use the time lagged cross-correlation algorithm TLCC to calculate the time series correlation between every two KPI residual series; offline processing KPI screening is to retain the earliest fluctuating KPI among several KPIs with strong time series correlation calculated by the TLCC algorithm; for KPIs that fluctuate at the same time, randomly retain one of them; and eliminate other KPIs; The multidimensional KPI time series is processed online, including KPI screening of the multidimensional KPI time series according to the above screening results, time series prediction and residual calculation according to the screened KPI time series, and then anomaly detection of the screened KPI time series and the KPI residual sequence generated by the residual calculation; the online processing uses the isolation forest model to detect anomalies on the screened KPI time series and the KPI residual sequence generated by the residual calculation, and the union of the anomaly results detected by the two is taken as the final detection result; The time series prediction for both offline and online processing is to set a time moving window, use the long short-term memory network model to predict the KPI sequence values ​​in the window, and generate a KPI prediction sequence; the residual calculation for both offline and online processing is to subtract the KPI prediction sequence from the KPI time series of the same dimension to obtain a KPI residual sequence of the same dimension.

2. The method according to claim 1, characterized in that Message types include: registration request message, call initiation request message, incoming call response message, registration response message and success response message.

3. The method according to claim 1, characterized in that The KPIs counted include: initial registration success rate, number of VOLTE users, answered call volume, connected call volume, calling answer rate, called answer rate, incoming call answer rate, outgoing call answer rate and outgoing call completion rate.

4. The method according to claim 1, characterized in that The detected anomalies include one or more of three types: global anomalies, local anomalies, and segment anomalies.

5. A 5G core network multi-dimensional KPI time series anomaly detection system, implementing the method described in any one of claims 1-4, characterized in that: include: Data collection module, used to collect data packets in the 5G core network and parse them into xDR call records; The KPI statistics module is used to identify the message type based on the xDR call record, perform KPI statistics and count by analyzing the message content, and generate a multi-dimensional KPI time series; The KPI analysis and processing module is used to first perform offline processing on the multidimensional KPI time series, including time series prediction and residual calculation on the multidimensional KPI time series, and correlation calculation on the KPI residual series generated by the residual calculation, and only retain one of the strongly correlated KPIs to generate a screening result; Then, the multidimensional KPI time series is processed online, including KPI screening of the multidimensional KPI time series according to the screening results, time series prediction and residual calculation based on the screened KPI time series, and anomaly detection of the screened KPI time series and the KPI residual series generated by the residual calculation; The alarm storage output module is used to output alarms and store logs based on the anomaly detection results.