Intelligent anomaly detection, event correlation analysis and automatic operation and maintenance method
Through the combination of variational autoencoders and graph attention networks, it is possible to quickly identify and respond to anomalies in complex systems, solving the problems of false positives, missed negatives and extended fault resolution time in existing operation and maintenance technology, and improving operation efficiency. maintenance efficiency and system stability.
Patent Information
- Application Number
- CN202410711631.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-23
AI Technical Summary
Existing operation and maintenance technology is difficult to quickly identify and respond to anomalies in complex systems, resulting in false positives, missed negatives, and extended fault resolution time. It lacks adaptive and automated capabilities, affecting system stability and operation and maintenance efficiency.
A dynamic anomaly detection model based on variational autoencoders and a graph attention network are used for event correlation analysis, automated operation and maintenance scripts perform repair operations, and dynamically adjust node characteristics and edge weights to achieve rapid fault location and automated processing.
It significantly improves anomaly detection accuracy and fault diagnosis efficiency, reduces false positives and false negatives, achieves rapid response and automated repair, and improves system stability and operation and maintenance efficiency.
Smart Images

Figure CN118536041A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of operation and maintenance technology, and specifically to an intelligent anomaly detection, event correlation analysis and automated operation and maintenance method. Background Art
[0002] Among existing operation and maintenance technologies, common methods include data collection, traditional statistical analysis, and simple machine learning models for anomaly detection. Rule engines and threshold settings are usually used to identify anomalies, relying on pre-set rules and parameters for system monitoring and fault detection. Correlation analysis and fault diagnosis are mainly performed manually or semi-automatically. Methods such as graph theory are used to try to perform correlation analysis on events and faults in the system, and repair operations are performed through manual intervention. However, these methods have significant limitations.
[0003] First, traditional operation and maintenance methods rely heavily on pre-set rules and thresholds to identify anomalies. These rules and thresholds are usually set based on past experience or simple statistical analysis, and are difficult to adapt to complex and changeable system behaviors and dynamically changing anomaly patterns. Manual rule setting is not only time-consuming and labor-intensive, but also incapable of quickly adjusting and responding to new anomaly patterns. This static rule setting method results in poor system adaptability, easy to miss new anomalies, and great difficulty in adjusting existing rules.
[0004] Second, existing anomaly detection methods lack self-adaptation and learning capabilities, and mainly rely on fixed detection modes and parameters, making it difficult to effectively identify complex and unknown anomaly patterns. The detection accuracy of traditional methods is often limited by data quality and rule settings. Existing methods are difficult to capture small changes in system behavior and potential abnormal signals. This limitation in accuracy leads to a large number of false positives and missed positives, which increases the workload of operation and maintenance personnel and affects the stability and reliability of the system.
[0005] Furthermore, in the absence of accurate anomaly detection, association analysis is often time-consuming and inaccurate. In existing systems, although some attempts have been made to use graph theory for association analysis, the starting point of association analysis is inaccurate due to the lack of efficient and automated anomaly detection pre-steps, which reduces the efficiency and accuracy of fault location. Association analysis relies on a large amount of manual participation and experience judgment, and cannot achieve rapid automated processing. This inefficient analysis process not only prolongs the time for fault diagnosis, but may also lead to misjudgments and missed judgments due to human interference, further affecting the maintenance and repair effects of the system.
[0006] Finally, even if existing methods can detect problems, manual intervention is usually required to perform repair operations, which prolongs the time it takes to solve the problem. Traditional operation and maintenance methods lack automated operation and maintenance actions and cannot quickly respond and handle abnormalities after they are detected. The manual processing process has large delays, especially when faced with sudden failures. It is impossible to intervene and repair in time, resulting in extended system downtime, which seriously affects business continuity and user experience. In addition, reliance on manual operations also increases the workload and error risk of operation and maintenance personnel, which is not conducive to improving operation and maintenance efficiency.
[0007] These problems reflect the shortcomings of current operation and maintenance technologies in dealing with anomaly detection and fault diagnosis in complex systems. There is an urgent need for a more efficient and intelligent solution to improve the accuracy and automation level of operation and maintenance. Summary of the invention
[0008] In view of the deficiencies in the prior art, the present invention provides an intelligent anomaly detection, event correlation analysis and automated operation and maintenance method, which solves the problem that traditional operation and maintenance methods are prone to miss reporting new anomalies.
[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions: an intelligent anomaly detection, event correlation analysis and automated operation and maintenance method, comprising the following steps:
[0010] S1. Data collection: Automatically collect various operation and maintenance data from the monitoring system, perform data cleaning and normalization, and prepare for subsequent analysis;
[0011] S2. Feature engineering: Extract meaningful features based on data types and business scenarios to provide input for anomaly detection models;
[0012] S3. Anomaly detection: Build a dynamic anomaly detection model based on variational autoencoder, learn the distribution of normal data in an unsupervised environment, input feature data into the variational autoencoder, and identify anomalies through unsupervised learning algorithms in latent space;
[0013] S4. Association analysis and fault diagnosis: Construct a directed graph consisting of nodes and edges. The nodes represent physical servers and virtual machines, and the edges represent the dependencies and communication links between servers and virtual machines. Apply the graph attention network to process the directed graph and identify the fault propagation path.
[0014] S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to perform repair operations including: restarting services and resource allocation.
[0015] Preferably, in step S1, various types of operation and maintenance data include server logs, application performance indicators, and network traffic.
[0016] Preferably, in the step S1, the data cleaning and normalization processing is performed on missing values, outliers and duplicate data.
[0017] Preferably, in the step S2, the feature extraction adopts principal component analysis and linear discriminant analysis of dimensionality reduction technology, and the meaningful features include statistical characteristics, periodic characteristics, trend characteristics, seasonal characteristics and mutation characteristics of the time series.
[0018] Preferably, the step S3 further comprises the following steps:
[0019] S31, reconstructing the input data from the latent space through the decoder and calculating the reconstruction error;
[0020] S32. Use RNN-like networks to further extract high-dimensional features from time series features;
[0021] S33, the extracted features are divided into independent features and dependent features, the input of the variational autoencoder only includes the independent features, and the dependent features are directly used to calculate the negative log-likelihood loss with the decoder output features;
[0022] S34. Apply unsupervised learning algorithms in the latent space of variational autoencoders and use the COPOD algorithm for anomaly detection.
[0023] Preferably, both the encoder and decoder structures adopt convolutional neural networks.
[0024] Preferably, in step S32, the RNN-type network is a long short-term memory network and a gated recurrent unit.
[0025] Preferably, the step S4 further comprises the following steps:
[0026] S41, collecting historical monitoring data for each node and extracting node features as initial feature vectors;
[0027] S42, the period for collecting historical monitoring data is the data of 15 minutes before the abnormal item is identified;
[0028] S43, applying a graph attention network, processing the directed graph through the graph attention network, calculating the attention coefficient on each edge, and weighted summing the features of neighboring nodes;
[0029] S44, graph attention network processes the incoming and outgoing edge information through different attention weights;
[0030] S45, mark the initial abnormal node, and identify the fault propagation path through multiple rounds of propagation in the graph attention network;
[0031] S46, track highly abnormal nodes and their upstream nodes, and identify the key propagation path of the fault;
[0032] The weights of the nodes and edges are dynamically adjusted according to the historical communication frequency and data exchange volume;
[0033] In the step S41, the initial features are extracted by using the sliding window technology to extract the statistical features in the time series data as the initial features.
[0034] Preferably, the attention network aggregates feature information of nodes and their neighbors layer by layer through multi-layer graph convolution operations.
[0035] Preferably, in step S5, the operation and maintenance script automatically restarts related services when a service anomaly is detected and automatically performs load balancing according to resource utilization.
[0036] The present invention provides an intelligent anomaly detection, event correlation analysis and automated operation and maintenance method.
[0037] It has the following beneficial effects:
[0038] 1. The present invention uses a dynamic variational autoencoder to automatically learn data distribution, thereby effectively identifying abnormal data. The dynamic variational autoencoder can handle complex and diverse system behaviors, and the distinction between independent and dependent features helps to reduce the complexity of the model and training time, improve detection accuracy, and significantly reduce false positives and negative negatives.
[0039] 2. The present invention combines the association analysis of the graph attention network to quickly and accurately locate the root cause of the fault in a large-scale complex system, calculates the weight of each edge through the attention mechanism, automatically adjusts the aggregation method of node features, and then quickly locates the starting point of the fault or the key node by tracking highly abnormal nodes and their upstream nodes, greatly improving the accuracy and efficiency of fault diagnosis.
[0040] 3. The present invention uses automated operation and maintenance to automatically trigger a predetermined operation and maintenance script after detecting an abnormality, and can respond to abnormal events in real time to ensure the high availability and stability of the system. Through pre-defined operation and maintenance strategies and scripts, various faults can be responded to quickly, thereby improving the overall operation and maintenance efficiency and service level.
[0041] 4. The present invention has dynamic adaptability: as the model continuously learns new data distribution, it can always maintain sensitivity and adaptability to system behavior, continuously improve the effects of anomaly detection and fault diagnosis, and by continuously learning and updating model parameters, the system can better cope with new abnormal patterns and complex system changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a flow chart of the present invention;
[0043] Figure 2 This is a structural diagram of the dynamic powder-changing autoencoder of the present invention;
[0044] Figure 3 It is a representation of nodes and edges of the present invention, and a simulation diagram of the propagation path of abnormal signals in the graph. DETAILED DESCRIPTION
[0045] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] Example 1: Intelligent anomaly detection based on static server logs
[0047] step:
[0048] S1. Data collection and preprocessing: Automatically collect server log data from the monitoring system, perform data cleaning and normalization, and handle missing values, outliers, and duplicate data;
[0049] S2. Feature engineering: extract statistical and periodic features of time series; use principal component analysis to reduce feature dimensions;
[0050] S3. Dynamic Variational Autoencoder Anomaly Detection: Build a dynamic anomaly detection model based on variational autoencoder to learn the distribution of normal data; input feature data into the variational autoencoder and identify anomalies through unsupervised learning algorithms in latent space;
[0051] S4. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent servers and edges represent dependencies and communication between servers; apply the graph attention network, calculate the attention coefficient on each edge, and weighted sum the features of neighboring nodes;
[0052] S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute the restart service operation.
[0053] Summary: This embodiment collects and preprocesses data through static server logs, uses variational autoencoders and graph attention networks for anomaly detection and fault analysis, and automatically restarts the service, achieving fast and accurate fault location and repair.
[0054] Example 2: Intelligent anomaly detection based on application performance indicators
[0055] step:
[0056] S1. Data collection and preprocessing: Automatically collect application performance indicator data from the monitoring system, including CPU utilization, memory occupancy, etc.; perform data cleaning and normalization;
[0057] S2. Feature engineering: extract trend characteristics and mutation characteristics of time series; use linear discriminant analysis to reduce feature dimensions;
[0058] S3. Dynamic Variational Autoencoder Anomaly Detection: Build a dynamic anomaly detection model based on variational autoencoder to learn the distribution of normal data; input feature data into the variational autoencoder and identify anomalies through unsupervised learning algorithms in latent space;
[0059] S4. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent applications and edges represent dependencies and communication between applications. Apply the graph attention network to calculate the attention coefficient on each edge and weighted sum the features of neighboring nodes.
[0060] S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to perform resource allocation operations.
[0061] Summary: This embodiment collects and preprocesses data through application performance indicators, uses variational autoencoders and graph attention networks for anomaly detection and fault analysis, and automatically performs resource allocation operations, thereby improving system resource utilization efficiency and fault repair speed.
[0062] Example 3: Intelligent anomaly detection based on network traffic
[0063] step:
[0064] S1. Data collection and preprocessing: Automatically collect network traffic data from the monitoring system, perform data cleaning and normalization, and handle missing values, outliers, and duplicate data;
[0065] S2. Feature engineering: extract seasonal and mutation characteristics of time series; use principal component analysis to reduce feature dimensions;
[0066] S3. Dynamic Variational Autoencoder Anomaly Detection: Build a dynamic anomaly detection model based on variational autoencoder to learn the distribution of normal data; input feature data into the variational autoencoder and identify anomalies through unsupervised learning algorithms in latent space;
[0067] S4. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent network devices and edges represent communication links between devices; apply the graph attention network, calculate the attention coefficient on each edge, and weighted sum the features of neighboring nodes;
[0068] S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute the network device restart operation.
[0069] Summary: This embodiment collects and preprocesses data through network traffic, uses variational autoencoders and graph attention networks for anomaly detection and fault analysis, and automatically executes network device restart operations, thereby achieving rapid location and repair of network faults.
[0070] Example 4: Intelligent anomaly detection based on comprehensive operation and maintenance data
[0071] step:
[0072] S1. Data collection and preprocessing: Automatically collect comprehensive operation and maintenance data such as server logs, application performance indicators and network traffic from the monitoring system; perform data cleaning and normalization;
[0073] S2. Feature engineering: extract statistical features, periodic features and trend features of time series; use linear discriminant analysis (LDA) to reduce feature dimensions;
[0074] S3. Dynamic Variational Autoencoder Anomaly Detection: Build a dynamic anomaly detection model based on variational autoencoder to learn the distribution of normal data; input feature data into the variational autoencoder and identify anomalies through unsupervised learning algorithms in latent space;
[0075] S4. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent physical servers and virtual machines, and edges represent the dependencies and communication links between them; apply the graph attention network, calculate the attention coefficient on each edge, and weighted sum the features of neighboring nodes;
[0076] S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute restart services and resource allocation operations.
[0077] Summary: This embodiment collects and preprocesses data through comprehensive operation and maintenance data, uses variational autoencoders and graph attention networks for anomaly detection and fault analysis, and automatically executes restart services and resource allocation operations, thereby achieving comprehensive fault detection and repair.
[0078] Example 5: Intelligent anomaly detection based on dynamic update
[0079] step:
[0080] S1. Data collection and preprocessing: Automatically collect various dynamically changing operation and maintenance data from the monitoring system, including server logs, application performance indicators and network traffic, and perform data cleaning and normalization;
[0081] S2. Feature engineering: extract statistical, periodic, seasonal and mutation features of time series, and use principal component analysis (PCA) to reduce feature dimensions;
[0082] S3. Dynamic Variational Autoencoder Anomaly Detection: Build a dynamic anomaly detection model based on variational autoencoder to learn the distribution of normal data; input feature data into the variational autoencoder and identify anomalies through unsupervised learning algorithms in latent space;
[0083] S4. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent physical servers and virtual machines, and edges represent the dependencies and communication between them. Apply the graph attention network, dynamically update the graph structure to reflect the real-time changes in the system status, calculate the attention coefficient on each edge, and weighted sum the features of neighboring nodes.
[0084] S4. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute restart services and resource allocation operations.
[0085] Summary: This embodiment collects and preprocesses dynamically changing operation and maintenance data, uses variational autoencoders and dynamically updated graph attention networks for anomaly detection and fault analysis, automatically executes restart services and resource allocation operations, and realizes real-time monitoring and rapid response to system status.
[0086] Summary: These five examples demonstrate the application of intelligent anomaly detection, event correlation analysis, and automated operation and maintenance methods in different operation and maintenance data environments. Through dynamic anomaly detection based on variational autoencoders and correlation analysis of graph attention networks, these methods can efficiently identify and diagnose system faults, and quickly perform repair operations through automated operation and maintenance scripts, thereby improving system stability and operation and maintenance efficiency.
[0087] Test experiment 1: Intelligent anomaly detection based on static server logs
[0088] Testing process:
[0089] A. Data collection: Collect log data from a large enterprise server within one month;
[0090] B. Data cleaning and preprocessing: clean data, handle missing values, outliers and duplicate data, and normalize data;
[0091] C. Feature engineering: extract statistical and periodic features of time series and use PCA for dimensionality reduction;
[0092] D. Dynamic variational autoencoder anomaly detection: Input feature data to the variational autoencoder and identify anomalies through unsupervised learning algorithms in the latent space;
[0093] E. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent servers and edges represent dependencies and communication between servers. Apply the graph attention network to calculate the attention coefficient and weighted sum the features of neighbor nodes.
[0094] F. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute the restart service operation.
[0095] Test data and results:
[0096]
[0097]
[0098] Summary: This experiment uses static server logs to detect anomalies with high accuracy, low false positive rate, and short repair time, demonstrating the efficiency of this method in a static data environment.
[0099] Test experiment 2: Intelligent anomaly detection based on application performance indicators
[0100] Testing process:
[0101] A. Data collection: Collect application performance indicator data (CPU utilization, memory usage) of an online service platform within one month;
[0102] B. Data cleaning and preprocessing: clean data, handle missing values, outliers and duplicate data, and normalize data;
[0103] C. Feature engineering: extract trend features and mutation features of time series and use LDA for dimensionality reduction;
[0104] D. Dynamic variational autoencoder anomaly detection: Input feature data to the variational autoencoder and identify anomalies through unsupervised learning algorithms in the latent space;
[0105] E. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent applications and edges represent dependencies and communication between applications. Apply the graph attention network to calculate the attention coefficient and weighted sum the features of neighboring nodes.
[0106] F. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to perform resource allocation operations.
[0107] Test data and results:
[0108]
[0109]
[0110] Summary: This experiment uses application performance indicators for anomaly detection, which can better identify and handle application performance anomalies. Although the false alarm rate is slightly higher than that of test experiment 1, it still shows high reliability.
[0111] Test experiment 3: Intelligent anomaly detection based on network traffic
[0112] Testing process:
[0113] A. Data collection: Collect traffic data of a certain enterprise network within one month;
[0114] B. Data cleaning and preprocessing: clean data, handle missing values, outliers and duplicate data, and normalize data;
[0115] C. Feature engineering: extract seasonal and mutation characteristics of time series and use PCA for dimensionality reduction;
[0116] D. Dynamic variational autoencoder anomaly detection: Input feature data to the variational autoencoder and identify anomalies through unsupervised learning algorithms in the latent space;
[0117] E. Graph Attention Network Correlation Analysis: Construct a directed graph, where nodes represent network devices and edges represent communication links between devices. Apply the graph attention network to calculate the attention coefficient and weighted sum the features of neighboring nodes.
[0118] F. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute the network equipment restart operation.
[0119] Test data and results:
[0120] Dataset Traffic data from 1,000 network devices, 100 million data points in total Detected anomalies 300 Accuracy 90% (compared with manual annotation results) False Positive Rate 5% Dataset Traffic data from 1,000 network devices, 100 million data points in total
[0121] Summary: This experiment performed anomaly detection on network traffic data. Although the false alarm rate was relatively high, it still maintained a good accuracy rate and a reasonable repair time, demonstrating the applicability of the method in network traffic.
[0122] Test experiment 4: Intelligent anomaly detection based on comprehensive operation and maintenance data
[0123] Testing process:
[0124] A. Data collection: Collect comprehensive operation and maintenance data such as server logs, application performance indicators, and network traffic of a large enterprise within one month;
[0125] B. Data cleaning and preprocessing: clean data, handle missing values, outliers and duplicate data, and normalize data;
[0126] C. Feature engineering: extract statistical features, periodic features and trend features of time series, and use LDA for dimensionality reduction;
[0127] D. Dynamic variational autoencoder anomaly detection: Input feature data to the variational autoencoder and identify anomalies through unsupervised learning algorithms in the latent space;
[0128] E. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent physical servers and virtual machines, and edges represent the dependencies and communication between them. Apply the graph attention network to calculate the attention coefficient and weighted sum the features of neighbor nodes.
[0129] F. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute restart services and resource allocation operations.
[0130] Test data and results:
[0131]
[0132] Summary: This experiment combines comprehensive operation and maintenance data for anomaly detection, showing high accuracy and low false alarm rate, proving the comprehensive ability of the method in processing multiple data types.
[0133] Test experiment 5: Intelligent anomaly detection based on dynamic updates
[0134] Testing process:
[0135] A. Data collection: Automatically collect various dynamically changing operation and maintenance data from the monitoring system, including server logs, application performance indicators, and network traffic;
[0136] B. Data cleaning and preprocessing: clean data, handle missing values, outliers and duplicate data, and normalize data;
[0137] C. Feature engineering: extract the statistical, periodic, seasonal and mutation characteristics of the time series, and use PCA for dimensionality reduction;
[0138] D. Dynamic variational autoencoder anomaly detection: Input feature data to the variational autoencoder and identify anomalies through unsupervised learning algorithms in the latent space;
[0139] E. Graph Attention Network Association Analysis: Construct a directed graph, where nodes represent physical servers and virtual machines, and edges represent dependencies and communication between them; dynamically update the graph structure to reflect real-time changes in system status, calculate the attention coefficient on each edge, and weighted sum the features of neighboring nodes;
[0140] F. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to execute restart services and resource allocation operations.
[0141] Test data and results:
[0142]
[0143] Summary: This experiment performed anomaly detection on dynamically changing operation and maintenance data, with excellent accuracy and false alarm rate, and short repair time, demonstrating the efficiency of this method in a real-time monitoring environment.
[0144] Summary: Through the test experiments of the five embodiments, it can be seen that the intelligent anomaly detection, event correlation analysis and automated operation and maintenance methods can work effectively in different operation and maintenance data environments. These experiments demonstrate the comprehensive capabilities of the method in data collection, feature engineering, anomaly detection, correlation analysis and automated operation and maintenance steps; in each embodiment, the accuracy rate is maintained above 90%, indicating that the method has high reliability in different data environments, and the false alarm rate is below 5%, which further proves the effectiveness and accuracy of the method. In addition, the average repair time is between 2-4 minutes, showing the efficiency of the method in detecting and repairing faults.
[0145] Comparative experiment 1: Anomaly detection based on server logs
[0146] Existing technical solutions:
[0147] 1. Use rule-based anomaly detection methods;
[0148] 2. Rule engine and threshold setting to identify anomalies;
[0149] 3. Rely on manual or semi-automatic methods for correlation analysis and fault diagnosis.
[0150] Technical solution of the present invention:
[0151] 1. Unsupervised anomaly detection using dynamic variational autoencoders;
[0152] 2. Combine graph attention network for correlation analysis and fault diagnosis;
[0153] 3. Automated operation and maintenance triggers repair operations.
[0154] Comparative experimental process:
[0155] S1. Data collection: Collect log data from a large enterprise server within one month. The data set includes 20 million log entries.
[0156] S2. Data cleaning and preprocessing: processing missing values, outliers and duplicate data, and normalization;
[0157] S3. Feature engineering: extract statistical and periodic features of time series and use PCA for dimensionality reduction;
[0158] S4. Anomaly detection: The existing technology is based on rule engine and threshold setting; the present invention constructs a dynamic anomaly detection model based on variational autoencoder;
[0159] S5. Association analysis: Prior art: relies on manual or semi-automatic methods; the present invention: uses a graph attention network to perform automated association analysis;
[0160] S6. Fault repair: Prior art: manually performing repair operations; present invention: automatically triggering a predetermined operation and maintenance script to perform a restart service operation.
[0161] Experimental data and results:
[0162]
[0163] Summary: The technical solution of the present invention is superior to the existing technology in terms of accuracy, false alarm rate, repair time, average detection time and average analysis time, especially in automated repair.
[0164] Comparative experiment 2: Anomaly detection based on application performance indicators
[0165] Existing technical solutions:
[0166] 1. Use simple machine learning models for anomaly detection;
[0167] 2. Manually perform correlation analysis and fault diagnosis;
[0168] 3. Perform repair operations manually.
[0169] Technical solution of the present invention:
[0170] 1. Unsupervised anomaly detection using dynamic variational autoencoders;
[0171] 2. Combine graph attention network for automatic correlation analysis and fault diagnosis;
[0172] 3. Automated operation and maintenance triggers repair operations.
[0173] Comparative experimental process:
[0174] S1. Data collection: collect application performance indicator data of an online service platform within one month. The data set includes 50 million data points.
[0175] S2. Data cleaning and preprocessing: processing missing values, outliers and duplicate data, and normalization;
[0176] S3. Feature engineering: extract trend features and mutation features of time series and use LDA for dimensionality reduction;
[0177] S4. Anomaly detection: Prior art: using simple machine learning models (such as linear regression and decision trees); The present invention: constructing a dynamic anomaly detection model based on variational autoencoders;
[0178] S5. Association analysis: Prior art: manual association analysis; present invention: automated association analysis using graph attention network;
[0179] S6. Fault repair: Prior art: manually performing repair operations; present invention: automatically triggering a predetermined operation and maintenance script to perform resource allocation operations.
[0180] Experimental data and results:
[0181]
[0182] Summary: The technical solution of the present invention is superior to the existing technology in terms of accuracy, false alarm rate, repair time, average detection time and average analysis time, especially in resource allocation and automated repair.
[0183] Comparative experiment 3: Anomaly detection based on network traffic
[0184] Existing technical solutions:
[0185] 1. Use fixed thresholds for anomaly detection;
[0186] 2. Manually diagnose and repair faults.
[0187] Technical solution of the present invention:
[0188] 1. Unsupervised anomaly detection using dynamic variational autoencoders;
[0189] 2. Combine graph attention network for automatic correlation analysis and fault diagnosis;
[0190] 3. Automated operation and maintenance triggers repair operations.
[0191] Comparative experimental process:
[0192] S1. Data collection: Collect traffic data of a certain enterprise network within one month. The data set includes 100 million data points.
[0193] S2. Data cleaning and preprocessing: processing missing values, outliers and duplicate data, and normalization;
[0194] S3. Feature engineering: extract seasonal and mutation characteristics of time series;
[0195] Use PCA for dimensionality reduction.
[0196] S3. Anomaly detection: Prior art: using a fixed threshold for detection; The present invention: constructing a dynamic anomaly detection model based on a variational autoencoder;
[0197] S5. Correlation analysis: Prior art: manual fault diagnosis; present invention: automatic correlation analysis using graph attention network;
[0198] S6. Fault repair: Prior art: manually performing repair operations; present invention: automatically triggering a predetermined operation and maintenance script to execute a network device restart operation.
[0199] Experimental data and results:
[0200]
[0201] Summary: The technical solution of the present invention is superior to the existing technology in terms of accuracy, false alarm rate, repair time, average detection time and average analysis time, especially in automated detection and repair.
[0202] Finally, the intelligent anomaly detection, event correlation analysis and automated operation and maintenance methods of the present invention have shown advantages over existing technologies in different scenarios. Through detailed experimental comparison, the present invention has shown significant advantages in improving accuracy, reducing false alarm rate, shortening repair time and realizing automated operation and maintenance.
[0203] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An intelligent anomaly detection, event correlation analysis and automated operation and maintenance method, characterized in that: The following steps are involved: S1. Data collection: Automatically collect various operation and maintenance data from the monitoring system, perform data cleaning and normalization, and prepare for subsequent analysis; S2. Feature engineering: Extract meaningful features based on data types and business scenarios to provide input for anomaly detection models; S3. Anomaly detection: Build a dynamic anomaly detection model based on variational autoencoder, learn the distribution of normal data in an unsupervised environment, input feature data into the variational autoencoder, and identify anomalies through unsupervised learning algorithms in latent space; S4. Association analysis and fault diagnosis: Construct a directed graph consisting of nodes and edges. The nodes represent physical servers and virtual machines, and the edges represent the dependencies and communication links between servers and virtual machines. Apply the graph attention network to process the directed graph and identify the fault propagation path. S5. Automated operation and maintenance: Based on the fault diagnosis results, the predetermined operation and maintenance script is automatically triggered to perform repair operations including: restarting services and resource allocation.
2. According to claim 1, an intelligent anomaly detection, event correlation analysis and automated operation and maintenance method is characterized in that: In the S1 step, various types of operation and maintenance data include server logs, application performance indicators, and network traffic.
3. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 1 is characterized in that: In the step S1, data cleaning and normalization are performed to process missing values, outliers and duplicate data.
4. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 1 is characterized in that: In the step S2, the feature extraction adopts principal component analysis and linear discriminant analysis of dimensionality reduction technology, and the meaningful features include statistical features, periodic features, trend features, seasonal features and mutation features of the time series.
5. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 1 is characterized in that: The step S3 further includes the following steps: S31, reconstructing the input data from the latent space through the decoder and calculating the reconstruction error; S32. Use RNN-like networks to further extract high-dimensional features from time series features; S33, the extracted features are divided into independent features and dependent features, the input of the variational autoencoder only includes the independent features, and the dependent features are directly used to calculate the negative log-likelihood loss with the decoder output features; S34. Apply unsupervised learning algorithms in the latent space of variational autoencoders and use the COPOD algorithm for anomaly detection.
6. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 5, characterized in that: The encoder and decoder structures both adopt convolutional neural networks.
7. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 5, characterized in that: In the step S32, the RNN type network is a long short-term memory network and a gated recurrent unit.
8. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 1, characterized in that: The step S4 further comprises the following steps: S41, collecting historical monitoring data for each node and extracting node features as initial feature vectors; S42, the period for collecting historical monitoring data is the data of 15 minutes before the abnormal item is identified; S43, applying a graph attention network, processing the directed graph through the graph attention network, calculating the attention coefficient on each edge, and weighted summing the features of neighboring nodes; S44, graph attention network processes the incoming and outgoing edge information through different attention weights; S45, mark the initial abnormal node, and identify the fault propagation path through multiple rounds of propagation in the graph attention network; S46, track highly abnormal nodes and their upstream nodes, and identify the key propagation path of the fault; The weights of the nodes and edges are dynamically adjusted according to the historical communication frequency and data exchange volume; In the step S41, the initial features are extracted by using the sliding window technology to extract the statistical features in the time series data as the initial features.
9. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 8, characterized in that: The attention network aggregates the feature information of nodes and their neighbors layer by layer through multi-layer graph convolution operations.
10. The intelligent anomaly detection, event correlation analysis and automated operation and maintenance method according to claim 1, characterized in that: In the step S5, the operation and maintenance script automatically restarts related services when a service anomaly is detected and automatically performs load balancing according to resource utilization.
Citation Information
Cited By
Data operation and maintenance management method and system based on edge computing
CN120639777A
Micro-service fault processing method based on large model
CN120929993A
Unified operation and maintenance monitoring method based on probe
CN120935080A
