Device failure cause determination method, storage medium, and electronic device

By constructing a fault knowledge graph in equipment fault diagnosis, extracting keywords and parts of speech in text information, analyzing correlations, and finding fault description paths, the deficiencies in the need for professional knowledge in the existing technology are solved, and accurate diagnosis and treatment of equipment faults are achieved. Fault search.

CN112163681BActive Publication Date: 2024-09-17GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011105875.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-15
Publication Date
2024-09-17
Estimated Expiration
2040-10-15

AI Technical Summary

Technical Problem

Existing equipment fault diagnosis methods require professional knowledge. Users' unclear voice descriptions make it difficult to diagnose the cause of the fault, and it is difficult for customer service to guide the correct description.

Method used

By obtaining text information, extracting keywords and parts of speech, analyzing correlations, finding matching fault description paths in the pre-built fault knowledge graph, determining fault type nodes, and outputting the cause of the fault.

Benefits of technology

It achieves accurate diagnosis of equipment faults, fully mines the semantics of text information, and provides simple, efficient, and accurate fault search technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112163681B
    Figure CN112163681B
Patent Text Reader

Abstract

The present invention discloses a method for determining the cause of equipment failure, a storage medium and an electronic device, and relates to the technical field of knowledge graphs. The method includes: obtaining text information for describing equipment failure; extracting keywords from the text information and determining the part of speech corresponding to the keywords in the text information; determining the association relationship between the extracted keywords based on the text information; searching for a fault description path that matches the keyword, the part of speech corresponding to the keyword, and the association relationship in a pre-constructed fault knowledge graph; searching for a fault type node associated with the fault description path in the fault knowledge graph; and outputting the cause of the equipment failure corresponding to the fault type node. The beneficial effect of the present invention is that the literal semantics and implicit semantics in the text information can be fully mined, thereby realizing precise search. By utilizing the knowledge graph technology, a knowledge graph with semantic understanding is constructed, and a simple, efficient and accurate fault search technology is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of knowledge graph technology, and in particular relates to a method for determining the cause of a device failure, a storage medium, and an electronic device. Background Art

[0002] When a home appliance breaks down, the user usually calls the after-sales hotline to inquire about the problem. The customer service needs to make a preliminary diagnosis of the equipment failure through voice interaction with the user so that the technician can make a preliminary solution before the on-site diagnosis and repair. However, in this process, the user's voice description of the equipment failure is unclear, which makes it difficult for the customer to diagnose the cause of the equipment failure. At the same time, the customer service staff does not understand the technology and finds it difficult to guide the user to correctly describe the failure, resulting in an inability to correctly diagnose the cause of the equipment failure. Summary of the invention

[0003] The present invention is based on the technical problem that the existing equipment fault diagnosis method requires professional knowledge to correctly diagnose the cause of the equipment fault, and proposes a method for determining the cause of the equipment fault, a storage medium and an electronic device.

[0004] In a first aspect, an embodiment of the present invention provides a method for determining a cause of a device failure, comprising:

[0005] Get text information describing device failure;

[0006] Extracting keywords reflecting equipment failure symptoms from the text information and determining the parts of speech corresponding to the keywords in the text information;

[0007] Determining, based on the text information, association relationships between the extracted keywords;

[0008] Based on the keyword, the part of speech corresponding to the keyword, and the association relationship between the extracted keywords, searching in a pre-built fault knowledge graph for a fault description path that matches the keyword, the part of speech corresponding to the keyword, and the association relationship;

[0009] Searching for a fault type node associated with the fault description path in the fault knowledge graph;

[0010] Output the device failure cause corresponding to the failure type node.

[0011] Optionally, the fault knowledge graph is pre-built through the following steps, including:

[0012] Acquire a data set including a plurality of fault description texts; wherein each of the fault description texts includes a device fault symptom and a corresponding device fault cause;

[0013] Based on the data set, the fault knowledge graph is constructed.

[0014] Optionally, constructing the fault knowledge graph based on the data set includes:

[0015] For each fault description text, extracting keywords used to represent device fault symptoms from the fault description text and determining the part of speech of the keywords in the fault description text; and

[0016] Performing syntactic analysis on the fault description text to determine the syntactic type of the fault description text;

[0017] For each extracted keyword, according to a preset encoding rule, the keyword and the part of speech of the keyword in the fault description text are encoded into a word vector;

[0018] For each determined syntactic type, encoding the syntactic type into a sentence vector according to a preset encoding rule;

[0019] The word vector is used as the entity node of the knowledge graph to be constructed, the sentence vector is used as the association relationship of the corresponding entity node, and the fault type node representing the cause of the equipment failure is associated with the corresponding entity node, so as to construct the fault knowledge graph.

[0020] Optionally, the fault knowledge graph further includes a maintenance node representing a fault solution associated with the fault type node;

[0021] The method further comprises:

[0022] Searching for a maintenance node associated with the fault type node in the fault knowledge graph;

[0023] Output the fault solution corresponding to the maintenance node.

[0024] Optionally, the method further comprises:

[0025] When a unique fault type node cannot be found according to the found fault description path, all found fault description paths are output to instruct the device fault queryer to filter out the correct fault description path.

[0026] Optionally, extracting keywords reflecting equipment failure symptoms from the text information and determining parts of speech corresponding to the keywords include:

[0027] Performing word segmentation processing on the text information, and extracting keywords used to reflect equipment failure symptoms from the word segmentation results; and

[0028] The part of speech dictionary is used to determine the part of speech corresponding to the extracted keywords.

[0029] Optionally, determining the association relationship between the extracted keywords according to the text information includes:

[0030] The text information is subjected to syntactic analysis to determine the syntactic type corresponding to the text information, and the syntactic type is determined as the association relationship between the extracted keywords.

[0031] Optionally, obtain text information describing the device failure, including:

[0032] Obtain voice information describing equipment failure;

[0033] The voice information is converted into the text information.

[0034] In a second aspect, an embodiment of the present invention provides a storage medium having program code stored thereon, and when the program code is executed by a processor, a method for determining a cause of a device failure as described in any one of the above embodiments is implemented.

[0035] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores program code that can be executed on the processor, and when the program code is executed by the processor, a method for determining the cause of a device failure as described in any one of the above embodiments is implemented.

[0036] In an embodiment of the present invention, a method for determining the cause of a device failure, a storage medium, and an electronic device are provided. By extracting keywords used to reflect the symptoms of the device failure from text information and determining the parts of speech corresponding to the keywords in the text information, and determining the association relationship between the extracted keywords based on the text information, a fault description path that matches the keyword, the parts of speech corresponding to the keyword, and the association relationship is searched in a pre-constructed fault knowledge graph, and a fault type node associated with the fault description path is searched to obtain the cause of the device failure. It can be seen that the method for determining the cause of a device failure provided in an embodiment of the present invention performs semantic understanding of words and the entire text of the text information describing the failure, and can fully mine the literal semantics and implicit semantics in the text information, thereby realizing precise search and obtaining accurate fault diagnosis results. By utilizing knowledge graph technology, a knowledge graph with semantic understanding is constructed to achieve simple, efficient, and precise fault search technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. The drawings included are:

[0038] Figure 1A schematic diagram showing a flow chart of a method for determining a cause of a device failure proposed in Embodiment 1 of the present invention;

[0039] Figure 2 A schematic diagram of a syntax tree is shown;

[0040] Figure 3 A schematic diagram showing node connections of a fault knowledge graph proposed in an embodiment of the present invention is shown;

[0041] Figure 4 A schematic diagram of a fault knowledge graph proposed in an embodiment of the present invention is shown;

[0042] Figure 5 A schematic flow chart of a method for determining the cause of a device failure proposed in Embodiment 2 of the present invention is shown. DETAILED DESCRIPTION

