A method and computing device for constructing a failure knowledge graph

By searching for signaling strings of fault identification text in atomic flowcharts and generating logical expressions using protocol signaling and atomic flowcharts, the problem of difficulty in identifying non-standard signaling in existing technologies is solved, thereby improving the efficiency of fault knowledge graph construction and the accuracy of fault detection.

CN118113879BActive Publication Date: 2026-11-27HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310718965.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2026-11-27
Estimated Expiration
2043-06-16

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively identify fault judgment texts from non-standard signaling when constructing fault knowledge graphs, resulting in low conversion efficiency of logical expressions.

Method used

By searching for signaling strings of fault identification text in atomic flowcharts, and using protocol signaling and atomic flowcharts to generate logical expressions, the success rate of signaling string recognition is improved. This includes signaling type matching, edit distance calculation, and fuzzy matching. Combining preset matching rules and the relationship between the preceding and following signaling strings, logical expressions of fault identification text are generated.

Benefits of technology

It improves the success rate of converting fault identification text into logical expressions, thereby enhancing the accuracy and efficiency of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118113879B_ABST
    Figure CN118113879B_ABST
Patent Text Reader

Abstract

A method for constructing a fault knowledge graph comprises: after obtaining a to-be-processed sentence according to fault discrimination text, determining protocol signaling and an atomic flow of the to-be-processed sentence from an atomic flow graph according to a signaling string of the to-be-processed sentence, generating an atomic flow clause of the to-be-processed sentence according to the atomic flow and the to-be-processed sentence, determining a logical expression corresponding to the atomic flow clause, generating a logical expression of the to-be-processed sentence according to the logical expression of the atomic flow clause, generating a logical expression of the fault discrimination text according to the logical expression of the to-be-processed sentence, and adding the logical expression of the fault discrimination text to the fault knowledge graph. The method can find corresponding protocol signaling and an atomic flow in an atomic flow graph according to a signaling string of fault discrimination text, can improve the accuracy of signaling recognition, and can improve the success rate of converting fault discrimination text into a logical expression. The application also provides a computing device capable of implementing the above method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication, and more particularly to a method and computing device for constructing a fault knowledge graph. Background Technology

[0002] The fault documentation of the telecommunications network system records various fault phenomena, problem analysis, location, and resolution processes.

[0003] One current method for constructing a fault knowledge graph is roughly as follows: extract entities from fault identification texts based on an entity dictionary, perform part-of-speech tagging and dependency parsing on sentences in the fault identification texts; generate logical expressions based on parameters obtained from part-of-speech tagging and logical relations obtained from dependency parsing; and construct a fault knowledge graph based on the logical expressions of a large number of fault identification texts.

[0004] Because a large amount of signaling in the fault diagnosis text is written in natural language, it is difficult to identify non-standard signaling based on entity dictionaries. Therefore, a large amount of fault diagnosis text cannot be converted into logical expressions. Summary of the Invention

[0005] In view of this, this application provides a method for constructing a fault knowledge graph, which can search for corresponding protocol signaling and atomic processes in the atomic flowchart based on the signaling string of the fault judgment text, thereby improving the success rate of recognizing the signaling string and thus improving the success rate of converting the fault judgment text into a logical expression. This application also provides a computing device capable of implementing the above method.

[0006] The first aspect provides a method for constructing a fault knowledge graph. This method includes: obtaining a sentence to be processed from a fault-identifying text; obtaining the signaling string of the sentence to be processed; determining the protocol signaling of the sentence to be processed and the atomic process to which the protocol signaling of the sentence to be processed belongs from the atomic flowchart based on the signaling string of the sentence to be processed; generating at least one atomic process clause based on the atomic process and the sentence to be processed; determining the question template corresponding to the atomic process clause; generating the logical expression of the atomic process clause based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic process clause, and the non-signaling entity of the atomic process clause; generating the logical expression of the sentence to be processed based on the logical expression of at least one atomic process clause; generating the logical expression of the fault-identifying text based on the logical expression of the sentence to be processed; and adding the logical expression of the fault-identifying text to the fault knowledge graph.

[0007] By implementing this method, the corresponding protocol signaling and atomic process can be found in the atomic flowchart based on the signaling string of the fault diagnosis text. Since the protocol signaling and atomic process are standardized objects, the success rate of identifying the signaling string can be improved, thereby improving the success rate of converting the fault diagnosis text into a logical expression.

[0008] In one possible implementation of the first aspect, obtaining the sentence to be processed from the fault diagnosis text includes: when the sentence in the fault diagnosis text does not contain logical operation keywords, the sentence in the fault diagnosis text is taken as the sentence to be processed; when the sentence in the fault diagnosis text contains logical operation keywords, multiple subjects in the sentence in the fault diagnosis text are determined based on the logical operation keywords, and the text obtained after removing the logical operation keywords and multiple subjects from the sentence in the fault diagnosis text is taken as the common expression text, and a sentence to be processed is generated based on the common expression text and each subject. This can split and reorganize sentences containing logical operation keywords into multiple sentences, reduce the inconsistency between the signaling of the sentence to be processed and the signaling of the atomic process, and improve the recognition success rate of the atomic process.

[0009] In another possible implementation of the first aspect, obtaining the signaling string of the sentence to be processed includes: when the sentence to be processed contains keywords from a preset vocabulary, replacing the keywords in the preset vocabulary with the corresponding English strings; extracting at least one candidate string from the replaced sentence, and selecting the candidate string containing a preset signaling type as the signaling string of the sentence to be processed. This can convert the signaling written in Chinese into English strings, increasing the number of recognizable signaling strings. Since the length of the signaling strings is greater than 2 and the signaling strings contain preset signaling types (such as ACK, REQ, REL, or RGNB), some strings that do not belong to signaling can be removed based on the string length, reducing the computational overhead of extracting the signaling strings.

[0010] Based on the first possible implementation, in another possible implementation, the method for constructing a fault knowledge graph in this application further includes: removing a target candidate string from at least one candidate string before selecting candidate strings including preset signaling types as signaling strings for sentences to be processed. The target candidate string includes one or more of the following: strings containing "-", strings starting with a number, system names, network element names, or port names. This removes strings that do not belong to signaling, reduces the computational overhead of subsequent signaling matching, and improves the efficiency of identifying signaling strings.

[0011] In another possible implementation, determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: selecting a set of candidate protocol signaling from the atomic flowchart based on the signaling type of the signaling string of the sentence to be processed; calculating the fuzzy matching score corresponding to the candidate protocol signaling based on the length of the signaling string of the sentence to be processed, the length of the candidate protocol signaling, and the edit distance between the signaling string of the sentence to be processed and the candidate protocol signaling; and determining the protocol signaling of the sentence to be processed based on the candidate protocol signaling corresponding to the highest fuzzy matching score. The set of candidate protocol signaling includes one or more candidate protocol signaling, and the protocol signaling is the standard signaling in the 3GPP protocol. This provides a method for finding protocol signaling based on a signaling string with high accuracy.

[0012] In another possible implementation, determining the protocol signaling of the sentence to be processed based on the candidate protocol signaling corresponding to the highest fuzzy matching score includes: when there are multiple candidate protocol signalings corresponding to the highest fuzzy matching score, selecting one candidate protocol signaling from the candidate protocol signalings with the highest fuzzy matching score as the protocol signaling of the sentence to be processed according to a preset matching rule. The preset matching rule includes at least one of the following rules: the atomic process to which the signaling string belongs is the same as the atomic process to which the candidate protocol signaling belongs; the signaling type of the signaling string and the signaling type of the candidate protocol signaling are mutually responsive; the port type of the signaling string and the port type of the candidate protocol signaling are the same. When there are multiple candidate protocol signalings corresponding to the highest fuzzy matching score, using the preset matching rule can improve the accuracy of finding the protocol signaling.

[0013] In another possible implementation, determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: when the preceding signaling string of the signaling string of the sentence to be processed matches the first target protocol signaling, determining that the protocol signaling of the sentence to be processed is the next protocol signaling in the atomic flow to which the first target protocol signaling belongs. For signaling strings that include partial signaling (e.g., ACK or REQ), the protocol signaling can be found based on the preceding signaling string, improving the success rate of protocol signaling lookup.

[0014] In another possible implementation, determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: when the subsequent signaling string of the signaling string of the sentence to be processed matches the second target protocol signaling, determining that the protocol signaling of the sentence to be processed is the preceding protocol signaling of the second target protocol signaling in the atomic flow to which the second target protocol signaling belongs. For signaling strings that include partial signaling (e.g., ACK or REQ), the protocol signaling can be found based on the subsequent signaling string, improving the success rate of protocol signaling lookup.

[0015] In another possible implementation, the method for constructing a fault knowledge graph in this application further includes: when a previous signaling string fails to match the protocol signaling of the atomic flowchart, and / or when a subsequent signaling string fails to match the protocol signaling of the atomic flowchart, searching for a target signaling string in the text following the signaling string of the sentence to be processed, based on the signaling type of the signaling string of the sentence to be processed; when the target signaling string matches a third target protocol signaling, determining that the protocol signaling of the sentence to be processed is the third target protocol signaling. This can improve the success rate of finding protocol signaling.

