A DCGW cluster alarm method and system

Through the deep neural network model, the monitoring indicator data of the DCGW cluster is predicted and the alarm threshold is dynamically adjusted, which solves the problems of false alarms and low accuracy in the existing technology, and achieves the improvement of accurate alarms and fault positioning efficiency during peak business periods. .

CN113778805BActive Publication Date: 2024-11-01CHINA CONSTRUCTION BANK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111081756.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-15
Publication Date
2024-11-01
Estimated Expiration
2041-09-15

AI Technical Summary

Technical Problem

The existing DCGW cluster alarm method is prone to false alarms during peak business periods, and cannot accurately sense cloud application failures, which increases the difficulty of fault location, and has a high false alarm rate and low accuracy rate.

Method used

The deep neural network model is used to predict the monitoring indicator data of the DCGW cluster, dynamically adjust the alarm threshold, calculate the dynamic alarm upper and lower limit thresholds through the actual and predicted values ​​of the monitoring indicators at the preset time, and generate corresponding alarm information.

Benefits of technology

It effectively avoids false alarms during peak business periods, provides accurate alarm information when a fault occurs, and improves fault positioning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778805B_ABST
    Figure CN113778805B_ABST
Patent Text Reader

Abstract

The present application discloses a DCGW cluster alarm method and system, which predicts the acquired data to be tested by presetting a deep neural network model to obtain the predicted value of the monitoring index at the preset time. If the actual value of the monitoring index at the preset time is greater than the dynamic alarm upper limit threshold, a first alarm message is generated. If the actual value of the monitoring index at the preset time is less than the dynamic alarm lower limit threshold, a second alarm message is generated. Through the above scheme, the monitoring index data in the DCGW cluster are modeled as one-dimensional time series data, and the monitoring index data are dynamically predicted from the time dimension. When the actual value of the monitoring index is higher than the dynamic alarm upper limit threshold or lower than the dynamic alarm lower limit threshold, the corresponding alarm information can be generated, thereby avoiding a large number of false alarms when the short-term business surges during the business peak period, and providing accurate alarm information when the user dedicated line business fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and more specifically, to a DCGW cluster alarm method and system. Background Art

[0002] Currently, more and more users are using cloud dedicated line access (Direct Connect, DC) products to achieve network interconnection between cloud resources and Internet Data Center (IDC). In the cloud environment, the user's dedicated line traffic is forwarded through the Data Center Gateway (DCGW) cluster.

[0003] Through the monitoring and analysis of the traffic and packet volume of the DCGW cluster and the user's physical dedicated lines and dedicated channel as well as the alarm configuration, on the one hand, it can help operation and maintenance personnel to initiate DCGW cluster expansion before approaching the expansion threshold based on the current DCGW cluster traffic usage; on the other hand, it can help operation and maintenance technicians quickly locate problems when network transmission of user dedicated line services fails.

[0004] However, the alarm methods of DCGW clusters have certain shortcomings. First, the monitoring alarm thresholds for DCGW clusters are all static thresholds. When the monitoring indicators are higher than the thresholds, an alarm will be generated to remind the operation and maintenance personnel to check. On the one hand, this method will produce a large number of false alarms for short-term surges in user business peaks. Secondly, when the user's cloud application is interrupted due to its own problems and lacks the necessary application dialing, the DCGW cluster's alarm method cannot perceive it, making it impossible to obtain accurate alarm information when the user's dedicated line service fails, further increasing the difficulty of fault location.

[0005] Therefore, the existing DCGW cluster alarm method has a high false alarm rate, and the accuracy of the alarm information obtained from the DCGW cluster is low. Summary of the invention

[0006] In view of this, the present application discloses a DCGW cluster alarm method and system, which aims to avoid a large number of false alarms when short-term business surges during business peak periods, and provide accurate alarm information when user dedicated line services fail.

[0007] In order to achieve the above purpose, the disclosed technical solution is as follows:

[0008] In a first aspect, the present application discloses a DCGW cluster alarm method, the method comprising:

[0009] Obtaining n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster; and processing the n monitoring indicator data to obtain data to be tested; wherein n is an integer greater than 1;

[0010] The data to be tested is predicted by a pre-built deep neural network model to obtain a predicted value of the monitoring indicator at a preset time;

[0011] Determine the upper limit threshold of the dynamic alarm and the lower limit threshold of the dynamic alarm according to the predicted value of the monitoring indicator at the preset time and the actual value of the monitoring indicator at the preset time; the upper limit threshold of the dynamic alarm is used to characterize the upper limit of the value that triggers the dynamic alarm; the lower limit threshold of the dynamic alarm is used to characterize the lower limit of the value that triggers the dynamic alarm;