[0043] In order to make the objectives, technical solutions and advantages of the present invention clearer, the implementation method of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0045] Embodiment 1

[0046] According to an embodiment of the present invention, a method for determining the cause of a device failure is provided. Figure 1 FIG. 1 is a flow chart of a method for determining the cause of a device failure proposed in Embodiment 1 of the present invention. Figure 1 As shown, the method for determining the cause of equipment failure may include: steps 110 to 160.

[0047] In step 110, text information for describing the device failure is obtained.

[0048] Here, text information may refer to text information used to describe equipment failure, such as a text message sent by a user to the intelligent customer service that "the air conditioner indoor unit generates noise when running".

[0049] In an optional implementation, in step 110, obtaining text information for describing the device failure includes:

[0050] Step 111, obtaining voice information for describing the equipment failure;

[0051] Step 112: convert the voice information into the text information.

[0052] Here, users can access artificial intelligence customer service by calling the customer service phone number. The artificial intelligence customer service receives the user's voice information describing the equipment failure and converts the voice information into text information, thereby obtaining text information used to describe the equipment failure.

[0053] In step 120, keywords reflecting equipment failure symptoms are extracted from the text information and the parts of speech corresponding to the keywords in the text information are determined.

[0054] Here, keywords refer to words that can reflect the symptoms of equipment failure. For example, in the text information "My air conditioner indoor unit makes noise", the keywords are "air conditioner", "indoor unit" and "noise". The parts of speech corresponding to the keywords "air conditioner", "indoor unit" and "noise" are noun, noun and noun respectively.

[0055] In an optional implementation, in step 120, extracting keywords reflecting equipment failure symptoms from the text information and determining the part of speech corresponding to the keywords include:

[0056] Step 121, performing word segmentation processing on the text information, and extracting keywords used to reflect equipment failure symptoms from the word segmentation results;

[0057] Step 122, using a part-of-speech dictionary to determine the part-of-speech corresponding to the extracted keyword.

[0058] Here, in step 121, the text information may be preprocessed, including removing meaningless words, segmenting the text information, forming a word list, and then extracting keywords used to reflect the symptoms of equipment failure through an entity dictionary, a BiLSTM-CRF neural network, or a hidden Markov model. At the same time, a part-of-speech dictionary is used to determine the part-of-speech corresponding to the extracted keywords. The part-of-speech dictionary includes different words and corresponding parts of speech.

[0059] In step 130, the association relationship between the extracted keywords is determined based on the text information.

[0060] Here, the association relationship between keywords refers to the dependency relationship between words in the text information. For example, "the air conditioner indoor unit generates noise", there is a certain association relationship between the keywords "air conditioner", "indoor unit" and "noise".

[0061] In an optional implementation, in step 130, determining the association relationship between the extracted keywords according to the text information includes:

[0062] The text information is subjected to syntactic analysis to determine the syntactic type corresponding to the text information, and the syntactic type is determined as the association relationship between the extracted keywords.

[0063] Here, the purpose of syntactic analysis is to determine the grammatical structure of sentences in text information or the dependency relationship between words in sentences. Syntactic analysis can adopt a rule-based analysis method or a statistical analysis method. Among them, a syntactic tree can be extracted from the fault description text by combining a rule-based method with an RvNN network, so as to determine the syntactic type of the fault description text according to the syntactic tree.

[0064] in, Figure 2 A schematic diagram of the syntax tree is shown, Figure 2 As shown, the syntax tree of "I am always eighteen years old" can be extracted to obtain Figure 2 The syntactic tree shown in FIG. 1 , where NP is a noun phrase and VP is a verb phrase. In the syntactic tree extraction, multiple syntactic trees may be obtained, so all probabilities in the syntactic tree can be multiplied to obtain the overall probability of each syntactic tree, and then the syntactic tree with the largest probability is selected as the best syntactic structure.

[0065] In step 140, based on the keyword, the part of speech corresponding to the keyword, and the association relationship between the extracted keywords, a fault description path that matches the keyword, the part of speech corresponding to the keyword, and the association relationship is searched in a pre-constructed fault knowledge graph.