[0016] In another possible implementation, determining the question template corresponding to the atomic flow clause includes: replacing the signaling string and non-signaling entities in the atomic flow clause with a mask string to obtain the query statement; after obtaining the set of candidate question templates corresponding to the atomic flow, selecting a subset of candidate question templates from the set based on the number of signaling elements in the query statement; for each candidate question template in the subset, calculating the fuzzy matching score between the candidate question template and the query statement; and determining the question template corresponding to the atomic flow clause as the candidate question template with the highest matching score. The number of signaling elements in each candidate question template in the subset is the same as the number of signaling elements in the query statement. The mask string of the query statement is the same as the signaling string corresponding to the question template, which improves the success rate of finding the question template. Finding the question template based on the fuzzy matching score has high accuracy.

[0017] In another possible implementation, generating the logical expression of the atomic procedure clause based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic procedure clause, and the non-signaling entity of the atomic procedure clause includes: filling the slots of the logical expression template corresponding to the atomic procedure clause and the non-signaling entity of the atomic procedure clause into the slots of the logical expression template corresponding to the question template to obtain the logical expression of the atomic procedure clause. This provides a specific method for generating the logical expression of the atomic procedure clause.

[0018] In another possible implementation, generating the logical expression of the sentence to be processed based on the logical expression of at least one atomic process clause includes: when there are multiple atomic process clauses, obtaining the logical relationships between the multiple atomic process clauses; and generating the logical expression of the sentence to be processed based on the logical relationships between the multiple atomic process clauses and the logical expressions of the multiple atomic process clauses. The logical relationships between the multiple atomic process clauses include AND and OR, which enables the logical expressions of the multiple atomic process clauses to be combined into the logical expression of the sentence to be processed based on the logical relationships between the atomic process clauses.

[0019] In another possible implementation, the method for constructing a fault knowledge graph in this application further includes: when the fault identification text includes a hierarchy identifier and the sentences of the fault identification text do not include logical operation keywords, determining the inter-sentence logical relationships of all sentences to be processed based on the hierarchy identifier; when the fault identification text does not include a hierarchy identifier and the sentences of the fault identification text include logical operation keywords, determining the inter-sentence logical relationships of all sentences to be processed based on the logical operation keywords; when the fault identification text includes a hierarchy identifier and the sentences of the fault identification text include logical operation keywords, determining the inter-sentence logical relationships of all sentences to be processed based on the hierarchy identifier and the logical operation keywords; and then generating a logical expression for the fault identification text based on the inter-sentence logical relationships of all sentences to be processed and the logical expressions of the sentences to be processed.

[0020] When the fault identification text includes hierarchical sentences and / or parallel sentences, the logical relationships between the sentences to be processed can be obtained, and the logical expressions of the sentences to be processed can be combined into the logical expression of the fault identification text based on the logical relationships between the sentences to be processed.

[0021] In another possible implementation, the method for constructing a fault knowledge graph in this application further includes: extracting atomic flowcharts from a protocol document; creating an atomic flowchart based on the atomic flowcharts in the protocol document; obtaining a set of fault description sentences from the fault document; obtaining a question template corresponding to each fault description sentence in the fault description sentence set; and associating the target question template with the atomic process identifier of the target atomic process when all signaling of the target question template belongs to the signaling set of the target atomic process. The atomic flowchart includes atomic process identifiers and the signaling set of the atomic processes. The target question template can be any question template. This allows the establishment of a correspondence between question templates and atomic processes, and based on this correspondence, the question template corresponding to the atomic process can be automatically found.

[0022] In another possible implementation, the method for constructing a fault knowledge graph in this application further includes: receiving logs sent by network devices; searching for a target logical expression in the fault knowledge graph based on the signaling strings and non-signaling entities included in the logs; and determining whether the logs contain fault events based on the output of the target logical expression. After constructing the fault knowledge graph, fault detection can be performed automatically based on the fault knowledge graph, thereby improving the speed of fault detection.

[0023] A second aspect provides a computing device comprising an acquisition module, a first matching module, a second matching module, and a generation module. The acquisition module is used to acquire a sentence to be processed based on fault identification text and to acquire the signaling string of the sentence to be processed. The first matching module is used to determine the protocol signaling of the sentence to be processed from an atomic flowchart based on the signaling string of the sentence to be processed. The second matching module is used to determine the atomic flow to which the protocol signaling of the sentence to be processed belongs from the atomic flowchart. At least one atomic flow clause is generated based on the atomic flow and the sentence to be processed. A question template corresponding to the atomic flow clause is determined. The generation module is used to generate a logical expression of the atomic flow clause based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic flow clause, and the non-signaling entity of the atomic flow clause. A logical expression of the sentence to be processed is generated based on the logical expression of at least one atomic flow clause. A logical expression of the fault identification text is generated based on the logical expression of the sentence to be processed. The logical expression of the fault identification text is added to a fault knowledge graph.

[0024] In one possible implementation, the acquisition module is specifically used to treat the sentence of the fault identification text as a sentence to be processed when the sentence of the fault identification text does not contain logical operation keywords; when the sentence of the fault identification text contains logical operation keywords, it determines multiple subjects in the sentence of the fault identification text based on the logical operation keywords, and generates a sentence to be processed based on the common expression text and each subject.

[0025] In another possible implementation, the acquisition module is specifically used to replace the keywords in the preset vocabulary with the corresponding English strings when the sentence to be processed includes keywords from the preset vocabulary; extract at least one candidate string from the replaced sentence, and select the candidate string including the preset signaling type as the signaling string of the sentence to be processed.

[0026] In another possible implementation, the acquisition module is also used to remove the target candidate string from at least one candidate string.

[0027] In another possible implementation, the first matching module is specifically used to select a set of candidate protocol signaling from the atomic flowchart based on the signaling type of the signaling string of the sentence to be processed; calculate the fuzzy matching score corresponding to the candidate protocol signaling based on the length of the signaling string of the sentence to be processed, the length of the candidate protocol signaling, and the edit distance between the signaling string of the sentence to be processed and the candidate protocol signaling; and determine the protocol signaling of the sentence to be processed based on the candidate protocol signaling corresponding to the highest fuzzy matching score.

[0028] In another possible implementation, the first matching module is specifically used to select one candidate protocol signaling from the candidate protocol signaling with the highest fuzzy matching score as the protocol signaling of the sentence to be processed, according to a preset matching rule, when there are multiple candidate protocol signalings corresponding to the highest fuzzy matching score.

[0029] In another possible implementation, the first matching module is specifically used to determine that the protocol signaling of the sentence to be processed is the next protocol signaling of the first target protocol signaling in the atomic process to which the first target protocol signaling belongs when the previous signaling string of the signaling string of the sentence to be processed matches the first target protocol signaling.

[0030] In another possible implementation, the first matching module is specifically used to determine that the protocol signaling of the sentence to be processed is the preceding protocol signaling of the second target protocol signaling in the atomic process to which the second target protocol signaling belongs when the latter signaling string of the signaling string of the sentence to be processed matches the second target protocol signaling.

[0031] In another possible implementation, the first matching module is specifically used to search for a target signaling string in the target text when the current signaling string fails to match the protocol signaling of the atomic flowchart, and / or when the subsequent signaling string fails to match the protocol signaling of the atomic flowchart, based on the signaling type of the signaling string of the sentence to be processed. When the target signaling string matches the third target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the third target protocol signaling.

[0032] In another possible implementation, the second matching module is specifically used to replace the signaling string and non-signaling entity in the atomic process clause with a mask string to obtain the query statement; obtain the set of candidate question templates corresponding to the atomic process; select a subset of candidate question templates from the set of candidate question templates according to the number of signaling in the query statement; for each candidate question template in the subset of candidate question templates, calculate the fuzzy matching score between the candidate question template and the query statement, and determine the question template corresponding to the atomic process clause as the candidate question template with the highest matching score.

[0033] In another possible implementation, the generation module is specifically used to fill the slots of the logical expression template corresponding to the problem template with the protocol signaling and non-signaling entities of the atomic process clause, so as to obtain the logical expression of the atomic process clause.

[0034] In another possible implementation, the generation module is specifically used to obtain the logical relationships between multiple atomic process clauses when there are multiple atomic process clauses; and to generate the logical expression of the sentence to be processed based on the logical relationships between multiple atomic process clauses and the logical expressions of multiple atomic process clauses.

[0035] In another possible implementation, the acquisition module is further configured to: determine the inter-sentence logical relationships of all sentences to be processed based on the hierarchical identifier when the fault identification text includes a hierarchical identifier and the sentences of the fault identification text do not include logical operation keywords; determine the inter-sentence logical relationships of all sentences to be processed based on the logical operation keywords when the fault identification text does not include a hierarchical identifier and the sentences of the fault identification text include logical operation keywords; and determine the inter-sentence logical relationships of all sentences to be processed based on both the hierarchical identifier and the logical operation keywords when the fault identification text includes a hierarchical identifier and the sentences of the fault identification text include logical operation keywords. Specifically, the generation module is configured to generate the logical expression of the fault identification text based on the inter-sentence logical relationships of all sentences to be processed and the logical expressions of the sentences to be processed.

