A monitoring system alarm intelligent processing method and system based on knowledge base
By establishing an entity association knowledge base in the monitoring system and using similarity and fuzzy semantic distance calculations, combined with Bayesian network models and natural language processing, it solves the problem of rapid positioning and solutions for operation and maintenance personnel when faced with various alarm information. Recommended problems improve processing efficiency and system intelligence.
Patent Information
- Application Number
- CN202410873563.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-02
AI Technical Summary
In the monitoring system, when faced with various alarm information, operation and maintenance personnel have difficulty in quickly and accurately locating the problem and providing solutions, resulting in low processing efficiency and long system recovery time.
Adopt an intelligent processing method for monitoring system alarms based on a knowledge base. By establishing an entity-related knowledge base, we can store historical alarm information and solutions, and use similarity calculation and fuzzy semantic distance calculation to quickly find and recommend similar or related solutions. Combined with Bei Yessian network model and natural language processing technology provide intelligent decision support.
It greatly shortens the time to solve problems, improves the response speed and efficiency of operation and maintenance personnel, reduces service interruption time and scope of impact, improves customer satisfaction and loyalty, and enhances the intelligence level of the system.
Smart Images

Figure CN118410185B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of database information query, and in particular to a method and system for intelligently processing alarms of a monitoring system based on a knowledge base. Background Art
[0002] In current monitoring systems, timely handling of alarms is an indispensable part of ensuring stable system operation. Once the system issues an alarm, operation and maintenance personnel must respond quickly and make correct judgments to prevent serious situations such as system performance degradation or downtime. However, in actual situations, operation and maintenance personnel often face many challenges.
[0003] There are many types of alarm information, and they may involve complex system components and interaction logic. When the system issues an alarm, the operation and maintenance personnel need to analyze the alarm information in detail, including key information such as timestamp, source, type, and level, in order to preliminarily classify and locate the alarm information. This process requires not only solid professional knowledge of the operation and maintenance personnel, but also a deep understanding of the system architecture and business processes.
[0004] Even if the operation and maintenance personnel have sufficient professional knowledge, they still need to find similar cases in the massive amount of historical alarm information in order to quickly locate the problem and find a solution. However, this process is often time-consuming and labor-intensive, and there is a lot of uncertainty. If the operation and maintenance personnel have never seen a certain alarm information, or have insufficient knowledge of software and hardware, they may feel at a loss and even make wrong judgments and handling. In this case, the efficiency of alarm processing will be reduced, and the system recovery time will be correspondingly extended.
[0005] Therefore, how to quickly and accurately provide alarm solutions has become an urgent problem to be solved in the field of monitoring systems. Summary of the invention
[0006] In order to be able to quickly and accurately provide solutions corresponding to alarm information, the present application provides a monitoring system alarm intelligent processing method and system based on a knowledge base.
[0007] In the first aspect, the present application provides a method for intelligently processing alarms of a monitoring system based on a knowledge base, which adopts the following technical solutions:
[0008] A method for intelligently processing alarms of a monitoring system based on a knowledge base comprises the following steps:
[0009] Building a database: Building an entity-related knowledge base, which stores historical alarm information and solutions corresponding to the historical alarm information;
[0010] Data collection: obtain alarm information;
[0011] Data processing: including the first calculation, the first judgment and the second calculation steps;
[0012] First calculation: searching the entity association knowledge base for historical alarm information similar to the alarm information, and calculating the similarity between the alarm information and the historical alarm information;
[0013] First judgment: judge whether the similarity result is greater than the preset similarity threshold. If so, associate the historical alarm information with the previous If not, the second calculation step is executed;
[0014] Second calculation: using fuzzy semantic distance to calculate the correlation between the warning information and all solutions in the entity association knowledge base;
[0015] Feedback: Put the most relevant The solution is fed back to the operation and maintenance personnel.
[0016] By adopting the above technical solution, when new alarm information is generated, this application can quickly search for similar historical alarm information in the entity association knowledge base. If historical alarm information with a high degree of similarity is found, the corresponding solution can be immediately recommended to the operation and maintenance personnel, thereby greatly shortening the time to solve the problem and improving the response speed and efficiency of the operation and maintenance personnel. When it is impossible to find historical alarm information with a high enough similarity, this application will use the fuzzy semantic distance calculation method to evaluate the correlation between the alarm information and all solutions stored in the entity association knowledge base, and recommend the one with the highest correlation. This method provides intelligent decision support for operation and maintenance personnel based on big data analysis and semantic processing technology. As a platform for centralized storage of historical alarm information and solutions, the entity-related knowledge base makes it easier to share and inherit knowledge within the operation and maintenance team. New members can quickly become familiar with common problems and solutions, while old members can also contribute their experience and knowledge to the team. By quickly and accurately solving alarm problems, the time and scope of service interruptions can be reduced, thereby improving customer satisfaction and loyalty.
[0017] Optionally, the method further comprises:
[0018] Second judgment: Operation and maintenance personnel judge the feedback based on expert knowledge and experience Whether the solution meets the requirements, if yes, then execute the scoring step; if not, then execute the optimization step;
[0019] Scoring: The operation and maintenance personnel score the feedback solution. If the score is lower than the preset scoring threshold, the optimization steps are executed;
[0020] Optimization: The operation and maintenance personnel provide a solution based on the alarm information, and store the alarm information and the solution in the entity-related knowledge base.
[0021] By adopting the above technical solution, through the second judgment step, the operation and maintenance personnel can make the system recommended The system evaluates each solution. If the operator believes that the recommended solution meets the requirements, it proceeds to the scoring step. If it does not meet the requirements, the operator provides his own solution through the optimization step, which provides a reference for solutions to similar problems encountered in the future. The scoring step enables the operator to quantitatively evaluate the solutions recommended by the system. If the score is lower than the preset scoring threshold, the optimization step will be triggered to encourage the operator to provide higher-quality solutions. This feedback loop helps the system to continuously learn and improve, and improve the quality of solutions recommended in the future. Through the optimization step, the operator can store the solutions he provides in the entity-related knowledge base, which not only enriches the content of the entity-related knowledge base, but also enables the entity-related knowledge base to be continuously updated and optimized. Over time, the entity-related knowledge base will contain more high-quality solutions that meet actual needs, thereby improving the intelligence level and practicality of the system.
[0022] Optionally, after executing the second determination step and before executing the optimization step, the method further includes:
[0023] Information retrieval: Operation and maintenance personnel use alarm information to search for solutions in the entity-related knowledge base.
[0024] By adopting the above technical solution, the operation and maintenance personnel can more directly find solutions related to the current alarm information by searching the entity-related knowledge base using the alarm information. This targeted search helps to improve the efficiency of finding suitable solutions, thereby accelerating the problem-solving process. Through information retrieval, the operation and maintenance personnel can obtain more relevant information, such as previous experience and lessons learned from dealing with similar problems. These experience and lessons can provide more comprehensive decision-making support for the operation and maintenance personnel, helping them to more accurately judge the nature of the problem and the effectiveness of the solution. Through information retrieval, the operation and maintenance personnel can avoid repeatedly consulting or searching for solutions that have been stored in the entity-related knowledge base, which helps to reduce unnecessary workload and time waste and improve the efficiency of the operation and maintenance work. Through information retrieval, the operation and maintenance personnel can also understand the advantages and disadvantages of the previous solutions, so as to improve and optimize them when providing new solutions. This continuous improvement and optimization process helps to improve the capabilities and level of the entire operation and maintenance team.
[0025] Optionally, the degree of association The calculation model is:
[0026] ;
[0027] in, is the number of semantic features of warning information; is the number of semantic feature attributes of the warning information; is the membership function value of the semantic feature of the warning information; is the smoothing coefficient of the fuzzy space of the semantic features of the warning information; is the friction coefficient of the fuzzy space of the semantic features of the warning information; is the weight coefficient of the fuzzy space of semantic features of warning information; It is the semantic feature dimension of the warning information; is the similarity weight between the alarm information and the historical alarm information; The horizontal coordinate axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; The vertical axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; is the weight coefficient of the alarm information, and the calculation model is as follows:
[0028] ;
[0029] in, is the number of fuzzy semantic distance attributes of the warning information; For the The importance of the fuzzy semantic distance attribute of each warning message;
[0030] The score of the warning information is solved by a score function, and the calculation model of the score function is as follows:
[0031] ;
[0032] in, Semantic features of warning information Middle Eigenvalues The corresponding weight value, weight value is a preset value, and ;
[0033] is the semantic weight of the warning information, and the calculation model is as follows:
[0034] ;
[0035] in, The number of solutions in the knowledge base associated with the entity; is the prior probability of the entity being associated with the knowledge base; is the numerical value of the time to retrieve the solution in the entity association knowledge base; The value of the time it takes to build the entity association knowledge base.
[0036] By adopting the above technical solution, the correlation degree used in this application The calculation model takes into account the influence of multiple parameters, which can more accurately evaluate the correlation between alarm information and historical alarm information or solutions, helping to ensure that the recommended solution is highly relevant to the current alarm situation. The parameters in the model, such as smoothing coefficient, friction coefficient, and weight coefficient, are preset values and can be adjusted according to actual conditions to meet the processing requirements of different alarm information. Dynamic adaptability enables the system to flexibly handle various complex situations and improve overall performance.
[0037] Optionally, after executing the library building step and before executing the data collection step, the following steps may also be included:
[0038] Modeling: Taking the historical alarm information as the root node and the solution as the child node to establish a Bayesian network model, the directed edge between the root node and the child node is the dependency relationship between the historical alarm information and the solution.
[0039] By adopting the above technical solutions, the Bayesian network model provides an intuitive way to represent the dependency between historical alarm information and solutions, which is convenient for subsequent data collection and analysis. The relationship between alarm information and solutions often has uncertainty. The Bayesian network model can handle this uncertainty and represent the dependency between nodes through probability distribution, making the reasoning results more accurate and reliable. As new data is continuously collected and added, the Bayesian network model can update the network structure and probability parameters through learning algorithms to adapt to new alarm information and solutions, which helps the system to evolve continuously and improve the accuracy and effectiveness of solutions.
[0040] Optionally, the alarm information collected in the data collection step is used as the input of the Bayesian network model, combined with natural language processing technology, to predict relevant solutions;
[0041] In the first judgment step, the historical alarm information is associated with the previous Feedback a solution to the operation and maintenance personnel;
[0042] In the second calculation step, the relevance between the warning information and the relevant solutions is calculated using fuzzy semantic distance.
[0043] By adopting the above technical solution, the present application establishes a Bayesian network model, which can capture the dependency relationship between historical alarm information and solutions, and combine natural language processing technology to understand the semantics of alarm information, which helps to more accurately predict the solution most relevant to the current alarm information and improve the pertinence and effectiveness of the solution. In the first judgment step, the previous solutions associated with the historical alarm information are sorted in descending order of dependency. The feedback of each solution to the operation and maintenance personnel can help the operation and maintenance personnel quickly understand the historical solutions most relevant to the current alarm. This sorting method can reduce the information search costs of the operation and maintenance personnel and help them make decisions faster. In the second calculation step, the fuzzy semantic distance is used to calculate the correlation between the alarm information and the associated solutions, which can handle the incomplete match between the alarm information and the solution. This fuzzy matching capability helps to find the solution closest to the current alarm information in the absence of a fully matching solution, thereby improving the coverage and availability of the solution. The entire process of this application combines the Bayesian network model, natural language processing technology and fuzzy semantic distance calculation to achieve intelligent analysis of alarm information and automatic prediction of solutions, which not only improves the automation level of the system, but also enhances the intelligence level of the system, enabling the system to more intelligently assist the operation and maintenance personnel in problem handling.
[0044] Optionally, in the database building step, the historical alarm information is segmented to obtain keywords of the historical alarm information, and the keywords of the historical alarm information and corresponding solutions are stored in the entity association knowledge base.
[0045] By adopting the above technical solution, the core content of historical alarm information can be simplified into a series of keywords by segmenting and extracting keywords. These keywords can be used as indexes to quickly locate relevant solutions in the subsequent information retrieval process, significantly improving retrieval efficiency. The information in the entity-related knowledge base is stored in the form of keywords-solutions, so that operation and maintenance personnel can more directly find relevant historical experience and solutions when processing new alarm information. This structured storage method enhances the availability and ease of use of the entity-related knowledge base.
[0046] Optionally, after executing the data acquisition step and before executing the first calculation step, the method further includes:
[0047] Data preprocessing: including preprocessing and keyword extraction steps;
[0048] Preprocessing: Perform data preprocessing operations on the collected alarm information;
[0049] Keyword extraction: perform word segmentation on the preprocessed alarm information to obtain keywords of the preprocessed alarm information, and use the keywords of the preprocessed alarm information as new alarm information.
[0050] By adopting the above technical solution, the data preprocessing step can remove noise, redundancy and irrelevant information in the alarm information, such as special characters, punctuation marks, irrelevant words, etc., which can improve data quality and provide more accurate and useful information for subsequent analysis and calculation. Through word segmentation processing, the alarm information is divided into independent keywords. The format of these keywords is consistent with the keywords obtained after the word segmentation processing of the historical alarm information, which is convenient for the calculation of similarity in the subsequent steps. After keyword extraction, the alarm information is simplified into a series of keywords. These keywords can be used as indexes to quickly retrieve relevant historical alarm information and solutions in the entity association knowledge base, which can significantly improve the efficiency of information retrieval, accelerate the identification of problems and the acquisition of solutions, and use the preprocessed alarm information as new alarm information to perform subsequent steps, which helps to perform association analysis more accurately.
[0051] Optionally, in the first calculation step, similarities between keywords of new alarm information and historical alarm information are calculated.
[0052] By adopting the above technical solution and replacing the original alarm information in the first calculation step with new alarm information, a solution of historical alarm information that best matches the new alarm information can be recommended from the entity association knowledge base, thereby improving the pertinence and accuracy of the solution and reducing the possibility of false alarms and missed alarms.
[0053] In the second aspect, the present application provides a monitoring system alarm intelligent processing system based on a knowledge base, which adopts the following technical solutions:
[0054] A monitoring system alarm intelligent processing system based on a knowledge base, comprising:
[0055] The data acquisition module includes a first data acquisition unit and a second data acquisition unit. The first data acquisition unit is used to collect alarm information and send the alarm information to the first calculation unit; the second data acquisition unit is used to collect historical alarm information and send the historical alarm information to the database building module;
[0056] A database building module, which is in communication connection with the second data acquisition unit, is used to receive historical alarm information and build an entity association knowledge base based on the historical alarm information;
[0057] The calculation module includes a first calculation unit and a second calculation unit, wherein the first calculation unit is in communication with the first data acquisition unit; the first calculation unit is used to calculate the similarity between the alarm information and the historical alarm information; the second calculation unit is used to calculate the association between the alarm information and all solutions in the entity association knowledge base;
[0058] The judgment module is connected to the first calculation unit for receiving the similarity calculation result of the first calculation unit and comparing the similarity calculation result with a preset similarity threshold;
[0059] Feedback module: used for feedback solutions.
[0060] By adopting the above technical solution, the first data collection unit focuses on real-time collection of alarm information to ensure the timeliness and accuracy of the information. The second data collection unit is responsible for collecting historical alarm information to provide a data basis for establishing an entity-related knowledge base. By receiving the historical alarm information sent by the second data collection unit, the database building module can build an entity-related knowledge base containing alarm information and solution associations, which helps to systematically store and manage historical experience and knowledge, and provide support for subsequent solution recommendations. The first calculation unit can quickly identify whether the new alarm information is similar to one or some alarm events in history by calculating the similarity between the alarm information and the historical alarm information. If it is highly similar, the solution to the alarm event is directly retrieved and fed back to the operation and maintenance personnel, which helps to quickly obtain solutions and reduce unnecessary troubleshooting time. The second calculation unit calculates the correlation between the alarm information and all solutions in the entity-related knowledge base based on the alarm information. This correlation calculation can provide the most relevant solution recommendation for the operation and maintenance personnel and improve the efficiency of problem solving. The judgment module can intelligently judge whether the alarm information needs further processing and which solutions need to be recommended by comparing the similarity calculation result with the preset similarity threshold. The feedback module will promptly feedback the relevant solutions to the operation and maintenance personnel. This timely feedback can ensure that the operation and maintenance personnel can quickly obtain key information to solve the problem. The entire system can significantly improve the operation and maintenance efficiency through automated data collection, calculation, judgment and feedback processes. At the same time, based on the entity-related knowledge base of historical alarm information and solutions, the system can also realize intelligent solution recommendations and improve the intelligence level of operation and maintenance work. This system realizes multi-threaded data processing by setting the first calculation unit and the second calculation unit, the first data collection unit and the second data collection unit, respectively performing similarity calculation and correlation calculation, collection of historical alarm information and collection of alarm information, thereby speeding up the processing progress, further shortening the alarm information processing time, and improving the problem handling efficiency.
[0061] In summary, the present application includes at least one of the following beneficial technical effects:
[0062] 1. When new alarm information is generated, this application can quickly search for similar historical alarm information in the entity association knowledge base. If historical alarm information with high similarity is found, the corresponding solution can be immediately recommended to the operation and maintenance personnel, which greatly shortens the time to solve the problem and improves the response speed and efficiency of operation and maintenance. When historical alarm information with high enough similarity cannot be found, this application will use the fuzzy semantic distance calculation method to evaluate the correlation between the alarm information and all solutions in the knowledge base, and recommend the top correlation. This method provides intelligent decision support for operation and maintenance personnel based on big data analysis and semantic processing technology. As a platform for centralized storage of historical alarm information and solutions, the entity-related knowledge base makes it easier to share and inherit knowledge within the operation and maintenance team. New members can quickly become familiar with common problems and solutions, while old members can also contribute their experience and knowledge to the team. By quickly and accurately resolving alarm problems, the time and scope of service interruptions can be reduced, thereby improving customer satisfaction and loyalty.
[0063] 2. This application establishes a Bayesian network model that can capture the dependency relationship between historical alarm information and solutions, and combines natural language processing technology to understand the semantics of alarm information, which helps to more accurately predict the solution most relevant to the current alarm information and improve the pertinence and effectiveness of the solution. In the first judgment step, the previous solutions associated with the historical alarm information are sorted in descending order of dependency. The feedback of each solution to the operation and maintenance personnel helps the operation and maintenance personnel to quickly understand the historical solutions most relevant to the current alarm. This sorting method can reduce the information search costs of the operation and maintenance personnel and help them make decisions faster. In the second calculation step, the fuzzy semantic distance is used to calculate the correlation between the alarm information and the associated solutions, which can handle the incomplete matching between the alarm information and the solution. This fuzzy matching capability helps to find the solution closest to the current alarm information in the absence of a completely matching solution, thereby improving the coverage and availability of the solution. The entire process combines the Bayesian network model, natural language processing technology and fuzzy semantic distance calculation to achieve intelligent analysis of alarm information and automatic prediction of solutions, which not only improves the automation level of the system, but also enhances the intelligence level of the system, enabling the system to more intelligently assist the operation and maintenance personnel in problem handling.
[0064] 3. The first data collection unit focuses on real-time collection of alarm information to ensure the timeliness and accuracy of the information. The second data collection unit is responsible for collecting historical alarm information to provide a data basis for establishing an entity-related knowledge base. By receiving the historical alarm information sent by the second data collection unit, the database building module can build an entity-related knowledge base containing alarm information and solution associations, which helps to systematically store and manage historical experience and knowledge, and provide support for subsequent solution recommendations. The first calculation unit can quickly identify whether the new alarm information is similar to one or some historical alarm events by calculating the similarity between the alarm information and the historical alarm information, which helps to quickly locate the problem type and reduce unnecessary troubleshooting time. The second calculation unit calculates the correlation with all solutions in the entity-related knowledge base based on the alarm information. This correlation calculation can provide the most relevant solution recommendation for the operation and maintenance personnel and improve the efficiency of problem solving. The judgment module can intelligently judge whether the alarm information needs further processing and which solutions need to be recommended by comparing the similarity calculation results with the preset similarity threshold. The feedback module will promptly feedback the relevant solutions to the operation and maintenance personnel based on the results of the judgment module. This timely feedback can ensure that operation and maintenance personnel can quickly obtain key information to solve the problem. The entire system can significantly improve operation and maintenance efficiency through automated data collection, calculation, judgment and feedback processes. At the same time, based on the entity-related knowledge base of historical alarm information and solutions, the system can also implement intelligent solution recommendations and improve the intelligence level of operation and maintenance work. This system realizes multi-threaded data processing by setting the first calculation unit and the second calculation unit, the first data collection unit and the second data collection unit, respectively performing similarity calculation and correlation calculation, historical alarm information collection and alarm information collection, thereby speeding up the processing progress, further shortening the alarm information processing time, and improving problem handling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 is a flow chart of Example 1 of the present application;
[0066] Figure 2 is a flowchart of step S5: data processing in Example 1 of the present application;
[0067] Figure 3 It is a flowchart of step S7: subsequent processing in Example 1 of the present application;
[0068] Figure 4 It is a schematic diagram of the system structure of Example 2 of the present application. DETAILED DESCRIPTION
[0069] The following combination Figures 1 to 4 This application is described in further detail.
[0070] Embodiment 1: This embodiment discloses a monitoring system alarm intelligent processing method based on a knowledge base, referring to Figure 1 The method includes: step S1: database building, step S2: modeling, step S3: data collection, step S4: data preprocessing, step S5: data processing, step S6: feedback and step S7: subsequent processing. First, an entity association knowledge base is established through historical alarm information, and then a Bayesian network model is established, and then alarm information is collected, and then the alarm information is preprocessed, and then similarity and correlation are calculated through data processing steps, and then a solution is fed back, and then subsequent optimization and scoring are performed. This embodiment can not only make full use of historical alarm information and improve the accuracy and effectiveness of the solution, but also can, when the similarity is low, expand the search range through fuzzy semantic distance calculation to ensure that a reasonable solution can be given. The method specifically includes the following steps:
[0071] Step S1: Building a database: Building an entity-associated knowledge base, which stores historical alarm information and solutions corresponding to the historical alarm information. The historical alarm information includes: alarm ID, alarm time, alarm content, alarm level, etc. The solution includes: the alarm ID, alarm time, alarm content, alarm level, solution steps, required resources, estimated solution time, etc. of this alarm information. The two entities (i.e., historical alarm information and solutions corresponding to the historical alarm information) are connected through some association (such as alarm ID, alarm content, etc.) so that the corresponding solution can be quickly found when querying.
[0072] The collection methods of the historical alarm information and the solutions corresponding to the historical alarm information include: log system, monitoring system, alarm platform, etc.
[0073] Perform word segmentation on historical alarm information. Word segmentation is the process of dividing continuous text into independent vocabulary units. This is done by using word segmentation algorithms or tools in natural language processing (NLP).
[0074] On the basis of word segmentation, keywords of historical alarm information are further extracted. Keywords are the most important vocabulary units in the text and can represent the main content and intention of the text. There are many methods to extract keywords, such as keyword extraction based on TF-IDF (term frequency-inverse document frequency) and keyword extraction based on TextRank. These methods can evaluate the importance of words according to their frequency of occurrence, position, semantics and other information in the text, and extract the most important keywords.
[0075] The keywords of the historical alarm information and the corresponding solutions are stored in the entity association knowledge base. When storing, the correct association between the keywords and the solutions is ensured by establishing an index in the entity association knowledge base, using an association table or a graph database, etc.
[0076] In order to facilitate users to query and use the data in the knowledge base, this embodiment also provides a query interface for operation and maintenance personnel. The query interface can quickly retrieve relevant alarm information and solutions based on the query conditions (such as keywords, alarm ID, etc.) entered by the operation and maintenance personnel, and display them to the operation and maintenance personnel.
[0077] The step S2: modeling includes: step S21: defining nodes, step S22: establishing directed edges, step S23: defining a conditional probability table and step S24: establishing a model.
[0078] Step S21: Define nodes: Use historical alarm information as the root node of the Bayesian network model. Each root node contains one or a specific type of historical alarm information, such as "network failure", "server downtime", etc. These root nodes have discrete states and correspond to different alarm types. Use solutions as child nodes of the Bayesian network model. These child nodes represent solutions associated with the root node (historical alarm information). For example, for the alarm information of "network failure", possible solutions include "restarting the router", "checking the physical connection", etc. Similarly, these child nodes will also have discrete states corresponding to different solutions.
[0079] Step S22: Establishing directed edges: The directed edges between the root node and the child nodes represent the dependency relationship between historical alarm information and solutions. These directed edges indicate which solution is more likely to be adopted when a certain alarm information occurs.
[0080] Step S23: Define a conditional probability table: The conditional probability table is used to quantify the dependencies between nodes. For each child node, a conditional probability table is defined, which describes the probability distribution of the child node under a given root node state. For example, for the alarm information of "network failure", the conditional probability table will list the probability of each solution being adopted, such as "restarting the router" and "checking the physical connection" when the "network failure" occurs.
[0081] Step S24: Building a model: Building a Bayesian network model based on part of the historical alarm information, and using the remaining historical alarm information to train the Bayesian network model.
[0082] Step S3: Data collection: obtaining alarm information (the alarm information described in this step specifically refers to the alarm information obtained in real time).
[0083] In other embodiments, the collected alarm information is used as input to the Bayesian network model, combined with natural language processing technology, for example: a classification algorithm is used to classify the alarm information into different categories and types, and by identifying keywords in the alarm information and the relationship between the keywords, relevant solutions are predicted.
[0084] Step S4: data preprocessing: including step S41: preprocessing and step S42: keyword extraction.
[0085] Step S41: Preprocessing: performing data preprocessing operations on the collected alarm information, the data preprocessing operations include:
[0086] Data cleaning: Remove duplicate, invalid or redundant alarm information to ensure data accuracy and consistency.
[0087] Text parsing: If the alarm information contains text descriptions, NLP technologies (such as word segmentation, part-of-speech tagging, named entity recognition, etc.) are used to parse the text content and extract key information.
[0088] Image recognition: If the alarm information contains images, image recognition technology is used to extract key information.
[0089] Feature extraction: Extract features useful for predictive solutions from alarm information, such as alarm type, severity, occurrence time, related equipment, etc. These features will be used as input to the Bayesian network model.
[0090] Step S42: keyword extraction: perform word segmentation on the preprocessed alarm information to obtain keywords of the preprocessed alarm information, and use the keywords of the preprocessed alarm information as new alarm information to execute subsequent steps.
[0091] like Figure 2 As shown, the step S5: data processing includes step S51: first calculation, step S52: first judgment and step S53: second calculation.
[0092] Step S51: First calculation: Search historical alarm information similar to the alarm information in the entity association knowledge base, and calculate the similarity between the new alarm information provided in the keyword extraction of step S42 and the historical alarm information, the similarity calculation method includes: cosine similarity, Jaccard similarity, semantic similarity based on word vector, etc. For example, the method of calculating the similarity using the cosine similarity algorithm is: establish a Doc2vec model, convert the alarm information into a word vector using the Doc2vec model, calculate the word frequency-inverse document frequency value of the word vector by the word frequency-inverse document frequency algorithm, configure the weight factor for the word vector by the part-of-speech factor algorithm, obtain the first word vector after multiplying the word vector, the word frequency-inverse document frequency value, and the weight factor, perform aggregation processing on the first word vector, and obtain the sentence vector. Calculate the similarity between the sentence vector and the sentence vector of the historical alarm information in the entity association knowledge base.
[0093] Step S52: First judgment: preset a similarity threshold, which is used to judge whether the alarm information is similar enough to the historical alarm information, and select a recommended solution method based on the judgment result. Judge whether the similarity result is greater than the preset similarity threshold. If so, it means that the current alarm information is very similar to the historical alarm information, and the solution associated with the historical alarm information can be recommended to the operation and maintenance personnel. Specifically: select the previous solution with the highest similarity. If not, it means that the current alarm information is not similar enough to the historical alarm information, or there is not enough historical information for reference, and directly execute step S53: the second calculation.
[0094] In other embodiments, if the similarity result is greater than a preset similarity threshold, the previous alarm information associated with the historical alarm information can be sorted in descending order of dependency in the Bayesian network model. The solution is fed back to the operation and maintenance personnel.
[0095] Step S53: Second calculation: includes step S531: determining the fuzzy space, step S532: calculating the feature distance and step S533: searching.
[0096] Step S531: Determine the fuzzy space: set in the warning information, including Semantic features of warning information In each warning information semantic feature, To measure, The line between them is the space of warning information. The space of semantic features of warning information is fuzzy semantically described, and the fuzzy space of warning information is obtained as .
[0097] Step S532: Calculate feature distance: Calculate the distance between semantic features of alarm information by using the Hamming distance. The calculation model is:
[0098] ;
[0099] in, is the number of semantic features of the alarm information, and the specific value can be obtained in step S531; is the number of semantic feature attributes of the alarm information, the specific value of which can be obtained through step S531, and the semantic feature attributes of the alarm information include: alarm information string, alarm meaning, alarm attributes (alarm object identifier, alarm level, alarm type, etc.), alarm parameters, etc.; is the membership function value of the semantic feature of the alarm information, the membership function is a preset function, the membership function is determined by actual experience and fuzzy statistics, and the membership function value corresponding to the semantic feature of the current alarm information is obtained through the membership function; is the smoothing coefficient of the semantic feature fuzzy space of the warning information, and the smoothing coefficient When it is larger, the semantic features of the warning information will transition more smoothly in the fuzzy space. Otherwise, the transition will be relatively steep. The smoothing coefficient The value range is between 0.1 and 1. In this application, the smoothing coefficient , which can ensure that the semantic features of the alarm information can transition relatively smoothly without causing false alarms and missed alarms due to rapid changes, and make the system relatively sensitive to changes in the alarm status; is the friction coefficient of the semantic feature fuzzy space of the alarm information. The friction coefficient m represents the rate and stability of the alarm state change. When the friction coefficient m is set to be large, the monitoring system alarm speed is slow. On the contrary, the monitoring system alarm speed is fast. In this embodiment, the friction coefficient m is a positive integer not greater than 4, and its meaning is specifically as follows: , the monitoring system has a slow alarm speed; , the monitoring system alarm speed is slow; , the monitoring system alarm speed is fast; , the monitoring system alarm speed is fast. In this embodiment, the friction coefficient is taken , which helps the system to respond to changes in alarm information more stably and reduce false alarms caused by rapid changes; is the weight coefficient of the fuzzy space of the semantic features of the warning information, which is used to quantify the importance of the semantic features of the warning information. The value of is an integer between 1 and 10. In this embodiment, in order to simplify the calculation and ensure the stability of the solution, the weight coefficient is .
[0100] Smoothing coefficient , friction coefficient m and weight coefficient Together they constitute the processing mechanism of the semantic feature fuzzy space of the warning information. Smoothing coefficient Controls the smoothness of the transition, the friction coefficient m controls the rate and stability of the alarm, and the weight coefficient The importance of the semantic features is quantified. By setting the values of these coefficients reasonably, it can be ensured that the system can accurately and stably respond to changes in the alarm status and reduce the risk of false alarms and missed alarms. The three factors indirectly affect the calculation results of the correlation B, and then affect the matching accuracy of the alarm information and the solution. The specific impact of the three factors on the correlation B is shown in Table 1.
[0101] is the semantic feature dimension of the alarm information, and the specific value can be obtained in step S531; The horizontal coordinate axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; The vertical axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; is the weight coefficient of the alarm information, and the calculation model is as follows:
[0102] ;
[0103] in, is the number of fuzzy semantic distance attributes of the warning information; For the The importance of the fuzzy semantic distance attribute of each warning message; is the smoothing coefficient of the fuzzy space of the semantic features of the warning information, and .
[0104] The score of the warning information is solved by a score function, and the calculation model of the score function is as follows:
[0105] ;
[0106] in, Semantic features of warning information Middle Eigenvalues The corresponding weight value, weight value is a preset value, and .
[0107] is the semantic weight of the warning information, and the calculation model is as follows:
[0108] ;
[0109] in, is the number of solutions in the entity association knowledge base, which is obtained through the entity association knowledge base through a statistical algorithm; is the prior probability of the entity association knowledge base, which is a preset value; is the numerical value of the time to retrieve the solution in the entity association knowledge base; The value of the time taken to build the entity association knowledge base.
[0110] Step S533: Search: Calculate the relevance and search for solutions related to the alarm information. The calculation model is:
[0111] ;
[0112] in, is the similarity weight between the alarm information and the historical alarm information. is a preset value, which is set according to the actual situation, and the similarity weight The value range is , where the similarity weight When the value is 0, it means that the alarm information is completely different from the historical alarm information. When the value is 1, it means that the alarm information is exactly the same as the historical alarm information. The setting of is the same as the prior probability value of the directed edge in the Bayesian network model.
[0113] A solution having similarity with the alarm information is retrieved through fuzzy similarity, and the greater the fuzzy similarity, the closer the searched solution is to the alarm information.
[0114] By executing step S5: data processing, this embodiment obtains the correlation B between the alarm information and all solutions in the entity-associated knowledge base, and feedback is given in step S6 feedback according to the size of the correlation B. The larger the correlation B, the more consistent the solution searched in the entity-associated knowledge base is with the alarm information. Table 1 is a comparison table of the matching results of the alarm information and the solutions in the entity-associated knowledge base in this embodiment and the results of the database retrieval method based on the deep neural network (referring to the entity-associated knowledge base in this embodiment).
[0115] Table 1 Comparison of results of this embodiment and the database retrieval method based on deep neural network
[0116] Number of alarm messages This embodiment Database retrieval method based on deep neural network 200 0 0 300 74 0 400 130 10 500 198 20 600 300 30 700 396 39 800 551 57 900 740 91 1000 1056 164
[0117] As can be seen in Table 1, the number of solutions matched by this embodiment is 6 times or even larger than the number of solutions matched by the database retrieval method based on the deep neural network, which broadens the search and matching scope of the alarm information in the entity-related knowledge base. This method has great advantages in matching the alarm information and the entity-related knowledge base, has higher retrieval accuracy, and improves the feature matching degree.
[0118] In other embodiments, based on the Bayesian network model, only the correlation between the alarm information and the associated solutions is calculated to reduce the number of calculations and improve the calculation efficiency.
[0119] Step S6: Feedback: Feedback the top The solution is fed back to the operation and maintenance personnel. In other embodiments, the Each solution is made into a solution feedback form and fed back to the operation and maintenance personnel.
[0120] like Figure 3 As shown, the step S7: subsequent processing includes: step S71: second judgment, step S72: scoring, step S73: information retrieval and step S74: optimization.
[0121] Step S71: Second judgment: The operation and maintenance personnel judge the feedback based on expert knowledge and experience. Whether a solution meets the requirements, if so, execute step S72: scoring; if not, execute step S73: information retrieval.
[0122] Step S72: Scoring: The operation and maintenance personnel score the feedback solution. If the score is lower than the preset scoring threshold, step S74: optimization is executed. Otherwise, step S6: feedback is executed.
[0123] Step S73: Information retrieval: The operation and maintenance personnel use the alarm information to search for solutions in the entity-related knowledge base, and find cases and solutions similar to or related to the current problem. This process can help the operation and maintenance personnel find the root cause of the problem and possible solutions more quickly, and improve the efficiency of optimization work.
[0124] Step S74: Optimization: If the operation and maintenance personnel believe that the solution needs to be optimized, they will propose a new solution based on the alarm information and the information retrieved from the entity-related knowledge base, and store the alarm information and the solution in the entity-related knowledge base.
[0125] The present embodiment provides a method for intelligent processing of alarms of a monitoring system based on a knowledge base, the method comprising steps such as database construction, data collection, data processing and feedback. The method first collects historical alarm information and its solutions through the database construction step to provide a data basis for subsequent analysis. Subsequently, new alarm information is acquired in real time through the data collection step, and key information is extracted through the data processing step. Next, a similarity analysis algorithm is used to compare the similarity between the new alarm information and the historical alarm, and when the similarity is low, the search range is broadened through fuzzy semantic distance calculation. Finally, the most matching solution is recommended based on the analysis results, and the system performance is continuously optimized through the optimization step. The present method not only improves the accuracy and effectiveness of the solution, but also has good scalability and flexibility, and provides an effective method for intelligent processing of alarm information.
[0126] Embodiment 2: This embodiment discloses a monitoring system alarm intelligent processing system based on a knowledge base, referring to Figure 4 The system includes: a data collection module, a database building module, a calculation module, a judgment module and a feedback module. The data collection module collects historical alarm information and alarm information. The historical alarm information is used to build an entity association knowledge base. The alarm information is used to calculate the similarity between the historical alarm information and the historical alarm information. If similar, the solution associated with the historical alarm information is fed back to the operation and maintenance personnel. If not similar, the association degree between the alarm information and each solution is further calculated, and the solutions are sorted according to the size of the association degree. The feedback is then A solution, the system specifically includes the following contents:
[0127] The data acquisition module includes a first data acquisition unit and a second data acquisition unit.
[0128] The first data collection unit is responsible for collecting alarm information in the system or network in real time. The alarm information includes key data such as description of the abnormal event, occurrence time, and related equipment. Once the alarm information is collected, it will be immediately sent to the first computing unit for further analysis.
[0129] The second data collection unit is responsible for extracting historical alarm information from the historical database. Historical alarm information contains records of various abnormal events that occurred in the past. These records are crucial for analyzing and predicting the causes and possible solutions of current alarms. The collected historical alarm information will be sent to the database building module to build and update the entity association knowledge base.
[0130] The database building module is in communication connection with the second data acquisition unit, and receives historical alarm information from the latter, and uses the information to build and maintain an entity association knowledge base. The entity association knowledge base is a database that stores a large amount of historical alarm information and corresponding solutions, and can establish associations between alarm information and possible causes and solutions through algorithms and expert knowledge.
[0131] Computing module: includes a first computing unit and a second computing unit.
[0132] The first computing unit is in communication connection with the first data acquisition unit, and the first computing unit receives real-time alarm information. The main task of the first computing unit is to calculate the similarity between these alarm information and historical alarm information. By comparing the description, occurrence environment and related parameters of the real-time alarm and the historical alarm, the first computing unit can find the historical alarm record that is most similar to the current alarm.
[0133] The second calculation unit is responsible for calculating the association between the real-time alarm information and all solutions in the entity association knowledge base. By analyzing the keywords, context and other metadata in the alarm information, the second calculation unit can find the solution most relevant to the current alarm.
[0134] The judgment module is connected to the first calculation unit for receiving the similarity calculation result of the first calculation unit and comparing the similarity calculation result with a preset similarity threshold.
[0135] Feedback module: used for feedback solutions.
[0136] This system also establishes an alarm prediction model based on a deep learning algorithm. By analyzing the alarm time, alarm events and other information of historical alarm information, it obtains and learns the rules of alarm information occurrence and predicts the subsequent dangerous events that may occur. In this embodiment, the alarm prediction model generates an early warning report every 7 days. If there is an alarm information within 7 days and the operation and maintenance personnel process the alarm information through the entity association knowledge base, the prediction content and solution will be sent to the operation and maintenance personnel; otherwise, a feedback report will be automatically generated and sent to the customer terminal of the operation and maintenance personnel to prevent the occurrence of subsequent events in advance.
[0137] This embodiment provides a monitoring system alarm intelligent processing system based on a knowledge base, and the system includes a data acquisition module, a database building module, a calculation module, a judgment module, and a feedback module. The system makes full use of historical alarm data to improve the accuracy and effectiveness of the solution. When the alarm information similarity is low, the system uses fuzzy semantic distance calculation to broaden the search range to ensure that a reasonable solution can be given even in complex situations. The system is highly scalable and flexible and can be adjusted and optimized according to different application scenarios and requirements.
[0138] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for intelligently processing alarms of a monitoring system based on a knowledge base, characterized in that: The following steps are involved: Building a database: Building an entity-related knowledge base, which stores historical alarm information and solutions corresponding to the historical alarm information; Modeling: Taking the historical alarm information as the root node and the solution as the child node to establish a Bayesian network model, the directed edge between the root node and the child node is the dependency relationship between the historical alarm information and the solution; Data collection: obtain alarm information, use the collected alarm information as input to the Bayesian network model, and combine it with natural language processing technology to predict relevant solutions; Data processing: including the first calculation, the first judgment and the second calculation steps; First calculation: searching the entity association knowledge base for historical alarm information similar to the alarm information, and calculating the similarity between the alarm information and the historical alarm information; First judgment: judge whether the similarity result is greater than the preset similarity threshold. If so, associate the historical alarm information with the previous If not, the second calculation step is executed; In the first judgment step, the historical alarm information is associated with the previous Feedback a solution to the operation and maintenance personnel; Second calculation: using fuzzy semantic distance to calculate the correlation between the warning information and all solutions in the entity association knowledge base; In the second calculation step, the correlation between the warning information and the associated solution is calculated using the fuzzy semantic distance; Feedback: Put the most relevant The solution is fed back to the operation and maintenance personnel.
2. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to claim 1 is characterized in that: The method further comprises: Second judgment: Operation and maintenance personnel judge the feedback based on expert knowledge and experience Whether the solution meets the requirements, if yes, then execute the scoring step; if not, then execute the optimization step; Scoring: The operation and maintenance personnel score the feedback solution. If the score is lower than the preset scoring threshold, the optimization steps are executed; Optimization: The operation and maintenance personnel provide a solution based on the alarm information, and store the alarm information and the solution in the entity-related knowledge base.
3. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to claim 2 is characterized in that: After executing the second determination step and before executing the optimization step, the method further includes: Information retrieval: Operation and maintenance personnel use alarm information to search for solutions in the entity-related knowledge base.
4. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to any one of claims 1 to 3, characterized in that: The degree of association The calculation model is: ; in, is the number of semantic features of warning information; is the number of semantic feature attributes of the warning information; is the membership function value of the semantic feature of the warning information; is the smoothing coefficient of the fuzzy space of the semantic features of the warning information; is the friction coefficient of the fuzzy space of the semantic features of the warning information; is the weight coefficient of the fuzzy space of semantic features of warning information; It is the semantic feature dimension of the warning information; is the similarity weight between the alarm information and the historical alarm information; The horizontal axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; The vertical axis represents the one-dimensional abnormal Hamming distance of the semantic features of the warning information; is the weight coefficient of the alarm information, and the calculation model is as follows: ; in, is the number of fuzzy semantic distance attributes of the warning information; For the The importance of the fuzzy semantic distance attribute of each warning message; The score of the warning information is solved by a score function, and the calculation model of the score function is as follows: ; in, Semantic features of warning information Middle Eigenvalues The corresponding weight value, weight value is a preset value, and ; is the semantic weight of the warning information, and the calculation model is as follows: ; in, The number of solutions in the knowledge base associated with the entity; is the prior probability of the entity being associated with the knowledge base; is the numerical value of the time to retrieve the solution in the entity association knowledge base; The value of the time it takes to build the entity association knowledge base.
5. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to any one of claims 1 to 3, characterized in that: In the database building step, the historical alarm information is segmented to obtain the keywords of the historical alarm information, and the keywords of the historical alarm information and the corresponding solutions are stored in the entity association knowledge base.
6. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to claim 5 is characterized in that: After executing the data acquisition step and before executing the first calculation step, the method further includes: Data preprocessing: including preprocessing and keyword extraction steps; Preprocessing: Perform data preprocessing operations on the collected alarm information; Keyword extraction: perform word segmentation on the preprocessed alarm information to obtain keywords of the preprocessed alarm information, and use the keywords of the preprocessed alarm information as new alarm information.
7. The method for intelligently processing alarms of a monitoring system based on a knowledge base according to claim 6 is characterized in that: In the first calculation step, the similarity between the keywords of the new alarm information and the historical alarm information is calculated.
8. A monitoring system alarm intelligent processing system based on a knowledge base, the system being applicable to the method according to any one of claims 1 to 7, characterized in that: include: The data acquisition module includes a first data acquisition unit and a second data acquisition unit, wherein the first data acquisition unit is used to collect alarm information and send the alarm information to the first calculation unit; The second data collection unit is used to collect historical alarm information and send the historical alarm information to the database building module; Modeling module: taking the historical alarm information as the root node and the solution as the child node to establish a Bayesian network model, wherein the directed edge between the root node and the child node is the dependency relationship between the historical alarm information and the solution; A database building module, which is in communication connection with the second data acquisition unit, is used to receive historical alarm information and build an entity association knowledge base based on the historical alarm information; The calculation module includes a first calculation unit and a second calculation unit, wherein the first calculation unit is in communication connection with the first data acquisition unit; The first calculation unit is used to calculate the similarity between the alarm information and the historical alarm information; The second calculation unit is used to calculate the association degree between the warning information and all solutions in the entity association knowledge base; The judgment module is connected to the first calculation unit for receiving the similarity calculation result of the first calculation unit and comparing the similarity calculation result with a preset similarity threshold; Feedback module: used for feedback solutions.