[0066] In an optional implementation, the fault knowledge graph is pre-built through the following steps, including:

[0067] Step 101, obtaining a data set including a plurality of fault description texts; wherein each of the fault description texts includes a device fault symptom and a corresponding device fault cause;

[0068] Step 102: construct the fault knowledge graph based on the data set.

[0069] Here, the data set may include a large-scale text data set, which may be formed by collecting common language used by users to describe equipment failures on a daily basis. By structuring the data set into a knowledge graph, a fault knowledge graph is obtained.

[0070] In an optional implementation, in step 102 , constructing the fault knowledge graph based on the data set includes: steps 1021 to 1025 .

[0071] In step 1021, for each fault description text, keywords used to represent device fault symptoms are extracted from the fault description text, and the part of speech of the keyword in the fault description text is determined.

[0072] Here, for each fault description text in the data set, keywords used to represent the equipment fault symptoms are extracted from the fault description text and the part of speech of the keywords in the fault description text is determined. Keywords can be extracted from the fault description text using a trained hidden Markov model for fault symptom keyword extraction, and the part of speech of the keywords can be determined using a part of speech dictionary.

[0073] In step 1022, the fault description text is subjected to syntactic analysis to determine the syntactic type of the fault description text.

[0074] Here, the purpose of syntactic analysis is to determine the grammatical structure of sentences in text information or the dependency relationship between words in sentences. Syntactic analysis can adopt a rule-based analysis method or a statistical analysis method. The specific process of syntactic analysis has been described in detail in the above implementation mode and will not be repeated here.

[0075] In step 1023, for each extracted keyword, the keyword and the part of speech of the keyword in the fault description text are encoded into a word vector according to a preset encoding rule.

[0076] Here, the keywords and the parts of speech of the keywords in the fault description text are vector-encoded by preset encoding rules to obtain corresponding word vectors. The preset encoding rules may be a pre-established sentence encoding library, in which each different word and syntactic vector corresponds to a vector code. The sentence encoding library is used to combine words with syntax to provide a benchmark for text encoding of subsequent query requests. For example, the word vector is a 100-dimensional vector, in which the first 50 dimensions may be vectors representing the parts of speech of the keywords, and the last 50 dimensions may be text vectors representing the keywords.

[0077] In step 1024, for each syntactic type, the syntactic type is encoded into a sentence vector according to a preset encoding rule.

[0078] In step 1025, the word vector is used as the entity node of the knowledge graph to be constructed, the sentence vector is used as the association relationship of the corresponding entity node, and the fault type node representing the cause of the equipment failure is associated with the corresponding entity node, so as to construct the fault knowledge graph.

[0079] Here, after encoding, the word-level word vectors are converted into entity nodes in the knowledge graph, and the sentence-level sentence vectors are converted into the relationship between entity nodes in the knowledge graph, thereby constructing a knowledge graph with semantic understanding capabilities.

[0080] Figure 3A schematic diagram of node connection of the fault knowledge graph proposed in an embodiment of the present invention is shown. Figure 3 As shown, the nodes in the fault knowledge graph may include "word 1", "word 2", "word 3", "word 4", "word 5", and "word 6". Among them, the node "word 1" is the vector encoding formed by keyword 1 and its part of speech, the node "word 4" is the vector encoding formed by keyword 4 and its part of speech, and the association relationship between the nodes "word 1" and "word 4" is the sentence vector "(x1,v)".

[0081] Figure 4 A schematic diagram of a fault knowledge graph proposed in an embodiment of the present invention is shown. Figure 4 As shown, "air conditioner" is used as the device name node of the fault knowledge graph, the "indoor unit" and "outdoor unit" of the air conditioner are used as child nodes of the air conditioner, "noise" and "not running" are used as nodes describing the fault symptoms of the "indoor unit" and "outdoor unit" respectively, and "thyristor failure" and "communication failure" are used as fault type nodes corresponding to the equipment fault symptoms of "noise" and "not running" respectively.