[0012] If the actual value of the monitoring indicator at the preset time is greater than the upper limit threshold of the dynamic alarm, a first alarm message is generated; the first alarm message is used to prompt that the upper limit of the value that triggers the dynamic alarm has been reached;

[0013] If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm lower limit threshold, a second alarm message is generated; the second alarm message is used to prompt that the lower limit of the value that triggers the dynamic alarm is reached.

[0014] Preferably, the processing of the monitoring indicator data to obtain the data to be measured includes:

[0015] The n monitoring indicator data are monitored by a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval;

[0016] The metadata is normalized to obtain the data to be tested.

[0017] Preferably, the determining of the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold according to the monitoring indicator predicted value at the preset time and the monitoring indicator actual value at the preset time includes:

[0018] Performing a difference calculation on the actual value of the monitoring indicator at the preset time and the predicted value of the monitoring indicator at the preset time to obtain a residual value;

[0019] The pre-acquired prediction error coefficient, the preset boundary coefficient and the residual value are subjected to variance calculation to obtain a dynamic alarm upper limit threshold and a dynamic alarm lower limit threshold.

[0020] Preferably, it also includes:

[0021] If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold, it is determined that the DCGW cluster is in a normal state.

[0022] Preferably, it also includes:

[0023] If the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper limit threshold, the DCGW cluster is expanded.

[0024] The second aspect of the present application discloses a DCGW cluster alarm system, the system comprising:

[0025] A first acquisition unit is used to acquire n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster; and process the n monitoring indicator data to obtain data to be tested; wherein n is an integer greater than 1;

[0026] A prediction unit, used to predict the data to be tested by using a pre-built deep neural network model to obtain a predicted value of the monitoring indicator at a preset time;

[0027] A first determination unit is used to determine a dynamic alarm upper threshold and a dynamic alarm lower threshold according to the monitoring indicator prediction value at the preset time and the monitoring indicator actual value at the preset time; the dynamic alarm upper threshold is used to characterize the upper limit of the value that triggers the dynamic alarm; the dynamic alarm lower threshold is used to characterize the lower limit of the value that triggers the dynamic alarm;

[0028] A first generating unit, configured to generate a first alarm message if the actual value of the monitoring indicator at the preset time is greater than the upper limit threshold of the dynamic alarm; the first alarm message is used to prompt that the upper limit of the value that triggers the dynamic alarm has been reached;

[0029] The second generating unit is used to generate a second alarm message if the actual value of the monitoring indicator at the preset time is less than the dynamic alarm lower limit threshold; the second alarm message is used to prompt that the lower limit of the value that triggers the dynamic alarm is reached.

[0030] Preferably, the first acquisition unit processes the monitoring indicator data to obtain the data to be measured, including:

[0031] An acquisition module is used to monitor the n monitoring indicator data through a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval;

[0032] The normalization module is used to normalize the metadata to obtain the data to be tested.

[0033] Preferably, the first determining unit includes:

[0034] A first calculation module, used for performing a difference calculation between the actual value of the monitoring indicator at the preset time and the predicted value of the monitoring indicator at the preset time to obtain a residual value;

[0035] The second calculation module is used to perform variance calculation on the pre-acquired prediction error coefficient, the preset boundary coefficient and the residual value to obtain a dynamic alarm upper limit threshold and a dynamic alarm lower limit threshold.

[0036] Preferably, it also includes:

[0037] The second determining unit is configured to determine that the DCGW cluster is in a normal state if the actual value of the monitoring indicator at the preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold.

[0038] Preferably, it also includes:

[0039] The operating unit is used to perform a capacity expansion operation on the DCGW cluster if the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper limit threshold.

[0040] It can be known from the above technical scheme that the present application discloses a DCGW cluster alarm method and system, which obtains n monitoring indicator data and processes the n monitoring indicator data to obtain the data to be tested; the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster, and the value of n is an integer greater than 1. The data to be tested is predicted by a pre-constructed deep neural network model to obtain the monitoring indicator prediction value at a preset time, and the monitoring indicator prediction value at the preset time is calculated to obtain a dynamic alarm upper threshold and a dynamic alarm lower threshold. If the actual value of the monitoring indicator at the preset time obtained in advance is greater than the dynamic alarm upper threshold, a first alarm message is generated, and the first alarm message is used to prompt that the current network state of the DCGW cluster is in a packet loss state and / or the application state of the DCGW cluster is in a business failure state. If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm lower threshold, a second alarm message is generated, and the second alarm message is used to prompt that the current network state of the DCGW cluster is in an unstable state and / or the business volume of the application business of the DCGW cluster decreases abnormally. Through the above scheme, the monitoring indicator data in the DCGW cluster are modeled as one-dimensional time series data, and the monitoring indicator data are dynamically predicted from the time dimension. When the actual value of the monitoring indicator is higher than the dynamic alarm upper threshold or lower than the dynamic alarm lower threshold, the corresponding alarm information can be generated, thereby avoiding a large number of false alarms when the short-term business surges during the business peak period, and providing accurate alarm information when the user dedicated line business fails. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0042] Figure 1 A flow chart of a DCGW cluster alarm method disclosed in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of the structure of the LSTM deep neural network model disclosed in the embodiment of the present application;