[0036] In another possible implementation, the computing device of this application further includes a first creation module, a second creation module, and an association module. The first creation module is used to extract atomic flowcharts from the protocol document and create an atomic flowchart spectrum based on the atomic flowcharts in the protocol document. The second creation module is used to obtain a set of fault description sentences from the fault document and obtain a problem template corresponding to each fault description sentence in the fault description sentence set. The association module is used to associate the target problem template with the atomic flow identifier of the target atomic flow when all the signaling of the target problem template belongs to the signaling set of the target atomic flow.

[0037] In another possible implementation, the computing device of this application further includes a receiving module and a fault detection module. The receiving module is used to receive logs sent by the network device; the fault detection module is used to search for a target logical expression in the fault knowledge graph based on the signaling strings and non-signaling entities included in the logs; and to determine whether the logs contain fault events based on the output of the target logical expression.

[0038] For the explanation of terms, the steps for each module, and the beneficial effects in the second part, please refer to the corresponding description in the first part.

[0039] A third aspect provides a computing device including a processor and an interface circuit, the interface circuit being used to receive signals from other computing devices and transmit them to the processor or to send signals from the processor to other computing devices, the processor being used to implement the method of the first aspect through logic circuits or executing code instructions.

[0040] The fourth aspect provides a computer-readable storage medium storing a computer program or instructions that, when executed by a computing device, implement the method of the first aspect.

[0041] The fifth aspect provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of the first aspect.

[0042] A sixth aspect provides a chip including a processor and a memory. The memory stores instructions, and the processor executes the instructions stored in the memory. When the instructions are executed, the processor performs the method described in the first aspect. Specifically, the chip may be a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). Attached Figure Description

[0043] Figure 1 This is a schematic diagram illustrating a scenario for constructing a fault knowledge graph in an embodiment of this application. Figure 2 This is a schematic diagram of a fault detection scenario in an embodiment of this application; Figure 3 This is a schematic diagram illustrating the construction of telecommunications knowledge middleware and the generation of logical expressions in an embodiment of this application; Figure 4 This is a schematic diagram of an atomic process in an embodiment of this application; Figure 5 This is a schematic diagram of the logical expression of the fault discrimination text in an embodiment of this application; Figure 6 This is a schematic diagram of a problem template in an embodiment of this application; Figure 7 This is a flowchart of a method for constructing a fault knowledge graph in an embodiment of this application; Figure 8 This is a schematic diagram of sentence recombination in an embodiment of this application; Figure 9 This is another schematic diagram of sentence recombination in the embodiments of this application; Figure 10 This is a schematic diagram illustrating the conversion of atomic flow clauses into query statements in an embodiment of this application; Figure 11 This is a schematic diagram of the logical expression for generating atomic flow clauses in an embodiment of this application; Figure 12 This is a structural diagram of a computing device in an embodiment of this application; Figure 13 This is another structural diagram of the computing device in the embodiments of this application. Detailed Implementation

[0044] The method for constructing a fault knowledge graph presented in this application can be applied to fault detection scenarios based on fault knowledge graphs in wireless communication systems. The following section describes the scenarios for constructing a fault knowledge graph; please refer to [link / reference]. Figure 1In one example, the telecommunications knowledge middleware includes a problem template and a signaling interaction process. After the computing device obtains the fault identification text, the problem template, and the signaling interaction process, it can generate a logical expression for the fault identification text based on the fault identification text, the problem template, and the signaling interaction process. The logical expression of the fault identification text is added to the fault knowledge graph, and fault detection is performed based on the fault knowledge graph.

[0045] Among them, the fault identification text is natural language text describing the fault. For example, "After 4G initiates SGNB add req and does not receive ACK after 5s, send SNB rel req carrying the reason value tDCoverall-expiry".

[0046] Telecommunications knowledge middleware includes atomic process data and issue templates for the 3rd Generation Partnership Project (3GPP) protocol. Atomic process data includes atomic processes and their signaling. An atomic process refers to the smallest signaling interaction flow in a communication protocol that possesses complete and independent functionality, typically containing 1 to 3 signaling interaction steps between two network elements.

[0047] Problem templates are generated according to preset rules and describe the fault symptoms, for example, [Send / Send / Initiate]. <sig:req>Pass <time>[Not received / Not received / Not received] <sig:ack>The " / " symbol indicates "or". <sig:req>Indicates REQ signaling, <sig:ack>Indicates ACK signaling, <time>Indicates time.

[0048] Logical expressions consist of operators and named entities. The operators in this application include, but are not limited to, operators relating logical relationships between parameters and constants, operators relating logical relationships between parameters, operators relating logical operations, and operators relating numerical operations.

[0049] In one example, the logical relationship between parameters and constants is shown in Table 1:

[0050] Table 1

[0051] In one example, the logical relationships between the parameters are shown in Table 2:

[0052] Table 2

[0053] In one example, the numerical operation relation characters are shown in Table 3:

[0054] Table 3

[0055] In one example, the logical operation relationships are shown in Table 4:

[0056] Table 4