[0082] Here, in step 140, before performing the fault description path search, the keywords and the parts of speech corresponding to the keywords are first encoded into a word vector according to the preset encoding rules, and the association between the extracted keywords is encoded into a sentence vector. Then, based on the encoded word vector and sentence vector, the fault description path search is performed in the fault knowledge graph. For example, when the text information obtained is "My air conditioner makes noise when the indoor unit is running", by extracting keywords, determining the parts of speech of the keywords and performing syntactic analysis, the keywords obtained are air conditioner, indoor unit, and noise. Figure 4 The fault description path queried in the fault knowledge graph is "air conditioner---indoor unit---noise".

[0083] In step 150, a fault type node associated with the fault description path is searched in the fault knowledge graph.

[0084] Here, after obtaining the fault description path, the fault type node associated with the fault description path is searched in the fault knowledge graph. The fault type node represents the fault type of the fault description path. Figure 4 The fault description path "air conditioner --- indoor unit --- noise" in the fault knowledge graph shown corresponds to the fault type node "broken thyristor". Based on the information "my air conditioner makes noise when the indoor unit is running", it can be determined that the user's air conditioner has a "broken thyristor" fault.

[0085] In step 160, the device failure cause corresponding to the failure type node is output.

[0086] Here, after determining the cause of the fault, the cause of the device fault corresponding to the fault type node can be outputted by voice. For example, after obtaining the fault cause of the air conditioner being "the thyristor is broken", a voice message "the thyristor in the indoor unit of your air conditioner is broken" is sent to the user. Of course, the text message "the thyristor in the indoor unit of your air conditioner is broken" can also be displayed to the user through the display interface.

[0087] In an optional implementation, the fault knowledge graph further includes a maintenance node representing a fault solution associated with the fault type node;

[0088] The method further comprises:

[0089] Searching for a maintenance node associated with the fault type node in the fault knowledge graph;

[0090] Output the fault solution corresponding to the maintenance node.

[0091] Here, if Figure 4 As shown, the fault knowledge graph also includes a maintenance node representing a fault solution, wherein the maintenance node is a child node of the fault type node. While outputting the cause of the equipment failure corresponding to the fault type node, the fault solution corresponding to the maintenance node associated with the fault type node can also be output, thereby providing the user with the corresponding equipment maintenance solution. For example, when it is determined that the user's air conditioner has a "thyristor failure", the "thyristor failure" fault type node is associated with the "main control board replacement" maintenance node, so that the "main control board replacement" fault solution can be output.

[0092] In an optional embodiment, the method further comprises:

[0093] When a unique fault type node cannot be found according to the found fault description path, all found fault description paths are output to instruct the device fault queryer to filter out the correct fault description path.

[0094] Here, the user may not express clearly when describing the symptoms of equipment failure. For example, if the text information entered by the user is "the air conditioner is making noise", and if the indoor and outdoor nodes of the air conditioner both have a sub-node called "noise", it is impossible to determine whether the indoor or outdoor unit of the air conditioner is at fault. Therefore, the fault description paths obtained include "air conditioner --- indoor unit --- noise" and "air conditioner --- outdoor unit --- noise", and the fault type nodes corresponding to different fault description paths may also be different. Assume that the fault type node corresponding to the fault description path of "air conditioner --- indoor unit --- noise" is

[0095] Embodiment 2

[0096] On the basis of the above-mentioned embodiment, the second embodiment of the present invention can also provide a method for determining the cause of equipment failure. Figure 5 FIG. 1 is a flow chart showing a method for determining the cause of a device failure proposed in Embodiment 2 of the present invention. Figure 5 As shown, the method for determining the cause of equipment failure may include two parts.

[0097] The first part is to build a fault knowledge graph. The specific process is as follows:

[0098] A dataset containing multiple fault description texts is obtained, which may include a large-scale general text dataset.