[0044] Figure 3 A schematic diagram of internal calculations in the LSTM deep neural network model disclosed in the embodiments of the present application;

[0045] Figure 4 A schematic diagram of the structure of each neuron in the fully connected layer disclosed in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of the LSTM deep neural network after neuron inactivation disclosed in the embodiment of the present application;

[0047] Figure 6 A schematic diagram of the LSTM neural network model structure of the DCGW cluster dynamic alarm prediction method disclosed in the embodiment of the present application;

[0048] Figure 7 A schematic diagram of the structure of a DCGW cluster alarm system disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0051] As can be seen from the background technology, the existing DCGW cluster alarm mode has a high false alarm rate, and the accuracy of the alarm information obtained from the DCGW cluster is low.

[0052] In order to solve the above problems, the embodiment of the present application discloses a DCGW cluster alarm method and system, which models the monitoring indicator data in the DCGW cluster as one-dimensional time series data, and dynamically predicts the monitoring indicator data from the time dimension. When the actual value of the monitoring indicator is higher than the dynamic alarm upper threshold or lower than the dynamic alarm lower threshold, corresponding alarm information can be generated, thereby avoiding a large number of false alarms when the short-term business surges during the business peak period, and providing accurate alarm information when the user dedicated line business fails. The specific implementation method is explained by the following embodiment.

[0053] refer to Figure 1 FIG. 1 is a flow chart of a DCGW cluster alarm method disclosed in an embodiment of the present application. The DCGW cluster alarm method mainly includes the following steps:

[0054] S101: Obtain n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicators of the DCGW cluster; and process the n monitoring indicator data to obtain data to be tested; n is an integer greater than 1.

[0055] In S101, a single-step prediction is performed on monitoring indicator data such as the inbound flow, outbound flow, incoming packet volume, and outgoing packet volume of the DCGW cluster.

[0056] Single-step prediction of instant point series means that the indicator values ​​in the sequence are not additive, and the size of each indicator value in the sequence has no direct connection with the length of the interval between them. Each indicator value in the sequence is usually obtained through a regular registration.

[0057] The specific process of processing n monitoring indicator data to obtain the data to be tested is as follows:

[0058] First, deploy the preset monitoring components in the monitoring platform.

[0059] Then, the n monitoring indicator data are monitored through a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval.

[0060] Among them, time series data is a set of random variables sorted by time, which is usually the result of observing a potential process at a given sampling rate in equally spaced time periods. Time series data essentially reflects the trend of one or more random variables changing over time, and the core of time series prediction methods is to mine this law from the data and use it to predict the predicted value of monitoring indicators at a preset time.

[0061] The expression of metadata is shown in formula (1).

[0062] X k ={x k-n+1 , x k-n+2 , ..., x k} (1)

[0063] Among them, X k is a vector consisting of n monitoring indicator data of the monitoring component from the preset time interval (from time k-n+1 to time k), that is, time series data. n is a positive integer hyperparameter of the Long Short-Term Memory (LSTM) artificial neural network. k-n+1 is the monitoring indicator data at time k-n+1, ​​x k-n+2 is the monitoring indicator data at time k-n+2, x k is the monitoring indicator data at discrete period k, where k is an integer greater than or equal to 1.

[0064] Finally, the metadata is normalized to obtain the data to be tested.

[0065] Among them, the metadata is normalized so that the monitoring indicator data is normalized to the same range, which can make the model converge quickly and improve the prediction accuracy.

[0066] Since the monitoring indicators related to the DCGW cluster are non-negative numbers, the normalized calculation formula is shown in formula (2).

[0067]

[0068] Among them, Z k For X k Normalized time series, X max is the maximum value of the monitoring information, X max Generally, the maximum value of all samples in the historical data is taken, or the performance limit value of the current DCGW cluster or DCGW server is taken.

[0069] S102: Predicting the data to be tested by using a pre-built deep neural network model to obtain a predicted value of the monitoring indicator at a preset time.

[0070] In S102, the LSTM deep neural network model uses the existing time series X k Predict x k+1 , and x k+1 As the predicted value of the monitoring indicator at time k+1.

