Fault root cause positioning method and model training method
Through the combination of the Transformer-FL model and the knowledge graph, the problem of low fault root cause location accuracy in the existing technology is solved, and higher fault root cause location accuracy and processing efficiency are achieved.
Patent Information
- Application Number
- CN202410941293.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-22
AI Technical Summary
The accuracy of fault root cause location in the existing technology is low. Traditional methods rely on the experience of engineers, are inefficient and lack pertinence. Existing intelligent methods use simple models and cannot achieve high accuracy, especially when a small amount of information affects the location results.
The Transformer-FL model is used to locate the fault root cause. By obtaining samples containing statistical data sets and embedding vectors, adding fault root cause classification labels, building a knowledge graph for knowledge enhancement, using the focus loss function to update parameters, and converting it into multi-classification recognition. question.
The accuracy and processing efficiency of fault root cause location are improved. Through the combination of knowledge enhancement and focus loss function, the model's understanding of alarm levels and the accuracy of fault classification are improved.
Smart Images

Figure CN118819933A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault management in a network operation and maintenance process, and in particular to a fault root cause locating method and a model training method. Background Art
[0002] In today's era of rapid development of information technology, with the continuous expansion of network scale and the continuous increase in business volume, the frequent occurrence of fault alarm messages has brought huge challenges to fault management in network operation and maintenance. When a network failure occurs in the process of sending and receiving signals between the server and the terminal, the network operator will receive a large number of alarm messages and analyze the alarm information and store it in the database, then locate the root cause of the fault and send a fault work order to the maintenance personnel for troubleshooting and repair. Alarms and faults are two different concepts that are closely related in the process of network operation and maintenance. There is no fixed order of occurrence time of alarms and faults. Alarms can be a foreshadowing before a fault occurs, or a notice after a fault occurs.
[0003] In the prior art, the traditional troubleshooting method needs to rely on the personal experience of engineers. In the face of a large number of alarm messages and generated work orders, it is inefficient and lacks pertinence. Different treatment measures need to be taken for different fault causes, and it is difficult for traditional methods to achieve accurate classification and rapid response, which prolongs the fault handling cycle and wastes resources. Most of the existing intelligent fault root cause location methods use simple models to process a large amount of operation and maintenance data, with low positioning accuracy and will affect the root cause location results when the amount of information is small. The IT operation and maintenance artificial intelligence series uses various artificial intelligence technologies to automatically analyze and process operation and maintenance data, so as to discover potential problems, warn in advance and prevent the occurrence of faults. At present, for the scenario of network fault root cause analysis in IT operation and maintenance artificial intelligence, there are few existing studies on the problem of completing feature extraction based on data containing a small amount of information and achieving a high root cause location accuracy. The models for fault root cause location in the prior art include neural network models and traditional machine learning models. The neural network models include long short-term memory network models and multi-layer perceptron models. The traditional machine learning models include K-nearest neighbor models, naive Bayes algorithm models and support vector machine models. Furthermore, the existing models lack knowledge enhancement and cannot achieve high accuracy in fault root cause location. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a fault root cause location method and a model training method to eliminate or improve one or more defects existing in the prior art, and solve the problem of low accuracy of fault root cause location in the prior art.
[0005] One aspect of the present invention provides a model training method for fault root cause location, the method comprising the following steps:
[0006] Obtain a training sample set, the training sample set includes multiple samples, each sample includes a statistical data set and an embedded vector set, the statistical data set includes but is not limited to the number of alarms, alarm types, number of faults, time intervals for faults in the historical time period, time intervals for alarms, and proportions of faults in each category in the historical time period and future time period at the time point of the fault occurrence, the embedded vector set is obtained by the time series alarm sequence and time series fault sequence in each of the historical time period and future time period, and the embedding operation performed after constructing a knowledge graph to supplement the alarm level, and adding fault root cause classification labels to multiple samples in the training sample set;
[0007] Obtain an initial neural network model, wherein the initial neural network takes samples of the training sample set as input and takes classification and identification results of the root causes of the faults as output; the initial neural network model adopts a Transformer-FL model; the Transformer-FL model includes a first linear transformation layer, a multi-head self-attention layer, a first residual connection and normalization layer, a feedforward neural network layer, a second residual connection and normalization layer, a second linear transformation layer and a parameter update layer that are continuously arranged; a residual short connection is established between the output of the first linear transformation layer and the input of the first residual connection and normalization layer, and a residual short connection is established between the output of the first residual connection and normalization layer and the input of the second residual connection and normalization layer;
[0008] A loss function is constructed, with the goal of minimizing the loss function, the training sample set is used to update the parameters of the initial neural network until convergence, and the updated initial neural network is constructed as a fault root cause location model.
[0009] In some embodiments, the operation mechanism of the multi-head self-attention layer includes:
[0010] Take the input sequence and obtain the query matrix, key matrix and value matrix through three different linear transformations;
[0011] The query matrix, the key matrix and the value matrix are decomposed into a set number of heads, each head has a corresponding weight, and the head attention weight calculated independently by a single head is applied to the corresponding value matrix to obtain a single head attention calculation result, which is expressed as:
[0012]
[0013] Among them, q represents the query matrix, K represents the key matrix, and V represents the value matrix. represents the scaling factor, QKT is the dot product matrix of query and key, and softmax is the activation function;
[0014] The target output matrix is obtained by concatenating the attention calculation results of a set number of heads and performing a linear transformation on the concatenated results.
[0015] In some embodiments, the feedforward neural network layer includes a third linear transformation layer, a nonlinear activation function layer, and a fourth linear transformation layer that are arranged in succession, and the expression of the feedforward neural network is:
[0016] FFN(x)=max(0,xW1+b1)W2+b2;
[0017] Wherein, x represents input data, W1 represents the first weight matrix, b1 represents the first bias vector, W2 represents the second weight matrix, and b2 represents the second bias vector.
[0018] In some embodiments, the initial neural network is connected to a softmax function layer at the output end of the second linear transformation layer to predict the category probability of each fault root cause in the fault root cause classification task.
[0019] In some embodiments, the loss function adopts a focal loss function, and the expression of the loss function is:
[0020] FL(p t )=-α t (1-p t ) γ log(p t );
[0021] Among them, P t is the model’s predicted probability for category t, α t is the weight of category t, (1-P t ) γ represents the modulation factor and γ represents the focusing parameter.
[0022] On the other hand, the present invention also provides a method for locating the root cause of a fault, the method comprising:
[0023] Obtain the number of alarms, alarm types, and faults that occurred in the historical time period and future time period at the time point of the fault occurrence, calculate the time interval for the fault occurrence, the time interval for the alarm occurrence, and the proportion of each type of fault in the historical time period, and use statistics including but not limited to the number of alarms, the alarm types, the number of faults, the time interval for the fault occurrence, the time interval for the alarm occurrence, and the proportion of each type of fault as statistical data;
[0024] Acquire a timing alarm sequence and a timing fault sequence in the historical time period and the future time period, and use the timing alarm sequence and the timing fault sequence as text sequence data;
[0025] A knowledge graph is constructed through four nodes, namely, base station, alarm, fault and alarm level, and three relationships, namely, occurrence, cause and rating, and the alarm level is added to the text sequence data. The text sequence data after the alarm level is added is embedded to obtain an embedding vector through an embedding operation;
[0026] All the features obtained by concatenating the statistical data and the embedded vector are input into the fault root cause location model in the above-mentioned model training method for fault root cause location, and the classification and identification result of the fault root cause is output.
[0027] In some embodiments, the method further includes: importing the knowledge graph into a database for storage and visual management.
[0028] In some embodiments, the method further comprises: adding alarm levels classified into severe alarm levels, general alarm levels, other alarms and unknown alarms to the text sequence data.
[0029] In some embodiments, the method further includes: storing the status and performance data of the data acquisition process, the data preprocessing process to obtain the statistical data and the embedding vector process, the knowledge graph construction process and the fault root cause location model operation process as logs.
[0030] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that the program implements the steps of the above method when executed by a processor.
[0031] The beneficial effects of the present invention are at least:
[0032] In the fault root cause location method and model training method of the present invention, samples including a statistical data set and an embedded vector set are obtained and fault root cause classification labels are added to the samples, the samples are input into a Transformer-FL model for classification and identification, the parameters of the Transformer-FL model are updated through a focal loss function, and finally a fault root cause location model is obtained; when a fault occurs, alarm data and fault data of a historical time period and a future time period at the time point of the fault occurrence are obtained as statistical data, and a time series alarm sequence and a time series fault sequence are used as text sequence data, the text sequence data is supplemented with an alarm level through knowledge enhancement, and an embedded vector is obtained through an embedding operation, the statistical data and the embedded vector are input into the fault root cause location model, and a classification and identification result of the fault root cause is obtained, the fault root cause location problem is converted into a multi-classification identification problem, and a response is made in time according to the fault occurrence signal, so as to improve the fault handling efficiency and the accuracy of fault root cause location.
[0033] Furthermore, the present invention constructs a knowledge graph to perform knowledge enhancement processing on the text sequence data to introduce alarm levels, thereby providing level information for fault root cause classification, increasing the depth and breadth of the text sequence, and improving the knowledge quality and application effect of the text sequence.
[0034] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.
[0035] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:
[0037] Figure 1 The figure is a flow chart of a fault root cause location model training method according to an embodiment of the present invention.
[0038] Figure 2 The figure is a flow chart of a method for locating a root cause of a fault according to an embodiment of the present invention.
[0039] Figure 3 It is a structural diagram of the knowledge-enhanced fault root cause location model according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0041] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0042] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0043] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.
[0044] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0045] In the prior art, traditional troubleshooting methods often rely on the personal experience of engineers. Faced with a large number of alarm messages and generated work orders, they are inefficient and lack pertinence. For the scenario of network fault root cause analysis in IT operation and maintenance artificial intelligence, there are few existing studies on the problem of completing feature extraction based on data containing a small amount of information and achieving a high root cause location accuracy. Existing models for fault root cause location include neural network models and traditional machine learning models, which lack knowledge enhancement and cannot achieve high accuracy of fault root cause location. The present invention proposes a fault root cause location method and a model training method, which trains a knowledge-enhanced Transformer-FL model through samples containing a statistical data set and an embedded vector set and adding a fault root cause classification label, and uses a focal loss function to update parameters, and finally obtains a fault root cause location model. When a fault occurs, alarm data and fault data in a historical time period and a future time period at the time point of the fault occurrence are obtained as statistical data, and a time series alarm sequence and a time series fault sequence are used as text sequence data. The text sequence data is supplemented with an alarm level through knowledge enhancement and an embedded vector is obtained through an embedding operation. After the statistical data and the embedded vector are input into the fault root cause location model, a classification recognition result of the fault root cause is obtained.
[0046] Figure 1 The figure is a flow chart of a fault root cause location model training method according to an embodiment of the present invention. Specifically, the present invention provides a fault root cause location model training method, which includes the following steps S101 to S103:
[0047] Step S101: Obtain a training sample set, the training sample set includes multiple samples, each sample includes a statistical data set and an embedded vector set, the statistical data set includes but is not limited to the number of alarms, alarm types, number of faults, time intervals for faults in historical time periods, time intervals for alarms, and the proportion of faults in each category in the historical time periods and future time periods at the time point of the fault occurrence, the embedded vector set is obtained by the time series alarm sequence and time series fault sequence in each historical time period and future time period, and the embedding operation after constructing a knowledge graph to supplement the alarm level, and adding fault root cause classification labels to multiple samples in the training sample set.
[0048] Step S102: obtaining an initial neural network model, the initial neural network takes samples of a training sample set as input and takes classification and identification results of root causes of faults as output; the initial neural network model adopts a Transformer-FL model; the Transformer-FL model includes a first linear transformation layer, a multi-head self-attention layer, a first residual connection and normalization layer, a feedforward neural network layer, a second residual connection and normalization layer, a second linear transformation layer and a parameter update layer that are continuously arranged; a residual short connection is established between the output of the first linear transformation layer and the input of the first residual connection and normalization layer, and a residual short connection is established between the output of the first residual connection and normalization layer and the input of the second residual connection and normalization layer.
[0049] Step S103: construct a loss function, with the goal of minimizing the loss function, use the training sample set to update the parameters of the initial neural network until convergence, and construct the updated initial neural network as a fault root cause location model.
[0050] In step S101, the statistical data set and the embedded vector set are sample sets obtained by preprocessing the acquired data and can be input into the knowledge-enhanced Transformer-FL model for training. The time series alarm sequence and the time series fault sequence are data sets composed of alarm events and fault events arranged in chronological order. Each alarm event and fault event is recorded according to the timestamp of occurrence. The time series alarm sequence records the timestamp, alarm type and alarm status description. The time series fault sequence records the timestamp, fault type, fault status description and work order number for further fault root cause analysis. The text sequence data composed of the time series alarm sequence and the time series fault sequence is knowledge enhanced and stored in a graph database. The data in the graph database is represented by nodes and edges. The embedded vector features are obtained after embedding the text sequence data after knowledge enhancement. The fault category classification labels are divided into 23 categories and each category is in the form of large classification and small classification. The fault root cause location problem is converted into a multi-classification problem, and the classification probability of the fault root cause is obtained.
[0051] In step S102, the initial neural network model adopts the Transformer-FL model, which uses the encoder part of the Transformer (transformer model) to learn the correlation problem of input features, uses the statistical data set as the statistical feature part of the encoder input features, and uses the embedding vector set as the embedding feature part of the encoder input features. It contains multiple identical layers, and each layer uses a residual connection multi-head self-attention layer and a feedforward neural network layer. In order to deal with the problem of long sequence batch normalization, layer normalization is used, which is also conducive to enhancing the stability and efficiency of the training process.
[0052] Specifically, the core idea of the transformer model is the multi-head self-attention operation mechanism. The multi-head self-attention layer operation mechanism can process all vectors in the input sequence at the same time, and use parallel computing to speed up training. At the same time, the sub-attention layer operation mechanism can capture long-distance dependencies, which helps to better understand the meaning of the currently processed data and improve the performance of processing long sequences. Furthermore, the Relu activation function is used between the two linear transformation layers in the feedforward neural network. The information in the feedforward neural network is transmitted unidirectionally layer by layer. After the output of the last time step, the feature vector is mapped to the category dimension through a linear transformation layer, and the softmax function is connected to obtain the category probability of each fault root cause.
[0053] In some embodiments, the operation mechanism of the multi-head self-attention layer includes steps S1021 to S1023:
[0054] Step S1021: Get the input sequence and obtain the query matrix, key matrix and value matrix through three different linear transformations.
[0055] Step S1022: Decompose the query matrix, key matrix and value matrix into a set number of heads, each head has a corresponding weight, and apply the head attention weight calculated independently by a single head to the corresponding value matrix to obtain the single head attention calculation result, expressed as:
[0056]
[0057] Among them, Q represents the query matrix, K represents the key matrix, and V represents the value matrix. represents the scaling factor, QKT is the dot product matrix of query and key, and softmax is the activation function.
[0058] Step S1023: Concatenate the attention calculation results of a set number of heads and perform linear transformation on the concatenated results to obtain a target output matrix.
[0059] Specifically, the key to the multi-layer self-attention layer mechanism is to calculate the similarity between the query matrix and the key matrix. The query matrix, key matrix and value matrix are obtained by three different linear transformations of the input sequence vector. The linear transformation multiplies the input sequence vector with the corresponding query weight matrix, key weight matrix and value weight matrix. The scaled dot product attention (Scaled Dot-ProductAttention) performed by the query matrix, key matrix and value matrix after the linear transformation layer is calculated by the attention calculation formula. The present invention concatenates the attention calculation results of a set number of heads through a concatenation operation (concat). Furthermore, the Sofimax function is used to obtain the attention score of each vector of the input sequence to other vectors.
[0060] In some embodiments, the feedforward neural network layer includes a third linear transformation layer, a nonlinear activation function layer, and a fourth linear transformation layer that are arranged in succession. The expression of the feedforward neural network is:
[0061] FFN(x)=max(0,xW1+b1)W2+b2;
[0062] Wherein, x represents input data, w1 represents the first weight matrix, b1 represents the first bias vector, W2 represents the second weight matrix, and b2 represents the second bias vector.
[0063] In some embodiments, the initial neural network is connected to a softmax function layer at the output end of the second linear transformation layer to predict the category probability of each fault root cause in the fault root cause classification task.
[0064] In step S103, the loss function uses the focal loss function to alleviate the category imbalance problem in the multi-classification problem.
[0065] In some embodiments, the loss function adopts a focal loss function, and the expression of the loss function is:
[0066] FL(p t )=-α t (1-p t ) γ log(p t );
[0067] Among them, P t is the model’s predicted probability for category t, α t is the weight of category t, (1-P t ) γ represents the modulation factor and γ represents the focusing parameter.
[0068] Specifically, the focal loss function adds (1-P t ) γ As a modulation factor, the loss function can control the weights of easy-to-classify and difficult-to-classify samples while controlling positive and negative samples, and control the degree of attention of the model to samples of different difficulty levels, so as to achieve fine control over the model training process and better learn the key features to distinguish different categories; the focal loss function is obtained by changing the cross entropy loss function. When the focus parameter of the focal loss function is equal to 0, it will become an ordinary cross entropy loss function. The focal loss function can reduce the loss contribution of easy-to-classify samples in multi-classification problems, thereby paying more attention to difficult-to-classify samples during the initial neural network training process, and achieving better performance in class-imbalanced datasets. In terms of target detection, it can also improve the detection accuracy of small and difficult objects.
[0069] Figure 2FIG. 1 is a flow chart of a method for locating a root cause of a fault according to an embodiment of the present invention. On the other hand, the present invention further provides a method for locating a root cause of a fault, the method comprising steps S201 to S204:
[0070] Step S201: Obtain the number of alarms, alarm types and number of faults occurring in the historical time period and future time period at the time point of fault occurrence, calculate the time interval for fault occurrence, the time interval for alarm occurrence and the proportion of each category of faults in the historical time period, and include but are not limited to the number of alarms, alarm types, number of faults, time interval for fault occurrence, time interval for alarm occurrence and the proportion of each category of faults as statistical data.
[0071] Step S202: Acquire the time series alarm sequence and the time series fault sequence in the historical time period and the future time period, and use the time series alarm sequence and the time series fault sequence as text sequence data.
[0072] Step S203: construct a knowledge graph through the four nodes of base station, alarm, fault and alarm level and the three relationships of occurrence, cause and rating, and add the alarm level to the text sequence data. The text sequence data after the alarm level is added obtains the embedding vector through the embedding operation.
[0073] Step S204: input all the features obtained by concatenating the statistical data and the embedded vector into the fault root cause location model in the above-mentioned model training method for fault root cause location, and output the classification and identification result of the fault root cause.
[0074] Specifically, the knowledge graph is constructed to achieve the purpose of knowledge enhancement, and the alarm level is supplemented to the text sequence data. To construct the knowledge graph, it is first necessary to design a scheme to formulate the types of nodes and relationships. The node types include base station, alarm, fault and alarm level. The base station is the central node, the relationship corresponding to the alarm is occurrence, the relationship corresponding to the fault is cause, and the relationship corresponding to the alarm level is rank. In some embodiments, the method also includes: adding the alarm levels divided into severe alarm levels, general alarm levels, other alarms and unknown alarms to the text sequence data. The alarm level information adds more comprehensive type features, and also provides more basis for the judgment process and results of fault root cause location. In some embodiments, the method also includes: importing the knowledge graph into a database for storage and visual management. The present invention adopts a Neo4j database, uses a graphical data model to store and manage data, and the data is represented in the image database in the form of nodes, relationships and attributes.
[0075] Furthermore, the knowledge graph can link network operation and maintenance data through triples. When performing feature extraction, the base station is located in the knowledge graph, the alarm category is determined according to the time when the alarm occurs, and a single-hop shortest path query is performed to index the alarm. The second-hop path query locates the alarm level node and returns the knowledge retrieval information.
[0076] In some embodiments, the method further includes: storing the status and performance data of the data acquisition process, the data preprocessing process to obtain statistical data and embedding vectors, the knowledge graph construction process, and the fault root cause location model operation process as logs.
[0077] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that the program implements the steps of the above method when executed by a processor.
[0078] The present invention is described below in conjunction with a specific embodiment:
[0079] Figure 3 This is a schematic diagram of the structure of the knowledge-enhanced fault root cause location model described in one embodiment of the present invention. The problem of fault root cause location is converted into a multi-classification problem, and the cause category to which each work order containing alarm information and fault occurrence time belongs is predicted by extracting feature information; first, data preprocessing is performed, and the processed data is input into the knowledge-enhanced Transformer-FL (KETrans-FL) model, in which knowledge enhancement technology is used in the feature extraction process. The preprocessed data includes two types: text sequence data and statistical data. Knowledge enhancement provides external knowledge for the text sequence data, which is spliced with digital features after embedding operation; all feature data are input into the Transformer-FL (Transformer Focal Loss, Trans-FL) model, and the classification probability is output.
[0080] 1. Knowledge enhancement.
[0081] By introducing or learning external knowledge, the depth and breadth of existing knowledge can be increased to achieve the purpose of improving knowledge quality and application effect; for the problem that needs to be solved in this article, external knowledge is introduced by constructing a knowledge graph to provide more information for classification. In the problem scenario of this study, the factual knowledge of the level information of base station alarms is introduced to reflect the severity of the alarms. There are four levels, namely serious alarms, general alarms, other alarms and unknown alarms; this information adds more comprehensive type characteristics to the alarm name, and also provides more basis for the judgment of the root cause location of the fault.
[0082] Before building the knowledge graph, the types of nodes and relationships need to be determined; specifically, the knowledge graph takes the base station as the central node, adds four types of nodes: alarm, error, and grade; the one-to-one relationship is defined as the three categories of occurrence, cause, and rank. The final knowledge graph contains 10,336 nodes and 40,005 relationships, which are imported into the graph database (Neo4j) for storage and visualization management.
[0083] The information in the knowledge graph includes the original data involved in the experiment in this paper, such as the alarm name and the cause of the fault; it also includes the alarm level data sorted from other documents, which will be added to the original data as new feature information. Another function of the knowledge graph is to connect the disorganized network operation and maintenance data by constructing triples, so that the three major types of information, base stations, alarms and faults, have a clear connection relationship, which is easy to understand and retrieve. When extracting features from the data in the future, first locate a base station node in the knowledge graph, determine the alarm category according to the time of the alarm, perform a single-hop path query, and after indexing the alarm node, perform a second-hop path query to locate the alarm level node and return its information as important knowledge to enhance feature expression; at this point, a knowledge retrieval process is completed; during the experiment, the knowledge-enhanced alarm level information is added to the preprocessed text sequence data and finally converted into an embedded vector.
[0084] 2. Transformer-FL model.
[0085] The knowledge-enhanced embedding vector is used as the input of Transformer-FL. It contains continuous feature variables. In addition to statistical and computational numerical information, there is also feature vector information after embedding using word vector technology (word2vec); since each feature contains only one number, it is impossible to directly use the transformer model to learn each feature expression. Therefore, before the data is input into the model, the feature vector is transformed by a linear layer and dimension conversion. While concentrating the features, each feature is mapped to a multi-dimensional space for subsequent models to extract and learn information; then the output of the last time step of the model is linearly transformed (1inear), normalized using softmax, and the category probability is output. In terms of the choice of loss function, the focal loss function is used to deal with the problem of multi-category imbalance. In the following, the Transformer-FL model is described in detail from the two aspects of Transformer and Focal Loss.
[0086] 2.1 Converter model.
[0087] The transformer model only contains the encoder of the original transformer model, which is composed of a stack of several identical layers. Each layer contains two sub-layers, namely a multi-head self-attention mechanism and a fully connected feedforward neural network. Residual connections are used between sub-layers, and layer normalization is used.
[0088] The attention calculation formula of the attention mechanism is:
[0089]
[0090] Among them, Q, K and V refer to the query matrix, key matrix and value matrix respectively; they are obtained by three linear transformations of each vector (token) of the input sequence. The key of this mechanism is to calculate the similarity between Q and all K, which is achieved by dot product attention; then each result is divided by And apply the Softmax function to obtain the attention score of each vector to other vectors; then perform weighted summation on each V according to the corresponding attention weight to obtain the final representation of the position.
[0091] This method allows the model to consider the information at different positions of the input sequence at the same time and calculate the importance of each position to other positions; multi-head self-attention allows the model to jointly focus on information from different representation subspaces at different positions, by using different linear transformations to project 2, K, and V, and executing the attention function in parallel, concatenating the results and finally performing a linear transformation to obtain the final value; the embedding vector input_dim (input dimension) of Q, K, and V is decomposed into h*head dim, and the h head dim (attention head dimension) vectors are subjected to attention operations and concatenated to output the results.
[0092] Scaled Dot-ProductAttention represents the content of the expression of the attention mechanism. In the attention layer of the encoder, all keys, values, and queries come from the same position, that is, the output of the previous encoder layer; this means that each position in the encoder can pay attention to all positions in the previous encoder layer.
[0093] In addition to the multi-head self-attention layer, each layer also contains a fully connected feedforward neural network layer, which consists of two linear transformations with a Relu activation function in the middle, expressed as:
[0094] FFN(x)=max(0,xW1+b1)W2+b2;
[0095] Although the linear transformation is the same at different positions, different parameters are used between layers. The output of the encoder is the feature vector of the last time step, which is then connected to a linear transformation layer to map it to the category dimension, and sofimax is used to output the probability scores of multiple categories.
[0096] 2.2 Focal Loss Function
[0097] The second part of the Transformer-FL model is Focal Loss. The focal loss function was originally used in the field of object detection to solve the problem of extreme foreground-background class imbalance in the training process of one-stage object detectors. Focal Loss is modified from the standard cross entropy loss. It can reduce the weight of easy-to-classify samples, so that the model can focus more on difficult-to-classify samples during training.
[0098] For the cross entropy (CE) of the two categories, the expression is:
[0099]
[0100] Among them, y∈{+1-1} represents the ground truth category (real category); p∈[0,1] is the predicted probability of the model for category y=1. Balanced cross entropy (α-balance CE) introduces a weight factor α to control the shared weight of positive and negative samples to the total loss. Its formula is defined as: Taking a smaller value can reduce the weight of negative samples.
[0101] The effect that the present invention hopes to achieve is that the loss function can not only control the weights of positive and negative samples, but also the weights of easy-to-classify and difficult-to-classify samples. Therefore, the Focal Loss adds a modulation factor (1-P t ) γ to CE loss, where γ ≥ 0 is the focusing parameter; the final loss expression is:
[0102] FL(p t )=-α t (1-p t ) γ log(p t );
[0103] The experiments in the original paper show that γ=2, a=0.25 works best. In this application, it is extended to the multi-classification problem, α is set as the weight of each category, and the samples are distributed according to the proportion of the number of samples in each category to the total number of samples; γ Set to 2.
[0104] 3. Experiment.
[0105] 3.1 Dataset source and content
[0106] The data set comes from the alarm data and fault location work order data of a network operator in a province or city within two months. The alarm data contains information such as base station name, alarm time and alarm category, of which there are 130 alarm categories. The training set contains 3401351 data items, and the test set contains 1212175 data items. The fault location work order data contains information such as work order number, base station name, fault time and fault cause, of which the fault cause is a classification label, with a total of 23 categories, each of which is in the form of "major category-sub-category". The training set contains 60342 samples, and the test set contains 6696 samples.
[0107] 3.2 Data preprocessing process.
[0108] Extracting valuable information from massive alarm data, removing redundant alarms, and accurately locating the root cause of the fault are of great significance to the diagnosis and location of the fault. Since the fault work order number is unique and corresponds one-to-one with the fault cause, it can be used as a reference information column for associated features when constructing samples; using the base station name as the keyword, merging alarm information, including alarm category and alarm time, the alarm data after deduplication contains 2438284 samples.
[0109] Take a base station of a work order ID as an example to illustrate the data preprocessing process. First, take the fault time (fault-time) as the time axis benchmark, list the number of alarms and alarm types at the current time point and different time periods in the past and future, as well as the number of faults; calculate the time interval Δt between alarms and faults in the historical time. In addition to the number (count) and category (type), there are also calculation information such as the proportion of fault subdivision categories to large categories as "statistical data" passed into the subsequent model. This is the statistical feature. At the same time, the time series alarm sequence and time series fault sequence in each time period are listed as "text sequence data" for subsequent knowledge enhancement, and the alarm level sequence information is added and embedded. This is the embedded feature. Finally, these two types of features are spliced together to form the final feature representation. According to the above idea, there are 2495 columns of data features extracted from a base station of a work order ID.
[0110] 3.3 Introduction to evaluation indicators.
[0111] For multi-classification problems, the evaluation indicators selected in this experiment are: area under the curve (AUC), accuracy, precision, recall and F1 score.
[0112] Among them, AUC (area under the curve) is an indicator to measure the trade-off between the true positive rate and the false positive rate of a classification model at different thresholds, and is measured by calculating the area under the ROC (Receiver Operating Characteristic) curve.
[0113] The ordinate of the ROC curve is the True Positive Rate (TPR): Where P is the number of true positive samples, TP is the number of P positive samples predicted by the classifier as positive samples; the horizontal axis is the false positive rate (False Positive Rate, FPR): N is the number of true negative samples, and FP is the number of N negative samples predicted as positive samples by the classifier.
[0114] The parameter averages of the area under the curve and the four indicators of precision, recall rate and F1 score include micro average (micro), macro average (macro) and weighted average (weighted); micro average represents the global indicator; the latter two need to calculate the ROC AUC score of each category, macro average realizes unweighted summation, and weighted average performs weighted summation according to the number of samples in each category, and finally obtains the average score.
[0115] In the actual operation and maintenance scenario requirements, the top 3 accuracy rate is selected for evaluation. This indicator is the most important indicator in this study.
[0116] 3.4 Comparison models.
[0117] There are three types of comparison models in this experiment, namely deep learning models, referred to as DL series models; deep learning models applied to tabular data, referred to as TAB series models; models used for fault root cause location, referred to as FRC-L series models.
[0118] The Deep Learning series of models include the LSTM model, the TCN-LSTM hybrid model, and the Transformer model. The LSTM model is a classic model in the field of time prediction. The TCN-LSTM hybrid model with the addition of the TCN also achieves good results. The Transformer model only contains the encoder structure and does not perform linear transformation on the input features. The TAB series of models include the Tabular Network Model (TabNet), the Tabular Multilayer Perceptron (TabMLP), the Tabular Residual Network Model (TabResnet), the Tabular Transformer (Tabtransformer), and the Feature Transformer (FTTransformer). The idea of the table network model is to use the self-attention mechanism to capture the complex relationship between features in the table data, and to control the information flow of each feature through the sparse gating mechanism, so that the model is more sparse and interpretable; the idea of the table transformer model is to use the transformer to convert the conventional classification embedding into the context embedding, so that the performance of the multi-layer perceptron (MLP) is significantly improved; however, this model only applies the embedding operation to the categorical variables, and directly transmits the continuous variables to the multi-layer perceptron. If you want to embed both categorical and continuous variables, you need to use the feature transformer model. There are also some machine learning models specifically used for root cause analysis of network failures, including the K-nearest neighbor model (K-NN), the naive Bayes model ( -Bayes), Multilayer Perceptron (MLP), Support Vector Machine Model (SVM)
[0119] 3.5 Experimental details.
[0120] (1) For the Tab series models, training is performed based on the pytorch-widedeep architecture derived from the wide and deep model. Since there are no categorical variables in the data, the model only needs to operate on continuous variables, that is, only the wide model part is used.
[0121] (2) The loss function of all baseline models uses the cross entropy loss function, which is the most commonly used loss function in multi-classification problems.
[0122] (3) The original structure of the table transformer does not include the embedding of the Transformer block for continuous variables, which will limit the performance of the model in this problem scenario. Therefore, further research is conducted on how the table transformer model can play a role in the processing of continuous variables. Specifically, the processing method for continuous variables in the paper, called the standard embed-continuous-method, is added to the implementation framework of the model. The specific approach is to first perform feature encoding and vectorization processing (feature tokenizer), perform linear transformation of the features with the same dimension and add bias terms, and then pass them into the transformer model structure containing only the encoder. In this way, the defects of the table transformer in this problem scenario are made up.
[0123] (4) Regarding the neural network models involved, Table 1 shows the dimensions and number of hidden layers of multiple neural network models. In addition, the number of module attention heads of all transformer models remains consistent, which is 8.
[0124] Table 1 Dimensions and number of hidden layers of multiple neural network models
[0125] Model Hidden layer dimensions Number of layers Long Short-Term Memory Network Model 64 1 Temporal Convolutional Network-Long Short-Term Memory Network Hybrid Model 128 2 Converter Model 64 2 Multilayer Perceptron [64,32] 2 Transformer-FL 64 2 Table Multilayer Perceptron [200,100] 2 Tabular residual network model [200,100,100] 3 Table Converter 32 4 Feature Transformer 64 4
[0126] 3.6 Analysis of experimental results.
[0127] During the experiment, the training set: validation set was divided in a ratio of 5:1, with 100 rounds and 128 samples per batch for each training. An early stopping mechanism was set during the training process, with the validation set loss as the standard. The experimental data in the table are the final results of averaging after multiple experiments. Table 2 is a table of experimental results comparing the Transformer-FL model with other models. Among them, KETrans represents the KETrans-FL model without Focal Loss, and Trans-FL represents the KETrans-FL model without knowledge enhancement; the table lists the values of the area under the curve under three parameter modes and their average values, and only lists the average values of precision, recall and F1 scores; the bold numbers are the highest values of the single items.
[0128] Table 2 Comparative experimental results of Transformer-FL model and other models
[0129]
[0130] According to the experimental results in Table 2, the accuracy of the knowledge-enhanced Transformer-FL model in the dataset reached 90.64%, surpassing all other comparison models, and the average area under the curve of the knowledge-enhanced Transformer-FL model reached 93.02%. Overall, the knowledge-enhanced Transformer-FL model showed its superior performance. There are some other findings: the baseline transformer model and multilayer perceptron model have good performance; the Tab series baseline models perform slightly worse, except for the table transformer. Although they perform well in other indicators, in actual scenarios, accuracy considerations are more important.
[0131] In the Tab series of models, the three models, the tabular multilayer perceptron, the residual network model, and the tabular transformer model, all contain the structure of the multilayer perceptron. Among them, the wide model part of the tabular multilayer perceptron model is a simple multilayer perceptron model. The residual network model adds a residual (Resnet) block on the basis of the tabular multilayer perceptron model. During the training process, the continuous variables are batch normalized and then sent to the residual network, and then the feature processing results are connected to the multilayer perceptron layer. The tabular transformer model uses the multilayer perceptron for the final classification after embedding the feature variables. Analyzing the experimental results of these three models and the original multilayer perceptron, only the accuracy index of the tabular transformer model exceeds the multilayer perceptron model, and the rest are not as good as the performance of the multilayer perceptron model; in addition to the different specific parameter implementation details, it may also be because under the feature data in a specific scenario, the increase in model complexity does not necessarily bring good benefits.
[0132] In the comparison model, the original transformer model, the table transformer and the feature transformer all contain the structure of the transformer model; the difference is: the feature vector of the original transformer model is linearly mapped to the hidden layer dimension only once; the table transformer and the feature transformer process the feature vector in the same way, and the difference in effect between the two mainly comes from the fact that the former adds a multi-layer perceptron structure after the module of the transformer model. The KETrans-FL model of the present invention flattens the feature vector into a higher-dimensional feature after linear mapping, which can make full use of the multi-head attention mechanism to learn the features.
[0133] The Transformer-FL model was subjected to ablation experiments of knowledge enhancement and Focal Loss, represented by the Transformer-FL model and the knowledge enhanced transformer model (KETrans) respectively. The results showed that the KETrans model had outstanding performance in terms of area under the curve and precision, but was inferior to KETrans-FL in terms of accuracy, which also reflects the importance of Focal Loss.
[0134] For the three averaging methods of the area under the curve, select appropriate parameters according to the actual scenario. When evaluating the overall performance of all categories, the overall performance of the model can be reflected. The model with a larger area under the curve under the micro-average parameter can be selected. This parameter can also better measure the impact of misclassification on the performance of the entire model. However, for most multi-classification problems, the goal of the model is to pay attention to each category, and then have a certain grasp of the classification accuracy of each category. At this time, you can choose between macro-average and weighted average; when you want the classification accuracy of all categories to have the same influence on the final result, treat each category equally, then you need to give it the same weighted weight. At this time, choose a model with a larger area under the curve under the macro-average parameter to meet the needs; in the case of imbalanced categories, it is necessary to compensate for the model's bias towards large categories, so each category is given a weight that matches its sample ratio. At this time, choose a model with a larger area under the curve under the weighted average parameter. This weighted average takes into account the difference in the number of samples in each category and more objectively evaluates the overall performance of the model in multi-classification tasks.
[0135] 4. Analysis of ablation experiment results.
[0136] 4.1. Effects of knowledge augmentation technology.
[0137] In order to fully demonstrate the effectiveness of the knowledge enhancement technology proposed in this paper, the knowledge enhancement mechanism was added to all baseline models, and experiments were conducted. The differences in the accuracy and the average area under the curve were calculated. Table 3 is a comparison table of the effects of adding the knowledge enhancement mechanism to various models, where Delta represents the difference between the results after adding the knowledge enhancement mechanism and the results without adding it.
[0138] Table 3 Comparison of the effects of adding knowledge enhancement mechanism to various models
[0139]
[0140] According to the Delta column results, the DL model and FRC-L model after adding knowledge enhancement have improved in accuracy or area under the curve, while in the Tab model, except for the table multilayer perceptron and feature transformer, other models have obvious enhancement effects. The results show that knowledge enhancement improves the classification accuracy and area under the curve value of most baseline models.
[0141] 4.2.Effect of Focal Loss.
[0142] In order to verify whether the Focal Loss part of the model will have a positive impact on some baseline models, Focal Loss was added for experiments. Table 4 is a comparison table of the effects of adding Focal Loss to various models.
[0143] Table 4 Comparison of the effects of adding Focal Loss to various models
[0144]
[0145] According to the Delta column results, the addition of Focal Loss has a positive effect on DL models including multi-layer perceptrons, and their accuracy has been improved to a certain extent, while the value of the area under the curve is more volatile; however, there is almost no positive effect on the Tab model.
[0146] 4.3. The combined effect of knowledge augmentation technology and Focal Loss.
[0147] When knowledge enhancement technology and Focal Loss are added at the same time, the impact on the above baseline model is shown in Table 5. Table 5 is a comparison table of the effects of adding knowledge enhancement technology and Focal Loss to various models at the same time.
[0148] Table 5 Comparison of the effects of adding knowledge enhancement technology and Focal Loss to various models
[0149]
[0150]
[0151] According to the Delta column results, the simultaneous addition of knowledge enhancement and Focal Loss has greatly improved the performance of DL models including multi-layer perceptrons, but the impact on the Tab model is still not optimistic.
[0152] In summary, the present invention provides a fault root cause location method and a model training method, obtains samples including a statistical data set and an embedded vector set and adds a fault root cause classification label to the sample, inputs the sample into a Transformer-FL model for classification and identification, updates the parameters of the knowledge-enhanced Transformer-FL model through a focal loss function, and finally obtains a fault root cause location model, when a fault occurs, obtains alarm data and fault data of a historical time period and a future time period at the time point of the fault occurrence as statistical data, a time series alarm sequence and a time series fault sequence as text sequence data, and supplements the alarm level of the text sequence data through knowledge enhancement and obtains an embedding vector through an embedding operation, inputs the statistical data and the embedded vector into the fault root cause location model, obtains a classification and identification result of the fault root cause, converts the fault root cause location problem into a multi-classification identification problem, and improves the accuracy of fault root cause location.
[0153] Furthermore, the present invention constructs a knowledge graph to perform knowledge enhancement processing on the text sequence data to introduce alarm level information, thereby providing more alarm information for fault root cause classification, increasing the depth and breadth of the text sequence, and improving the knowledge quality and application effect of the text sequence.
[0154] An embodiment of the present invention further provides a computer device, which may include a processor and a memory, wherein the processor and the memory may be connected via a bus or in other ways.
[0155] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0156] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the program instructions / modules corresponding to the key shielding method of the vehicle-mounted display device in the embodiment of the present invention. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory.
[0157] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0158] The one or more modules are stored in the memory, and when executed by the processor, the method described in this embodiment is performed.
[0159] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned edge computing server deployment method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0160] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.
[0161] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0162] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0163] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A model training method for fault root cause location, characterized in that: The method comprises the following steps: Obtain a training sample set, the training sample set includes multiple samples, each sample includes a statistical data set and an embedded vector set, the statistical data set includes but is not limited to the number of alarms, alarm types, number of faults, time intervals for faults in the historical time period, time intervals for alarms, and proportions of faults in each category in the historical time period and future time period at the time point of the fault occurrence, the embedded vector set is obtained by the time series alarm sequence and time series fault sequence in each of the historical time period and future time period, and by the embedding operation after constructing a knowledge graph to supplement the alarm level, and adding fault root cause classification labels to multiple samples in the training sample set; Obtain an initial neural network model, wherein the initial neural network takes samples of the training sample set as input and takes classification and identification results of the root causes of the faults as output; the initial neural network model adopts a Transformer-FL model; the Transformer-FL model includes a first linear transformation layer, a multi-head self-attention layer, a first residual connection and normalization layer, a feedforward neural network layer, a second residual connection and normalization layer, a second linear transformation layer and a parameter update layer that are continuously arranged; a residual short connection is established between the output of the first linear transformation layer and the input of the first residual connection and normalization layer, and a residual short connection is established between the output of the first residual connection and normalization layer and the input of the second residual connection and normalization layer; A loss function is constructed, with the goal of minimizing the loss function, the training sample set is used to update the parameters of the initial neural network until convergence, and the updated initial neural network is constructed as a fault root cause location model.
2. The model training method for fault root cause location according to claim 1, characterized in that: The operating mechanism of the multi-head self-attention layer includes: Take the input sequence and obtain the query matrix, key matrix and value matrix through three different linear transformations; The query matrix, the key matrix and the value matrix are decomposed into a set number of heads, each head has a corresponding weight, and the head attention weight calculated independently by a single head is applied to the corresponding value matrix to obtain a single head attention calculation result, which is expressed as: Among them, Q represents the query matrix, K represents the key matrix, and V represents the value matrix. represents the scaling factor, QK T is the dot product matrix of query and key, and softmax is the activation function; The target output matrix is obtained by concatenating the attention calculation results of a set number of heads and performing a linear transformation on the concatenated results.
3. The model training method for fault root cause location according to claim 2, characterized in that: The feedforward neural network layer includes a third linear transformation layer, a nonlinear activation function layer and a fourth linear transformation layer which are arranged continuously. The expression of the feedforward neural network is: FFN(x)=max(0,xW1+b1)W2+b2; Wherein, x represents input data, W1 represents the first weight matrix, b1 represents the first bias vector, W2 represents the second weight matrix, and b2 represents the second bias vector.
4. The model training method for fault root cause location according to claim 3 is characterized in that: The initial neural network is connected to a softmax function layer at the output end of the second linear transformation layer to predict the category probability of each fault root cause in the fault root cause classification task.
5. The model training method for fault root cause location according to claim 4, characterized in that: The loss function adopts the focal loss function, and the expression of the loss function is: FL(p t )=-a t (1-p t ) γ log(p t ); Among them, P t is the model’s predicted probability for category t, α t is the weight of category t, (1-P t ) γ represents the modulation factor and γ represents the focusing parameter.
6. A method for locating the root cause of a fault, characterized in that: The method comprises: Obtain the number of alarms, alarm types, and faults that occurred in the historical time period and future time period at the time point of the fault occurrence, calculate the time interval for the fault occurrence, the time interval for the alarm occurrence, and the proportion of each type of fault in the historical time period, and use statistics including but not limited to the number of alarms, the alarm types, the number of faults, the time interval for the fault occurrence, the time interval for the alarm occurrence, and the proportion of each type of fault as statistical data; Acquire a timing alarm sequence and a timing fault sequence in the historical time period and the future time period, and use the timing alarm sequence and the timing fault sequence as text sequence data; A knowledge graph is constructed through four nodes, namely, base station, alarm, fault and alarm level, and three relationships, namely, occurrence, cause and rating, and the alarm level is added to the text sequence data. The text sequence data after the alarm level is added is embedded to obtain an embedding vector through an embedding operation; All the features obtained by concatenating the statistical data and the embedded vector are input into the fault root cause location model in the model training method for fault root cause location as described in any one of claims 1 to 5, and the classification and identification result of the fault root cause is output.
7. The method for locating the root cause of a fault according to claim 6, characterized in that: The method also includes: importing the knowledge graph into a database for storage and visual management.
8. The method for locating the root cause of a fault according to claim 6, characterized in that: The method further comprises: adding alarm levels classified into severe alarm levels, general alarm levels, other alarms and unknown alarms to the text sequence data.
9. The method for locating the root cause of a fault according to claim 6, characterized in that: The method also includes: storing the status and performance data of the process of acquiring data, preprocessing the data to obtain the statistical data and the embedding vector, constructing the knowledge graph, and running the fault root cause location model as logs.
10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method as claimed in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Fault root cause analysis method, device and equipment and storage medium
CN112052151A
Telecommunication network fault reason positioning method and device
CN113825162A
Full-chain interpretable power distribution network single-phase earth fault type identification method and system
CN117929913A
Fault root cause determination method and device, and storage medium and electronic device
WO2023029654A1
Cited By
Intelligent alarm method and system based on Transform variational auto-encoder network
CN119363561A
Electric vehicle battery fault early warning method and device, storage medium and program product
CN119388995A