[0099] The fault description text is preprocessed; the preprocessing is divided into two levels, including word level processing and sentence level processing.

[0100] Among them, the word-level processing is mainly aimed at the processing of words in the fault description text, specifically, segmenting the fault description text to obtain the segmentation results, and determining from the segmentation results to extract the keywords used to represent the equipment fault symptoms, and extracting the parts of speech of the keywords in the fault description text. After obtaining the keywords and parts of speech, the keywords and the parts of speech of the keywords in the fault description text are vector-encoded according to the preset encoding rules to obtain word vectors. For example, the entity node corresponding to the keyword is a 100-dimensional vector, of which the first 50 dimensions can be vectors representing parts of speech, and the last 50 dimensions can be text vectors representing keywords.

[0101] Sentence-level processing mainly processes the text as a whole, extracts the syntactic type corresponding to the fault description text, and thus performs semantic understanding on the entire fault description text. After the syntax is extracted, the syntactic type is vector-encoded according to the preset encoding rules to obtain the corresponding sentence vector.

[0102] It is worth noting that the preset encoding rule can be a pre-established sentence encoding library, in which each different word and syntax vector corresponds to a vector encoding. The sentence encoding library is used to combine words and syntax to provide a benchmark for text encoding of subsequent query requests.

[0103] Then, the word vectors at the word level are converted into entity nodes in the knowledge graph, and the vector encodings at the sentence level are converted into the relationship between entity nodes in the knowledge graph to obtain the fault knowledge graph. Figure 4 shown.

[0104] The second part is the equipment fault diagnosis part, the specific process is as follows:

[0105] Obtain voice information describing equipment failure;

[0106] Converting the voice information into text information;

[0107] The text information is processed; wherein the text processing is divided into two levels, including word level processing and sentence level processing. The word level processing specifically includes word segmentation processing, extracting keywords used to reflect equipment failure symptoms, and determining the part of speech of the keywords and the extracted syntactic type. The sentence level processing is to extract the syntactic structure of the text, thereby determining the syntactic type of the text.

[0108] According to the preset encoding rules, the keywords and their corresponding parts of speech are vector-encoded to obtain the corresponding entity vector encoding, i.e., the word vector. The association relationship (i.e., syntactic type) between the extracted keywords is vector-encoded to obtain the corresponding relationship vector encoding, i.e., the sentence vector.

[0109] Knowledge graph query; use entity vector coding and relationship vector coding to search in the fault knowledge graph to obtain the fault description path, and then find the fault type node associated with the fault description path in the fault knowledge graph, so as to obtain the equipment failure cause corresponding to the fault type node and the fault solution corresponding to the maintenance node associated with the fault type node, so as to realize intelligent maintenance of equipment failure.

[0110] Embodiment 3

[0111] According to an embodiment of the present invention, a storage medium is further provided, on which a program code is stored. When the program code is executed by a processor, the method for determining the cause of a device failure as described in any one of the above embodiments is implemented.

[0112] Embodiment 4

[0113] According to an embodiment of the present invention, an electronic device is also provided, which includes a memory and a processor, wherein the memory stores a program code that can be executed on the processor, and when the program code is executed by the processor, the method for determining the cause of a device failure as described in any of the above embodiments is implemented.

[0114] The technical scheme of the present invention is described in detail above in combination with the accompanying drawings. Considering that in the related art, the existing equipment fault diagnosis method requires professional knowledge to correctly diagnose the cause of the equipment fault. The present invention provides a method for determining the cause of equipment fault, a storage medium and an electronic device, by extracting keywords used to reflect the symptoms of equipment faults from text information and determining the corresponding parts of speech of the keywords in the text information, and determining the association relationship between the extracted keywords according to the text information, thereby searching for a fault description path that matches the keyword, the part of speech corresponding to the keyword and the association relationship in a pre-constructed fault knowledge graph, and searching for a fault type node associated with the fault description path to obtain the cause of the equipment fault. By performing semantic understanding of words and the entire text of the text information describing the fault, the literal semantics and implicit semantics in the text information can be fully mined, thereby realizing precise search and obtaining accurate fault diagnosis results. By utilizing knowledge graph technology, a knowledge graph with semantic understanding is constructed to achieve simple, efficient and accurate fault search technology.