[0071] The structure of the LSTM deep neural network model is as follows Figure 2 shown.

[0072] Figure 2 In the figure, the LSTM deep neural network model includes an input layer, an LSTM layer, a fully connected layer, and an output layer.

[0073] Input layer: The input of this layer is the normalized DCGW cluster monitoring indicator data time series Z k , the number of neurons is consistent with the hyperparameter n.

[0074] LSTM layer: Compared with the general neural network, this layer adds three types of logic gating units including forget gate, input gate and output gate.

[0075] Among them, the forget gate controls the degree of forgetting of historical information in neurons, the input gate controls the new information input to neurons, and the output gate controls the output of neuron information. Adding the above three logic gating units solves the long-distance dependency and gradient disappearance problems of neural networks.

[0076] The internal calculation process in the LSTM deep neural network model is as follows Figure 3 shown.

[0077] Figure 3 In, X k is the input of the network at time k (monitoring index data at discrete period k); h k is the output of the network at time k; h k-1 is the output of the network at time k-1; h k+1 is the output of the network at time k+1; C k is the output of the memory unit at time k; C k-1 is the output of the memory unit at time k-1; σ represents the common Sigmoid function; A represents the same neuron structure, which is replaced by the symbol here; X k+1 is the predicted value of the monitoring index at time k+1; X k-1 is the predicted value of the monitoring index at time k-1; f k is the coefficient of the forget gate output; i kis the coefficient of the input gate output; is the intermediate state parameter of the input gate; “+” and “X” are both operation symbols; tanh is the hyperbolic tangent.

[0078] The calculation process of the forget gate is shown in formula (3).

[0079] f k =sigmoid(θ f ·[h k-1 , X k ]+b f ) Formula (3)

[0080] Among them, f k is the coefficient of the forget gate output; θ f is the weight of the forget gate; b f is the bias of the forget gate; X k is the input of the LSTM deep neural network at time k; h k-1 is the output of the k-1 moment LSTM deep neural network.

[0081] The input gate calculation process is shown in formula (4) and formula (5).

[0082] i k =sigmoid(θ i ·[h k-1 , X k ]+b i ) Formula (4)

[0083] Among them, i k is the coefficient of the input gate output, θ i is the weight of the input gate; b i is the bias of the input gate; X k It is the input of the LSTM deep neural network at the k moment.

[0084]

[0085] in, is the intermediate state parameter of the input gate; h k-1 is the output of the LSTM deep neural network at time k-1; θ c is the weight when calculating the parameter; X k is the input of the LSTM deep neural network at time k; b c is the bias used in calculating this parameter.

[0086] The output gate calculation process is shown in formula (6).

[0087] o k =sigmoid(θ o ·[h k-1, X k ]+b o ) Formula (6)

[0088] Among them, k is the coefficient of the output gate; θ o is the weight of the input gate; X k is the input of the LSTM deep neural network at time k; b o is the bias of the input gate.

[0089] The iterative calculation process is shown in formula (7) and formula (8).

[0090] h k =o k *tanh(C k-1 ) Formula (7)

[0091]

[0092] Among them, h k is the output of the LSTM deep neural network at time k, o k is the coefficient of the output gate, C k is the network memory unit output at time k, C k-1 is the network memory unit output at time k-1, is the intermediate state, f k is the coefficient of the forget gate output, i k is the coefficient of the input gate output.

[0093] Output C through the network memory unit at time k-1 k-1 , the output o of each gate in the network at time k k 、f k 、i k and intermediate state The output h of the network at time k can be obtained k and memory cell output C k , as the input at time k+1, to complete the iterative calculation.

[0094] Fully connected layer: This layer is mainly used to transform the data dimension and increase the complexity of the model. The fully connected layer maps data from high dimensions to low dimensions while retaining key information as much as possible.

[0095] In the fully connected layer, the structure of each neuron is as follows Figure 4 shown.

[0096] Figure 4 In {X1, X2, X3, ..., X n} is the input of the neuron, {W1, W2, W3, …, W n} is the weight of each neuron input, F(Σ i W i X i +b i ) represents the activation function. After the activation function is introduced, the neuron can limit the output range and have better nonlinear fitting ability. Here, the common Sigmoid activation function is used, and its expression is shown in formula (9).

[0097] σ(x)=1 / 1+e -x Formula (9)

[0098] Among them, σ(x) is the Sigmoid activation function, e is the natural logarithm, and x is the independent variable of the function.

[0099] The update process of the fully connected layer can be expressed step by step, as shown in A1-A3.

[0100] A1: When the network is initialized, the weight W i and bias b i Set to a random number between 0 and 1.