[0057] Named entities include parameters, values, times, numbers, etc. For example, the logical expression is: ((time(SGNB_ADD_REQ_ACK)-time(SGNB_ADD_REQ) > 5000) and (SGNB_REL_REQ:cause == tDCoverall-expiry). Here, SGNB_ADD_REQ_ACK, SGNB_ADD_REQ, and SGNB_REL_REQ are signaling entities; time() indicates the time when the signaling was acquired; 5000 represents 5000 microseconds (i.e., 5 seconds); and tDCoverall-expiry represents the parameter. Named entities refer to things identified by proper nouns, including signaling names, personal names, place names, etc.

[0058] See Figure 2 The network device sends the logs to the computing device. The computing device searches for the corresponding logical expression in the fault knowledge graph based on the signaling and signaling parameters included in the logs, and outputs the fault detection result based on the found logical expression.

[0059] The process of building electronic middleware includes the construction process of atomic flowchart and the construction process of fault template library. The construction process of atomic flowchart and fault template library is briefly introduced below. In one embodiment, the process of building principle flowchart includes steps 301 and 302.

[0060] Step 301: Extract the atomic flowchart.

[0061] This application can extract atomic flowcharts from 3GPP protocol documents. Tools for batch image extraction include, but are not limited to, Office.Files.Images. The extracted images may include miscellaneous diagrams and unnecessary atomic flowcharts, which can be removed after expert screening. For example, an atomic flowchart of a 3GPP protocol might look like this: Figure 4 As shown.

[0062] Step 302: Generate atomic flow chart.

[0063] Specifically, signaling attributes, process attributes, and signaling transmission direction are obtained from the atomic flowchart. Nodes of the atomic flowchart are formed based on the signaling and process attributes, and edges are formed based on the signaling transmission direction. An atomic flowchart is a knowledge graph containing atomic process information. A knowledge graph is a graph-based data structure that can be considered a semantic network composed of nodes and edges. Each node represents an entity, and each edge represents a relationship between entities. Methods for obtaining information from the atomic flowchart include, but are not limited to, optical character recognition (OCR).

[0064] Signaling attributes include at least one of the following: signaling sender, signaling receiver, signaling name, signaling type, port type, and signaling sequence number. The signaling sender is the network element that sends the signaling. The signaling receiver is the network element that receives the signaling. Signaling types include request types (e.g., REQ), response types (e.g., ACK), information types (e.g., INFO), and reconfiguration types (e.g., RECFG). Port types include S1, NG, X2, and UU. It should be understood that 3GPP signaling types and port types are not limited to the examples above. The signaling sequence number is the sequence number of the step in which the signaling occurs, and the sequence number can start from 1.

[0065] The process attributes include atomic process identifiers (such as atomic process names) and atomic process types. Atomic process types include signaling types concatenated in the order of signaling interactions. For example, REQ-ACK indicates an atomic process composed of request and response classes in sequence; RECFG-CMP indicates an atomic process composed of reconfiguration and completion classes in sequence.

[0066] The process of building a fault template library includes steps 303 and 304.

[0067] Step 303: Extract atomic process clauses.

[0068] An atomic procedure clause is a sentence used to describe a signaling fault and corresponds to an atomic procedure.

[0069] Step 304: Build a problem template library.

[0070] Specifically, issue templates and issue template identifiers are generated based on atomic flow clauses. The issue template contains named entities and the relationships between them. Named entities include, but are not limited to, keywords, parameter types, signaling entities, and non-signaling entities.

[0071] Step 305: Connect atomic processes and issue templates.

[0072] For the signaling types involved in the problem template and the signaling types involved in the atomic flow, associate the problem template with the atomic flow type of the atomic flow diagram.

[0073] The following section introduces methods for generating logical expressions; please refer to [link / reference]. Figure 3 In one embodiment, the method for generating logical expressions includes: Step 306: Text preprocessing.

[0074] Text preprocessing includes data cleaning and natural sentence segmentation. Data cleaning includes at least one of removing illegal characters and removing redundant whitespace. Natural sentence segmentation refers to dividing multiple sentences into a sequence of natural sentences based on newline characters. Text preprocessing is an optional step.

[0075] Step 307: Logical clause segmentation.

[0076] Logical sentence segmentation includes embedded logical decomposition and inter-sentence nested logical parsing.

[0077] Embedded logic decomposition includes embedded logical relationship identification, sentence component analysis, and sentence decomposition and recombination. Embedded logical relationship identification refers to the logical relationships corresponding to keywords (e.g., or, or, and). Sentence component analysis uses regular expressions to identify the subjects connecting the embedded logic and the common expression text. Sentence decomposition and recombination refers to recombining the subjects and the common expression text into a complete sentence. The logical relationships between the recombined sentences are the logical relationships corresponding to the keywords.

[0078] The parsing of nested logical relationships between sentences includes: using regular expressions to identify the level to which each sentence belongs; for sentences at the same level, reorganizing them according to the nested logic. The logical relationships between sentences include hierarchical relationships and logical relationships corresponding to keywords. In one example, the hierarchical relationship identifiers include first-level and second-level ordinal numbers, as shown in Table 5:

[0079] Table 5

[0080] Step 308: Parameter identification.

[0081] Parameter recognition includes string filtering and rule filtering.

[0082] String filtering includes: after keyword replacement using a preset vocabulary, extracting English strings with a length greater than k. The preset vocabulary contains Chinese characters corresponding to signaling or signaling parameters.

[0083] Rule filtering includes filtering strings using business rules. Business rules include one or more of the following: Rule 1: Strings that include preset signaling types are signaling strings. Preset signaling types include, but are not limited to, ACK, REQ, REL, and SGNB.

[0084] Rule 2: Strings containing "-" are not signaling strings.

[0085] Rule 3: Strings that begin with a number are not signaling strings.

[0086] Rule 4: The standard name is not a signaling string.

[0087] Rule 5: The network element name is not a signaling string.

[0088] Rule 6: The port name is not a signaling string.

[0089] Step 309, Parameter Linking.

[0090] Parameter linking refers to the method of pointing signaling strings in fault diagnosis text to atomic process signaling. Parameter linking includes basic signaling matching, multi-candidate matching processing, and fuzzy signaling matching.

[0091] Basic signaling matching includes: if the signaling type of the signaling string is different from the signaling type of the candidate protocol signaling, the matching score of the candidate protocol signaling is -1. If the signaling type of the signaling string is the same as the signaling type of the candidate protocol signaling, then a fuzzy matching score is calculated between the signaling string and the candidate protocol signaling. Fuzzy matching refers to a matching method using custom rules, which are different from exact match rules or regular expressions.

[0092] The multi-candidate matching process includes: selecting the target protocol signaling from multiple candidate protocol signaling with the same fuzzy matching score according to preset matching rules.

[0093] The preset matching rules include one or more of the following rules: Rule 7: If the atomic process to which the signaling string belongs is the same as the atomic process to which the candidate protocol signaling belongs, 1 point will be awarded.

[0094] Rule 8: 1 point is awarded if the signaling type of the signaling string and the signaling type of the candidate protocol signaling are mutually responsive. Responsive signaling types include REQ and ACK, REQUIRED-CONFIRM, etc.

[0095] Rule 9: If the port type of the signaling string is the same as the port type of the candidate protocol signaling, 1 point is awarded.

[0096] Fuzzy signaling matching includes: First, after obtaining the preceding signaling of the signaling string, determining the protocol signaling corresponding to that preceding signaling, and then using the next signaling of that protocol signaling in the atomic flow as the protocol signaling corresponding to the signaling string. Second, after obtaining the following signaling of the signaling string, determining the protocol signaling corresponding to that following signaling, and then using the preceding signaling of that protocol signaling in the atomic flow as the protocol signaling corresponding to the signaling string. Third, if the preceding signaling string fails to match the protocol signaling of the atomic flow graph, searching for a signaling string of the same signaling type in the text following the preceding signaling string based on the signaling type of the preceding signaling string; when a signaling string of the same signaling type matches the protocol signaling, determining that the protocol type is the protocol signaling of the sentence to be processed.

[0097] Step 310: Problem template matching.

[0098] Problem template matching includes text segmentation, non-signaling entity recognition, query statement construction, and fuzzy matching of signaling constraints.

[0099] Text segmentation refers to dividing a sentence into clauses according to the atomic flow to which each signaling belongs, based on the parameter linking results, so that the signaling in each clause belongs to the same atomic flow. For example, the sentence "4G initiates SGNB addreq and after 5 seconds no ACK is received, sends SNB rel req carrying the reason value tDCoverall-expiry" can be divided into "4G initiates SGNB add req and after 5 seconds no ACK is received" and "sends SNB rel req carrying the reason value tDCoverall-expiry", which correspond to the "access addition preparation" and "release" flows, respectively.

[0100] Non-signaling entity identification refers to using regular expressions to identify non-signaling entities in clauses. Non-signaling entities include time, standard, port, numbers, and other parameter values.

[0101] Query statement construction involves masking entities in text, replacing signaling entities and non-signaling entities with corresponding mask strings to obtain a query statement that matches the question template. The goal is to improve the accuracy of template matching. Mask strings include, but are not limited to, those used in the text. <sig:type> 、 <time>、 <mode> 、 <port> 、 <num>or <value>.in, <sig:type>For signaling, TYPE is the signaling type. <time>Corresponding time, <mode>Corresponding format, <port>Corresponding port <num>Corresponding numbers <value>Corresponding parameter values.

[0102] Fuzzy matching of signaling constraints refers to obtaining the corresponding problem template based on the signaling string of the atomic process clause, thereby obtaining a candidate set of problem templates.

[0103] Step 311: Generate the logical expression for the fault identification text.

[0104] The logical expression for generating fault diagnosis text includes slot filling of the problem template and logical expression combination. Slot filling of the problem template refers to filling the slots of the logical expression template corresponding to the problem template with protocol signaling and non-signaling entities. Logical expression combination refers to connecting the logical expressions of multiple sentences according to the logical relationship characters between sentences when the fault diagnosis text includes multiple sentences, to obtain the logical expression corresponding to the fault diagnosis text.

[0105] See Figure 5 In one example, the fault diagnosis text is: One of the following conditions must be met: 1.4G initiates SGNB add req and does not receive ACK after 5 seconds. Sends SNB rel req with the reason indicating tDCoverall-expiry. 2.5G immediately responded with SNB ADD ack when viewing 5G. After 20 seconds without receiving a 4G response message, it sent an SNB rel require message with the reason value tDCoverall-expiry. The logical expression for the fault diagnosis text is: ((time(SGNB_ADD_REQ_ACK)-time(SGNB_ADD_REQ) > 5000 and (SGNB_REL_REQ:cause == tDCoverall-expiry)) Or ((time(SGNB_RECFG_CMP)-time(SGNB_ADD_REQ_ACK) > 20000 and (SGNB_REL_REQUIRED: cause = = tDCoverall-expiry)).

[0106] Before constructing a fault knowledge graph, it is necessary to establish a correspondence between problem templates and atomic processes. This is described below. In one optional embodiment, the method for constructing a fault knowledge graph in this application further includes: extracting atomic flowcharts from a protocol document; creating an atomic flowchart based on the atomic flowcharts in the protocol document; obtaining a set of fault description sentences from the fault document; obtaining the problem template corresponding to each fault description sentence in the fault description sentence set; and associating the target problem template with the atomic process identifier of the target atomic process when all signaling of the target problem template belongs to the signaling set of the target atomic process. This establishes a correspondence between problem templates and atomic processes, and based on this correspondence, the problem template corresponding to the atomic process can be automatically found.

[0107] In this embodiment, the atomic flowchart includes nodes and edges. Nodes include signaling attributes and process attributes. Signaling attributes include at least one of the following: signaling sender identifier, signaling receiver identifier, signaling name, port type, and signaling sequence number. Process attributes include atomic process identifier and the signaling set corresponding to the atomic process. Process attributes may also include atomic process type. Edges are used to indicate the direction of signaling transmission. The fault description sentence set includes multiple fault description sentences.

[0108] The target question template can be any question template. In one example, <time>REQ-ACK question template and question template identifier are as follows: Figure 6 As shown. The problem template is identified as follows. <time>REQ-ACK, the corresponding question template includes [Send / Send / Initiate]. <sig:req>Pass <time>[Not received / Not received / Not received] <sig:ack>And [received / accepted / acquired] <sig:req>To [Reply / Feedback] <sig:ack>Time delay between [less than / no more than / greater than / exceed] <time>The words in brackets [] are optional keywords, and the words in angle brackets <> are named entities. Signaling entities can also include types, such as <sig:req>This represents a signaling entity of the REQ class.

[0109] If an atomic procedure contains all signaling types involved in a fault, then that atomic procedure is considered likely to experience the fault, and the fault template name is added to the atomic procedure's attribute information. For example, an atomic procedure of type "REQ-ACK-REJ" indicates that it contains three signaling types: REQ, ACK, and REJ. The fault template... <time>REQ-ACK involves two types of signaling: REQ and ACK, therefore... <time>REQ-ACK is added to the set of fault templates associated with this type of atomic process.

[0110] The method for constructing the fault knowledge graph in this application is described below. (See reference below.) Figure 7 An embodiment of the method for constructing a fault knowledge graph in this application includes: Step 701: Obtain the sentence to be processed based on the fault identification text.

[0111] Specifically, step 701 includes: when the sentence in the fault diagnosis text does not contain logical operation keywords, the sentence in the fault diagnosis text is taken as the sentence to be processed; when the sentence in the fault diagnosis text contains logical operation keywords, multiple subjects in the sentence in the fault diagnosis text are determined based on the logical operation keywords, and the text obtained after removing the logical operation keywords and multiple subjects from the sentence in the fault diagnosis text is taken as the common expression text, and a sentence to be processed is generated based on the common expression text and each subject. Subjects include, but are not limited to, signaling entities. This sentence recombination reduces the inconsistency between the signaling of the sentence to be processed and the signaling of the atomic process, thereby improving the success rate of atomic process recognition.

[0112] Logical operation keywords include at least one of the following: OR, or, and, and. When a sentence in the fault diagnosis text contains logical operation keywords, it indicates that the sentence can be split and recombined into multiple sentences.

[0113] See Figure 8 In one example, the base station sends an NGAP_PDU_SESSION_RSRC_SETUP_RSP or NGAP_PDU_SESSION_RSRC_MODIFY_RSP message carrying the cause information element "radio-connection-with-ue-lost21", where "or" is a logical operator keyword connecting the subjects of NGAP_PDU_SESSION_RSRC_SETUP_RSP and NGAP_PDU_SESSION_RSRC_MODIFY_RSP. The common statement text includes: "Base station sends message carrying cause information element 'radio-connection-with-ue-lost21'". Reconstructed sentence 1 and reconstructed sentence 2 are generated based on the subject and the common statement.

[0114] Reorganized sentence 1 is: The base station sends an NGAP_PDU_SESSION_RSRC_SETUP_RSP message carrying the cause information element radio-connection-with-ue-lost21.

[0115] Reorganized sentence 2 is: The base station sends an NGAP_PDU_SESSION_RSRC_MODIFY_RSP message carrying the cause information element radio-connection-with-ue-lost21.

[0116] See Figure 9 In another example, the fault diagnosis text includes: Judgment method: One of the following two conditions must be met: 1. Check 5G call statistics: N.QosFlow.FailEst.UeNoReply > 0; 2. Check NG port tracing; one of the following conditions must be met: (1) The base station sends NGAP_PDU_SESSION_RSRC_SETUP_RSP or NGAP_PDU_SESSION_RSRC_MODIFY_ The RSP message carries the cause information element as radio-connection-with-ue-lost21; (2) When the base station receives the NGAP_INIT_CONTEXT_SETUP_REQ message and carries the PDUSSESSIONID information element, the base station sends the NGAP_INIT_CONTEXT_SETUP_FAIL message carrying the cause information element radio-connection-with-ue-lost21.

[0117] Based on the hierarchical identifiers and logical connectors, the following reconstructed sentence can be generated: s1: Check 5G call statistics, N.QosFlow.FailEst.UeNoReply > 0; s2: The base station sends an NGAP_PDU_SESSION_RSRC_SETUP_RSP message carrying the cause information element radio-connection-with-ue-lost21; s3: The base station sends an NGAP_PDU_SESSION_RSRC_MODIFY_RSP message carrying the cause information element radio-connection-with-ue-lost21; s4: The base station receives the NGAP_INIT_CONTEXT_SETUP_REQ message carrying the PDUSessionID information element, and sends the NGAP_INIT_CONTEXT_SETUP_FAIL message carrying the cause information element radio-connection-with-ue-lost21.

[0118] It should be understood that prior to step 701, text preprocessing may be performed to remove illegal characters or extra whitespace.

[0119] Step 702: Obtain the signaling string of the sentence to be processed.

[0120] Optionally, step 702 includes: when the sentence to be processed contains keywords from a preset vocabulary, replacing the keywords in the preset vocabulary with the corresponding English strings; extracting at least one candidate string from the replaced sentence, and selecting the candidate string that includes a preset signaling type as the signaling string of the sentence to be processed. This allows the signaling string of the sentence to be processed to be selected based on the string length and the preset signaling type. It should be understood that replacing the keywords in the preset vocabulary with English strings and selecting candidate strings based on string length are optional steps. Replacing the keywords in the preset vocabulary with English strings can increase the number of identifiable signaling strings, and selecting candidate strings based on string length can reduce the number of strings that do not belong to signaling.

[0121] The candidate string length is greater than k, where k can be, but is not limited to, 2. The keywords in the preset vocabulary are the Chinese descriptions of the signaling. For example, the keyword "SCG add reconfiguration" corresponds to the English string "RRC_CONN_RECFG". Preset signaling types include, but are not limited to, ACK, REQ, REL, or SGNB.

[0122] Optionally, before selecting candidate strings including those of preset signaling types as signaling strings for the sentences to be processed, a target candidate string is removed from at least one candidate string. The target candidate string is a string containing "-", a string starting with a number, a system name, a network element name, or a port name. This removes strings that do not belong to signaling before selecting the signaling string, thereby reducing the computational overhead of selecting the signaling string.

[0123] Step 703: Determine the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed.

[0124] Optionally, step 703 includes: selecting a set of candidate protocol signaling from the atomic flowchart based on the signaling type of the signaling string of the sentence to be processed; calculating the fuzzy matching score corresponding to the candidate protocol signaling based on the length of the signaling string, the length of the candidate protocol signaling, and the edit distance between the signaling string and the candidate protocol signaling; and determining the protocol signaling of the sentence to be processed based on the candidate protocol signaling corresponding to the highest fuzzy matching score.

[0125] Edit distance, also known as Levenshtein distance, describes the minimum number of operations required to transform one string into another, including insertion, deletion, and replacement. The edit distance between the signaling string and the candidate protocol signaling is denoted as... The fuzzy matching score is denoted as The length of the signaling string is denoted as The length of the candidate protocol signaling is denoted as Then they satisfy the following formula:

[0126] As can be seen from the formula, the fuzzy matching score ranges from 0 to 1. A higher fuzzy matching score indicates a higher similarity between the signaling string and the protocol signaling. Since signaling strings may contain abbreviations, misspellings, or other irregularities, the fuzzy matching score can accurately identify the corresponding protocol signaling, significantly improving the signaling recognition accuracy.

[0127] When there are multiple candidate protocol signals corresponding to the highest fuzzy matching score, a candidate protocol signal can be selected from the candidate protocol signals with the highest fuzzy matching score according to the preset matching rules as the protocol signal for the sentence to be processed.

[0128] The preset matching rules include at least one of the following: the atomic process to which the signaling string belongs is the same as the atomic process to which the candidate protocol signaling belongs; the signaling type of the signaling string and the signaling type of the candidate protocol signaling are mutually responsive; and the port type of the signaling string and the port type of the candidate protocol signaling are the same.

[0129] When a signaling string and a candidate protocol signaling match any one of the preset matching rules, the matching score is increased by 1 point. Thus, the more rules the signaling string and candidate protocol signaling match, the higher the matching score. When there are multiple candidate protocol signalings corresponding to the highest fuzzy matching score, the accuracy of signaling identification can be further improved according to the preset matching rules.

[0130] Alternatively, step 703 includes: determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: when the preceding signaling string of the signaling string of the sentence to be processed matches the first target protocol signaling, determining that the protocol signaling of the sentence to be processed is the next protocol signaling of the first target protocol signaling in the atomic flow to which the first target protocol signaling belongs. When the preceding signaling string successfully matches the protocol signaling, the protocol signaling of the sentence to be processed can be determined, thereby improving the success rate of signaling identification.

[0131] For example, if the signaling string is "ACK", since ACK is not a protocol signaling, its corresponding protocol signaling cannot be directly determined. To obtain the preceding signaling string of ACK in the fault diagnosis text, taking REQ signaling as an example, the next signaling in the atomic process following REQ signaling is taken as the protocol signaling corresponding to "ACK".

[0132] For example, the fault diagnosis text includes "5G immediately replied with SNB ADD ack, after 20 seconds if no 4G response message was received, sent SNB rel require with reason value tDCoverall-expiry", and the signaling string is "response message". Since "response message" is not a protocol signaling, its corresponding protocol signaling cannot be directly determined. To determine the protocol signaling, obtain the signaling string preceding "response message" in the fault diagnosis text. Taking SGNB_ADD_REQ_ACK as an example, the next signaling string following SGNB_ADD_REQ_ACK is used as the protocol signaling corresponding to "response message".

[0133] In another optional embodiment, step 703 includes: determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed, which includes: when the subsequent signaling string of the signaling string of the sentence to be processed matches the second target protocol signaling, determining that the protocol signaling of the sentence to be processed is the preceding protocol signaling of the second target protocol signaling in the atomic flow to which the second target protocol signaling belongs. When the subsequent signaling string successfully matches the protocol signaling, the protocol signaling of the sentence to be processed can be determined, thereby improving the success rate of signaling identification.

[0134] When a previous signaling string fails to match the protocol signaling of the atomic flowchart, and / or when a subsequent signaling string fails to match the protocol signaling of the atomic flowchart, the target signaling string is searched in the text following the signaling string of the sentence to be processed, based on the signaling type of the signaling string of the sentence to be processed. When the target signaling string matches a third target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the third target protocol signaling. This improves the success rate of finding the protocol signaling. The signaling type of the target signaling string is the same as the signaling type of the signaling string of the sentence to be processed. For example, if the signaling type of the signaling string is ACK, and the signaling type of its subsequent signaling string is SGNB ACK, based on SGNB ACK, SGNB ADDITION REQUEST ACKNOWLEDGE is found in the atomic flowchart, and the protocol signaling corresponding to ACK is determined to be SGNB ADDITION REQUEST ACKNOWLEDGE.

[0135] It should be noted that when the signaling type of the signaling string is different from the signaling type of the atomic flowchart, the fuzzy matching score between the signaling string and each protocol signaling can be calculated. The protocol signaling corresponding to the signaling string is determined based on the maximum value of the fuzzy matching score. The protocol signaling of the sentence to be processed refers to the protocol signaling corresponding to the signaling string of the sentence to be processed.

[0136] Step 704: Determine the atomic flow to which the protocol signaling of the sentence to be processed belongs from the atomic flow graph.

[0137] Step 705: Generate at least one atomic process clause based on the atomic process and the sentence to be processed.

[0138] When multiple consecutive signaling messages belong to an atomic process, the sentence that includes these multiple signaling messages will be treated as an atomic process clause.

[0139] Step 706: Determine the problem template corresponding to the atomic flow clause.

[0140] Optionally, step 706 includes: replacing the signaling string and non-signaling entities in the atomic process clause with a mask string to obtain a query statement; obtaining a set of candidate question templates corresponding to the atomic process; selecting a subset of candidate question templates from the set of candidate question templates based on the number of signaling elements in the query statement; calculating the fuzzy matching score between the candidate question template and the query statement for each candidate question template in the subset of candidate question templates; and determining the question template corresponding to the atomic process clause as the candidate question template with the highest matching score. Specifically, the number of signaling elements in each candidate question template in the subset of candidate question templates is the same as the number of signaling elements in the query statement, and the mask string of the query statement is the same as the signaling string corresponding to the question template.

[0141] See Figure 10 In one example, the atomic procedure clause is: 4G initiates SGN req and does not receive ACK after 5 seconds. The corresponding query statement is: 4G initiates... <sig:req>After <time>Did not receive <sig:ack>.

[0142] Specifically, the following steps are performed on the candidate question template set: Step A: Compare the signaling count of the candidate question template with the signaling count of the query statement. If they are different, the template matching fails. If they are the same, proceed to Step B.

[0143] Step B: Obtain the candidate template statement corresponding to each candidate question template.

[0144] In another example, the candidate question template is [Send / Send]. <sig:req>Pass <time>[Not received / Not received] <sig:ack>, the problem template corresponds to 4 candidate template statements, which are: Candidate template statement 1 is: [send] <sig:req>Pass <time>[Not received] <sig:ack>.

[0145] Candidate template sentence 2 is: [send] <sig:req>Pass <time>[Not received] <sig:ack>.

[0146] Candidate template statement 3 is: [Send] <sig:req>Pass <time>[Not received] <sig:ack>.

[0147] Candidate template statement 4 is: [Send] <sig:req>Pass <time>[Not received] <sig:ack>.

[0148] Step C: Calculate the fuzzy matching score between each candidate template statement and the query statement. Optionally, the length of the candidate template statement and the length of the query statement should satisfy the following calculation formula: This represents the i-th candidate template statement. This represents a query statement. This represents the fuzzy match score between the candidate template statement and the query statement. This indicates the length of the i-th candidate template statement. Indicates the length of the query statement. This indicates the edit distance between the candidate template statement and the query statement.

[0149] Step D: Obtain the maximum value of the fuzzy matching score.

[0150] This represents the set of candidate template statements.

[0151] Step E: Use the question template corresponding to the maximum value of the fuzzy matching score as the question template corresponding to the atomic process clause.

[0152] After fuzzy matching, a higher fuzzy matching score indicates a higher accuracy rate in finding the problem template.

[0153] Step 707: Generate the logical expression of the atomic process clause based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic process clause, and the non-signaling entity of the atomic process clause.

[0154] Optionally, step 707 includes: filling the protocol signaling corresponding to the atomic process clause and the non-signaling entity of the atomic process clause into the slot of the logical expression template corresponding to the question template, so as to obtain the logical expression of the atomic process clause.

[0155] See Figure 11 In one example, the atomic flow clause is: 4G initiates an SGN request but does not receive an ACK after 5 seconds. The problem template is [Send / Send / Initiate]. <sig:req>Pass <time>[Not received / Not received / Not received] <sig:ack>The logical expression template corresponding to this question template is ((time(?)-(time(?))>?), where each ? corresponds to a slot. The logical expression corresponding to the atomic flow clause is (time(SGNB_ADD_REQ_ACK)-(time(SGNB_ADD_REQ))>5000). Here, the signaling entity includes SGNB_ADD_REQ_ACK and SGNB_ADD_REQ, with a time value of 5000.

[0156] Step 708: Generate the logical expression of the sentence to be processed based on the logical expression of at least one atomic process clause.

[0157] When there are multiple atomic flow clauses, the logical relationships between these clauses are obtained. Based on these relationships, the logical expressions of the multiple atomic flow clauses are combined to form the logical expression of the sentence to be processed. When the separator between multiple atomic flow clauses is a comma or a period, the logical relationship between them is AND. When the separator between multiple atomic flow clauses includes logical keywords (e.g., AND, OR, and), the logical relationship between them corresponds to the logical keywords. The logical relationship corresponding to "AND" and "OR" is AND, and the logical relationship corresponding to "OR" is OR.

[0158] Step 709: Generate the logical expression for the fault identification text based on the logical expression of the sentence to be processed.

[0159] Specifically, step 709 includes: when there are multiple sentences to be processed, generating a logical expression for the fault identification text based on the logical relationships between all sentences to be processed and the logical expressions of the sentences to be processed.

[0160] The logical relationship between any two sentences to be processed includes: AND and OR. Methods for obtaining the logical relationship between sentences to be processed include: when the fault diagnosis text includes hierarchical identifiers and the sentences in the fault diagnosis text do not include logical operation keywords, determine the logical relationship between all sentences to be processed based on the hierarchical identifiers; when the fault diagnosis text does not include hierarchical identifiers but the sentences in the fault diagnosis text include logical operation keywords, determine the logical relationship between all sentences to be processed based on the logical operation keywords; when the fault diagnosis text includes hierarchical identifiers and the sentences in the fault diagnosis text include logical operation keywords, determine the logical relationship between all sentences to be processed based on the hierarchical identifiers and logical operation keywords. When the fault diagnosis text includes hierarchical sentences and / or parallel sentences, the logical relationship between sentences to be processed can be obtained, and the logical expressions of the sentences to be processed can be combined into the logical expression of the fault diagnosis text based on the logical relationship between the sentences to be processed.

[0161] Figure 8 The fault identification text shown includes logical relationships but does not include hierarchical identifiers. The logical relationship between sentences is 1||2. Figure 9 The fault identification text shown includes logical relationships and hierarchical identifiers. Their inter-sentence logical relationship is s1||((s2||s3||)s4).

[0162] Step 710: Add the logical expression of the fault identification text to the fault knowledge graph.

[0163] In this embodiment, the corresponding protocol signaling and atomic process can be found in the atomic flowchart based on the signaling string of the fault judgment text. Since the protocol signaling and atomic process are standardized objects, the success rate of recognizing the signaling string can be improved, thereby improving the success rate of converting the fault judgment text into a logical expression.

[0164] Secondly, existing methods for generating logical expressions rely on syntactic structure analysis, which makes it difficult to determine the logical relationships between parameters, such as timing, time difference, inclusion, and intersection. This application can pre-configure question templates and logical expression templates that include the above logical relationships, and establish a correspondence between question templates and atomic processes. This allows the corresponding question templates and logical expression templates to be found based on the atomic processes, thereby generating logical expressions that can represent complex logical relationships.

[0165] Furthermore, current network faults often involve relationships between multiple parameters. Existing logical expressions are relational triples, which can only express binary relations and cannot express logical relationships between more than three parameters. The logical expressions in this application include the logical relationships between atomic process clauses and / or the logical relationships between sentences to be processed, and can represent hierarchical and parallel relationships. Therefore, the logical expressions in this application can represent more complex fault detection methods.

[0166] In another optional embodiment, the method for constructing a fault knowledge graph in this application further includes: receiving logs sent by a network device; searching for a target logical expression in the fault knowledge graph based on the signaling strings and non-signaling entities included in the logs; and determining whether the logs contain fault events based on the output of the target logical expression.

[0167] In this embodiment, after constructing a fault knowledge graph, fault detection can be automatically performed based on the fault knowledge graph, thereby improving the fault detection speed. For example, if the output of the target logical expression is true, it is determined that the log contains a fault event; if the output of the target logical expression is false, it is determined that the log does not contain a fault event. It should be understood that the correspondence between the output of the logical expression and the fault event is not limited to the above examples, and can be set according to the actual situation. This application does not impose any limitations.

[0168] This application provides a computing device capable of constructing a fault knowledge graph as described in this application. In one embodiment, the computing device 1200 includes: The acquisition module 1201 is used to acquire the sentence to be processed based on the fault judgment text and to acquire the signaling string of the sentence to be processed; The first matching module 1202 is used to determine the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed; The second matching module 1203 is used to determine the atomic flow to which the protocol signaling of the sentence to be processed belongs from the atomic flow graph; generate at least one atomic flow clause based on the atomic flow and the sentence to be processed; and determine the question template corresponding to the atomic flow clause. The generation module 1204 is used to generate the logical expression of the atomic process clause based on the logical expression template corresponding to the problem template, the protocol signaling corresponding to the atomic process clause, and the non-signaling entity of the atomic process clause; generate the logical expression of the sentence to be processed based on the logical expression of at least one atomic process clause; generate the logical expression of the fault judgment text based on the logical expression of the sentence to be processed; and add the logical expression of the fault judgment text to the fault knowledge graph.

[0169] In an optional embodiment, the acquisition module 1201 is specifically used to: when the sentence of the fault identification text does not include logical operation keywords, take the sentence of the fault identification text as the sentence to be processed; when the sentence of the fault identification text includes logical operation keywords, determine multiple subjects in the sentence of the fault identification text according to the logical operation keywords; and generate a sentence to be processed according to the common expression text and each subject.

[0170] In another optional embodiment, the acquisition module 1201 is specifically used to replace the keywords in the preset vocabulary with the corresponding English strings when the sentence to be processed includes keywords in the preset vocabulary; extract at least one candidate string from the replaced sentence, and select the candidate string including the preset signaling type as the signaling string of the sentence to be processed.

[0171] Furthermore, in another optional embodiment, the acquisition module 1201 is also used to remove a target candidate string from at least one candidate string, wherein the target candidate string is a string including "-", a string starting with a number, a system name, a network element name, or a port name.

[0172] In another optional embodiment, the first matching module 1202 is specifically used to select a set of candidate protocol signaling from the atomic flowchart according to the signaling type of the signaling string of the sentence to be processed; calculate the fuzzy matching score corresponding to the candidate protocol signaling according to the length of the signaling string of the sentence to be processed, the length of the candidate protocol signaling, and the edit distance between the signaling string of the sentence to be processed and the candidate protocol signaling; and determine the protocol signaling of the sentence to be processed according to the candidate protocol signaling corresponding to the highest fuzzy matching score.

[0173] Furthermore, in another optional embodiment, the first matching module 1202 is specifically used to select one candidate protocol signaling from the candidate protocol signaling with the highest fuzzy matching score as the protocol signaling of the sentence to be processed according to a preset matching rule when there are multiple candidate protocol signalings corresponding to the highest fuzzy matching score.

[0174] In another optional embodiment, the first matching module 1202 is specifically used to determine that the protocol signaling of the sentence to be processed is the next protocol signaling of the first target protocol signaling in the atomic process to which the first target protocol signaling belongs when the previous signaling string of the signaling string of the sentence to be processed matches the first target protocol signaling.

[0175] In another optional embodiment, the first matching module 1202 is specifically used to determine that the protocol signaling of the sentence to be processed is the preceding protocol signaling of the second target protocol signaling in the atomic process to which the second target protocol signaling belongs when the latter signaling string of the signaling string of the sentence to be processed matches the second target protocol signaling.

[0176] In another possible implementation, the first matching module 1202 is specifically used to search for a target signaling string in the text following the signaling string of the sentence to be processed, based on the signaling type of the signaling string of the sentence to be processed. When the target signaling string matches the third target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the third target protocol signaling.

[0177] In another optional embodiment, the second matching module 1203 is specifically used to replace the signaling string and non-signaling entity in the atomic process clause with a mask string to obtain a query statement; obtain a set of candidate question templates corresponding to the atomic process; select a subset of candidate question templates from the set of candidate question templates according to the number of signaling in the query statement; for each candidate question template in the subset of candidate question templates, calculate the fuzzy matching score between the candidate question template and the query statement; and determine the question template corresponding to the atomic process clause as the candidate question template with the highest matching score.

[0178] In another optional embodiment, the generation module 1204 is specifically used to fill the protocol signaling corresponding to the atomic process clause and the non-signaling entity of the atomic process clause into the slot of the logical expression template corresponding to the question template, so as to obtain the logical expression of the atomic process clause.

[0179] In another optional embodiment, the generation module 1204 is specifically used to obtain the inter-sentence logical relationship of the multiple atomic process clauses when there are multiple atomic process clauses; and to generate the logical expression of the sentence to be processed based on the inter-sentence logical relationship of the multiple atomic process clauses and the logical expression of the multiple atomic process clauses.

[0180] In another optional embodiment, the acquisition module 1201 is further configured to: determine the inter-sentence logical relationship of all sentences to be processed based on the hierarchical identifier when the fault identification text includes a hierarchical identifier and the sentences of the fault identification text do not include logical operation keywords; determine the inter-sentence logical relationship of all sentences to be processed based on the logical operation keywords when the fault identification text does not include a hierarchical identifier and the sentences of the fault identification text include logical operation keywords; and determine the inter-sentence logical relationship of all sentences to be processed based on the hierarchical identifier and the logical operation keywords when the fault identification text includes a hierarchical identifier and the sentences of the fault identification text include logical operation keywords. The generation module 1204 is specifically used to generate the logical expression of the fault judgment text based on the logical relationship between all sentences to be processed and the logical expression of the sentences to be processed.

[0181] In another optional embodiment, the computing device 1200 of this application further includes a first creation module, a second creation module, and an association module; the first creation module is used to extract atomic flowcharts from the protocol document; and create an atomic flowchart atlas based on the atomic flowcharts in the protocol document; the second creation module is used to obtain a set of fault description sentences from the fault document; and obtain a problem template corresponding to each fault description sentence in the fault description sentence set; the association module is used to associate the target problem template with the atomic flow identifier of the target atomic flow when all the signaling of the target problem template belongs to the signaling set of the target atomic flow.

[0182] In another optional embodiment, the computing device 1200 of this application further includes a receiving module and a fault detection module; the receiving module is used to receive logs sent by the network device; the fault detection module is used to search for a target logical expression in the fault knowledge graph based on the signaling strings and non-signaling entities included in the logs; and to determine whether the logs contain fault events based on the output of the target logical expression.

[0183] To achieve the functions described in the above embodiments, the computing device includes corresponding hardware structures and / or software modules for each function. Those skilled in the art should readily recognize that, based on the units and method steps of the examples described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed through hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution. Figure 12 For a glossary of terms, the steps involved in executing each module, and their beneficial effects, please refer to [link / reference]. Figure 7 The relevant descriptions in the illustrated embodiments.

[0184] like Figure 13 As shown, the computing device 1300 includes a processor 1310 and an interface circuit 1320. The processor 1310 and the interface circuit 1320 are coupled to each other. It is understood that the interface circuit 1320 can be a transceiver or an input / output interface. Optionally, the computing device 1300 may also include a memory 1330 for storing instructions executed by the processor 1310, or storing input data required by the processor 1310 to execute instructions, or storing data generated after the processor 1310 executes instructions.

[0185] When the computing device 1300 is used to implement Figure 7 In the method shown, the processor 1310 is used to implement the functions of the acquisition unit 1201, the first matching unit 1202, the second matching unit 1203 and the generation unit 1204.

[0186] When the aforementioned computing device is a chip used in network equipment, the chip can perform the functions of the computing device in the above method embodiments. When the aforementioned computing device is a module used in a base station, the base station module implements the functions of the computing device in the above method embodiments. Here, the base station module can be a baseband chip of the base station, or a DU or other modules. Here, the DU can be a DU under the open radio access network (O-RAN) architecture.

[0187] The processor in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor can be a microprocessor or any conventional processor.

[0188] The method steps in the embodiments of this application can be implemented in hardware or in software instructions executable by a processor. The software instructions can consist of corresponding software modules, which can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. The storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a base station or terminal. The processor and storage medium can also exist as discrete components in a base station or terminal.

[0189] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both types of storage media.

[0190] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0191] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. In the textual description of this application, the character " / " generally indicates an "or" relationship between the preceding and following related objects; in the formulas of this application, the character " / " indicates a "division" relationship between the preceding and following related objects. "Including at least one of A, B, and C" can mean: including A; including B; including C; including A and B; including A and C; including B and C; including A, B, and C.

[0192] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.< / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / sig:ack> < / time> < / sig:req> < / time> < / time> < / sig:req> < / time> < / sig:ack> < / sig:req> < / sig:ack> < / time> < / sig:req> < / time> < / time> < / value> < / num> < / port> < / mode> < / time> < / sig:type> < / value> < / num> < / port> < / mode> < / time> < / sig:type> < / time> < / sig:ack> < / sig:req> < / sig:ack> < / time> < / sig:req>

Claims

1. A method for constructing a fault knowledge graph, characterized in that, The method is applied to fault detection scenarios in the field of wireless communication, and the method includes: Obtain the sentence to be processed from the fault diagnosis text; Obtain the signaling string of the sentence to be processed; The protocol signaling of the sentence to be processed is determined from the atomic flowchart based on the signaling string of the sentence to be processed; The atomic flow to which the protocol signaling of the sentence to be processed belongs is determined from the atomic flow graph. The atomic flow is the smallest signaling interaction flow with complete and independent functions in the communication protocol. Generate at least one atomic process clause based on the atomic process and the sentence to be processed; Determine the question template corresponding to the atomic flow clause; The logical expression of the atomic process clause is generated based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic process clause, and the non-signaling entity of the atomic process clause. The logical expression of the sentence to be processed is generated based on the logical expression of the at least one atomic process clause; A logical expression for fault identification text is generated based on the logical expression of the sentence to be processed; The logical expression of the fault identification text is added to the fault knowledge graph.

2. The method according to claim 1, characterized in that, The step of obtaining the sentence to be processed based on the fault diagnosis text includes: When the sentence in the fault diagnosis text does not contain logical operation keywords, the sentence in the fault diagnosis text is treated as a sentence to be processed. When the sentence of the fault diagnosis text includes the logical operation keyword, multiple subjects in the sentence of the fault diagnosis text are determined according to the logical operation keyword; a sentence to be processed is generated according to the common expression text and each subject, wherein the common expression text is the text obtained by removing the logical operation keyword and the multiple subjects from the sentence of the fault diagnosis text.

3. The method according to claim 1, characterized in that, The signaling string for obtaining the sentence to be processed includes: When the sentence to be processed includes keywords from a preset vocabulary, the keywords in the preset vocabulary are replaced with the corresponding English strings. Extract at least one candidate string from the replaced sentence, wherein the length of the candidate string is greater than a preset string length; Select candidate strings that include preset signaling types as the signaling strings for the sentences to be processed.

4. The method according to claim 3, characterized in that, Before selecting candidate strings of a preset signaling type as the signaling string for the sentence to be processed, the method further includes: Remove the target candidate string from the at least one candidate string. The target candidate string is a string that includes "-", a string that starts with a number, a system name, a network element name, or a port name.

5. The method according to claim 1, characterized in that, The step of determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: A candidate protocol signaling set is selected from the atomic flowchart based on the signaling type of the signaling string of the sentence to be processed. The candidate protocol signaling set includes at least one candidate protocol signaling. The fuzzy matching score corresponding to the candidate protocol signaling is calculated based on the length of the signaling string of the sentence to be processed, the length of the candidate protocol signaling, and the edit distance between the signaling string of the sentence to be processed and the candidate protocol signaling. The protocol signaling of the sentence to be processed is determined based on the candidate protocol signaling corresponding to the highest fuzzy matching score.

6. The method according to claim 5, characterized in that, The protocol signaling for determining the sentence to be processed based on the candidate protocol signaling corresponding to the highest fuzzy matching score includes: When there are multiple candidate protocol signaling messages corresponding to the highest fuzzy matching score, a candidate protocol signaling message is selected from the candidate protocol signaling messages with the highest fuzzy matching score as the protocol signaling message of the sentence to be processed according to the preset matching rules. The preset matching rules include at least one of the following rules: the atomic process to which the signaling string belongs is the same as the atomic process to which the candidate protocol signaling message belongs; the signaling type of the signaling string is responsive to the signaling type of the candidate protocol signaling message; and the port type of the signaling string is the same as the port type of the candidate protocol signaling message.

7. The method according to claim 1, characterized in that, The step of determining the protocol signaling of the sentence to be processed from the atomic flowchart based on the signaling string of the sentence to be processed includes: When the preceding signaling string of the signaling string of the sentence to be processed matches the first target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the following protocol signaling of the first target protocol signaling in the atomic process to which the first target protocol signaling belongs; or, When the signaling string following the sentence to be processed matches the second target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the preceding protocol signaling of the second target protocol signaling in the atomic process to which the second target protocol signaling belongs.

8. The method according to claim 7, characterized in that, The method further includes: When the preceding signaling string fails to match the protocol signaling of the atomic flowchart, and / or when the following signaling string fails to match the protocol signaling of the atomic flowchart, the target signaling string is searched in the target text according to the signaling type of the signaling string of the sentence to be processed, and the target text is the text after the signaling string of the sentence to be processed. When the target signaling string matches the third target protocol signaling, the protocol signaling of the sentence to be processed is determined to be the third target protocol signaling.

9. The method according to claim 1, characterized in that, The question template for determining the atomic procedure clause includes: Replace the signaling string and the non-signaling entity in the atomic process clause with a mask string to obtain the query statement; Obtain the set of candidate problem templates corresponding to the atomic process; A subset of candidate question templates is selected from the candidate question template set based on the signaling count of the query statement, wherein the signaling count of each candidate question template in the subset is the same as the signaling count of the query statement; For each candidate question template in the subset of candidate question templates, calculate the fuzzy matching score between the candidate question template and the query statement; The question template corresponding to the atomic process clause is determined to be the candidate question template corresponding to the highest matching score.

10. The method according to claim 1, characterized in that, The step of generating the logical expression for the atomic procedure clause based on the logical expression template corresponding to the question template, the protocol signaling corresponding to the atomic procedure clause, and the non-signaling entity of the atomic procedure clause includes: The protocol signaling corresponding to the atomic process clause and the non-signaling entity of the atomic process clause are filled into the slots of the logical expression template corresponding to the question template to obtain the logical expression of the atomic process clause.

11. The method according to claim 1, characterized in that, The step of generating the logical expression for the sentence to be processed based on the logical expression of the at least one atomic process clause includes: When there are multiple atomic process clauses, obtain the logical relationship between the clauses of the multiple atomic process clauses; The logical expression of the sentence to be processed is generated based on the logical relationships between the multiple atomic process clauses and the logical expressions of the multiple atomic process clauses.

12. The method according to claim 1, characterized in that, The method further includes: When the fault identification text includes a hierarchy identifier and the sentences in the fault identification text do not contain logical operation keywords, the inter-sentence logical relationship of all sentences to be processed is determined according to the hierarchy identifier. When the fault identification text does not include a hierarchy identifier and the sentences in the fault identification text include logical operation keywords, the inter-sentence logical relationships of all sentences to be processed are determined based on the logical operation keywords. When the fault identification text includes a hierarchy identifier and the sentences of the fault identification text include logical operation keywords, the inter-sentence logical relationships of all sentences to be processed are determined according to the hierarchy identifier and the logical operation keywords. The logical expression for generating fault detection text based on the logical expression of the sentence to be processed includes: The logical expression for the fault identification text is generated based on the logical relationships between all sentences to be processed and the logical expressions of the sentences to be processed.

13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: Extract atomic flowcharts from protocol documents; An atomic flowchart is created based on the atomic flowchart in the protocol document. The atomic flowchart includes atomic flowchart identifiers and signaling sets corresponding to the atomic flowcharts. Obtain a set of fault description sentences from the fault document; Obtain the problem template corresponding to each fault description sentence in the set of fault description sentences; When all signaling of the target problem template belongs to the signaling set corresponding to the target atomic process, the target problem template and the atomic process identifier of the target atomic process are associated, and the target problem template is any one of the problem templates.

14. The method according to any one of claims 1 to 12, characterized in that, The method further includes: Receive logs sent by network devices; The target logical expression is searched in the fault knowledge graph based on the signaling strings and non-signaling entities included in the log. Determine whether the log contains fault events based on the output of the target logical expression.

15. A computing device comprising a module for performing the method as claimed in any one of claims 1 to 14.

16. A computing device, characterized in that, The device includes a processor and an interface circuit, the interface circuit being used to receive signals from other computing devices and transmit them to the processor or to send signals from the processor to other computing devices, the processor being used to implement the method as described in any one of claims 1 to 14 via logic circuits or executing code instructions.

17. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions that, when executed by a computing device, implement the method as described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Intelligent question and answer method and system based on tourism knowledge graph

    CN113535917A

  • Self-service fault diagnosis method and device based on knowledge graph

    CN114841347A

  • Logical expression determination method and system based on decomposition-combination knowledge graph

    CN115905488A