[0115] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0117] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0119] Although the embodiments disclosed in the present invention are as above, the contents described are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the protection scope of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. A method for determining the cause of equipment failure, characterized in that: include: Get text information describing device failure; Extracting keywords reflecting equipment failure symptoms from the text information and determining the parts of speech corresponding to the keywords in the text information; Determining, based on the text information, an association relationship between the extracted keywords, wherein the association relationship between the keywords refers to a dependency relationship between words in the text information; Based on the keyword, the part of speech corresponding to the keyword, and the association relationship between the extracted keywords, searching in a pre-built fault knowledge graph for a fault description path that matches the keyword, the part of speech corresponding to the keyword, and the association relationship; Searching for a fault type node associated with the fault description path in the fault knowledge graph; Output the device failure cause corresponding to the failure type node; The fault knowledge graph is pre-built through the following steps, including: Acquire a data set including a plurality of fault description texts; wherein each of the fault description texts includes a device fault symptom and a corresponding device fault cause; Based on the data set, construct the fault knowledge graph; The constructing the fault knowledge graph based on the data set includes: For each fault description text, extracting keywords used to represent device fault symptoms from the fault description text and determining the part of speech of the keywords in the fault description text; and Performing syntactic analysis on the fault description text to determine the syntactic type of the fault description text; For each extracted keyword, according to a preset encoding rule, the keyword and the part of speech of the keyword in the fault description text are encoded into a word vector; For each determined syntactic type, the syntactic type is encoded into a sentence vector according to a preset encoding rule, wherein the preset encoding rule is a pre-established sentence encoding library, and each different word and syntactic vector in the sentence encoding library corresponds to a vector code respectively; The word vector is used as the entity node of the knowledge graph to be constructed, the sentence vector is used as the association relationship of the corresponding entity node, and the fault type node representing the cause of the equipment failure is associated with the corresponding entity node, so as to construct the fault knowledge graph.

2. The method for determining the cause of equipment failure according to claim 1, characterized in that: The fault knowledge graph further includes a maintenance node representing a fault solution associated with the fault type node; The method further comprises: Searching for a maintenance node associated with the fault type node in the fault knowledge graph; Output the fault solution corresponding to the maintenance node.

3. The method for determining the cause of equipment failure according to claim 1, characterized in that: The method further comprises: When a unique fault type node cannot be found according to the found fault description path, all found fault description paths are output to instruct the device fault queryer to filter out the correct fault description path.

4. The method for determining the cause of equipment failure according to claim 1, characterized in that: Extracting keywords reflecting equipment failure symptoms from the text information and determining the parts of speech corresponding to the keywords include: Performing word segmentation processing on the text information, and extracting keywords used to reflect equipment failure symptoms from the word segmentation results; and The part of speech dictionary is used to determine the part of speech corresponding to the extracted keywords.

5. The method for determining the cause of equipment failure according to claim 1, characterized in that: Determining the association relationship between the extracted keywords according to the text information includes: The text information is subjected to syntactic analysis to determine the syntactic type corresponding to the text information, and the syntactic type is determined as the association relationship between the extracted keywords.

6. The method for determining the cause of equipment failure according to claim 1, characterized in that: Get text information describing the device failure, including: Obtain voice information describing equipment failure; The voice information is converted into the text information.

7. A storage medium, characterized in that: The storage medium stores program codes, and when the program codes are executed by the processor, the method for determining the cause of a device failure according to any one of claims 1 to 6 is implemented.

8. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a program code that can be run on the processor, and when the program code is executed by the processor, the method for determining the cause of equipment failure as described in any one of claims 1 to 6 is implemented.