[0101] A2: Calculate F(Σ i W i X i +b i ) until the final neuron output is output.

[0102] A3, uses the squared error transfer function (back-propagation updates weights and bias parameters), as shown in formula (10).

[0103]

[0104] Where E is the square error transfer function, i is a neuron, and y i To monitor the actual value of the indicator, Predicted value for monitoring indicator.

[0105] The error function is used to update the weights and biases. The specific updating process is shown in formula (11) and formula (12).

[0106]

[0107]

[0108] Among them, W i is the weight of neuron i after update; b i is the bias of the updated neuron i; α is the step size, W i0 is the initial weight of neuron i; b i0 is the bias of neuron i.

[0109] Output layer: This layer is the output of the prediction model and is responsible for giving the predicted value X of the monitoring indicator at time k+1. k+1 Since the model is a one-step prediction, the number of neurons in the output layer is 1.

[0110] The loss function of the LSTM deep neural network model is specified to evaluate the deviation between the true value and the predicted value. During the training process, the deep neural network optimizes the model parameters by minimizing the loss function. In this application, the prediction of the monitoring indicator threshold belongs to a regression problem, and the square loss function commonly used in regression problems is used, as shown in formula (13).

[0111]

[0112] Among them, J(θ) is the loss function, y k is the true value of the monitoring indicator at time k, is the predicted value of the monitoring index of the LSTM deep neural network model at time k, and N is the number of neurons in this layer.

[0113] Set the random deactivation probability of neurons. In order to deal with the overfitting phenomenon that may occur in the LSTM deep neural network during the training process, a random deactivation mechanism is designed for the neurons of the deep neural network. In each round of iterative calculation, each neuron has an independent and identically distributed deactivation probability, and the deactivated neurons do not participate in the calculation process. This mechanism effectively reduces the overfitting phenomenon on the one hand, and reduces the complexity of network calculation on the other hand. The probability of neuron deactivation designed in this application is 25%. The specific structure of the LSTM deep neural network after neuron deactivation is as follows Figure 5 shown.

[0114] Figure 5 In the figure, the LSTM deep neural network after neuron inactivation includes input layer, LSTM layer, fully connected layer and output layer.

[0115] Set the objective function optimization algorithm of the LSTM deep neural network. Among the common Newton method and gradient descent method, the Newton method is prone to fall into the local optimum, so this application adopts the batch gradient descent (BGD) method. The BGD method uses all sample data when updating parameters to ensure that the result is the global optimum. Its update process is shown in formula (14).

[0116]

[0117] Among them, θ i is the parameter of linear regression, m is the total number of samples, α is the update step size, x is the sample value, y is the data label value, h θ The regression line fitted to the target is and are the input of this layer, y j is the output of this layer.

[0118] Through the above, the principles, structures and activation functions of each component of the LSTM deep neural network are introduced. In the actual process of designing the network, it is necessary to design hyperparameters such as network depth, number of neurons, and step size. Using the traditional grid search method, the preset hyperparameter values ​​are arranged and combined and tested to confirm the best hyperparameter combination for prediction performance. The mean absolute error (MAE) is used to evaluate the prediction performance, and its calculation process is shown in formula (15).

[0119]

[0120] Among them, n is the total number of samples, i is a neuron, and y i is the true value of the training sample, is the predicted value output by the LSTM deep neural network. Here is a set of commonly used hyperparameter combinations, as shown in Table 1.

[0121] Training parameters Number of LSTM neurons Number of fully connected layers Number of neurons in the fully connected layer Step Length 50 100 4 100 8

[0122] Table 1

[0123] Among them, the training parameter is 50, the number of LSTM upgrade elements is 100, the number of fully connected layers is 4, the number of neurons in the fully connected layer is 100, and the step size is 8.

[0124] S103: Determine the upper threshold value and the lower threshold value of the dynamic alarm according to the predicted value of the monitoring indicator at the preset time and the actual value of the monitoring indicator at the preset time; the upper threshold value of the dynamic alarm is used to represent the upper limit of the value that triggers the dynamic alarm; the lower threshold value of the dynamic alarm is used to represent the lower limit of the value that triggers the dynamic alarm.

[0125] In S103, the upper and lower dynamic alarm thresholds can be adjusted according to the prediction of the peak and off-peak periods of user services, and detection and alarm of the upper and lower dynamic alarm thresholds can be realized.

[0126] The preset time may be 9:00 or 12:13. The specific preset time is determined by the technical personnel according to the actual situation, and this application does not make any specific limitation.

[0127] Specifically, the process of determining the upper limit threshold of the dynamic alarm and the lower limit threshold of the dynamic alarm based on the predicted value of the monitoring indicator at the preset time and the actual value of the monitoring indicator at the preset time is as follows:

[0128] First, the difference between the actual value of the monitoring indicator at the preset time and the predicted value of the monitoring indicator at the preset time is calculated to obtain a residual value.

[0129] Among them, the predicted value of the monitoring index at time k obtained by the LSTM deep neural network and y at time k k The residual between the true value of the monitoring indicator is shown in formula (16).

[0130]

[0131] Among them, e k is the residual value.

[0132] Since the output of the LSTM deep neural network is the minimum unbiased estimate of the true value, for each moment k = 0, 1, 2, ..., the residual value e k is an independent and identically distributed zero-mean Gaussian distribution, so e k The residual time series composed of e =0, the obtained variance is shown in formula (17).

[0133]

[0134] in, is the variance, α is the prediction error coefficient, and All by e k The residual time series.

[0135] Then, the variance calculation is performed using the pre-acquired prediction error coefficient, the preset boundary coefficient, and the residual value to obtain the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold.

[0136] Among them, the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold can be obtained through the variance, and their calculation formulas are shown in formula (18) and formula (19).

[0137]

[0138]

[0139] Among them, U k is the upper threshold of the dynamic alarm, D k is the lower limit threshold of the dynamic alarm, L is the boundary coefficient, which is used to control the threshold range, σ e is the standard deviation.

[0140] After obtaining the alarm threshold, it is necessary to further judge the upper and lower dynamic alarm thresholds based on the actual theoretical bandwidth, packet volume and other limit values. The specific judgment process is shown in formulas (20) and (21).

[0141]

[0142]

[0143] Among them, U max is the theoretical maximum value of the monitoring indicator information, D min It is the theoretical minimum value of the monitoring indicator information.

[0144] S104: Determine the actual value of the monitoring indicator at the preset time. If the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper limit threshold, execute S105. If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm lower limit threshold, execute S106.

[0145] S105: Generate first alarm information; the first alarm information is used to prompt that the upper limit of the value that triggers the dynamic alarm is reached.

[0146] In S105, if the actual value y of the monitoring indicator at the preset time k Greater than U k , generating the first alarm information. On the one hand, the first alarm information is used to prompt the operation and maintenance personnel to check the current network status to see whether there is any packet loss or error caused by excessive traffic and packet volume, which can serve as the basis for capacity expansion and upgrade. On the other hand, the first alarm information is used to prompt the user to check the application status to see whether there is any business failure caused by insufficient capacity, and it can even serve as an auxiliary judgment basis for whether the application system is attacked by network congestion.

[0147] S106: Generate second alarm information; the second alarm information is used to prompt that the lower limit of the value that triggers the dynamic alarm is reached.

[0148] In S106, if the actual value y of the monitoring indicator at the preset time k Less than the dynamic alarm lower limit threshold D k , generating a second alarm message, the second alarm message is used to prompt the operation and maintenance personnel to check the network status or notify the user to check the application business status to see whether there is an abnormal decrease in business volume due to unstable network status or application software errors.

[0149] Optionally, if the actual value of the monitoring indicator at the preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold, it is determined that the DCGW cluster is in a normal state.

[0150] Among them, if the actual value of the DCGW cluster monitoring indicator y k Satisfy k ∈[U k , D k ] to confirm that the DCGW cluster is in normal status at this time.

[0151] Optionally, if the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper threshold, the DCGW cluster is expanded.

[0152] Among them, if y k >U k , the operation and maintenance personnel will initiate DCGW cluster expansion before the expansion threshold is approached based on the current DCGW cluster traffic usage.

[0153] By generating the dynamic alarm upper threshold and the dynamic alarm lower threshold, the problem of false alarms during business peaks or missed alarms during business off-peaks is solved, and the efficiency of operation and maintenance services is improved.

[0154] The LSTM neural network model structure of the DCGW cluster dynamic alarm prediction method proposed in this application is as follows: Figure 6 shown.

[0155] Figure 6 In the above example, 8×1 indicates that the number of neurons in this layer is 8, 100×1 indicates that the number of neurons in this layer is 100, and 1×1 indicates that the number of neurons in this layer is 1. k-8 is the input of the k-8 moment model, x k-7 is the input of the k-7 moment model, x k-1 is the input of the k-1 moment model, is the predicted value of the monitoring index of the LSTM deep neural network model at time k, U k is the dynamic alarm upper threshold output by the LSTM deep neural network model at time k, D k It is the dynamic alarm lower limit threshold output by the LSTM deep neural network model at time k.

[0156] Figure 6 In the figure, the LSTM deep neural network model includes an input layer, an LSTM layer, a fully connected layer 1, a fully connected layer 2, a fully connected layer 3, a fully connected layer 4, and an output layer.

[0157] In an embodiment of the present application, the monitoring indicator data in the DCGW cluster are modeled as one-dimensional time series data, and the monitoring indicator data are dynamically predicted from the time dimension. When the actual value of the monitoring indicator is higher than the dynamic alarm upper threshold or lower than the dynamic alarm lower threshold, corresponding alarm information can be generated, thereby avoiding a large number of false alarms when short-term business surges during business peaks, and providing accurate alarm information when user dedicated line services fail.

[0158] Based on the above embodiments Figure 1 A DCGW cluster alarm method is disclosed, and the embodiment of the present application also discloses a DCGW cluster alarm system, such as Figure 7As shown, the DCGW cluster alarm system includes a first acquisition unit 701 , a prediction unit 702 , a first determination unit 703 , a first generation unit 704 and a second generation unit 705 .

[0159] The first acquisition unit 701 is used to acquire n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster; and process the n monitoring indicator data to obtain data to be tested; n is an integer greater than 1.

[0160] The prediction unit 702 is used to predict the data to be tested through a pre-built deep neural network model to obtain the predicted value of the monitoring indicator at a preset time.

[0161] The first determination unit 703 is used to determine the dynamic alarm upper threshold and the dynamic alarm lower threshold according to the predicted value of the monitoring indicator at the preset time and the actual value of the monitoring indicator at the preset time; the dynamic alarm upper threshold is used to characterize the upper limit of the value that triggers the dynamic alarm; the dynamic alarm lower threshold is used to characterize the lower limit of the value that triggers the dynamic alarm.

[0162] The first generating unit 704 is used to generate a first alarm message if the actual value of the monitoring indicator at a preset time is greater than the upper limit threshold of the dynamic alarm; the first alarm message is used to prompt that the upper limit of the value that triggers the dynamic alarm is reached.

[0163] The second generating unit 705 is used to generate a second alarm message if the actual value of the monitoring indicator at the preset moment is less than the lower limit threshold of the dynamic alarm; the second alarm message is used to prompt that the lower limit of the value that triggers the dynamic alarm is reached.

[0164] Furthermore, the first acquisition unit 901 includes an acquisition module and a normalization module.

[0165] The acquisition module is used to monitor n monitoring indicator data through a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval.

[0166] The normalization module is used to normalize the metadata to obtain the data to be tested.

[0167] Furthermore, the first determining unit 703 includes a first calculating module and a second calculating module.

[0168] The first calculation module is used to perform difference calculation on the actual value of the monitoring indicator at a preset time and the predicted value of the monitoring indicator at the preset time to obtain a residual value.

[0169] The second calculation module is used to perform variance calculation through the pre-acquired prediction error coefficient, the preset boundary coefficient and the residual value to obtain the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold.

[0170] Furthermore, a second determining unit is also included.

[0171] The second determination unit is configured to determine that the DCGW cluster is in a normal state if the actual value of the monitoring indicator at a preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold.

[0172] Furthermore, an operating unit is also included.

[0173] The operation unit is used to expand the capacity of the DCGW cluster if the actual value of the monitoring indicator at a preset time is greater than the upper alarm threshold.

[0174] In an embodiment of the present application, the monitoring indicator data in the DCGW cluster are modeled as one-dimensional time series data, and the monitoring indicator data are dynamically predicted from the time dimension. When the actual value of the monitoring indicator is higher than the dynamic alarm upper threshold or lower than the dynamic alarm lower threshold, corresponding alarm information can be generated, thereby avoiding a large number of false alarms when short-term business surges during business peaks, and providing accurate alarm information when user dedicated line services fail.

[0175] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0176] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0177] The steps in the methods of the embodiments of the present application can be adjusted in order, combined, and deleted according to actual needs.

[0178] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0179] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0180] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A DCGW cluster alarm method, characterized in that: The method comprises: Obtaining n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster; and processing the n monitoring indicator data to obtain data to be tested; wherein n is an integer greater than 1; The data to be tested is predicted by a pre-built deep neural network model to obtain a predicted value of the monitoring indicator at a preset time; According to the predicted value of the monitoring indicator at the preset moment and the actual value of the monitoring indicator at the preset moment, the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold are determined, including: performing difference calculation on the actual value of the monitoring indicator at the preset moment and the predicted value of the monitoring indicator at the preset moment to obtain a residual value; performing variance calculation on the pre-acquired prediction error coefficient, the preset boundary coefficient and the residual value to obtain the dynamic alarm upper limit threshold and the dynamic alarm lower limit threshold; the dynamic alarm upper limit threshold is used to characterize the upper limit of the value that triggers the dynamic alarm; the dynamic alarm lower limit threshold is used to characterize the lower limit of the value that triggers the dynamic alarm; If the actual value of the monitoring indicator at the preset time is greater than the upper limit threshold of the dynamic alarm, a first alarm message is generated; the first alarm message is used to prompt that the upper limit of the value that triggers the dynamic alarm is reached; the first alarm message is used to prompt that the current network state of the DCGW cluster is in a packet loss state and / or the application state of the DCGW cluster is in a service failure state; If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm lower limit threshold, a second alarm message is generated; the second alarm message is used to prompt that the lower limit of the value that triggers the dynamic alarm has been reached; the second alarm message is used to prompt that the current network status of the DCGW cluster is in an unstable state and / or the business volume of the application business of the DCGW cluster has dropped abnormally.

2. The method according to claim 1, characterized in that The monitoring indicator data is processed to obtain the data to be tested, including: The n monitoring indicator data are monitored by a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval; The metadata is normalized to obtain the data to be tested.

3. The method according to claim 1, characterized in that: Also includes: If the actual value of the monitoring indicator at the preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold, it is determined that the DCGW cluster is in a normal state.

4. The method according to claim 1, characterized in that: Also includes: If the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper limit threshold, the DCGW cluster is expanded.

5. A DCGW cluster alarm system, characterized in that: The system comprises: A first acquisition unit is used to acquire n monitoring indicator data, where the monitoring indicator data is used to indicate the monitoring indicator of the DCGW cluster; and process the n monitoring indicator data to obtain data to be tested; wherein n is an integer greater than 1; A prediction unit, used to predict the data to be tested by using a pre-built deep neural network model to obtain a predicted value of the monitoring indicator at a preset time; A first determination unit is used to determine a dynamic alarm upper threshold and a dynamic alarm lower threshold according to the monitoring indicator prediction value at the preset time and the monitoring indicator actual value at the preset time; the dynamic alarm upper threshold is used to characterize the upper limit of the value that triggers the dynamic alarm; the dynamic alarm lower threshold is used to characterize the lower limit of the value that triggers the dynamic alarm; The first determining unit includes: a first calculation module and a second calculation module; The first calculation module is used to perform a difference calculation between the actual value of the monitoring indicator at the preset time and the predicted value of the monitoring indicator at the preset time to obtain a residual value; The second calculation module is used to perform variance calculation on the pre-acquired prediction error coefficient, the preset boundary coefficient and the residual value to obtain a dynamic alarm upper limit threshold and a dynamic alarm lower limit threshold; A first generating unit, configured to generate a first alarm message if the actual value of the monitoring indicator at the preset time is greater than the upper limit threshold of the dynamic alarm; the first alarm message is used to prompt that the upper limit of the value that triggers the dynamic alarm has been reached; the first alarm message is used to prompt that the current network state of the DCGW cluster is in a packet loss state and / or the application state of the DCGW cluster is in a service failure state; The second generating unit is used to generate a second alarm message if the actual value of the monitoring indicator at the preset moment is less than the dynamic alarm lower limit threshold; the second alarm message is used to prompt that the lower limit of the value that triggers the dynamic alarm is reached; the second alarm message is used to prompt that the current network status of the DCGW cluster is in an unstable state and / or the business volume of the application business of the DCGW cluster has dropped abnormally.

6. The system according to claim 5, characterized in that The first acquisition unit processes the monitoring indicator data to obtain the data to be measured, including: An acquisition module is used to monitor the n monitoring indicator data through a preset monitoring component to obtain metadata; the metadata is used to represent the time series data composed of the n monitoring indicator data within a preset time interval; The normalization module is used to normalize the metadata to obtain the data to be tested.

7. The system according to claim 5, characterized in that Also includes: The second determining unit is configured to determine that the DCGW cluster is in a normal state if the actual value of the monitoring indicator at the preset time is less than the dynamic alarm upper limit threshold and greater than the dynamic alarm lower limit threshold.

8. The system according to claim 5, characterized in that Also includes: The operating unit is used to perform a capacity expansion operation on the DCGW cluster if the actual value of the monitoring indicator at the preset time is greater than the dynamic alarm upper limit threshold.

Citation Information

Patent Citations

  • Dynamic threshold alarming method and device

    CN106656583A

  • Monitoring index abnormity detection method, model training method, device and equipment

    CN110008079A

  • Early warning method and system for power consumption of machine room based on LSTM, terminal and storage medium

    CN111198799A

  • Prophet model-based data center operation and maintenance system threshold adaptive alarm monitoring method

    CN112363890A

  • Data center monitoring and early warning method and system

    CN112380089A