A target path mining method based on knowledge graph

By preprocessing and constructing knowledge graphs on original text data in the field of industrial intelligent manufacturing, sentence vectors are generated for analysis, which solves the problem of inaccurate fault decision-making in the existing technology and improves the accuracy and reliability of fault identification and traceability.

CN118211171BActive Publication Date: 2024-09-24NINGBO LIANGCAI HEYUN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410637032.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-24
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

The existing knowledge graph decision-making process cannot fully utilize the attribute combination information of multiple factors in equipment failures, resulting in inaccurate decision results and reducing the accuracy and reliability of fault traceability.

Method used

By preprocessing original text data in the field of industrial intelligent manufacturing, we build a knowledge graph and generate sentence vectors, calculate the similarity and semantic distance between sentences, conduct binary classification analysis, determine fault association paths and decision-making plans, and obtain decision-making impact information. , perform fault tracing and management.

Benefits of technology

It improves the accuracy of fault identification and the reliability of decision-making, and enhances the accuracy and reliability of fault traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118211171B
    Figure CN118211171B
Patent Text Reader

Abstract

The present invention discloses a target path mining method based on knowledge graph, which relates to the technical field of fault identification and processing, and is used to solve the problem of inaccurate equipment fault identification. The method comprises the following steps: the present invention obtains and preprocesses the original text data generated in the intelligent manufacturing aspect of the industry, constructs a knowledge graph and a sentence vector from the preprocessed data, calculates the similarity between the sentences in the triples according to the obtained sentence vectors, determines the semantic distance between the sentence vectors, performs binary classification on the knowledge graph triples according to the semantic distance, and analyzes the alarm information generated by the equipment fault, determines the associated path of the fault in the fault alarm, determines the decision plan, obtains the decision-making influence information analysis generated in the equipment fault analysis process, and performs corresponding fault tracing and management according to the generated recognition signal, thereby improving the accuracy of fault identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault identification and processing, and in particular to a target path mining method based on a knowledge graph. Background Art

[0002] Knowledge graph is a semantic knowledge representation method that aims to organize and represent real-world knowledge in the form of a graphical structure. It consists of a series of entities (nodes) and the relationships (edges) between them. These entities and relationships are usually described and stored in a standardized form so that computers can understand and process them. In the knowledge graph, entities can be anything in the real world, such as people, places, events, products, etc., while relationships represent the connections or attributes between entities.

[0003] The existing technology has the following shortcomings: when equipment fails, it is usually caused by multiple factors. In the knowledge graph, these factors may exist in the form of multiple fault or fault antecedent entities pointing to the same fault entity, forming multiple tracing fault chains. However, the current knowledge graph decision-making process can usually only select the tracing direction based on the attribute data of a single entity or relationship, and cannot fully utilize the multiple attribute combination information in the fault chain, resulting in the decision result may not be accurate enough, thereby reducing the accuracy and reliability of tracing the entities involved in the fault.

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention

[0005] The purpose of the present invention is to provide a target path mining method based on a knowledge graph, by acquiring and preprocessing the original text data generated in the intelligent manufacturing aspect of the industry, constructing a knowledge graph and a sentence vector from the preprocessed data, calculating the similarity between the sentences in the triples based on the obtained sentence vectors, determining the semantic distance between the sentence vectors, and classifying the knowledge graph triples based on the semantic distance, and analyzing the alarm information generated by the equipment failure, determining the associated path of the fault in the fault alarm, determining the decision plan, and obtaining the decision-making impact information analysis generated during the equipment failure analysis process, and performing corresponding fault tracing and management based on the generated recognition signal to address the deficiencies in the background technology.

[0006] In order to achieve the above object, the present invention provides the following technical solution: a target path mining method based on knowledge graph, comprising the following steps:

[0007] Acquire and preprocess the original text data generated by industrial intelligent manufacturing, and construct a knowledge graph from the preprocessed data;

[0008] Use the graph algorithm of text summarization and keyword extraction to generate sentence vectors for knowledge graph triples. Calculate the similarity between sentences in triples based on the obtained sentence vectors. Use Euclidean distance to determine the semantic distance between sentence vectors. Then, classify the knowledge graph triples into two categories based on the semantic distance.

[0009] After binary classification, analyze the alarm information generated by the equipment failure, determine the associated path of the fault in the fault alarm, and determine the decision plan based on the attributes of the fault case;

[0010] Obtain decision-making impact information generated during equipment failure analysis, determine the consistency between equipment failure cases and target paths, and perform corresponding fault tracing and management based on the generated identification signals.

[0011] Preferably, the original text data generated by the intelligent manufacturing aspect of the industry is acquired and preprocessed, including:

[0012] Clean the original text data, use the maximum matching method to scan the text from left to right or from right to left, select the longest matching word in the dictionary as the word segmentation result, and use the maximum probability method based on the conditional probability model to select the optimal word segmentation path;

[0013] Use statistical models to determine the part of speech of words, including hidden Markov models, maximum entropy models, and conditional random fields;

[0014] Entity recognition technology is used to identify the entities and named entities involved in the original text, and natural language processing technology is used to extract the relationship between entities from the original text.

[0015] Preferably, a graph algorithm for text summarization and keyword extraction is used to generate sentence vectors for knowledge graph triples, and similarities between sentences in triples are calculated based on the obtained sentence vectors. The specific steps include:

[0016] Represent each sentence in the knowledge graph text as a node in the graph, and calculate the similarity between sentences as the weight of the edge;

[0017] Apply the TextRank algorithm to the constructed sentences, iteratively calculate the weights between word nodes, and finally get the importance score of each word;

[0018] The importance score of each word is used as its weight, and the sentence vector is generated by weighted summation.

[0019] Preferably, after the binary classification, the alarm information generated by the equipment failure is analyzed to determine the associated path of the failure in the fault alarm, and a decision plan is determined according to the attributes of the fault case. The specific steps are as follows:

[0020] Treat each failure case as a decision object to be evaluated;

[0021] Determine the evaluation indicators that affect equipment failure. Based on the determined evaluation indicators, construct a decision matrix. The rows of the matrix represent different equipment failure cases, and the columns represent various attribute evaluation indicators. Fill in the attribute evaluation indicator values ​​corresponding to each case in the matrix.

[0022] For each attribute evaluation index, the Z-score normalization method is used to normalize and convert it into a relative value;

[0023] Determine the weight of each evaluation indicator and calculate the comprehensive score and comprehensive distance of each equipment failure case;

[0024] The equipment failure cases are sorted in reverse order according to the comprehensive scores.

[0025] Preferably, the decision-making impact information generated during the equipment failure analysis is obtained to determine the consistency between the equipment failure case and the target path. The specific steps are as follows:

[0026] Decision-making influencing information includes attribute adaptation information and sorting accuracy information;

[0027] Attribute adaptation information includes attribute conversion stability index, and sort accuracy information includes precision gain index:

[0028] The attribute conversion stability index and the precision gain index are combined to generate the path identification accuracy coefficient.

[0029] The attribute conversion stability index and precision gain index are proportional to the path identification accuracy coefficient.

[0030] Preferably, corresponding fault tracing and management are performed according to the generated identification signal, and the specific steps include:

[0031] Compare the generated path recognition accuracy coefficient with the recognition state determination threshold;

[0032] If the path identification accuracy coefficient is greater than the identification state determination threshold, a path identification stable signal is generated without additional maintenance or processing;

[0033] If the path recognition accuracy coefficient is less than or equal to the recognition state judgment threshold, a path recognition abnormality signal is generated, and a maintenance check is performed on the target path generated by the knowledge graph.

[0034] In the above technical solution, the technical effects and advantages provided by the present invention are:

[0035] The present invention acquires and preprocesses the original text data generated in the intelligent manufacturing of industry, constructs a knowledge graph and a sentence vector from the preprocessed data, calculates the similarity between the sentences in the triples according to the obtained sentence vectors, determines the semantic distance between the sentence vectors, performs binary classification on the knowledge graph triples according to the semantic distance, analyzes the alarm information generated by the equipment failure, determines the associated path of the fault in the fault alarm, determines the decision-making plan, obtains the decision-making impact information analysis generated in the equipment failure analysis process, and performs corresponding fault tracing and management according to the generated recognition signal, thereby improving the accuracy of fault identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0037] Figure 1 This is a flow chart of a target path mining method based on knowledge graph of the present invention. DETAILED DESCRIPTION

[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art.

[0039] Embodiment 1: The present invention provides Figure 1 A target path mining method based on a knowledge graph is shown, and the method comprises the following steps:

[0040] Acquire and preprocess the original text data generated by industrial intelligent manufacturing, and construct a knowledge graph from the preprocessed data;

[0041] Use the graph algorithm of text summarization and keyword extraction to generate sentence vectors for knowledge graph triples. Calculate the similarity between sentences in triples based on the obtained sentence vectors. Use Euclidean distance to determine the semantic distance between sentence vectors. Then, classify the knowledge graph triples into two categories based on the semantic distance.

[0042] After binary classification, analyze the alarm information generated by the equipment failure, determine the associated path of the fault in the fault alarm, and determine the decision plan based on the attributes of the fault case;

[0043] Obtain decision-making impact information generated during equipment failure analysis, determine the consistency between equipment failure cases and target paths, and perform corresponding fault tracing and management based on the generated identification signals.

[0044] In the field of industrial intelligent manufacturing, including entities in various aspects such as production equipment, parts, and process flows, the relationships and attributes between entities are constructed into a knowledge graph for production planning, process optimization, and quality management. When equipment failure occurs, it can be confirmed based on the constructed knowledge graph and the equipment can be maintained in a timely manner.

[0045] The original text data generated by industrial intelligent manufacturing is obtained to construct a knowledge graph. However, in the process of analyzing the original text, due to factors such as semantics and part of speech, it is easy to cause errors in the attribute description of entities and concepts in the process of constructing the knowledge graph, or the relationship between entities is misplaced and distorted, affecting the accuracy and completeness of the knowledge graph. Therefore, the original text data obtained is preprocessed. The specific steps are as follows:

[0046] Text cleaning: clean the original text data to remove irrelevant information, special characters, punctuation marks and other noise to ensure that the text data is clean and standardized;

[0047] Word segmentation and part-of-speech tagging use natural language processing technology to segment text and mark the part of speech of each word for subsequent semantic analysis and understanding;

[0048] The word segmentation process uses a combination of rule-based and statistical-based word segmentation methods. The rule-based word segmentation method uses manually defined rules to segment text into words. For example, Chinese text can be segmented based on spaces and punctuation between words and characters; the statistical-based word segmentation method uses statistical language models to identify word boundaries. Common methods include maximum matching method and maximum probability method. Among them, the maximum matching method scans the text from left to right or from right to left, and selects the longest matching word in the dictionary as the word segmentation result; the maximum probability rule selects the optimal word segmentation path based on the conditional probability model;

[0049] Use a combination of rule-based and statistical part-of-speech tagging methods to perform part-of-speech tagging, and use manually defined rules or grammatical rules to determine the part of speech of each word. This type of method usually requires manual writing of a large number of rules, which is costly, but has a better effect on text processing in specific fields;

[0050] Use statistical models to infer the part of speech of each word, including hidden Markov model (HMM), maximum entropy model, conditional random field (CRF), etc.

[0051] Entity recognition and named entity recognition (NER), that is, using entity recognition technology to identify entities involved in the text, such as production equipment, parts, process flow, etc., and perform named entity recognition to ensure the accuracy and consistency of the entities;

[0052] Relationship extraction uses natural language processing technology to extract the relationship between entities from the text, such as the dependency relationship between devices and the composition relationship between parts, etc., to ensure the correctness and completeness of the relationship;

[0053] First, prepare a text dataset containing entities such as production equipment, parts, and process flows. These data can be production logs, process instructions, maintenance records, etc.

[0054] Entity recognition is performed based on text features. Common features include words, context information, parts of speech, etc. Annotated training data sets are used to train entity recognition models. Common models include rule-based methods, statistical-based methods (such as conditional random fields, maximum entropy models), and deep learning methods (such as recurrent neural networks, convolutional neural networks), etc. The trained model is used to perform entity recognition on new text data to identify entities such as production equipment, parts, and process flows involved in the text. Named entity recognition is performed on the identified entities and they are classified into predefined categories, such as equipment, parts, and processes. The extracted relationships are classified into predefined relationship types, such as dependency relationships, composition relationships, etc., to ensure the correctness and completeness of the relationships.

[0055] This enables accurate extraction and classification of relationships between entities in texts in the field of industrial intelligent manufacturing, providing a reliable relationship information foundation for subsequent knowledge graph construction and application.

[0056] After the original text is preprocessed, it is also necessary to extract knowledge from semi-structured text and unstructured text to form triples, because semi-structured text and unstructured text may contain a lot of information and complex semantics, which require in-depth analysis to mine the knowledge and information and use them together to build a knowledge graph;

[0057] Use text parsing and pattern matching techniques to identify entities in the text, such as equipment, parts, and process flows. Extract attribute information from the identified entities, such as equipment models, part specifications, and process flow parameters. Identify the relationships between entities in the text, such as the dependency relationships between equipment and the composition relationships between parts. Represent the extracted entities, attributes, and relationships in the form of triples.

[0058] For each entity and relationship, corresponding attributes need to be defined. Attributes describe the characteristics or properties of entities and relationships, such as name, type, description, etc. Information is extracted from the original text or data source and mapped to the defined entities, relationships, and attributes. Natural language processing technology, text mining technology, or other data processing technology are needed to construct triples (subject, predicate, object) based on the extracted information, where subject represents the subject of the entity or relationship, predicate represents the relationship, and object represents the entity, attribute, or value associated with the subject.

[0059] For example, there is a semi-structured production log text, which contains equipment information, fault description and maintenance records. Knowledge is extracted from this text to construct a knowledge graph about equipment failure and maintenance. The triples extracted from the text are as follows: Entity 1: Equipment A, Entity 2: Failure, Relationship: Occurrence, Attribute: Time = 2024-03-14, Description = "Equipment A has a fault and cannot operate normally." The fault event, maintenance event and faulty component information of Equipment A are extracted from the text, and the above triples are constructed.

[0060] Use the graph algorithm of text summarization and keyword extraction to generate sentence vectors of knowledge graph triples and calculate the similarity between sentences in triples. The specific process is as follows:

[0061] Represent each sentence in the knowledge graph text as a node in the graph, and calculate the similarity between sentences as the weight of the edge. Usually, cosine similarity or other similarity measurement methods can be used to calculate the similarity between sentences, and cosine similarity is used as the similarity measurement method between sentences: , where and Represent the i-th and j-th sentences respectively, Respectively express sentences and The word vector in , n represents the dimension of the word vector.

[0062] The TextRank algorithm is applied to the constructed sentence. The weights between word nodes are iteratively calculated to finally obtain the importance score of each word. The specific algorithm formula is:

[0063] , where Representation Node The weight of , d is the damping factor, which is generally taken as 0.85, Indicates that the node The node set of Representation Node The set of nodes pointed to;

[0064] The importance score of each word is used as its weight, and the sentence vector is generated by weighted summation. Specifically, for each word vector in the sentence, it is multiplied by the weight of the sentence in which the word is located, and the sentence vector is obtained by weighted summation of all word vectors. The specific expression is: ,in, Expressing sentences The weight of the kth word in , Expressive words The word vector of .

[0065] Analyze the obtained sentence vectors, calculate the semantic distance between the sentence vectors, and complete the binary classification of the knowledge graph triples;

[0066] Use Euclidean distance to measure the distance between two sentence vectors. The smaller the value, the more similar the two vectors are. This method calculates the similarity between two sentences, which can help determine whether the two sentences express similar semantic content. Set a threshold to determine whether the semantic distance between the two sentences is small enough to determine whether they have similar semantics. The choice of threshold can be determined according to specific tasks and needs. According to the relationship between semantic distance and threshold, each pair of sentences is classified into two categories, that is, whether they belong to similar semantics or dissimilar semantics.

[0067] Binary classification of knowledge graph triples means dividing the data into two categories, which makes the problem relatively simple, easier to handle and understand, and makes subsequent analysis and decision-making more intuitive and effective. It can better distinguish between positive and negative examples, thereby providing a more reliable and accurate basis for subsequent decision-making.

[0068] The alarm information generated by the equipment failure is taken as the analysis object to determine the equipment association path in the fault alarm. The associated path analysis can realize the traceability of the associated equipment of the equipment failure.

[0069] When a device fails, the cause of the failure is analyzed. Since the device failure may be caused by one or more factors, it is usually caused by multiple factors. In the knowledge graph, these factors may exist in the form of multiple faults or fault antecedent entities pointing to the same fault entity, forming multiple traceability fault chains. The VIKOR method is used to analyze the attributes of the fault case, determine the decision plan, and identify the target path of the fault chain for rapid detection. The specific steps are as follows:

[0070] Determine the equipment failure cases that need to be analyzed as decision objects. Each failure case is a decision object to be evaluated. These cases can be historical failure records or recent failure events.

[0071] Determine multiple evaluation indicators that affect equipment failure. These indicators can be various factors that cause failures, including equipment operating time, maintenance records, environmental factors (such as temperature and humidity), equipment age, failure frequency, etc. Evaluation indicators are selected for factors that have a greater impact on equipment failure, so that the decision attributes are more obvious;

[0072] According to the determined evaluation index, a decision matrix is ​​constructed. The rows of the matrix represent different equipment failure cases, and the columns represent various attribute evaluation indexes. The attribute evaluation index values ​​corresponding to each case are filled in the matrix. These values ​​can be specific numerical values ​​or relative values ​​after normalization.

[0073] For each attribute evaluation index, the Z-score normalization method is used to normalize its value and convert it into a relative value, so that each index is within the same dimension range;

[0074] To determine the weight of each evaluation index, subjective weighting method, objective weighting method (such as analytic hierarchy process) and other methods can be used. The weight reflects the importance of each evaluation index in decision-making;

[0075] Calculate the comprehensive evaluation index of each equipment failure case, which usually includes two aspects: comprehensive score and comprehensive distance. The comprehensive score is calculated based on the weights and normalized values ​​of each evaluation index, using weighted summation or other combination methods, reflecting the comprehensive performance of each case under multiple evaluation indicators. The calculation expression of the comprehensive score is: , where represents the weight of the jth evaluation index, Represents the normalized value of the i-th case on the j-th indicator.

[0076] The comprehensive distance is to calculate the distance between each case and the best solution and the worst solution. Euclidean distance, Manhattan distance and other methods can be used. The smaller the comprehensive distance, the closer the case is to the best solution and the higher the comprehensive score. The calculation expression of the comprehensive distance is: , where They represent the negative ideal solution and positive ideal solution of the j-th attribute evaluation index respectively.

[0077] The equipment failure cases are ranked according to the comprehensive scores. The higher the score, the higher the ranking. The top ranked cases are considered as better decision-making solutions.

[0078] Obtain decision-making impact information generated during equipment failure analysis, and then determine the consistency between equipment failure cases and target paths, and determine whether the mined target paths meet the accurate decision results of failure cases. According to different identified decision results, different maintenance tasks are performed. Decision-making impact information includes attribute adaptation information and sorting accuracy information.

[0079] The attribute adaptation information includes the attribute conversion stability index, and the sorting accuracy information includes the precision gain index. After collection, the attribute conversion stability index and the precision gain index are calibrated as SXZ and ZSJ respectively.

[0080] The attribute conversion stability index is an index used to uniformly convert the values ​​of different attribute fault types into the same scale. In actual situations, when faced with different types of attributes, for example, the larger the value of the fault frequency attribute of a certain device, the more accurate the fault path tracing is. The larger the fault frequency attribute, the better. This is used as a positive attribute, while the smaller the value of other attributes, the better. They are used as reverse attributes.

[0081] The purpose of the attribute conversion stability index is to convert all attributes into the same scale through a unified conversion method, so as to make comprehensive evaluation and decision-making plan analysis more accurate. The attribute conversion stability index has the following functions:

[0082] Unified attribute measurement: Different types of attributes have different measurement scales and value ranges, which makes it difficult to compare them directly. Through the attribute conversion stability index, all attributes can be converted to the same scale, so that they can be measured and compared at the same level;

[0083] Attribute weight determination: In multi-attribute decision analysis, the weight of an attribute usually reflects its importance in the decision. Converting it into attributes of the same scale can make it easier to determine the weight of each attribute, thereby making comprehensive evaluation and decision analysis more accurate.

[0084] Improve decision-making efficiency: The use of attribute conversion stability index can improve the efficiency and accuracy of decision-making. By converting attributes into the same scale, the advantages and disadvantages of different decision-making plans can be evaluated and compared more accurately, thereby improving the efficiency and quality of decision-making.

[0085] The logic for obtaining the attribute conversion stability index is as follows:

[0086] Get the attribute evaluation index value set as the reverse attribute and the forward attribute, take the inverse of the evaluation index value of the reverse attribute and establish the attribute matrix S together with the forward attribute, square and normalize the attribute value of each column of the attribute matrix to get the standard matrix B, and get the negative ideal solution of the attribute in the standard matrix and ideal solution With the actual attribute value , calculate the attribute fitting value: , establish a set of attribute fitting values ​​for each attribute , u is a positive integer, and the attribute transformation stability index is calculated. The calculation expression is: .

[0087] It should be noted that the equipment failure path includes multiple equipment failure plans. Each attribute in the failure plan is filled as a row in the attribute matrix, and the same failure is filled in the same column. For example, the failure frequency is filled in the first row and second column of the attribute matrix, and the first row and second column is the failure frequency filling position of the failure plan; in the attribute evaluation index value, due to the different measurement units between failures, the value is also different. For example, the value of the occurrence frequency is a specific numerical value, and the value range is greater than 1, so the square sum calculation is required.

[0088] The precision gain index is an evaluation index used to determine the accuracy of the sorting decision plan selected in the fault path. The precision gain index is the accuracy of the selected plan relative to the ideal solution when making a decision. The precision gain index reflects the accuracy and effectiveness of the decision plan. The larger the value, the closer the selected plan is to the ideal solution, and the more accurate the fault identification is in the equipment fault path identification. The precision gain index affects the following aspects:

[0089] Decision accuracy evaluation: The precision gain index is used to evaluate the accuracy and effectiveness of the decision-making scheme. The larger the value, the closer the selected scheme is to the ideal solution, that is, the higher the accuracy in identifying the equipment failure path;

[0090] Decision-making process guidance: As an evaluation indicator, the precision gain index can guide decision makers in the decision-making process to make decisions. By analyzing the precision gain index of different solutions, decision makers can better understand the advantages and disadvantages of each solution and make more reasonable decisions.

[0091] The logic of obtaining the precision gain index is as follows:

[0092] Get the sorting results of the decision plan, get the ratio of the expected sorting to the actual sorting as the sorting precision value px, and establish a sorting precision value set , v is a positive integer, and the accuracy mean of all decision-making schemes under the faulty equipment alarm is obtained: , where GS represents the number of fault paths. The expected gain value is calculated by obtaining the first N sorting results. The calculation expression is: , calculate the ideal gain value, the calculation expression is: , the gain index with precision is calculated based on the ideal gain value, expected gain value and precision mean, and the calculation expression is: .

[0093] It should be noted that the ratio between the expected ranking and the actual ranking is determined according to the ranking positions of different decision plans. For example, for the three decision plans A, B, and C, the expected ranking positions are {A, B, C, D}, and the actual ranking positions are {C, D, A, B}. Taking the expected ranking as the basic ranking table, the ranking difference between the expected ranking position and the actual ranking position of A is 2, and the ranking difference of B is 2. Similarly, the rankings of C and D are also 2, and the calculated ranking ratio is 8. The specific value of N in the first N ranking results needs to be determined according to the actual situation, and no further analysis is given here.

[0094] The obtained attribute conversion stability index and precision gain index are normalized and calculated to generate the path recognition accuracy coefficient, and the path recognition accuracy coefficient is calibrated as , based on the formula: , where are the preset proportional coefficients of the attribute conversion stability index and the precision gain index, respectively, and All are greater than 0;

[0095] It should be noted that the formula is obtained by technicians in this field to collect multiple groups of sample data and set corresponding preset proportional coefficients for each group of sample data. The specific calculation process is: substitute the obtained attribute conversion stability index and precision gain index into the formula to form an equation group, and then screen and average the calculated preset proportional coefficients to obtain the preset proportional coefficients. Since each group of sample data is different, the specific values ​​of the preset proportional coefficients under different sample data are also different.

[0096] It can be seen from the formula that the larger the attribute conversion stability index and the larger the precision gain index, that is, the larger the value of the path identification accuracy coefficient, the higher the accuracy of path identification in the process of faulty equipment identification, which can reduce the decision maker's consideration of different possibilities and help the decision maker make decisions faster;

[0097] The smaller the attribute conversion stability index and the precision gain index are, that is, the smaller the performance value of the path identification accuracy coefficient is, the more likely it is that there will be path misidentification, which in turn may lead to the failure of equipment repair in time. In other words, the selected path may not be the best, and there may be errors or incomplete information, resulting in unreliable identification results.

[0098] The generated path recognition accuracy coefficient is compared with the recognition state determination threshold, and different signals are generated according to the comparison result, that is, a path recognition abnormality signal and a path recognition stable signal are generated;

[0099] After obtaining the generated path recognition accuracy coefficient, the generated path recognition accuracy coefficient is compared with the recognition state determination threshold. If the path recognition accuracy coefficient is greater than the recognition state determination threshold, a path recognition stability signal is generated, indicating that the accuracy of path recognition has reached the expected level, and the recognition result has a high credibility and can be used for subsequent decision-making and operations. The generation of the path recognition stability signal marks the success of the path recognition process and provides a reliable basis for subsequent fault diagnosis, maintenance decisions, etc. When the path recognition accuracy coefficient does not reach the recognition state determination threshold, it is necessary to further optimize the path recognition algorithm or improve the data quality to improve the accuracy and stability of path recognition.

[0100] If the path recognition accuracy coefficient is less than or equal to the recognition state determination threshold, a path recognition abnormality signal is generated, indicating that the accuracy of path recognition has not reached the expected level, the credibility of the recognition result is low, and there is a certain degree of uncertainty. Therefore, further analysis and processing are required. Possible reasons include deficiencies in the path recognition algorithm, data quality issues, environmental changes, etc. That is, after the path recognition abnormality signal is generated, the following measures can be taken:

[0101] Conduct in-depth analysis of the path recognition results to identify possible errors or uncertainties and try to solve the problems. For abnormal recognition, the path recognition algorithm can be optimized or improved to improve the accuracy and stability of recognition. If there are problems with data quality, measures can be taken to improve the data collection, cleaning and processing processes to improve the accuracy and completeness of the data. The path recognition model or parameters can be adjusted according to actual conditions to adapt to different environments and scenarios, improve the robustness and stability of recognition, and strengthen the monitoring and maintenance of equipment and systems to promptly discover and handle problems that may cause path recognition abnormalities and ensure the normal operation of equipment.

[0102] It should be noted that the relevant threshold information in this embodiment is pre-set by professionals and will not be explained in detail here.

[0103] The present invention acquires and preprocesses the original text data generated in the intelligent manufacturing of industry, constructs a knowledge graph and a sentence vector from the preprocessed data, calculates the similarity between the sentences in the triples according to the obtained sentence vectors, determines the semantic distance between the sentence vectors, performs binary classification on the knowledge graph triples according to the semantic distance, analyzes the alarm information generated by the equipment failure, determines the associated path of the fault in the fault alarm, determines the decision-making plan, obtains the decision-making impact information analysis generated in the equipment failure analysis process, and performs corresponding fault tracing and management according to the generated recognition signal, thereby improving the accuracy of fault identification.

[0104] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0105] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

[0106] It should be noted that, in this article, if there are relational terms such as first and second, etc., they are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0107] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A target path mining method based on knowledge graph, characterized in that: The steps include: Acquire and preprocess the original text data generated by industrial intelligent manufacturing, and construct a knowledge graph from the preprocessed data; Use the graph algorithm of text summarization and keyword extraction to generate sentence vectors for knowledge graph triples. Calculate the similarity between sentences in triples based on the obtained sentence vectors. Use Euclidean distance to determine the semantic distance between sentence vectors. Then, classify the knowledge graph triples into two categories based on the semantic distance. After binary classification, analyze the alarm information generated by the equipment failure, determine the associated path of the fault in the fault alarm, and determine the decision plan based on the attributes of the fault case; Obtain decision-making impact information generated during equipment failure analysis, determine the consistency between equipment failure cases and target paths, and perform corresponding fault tracing and management based on the generated identification signals; Acquire and preprocess the raw text data generated by industrial intelligent manufacturing, including: Clean the original text data, use the maximum matching method to scan the text from left to right or from right to left, select the longest matching word in the dictionary as the word segmentation result, and use the maximum probability method based on the conditional probability model to select the optimal word segmentation path; Use statistical models to determine the part of speech of words, including hidden Markov models, maximum entropy models, and conditional random fields; Entities and named entities in the original text are identified through entity recognition technology, and the relationship between entities is extracted from the original text using natural language processing technology; Obtain the decision-making impact information generated during the equipment failure analysis process and determine the consistency between the equipment failure case and the target path. The specific steps are as follows: Decision-making influencing information includes attribute adaptation information and sorting accuracy information; Attribute adaptation information includes attribute conversion stability index, and sort accuracy information includes precision gain index: The attribute conversion stability index and the precision gain index are combined to generate the path identification accuracy coefficient; The attribute conversion stability index and precision gain index are proportional to the path identification accuracy coefficient; The acquisition logic of the precision gain index and attribute conversion stability index are: Get the sorting results of the decision plan, get the ratio of the expected sorting to the actual sorting as the sorting precision value px, and establish a sorting precision value set , v is a positive integer, and the mean accuracy of all decision-making schemes under the faulty equipment alarm is obtained: , where GS represents the number of fault paths. The expected gain value is calculated by obtaining the first N sorting results. The calculation expression is: , calculate the ideal gain value, the calculation expression is: , the precision gain index calculated based on the ideal gain value, expected gain value and precision mean, the calculation expression is: ; Get the attribute evaluation index value set as the reverse attribute and the forward attribute, take the inverse of the evaluation index value of the reverse attribute and establish the attribute matrix S together with the forward attribute, square and normalize the attribute value of each column of the attribute matrix to get the standard matrix B, and get the negative ideal solution of the attribute in the standard matrix and ideal solution With the actual attribute value , calculate the attribute fitting value: , establish a set of attribute fitting values ​​for each attribute , u is a positive integer, and the attribute transformation stability index is calculated. The calculation expression is: ; The attribute conversion stability index and the precision gain index are combined to generate the path identification accuracy coefficient, and the steps include: The obtained attribute conversion stability index and precision gain index are calculated jointly to generate the path identification accuracy coefficient, and the path identification accuracy coefficient is calibrated as , based on the formula: , where are the preset proportional coefficients of the attribute conversion stability index and the precision gain index, respectively, and All are greater than 0; According to the generated identification signal, the corresponding fault tracing and management are carried out. The specific steps include: Compare the generated path recognition accuracy coefficient with the recognition state determination threshold; If the path identification accuracy coefficient is greater than the identification state determination threshold, a path identification stable signal is generated without additional maintenance or processing; If the path recognition accuracy coefficient is less than or equal to the recognition state determination threshold, a path recognition abnormality signal is generated to regulate and manage the generated path.

2. According to the knowledge graph-based target path mining method of claim 1, it is characterized in that: The graph algorithm of text summarization and keyword extraction is used to generate sentence vectors of knowledge graph triples. The similarity between sentences in the triples is calculated based on the obtained sentence vectors. The specific steps include: Represent each sentence in the knowledge graph text as a node in the graph, and calculate the similarity between sentences as the weight of the edge; Apply the TextRank algorithm to the constructed sentences, iteratively calculate the weights between word nodes, and finally get the importance score of each word; The importance score of each word is used as its weight, and the sentence vector is generated by weighted summation.

3. According to the knowledge graph-based target path mining method of claim 2, it is characterized in that: After the binary classification, the alarm information generated by the equipment failure is analyzed to determine the associated path of the fault in the fault alarm, and the decision plan is determined according to the attributes of the fault case. The specific steps are as follows: Treat each failure case as a decision object to be evaluated; Determine the evaluation indicators that affect equipment failure. Based on the determined evaluation indicators, construct a decision matrix. The rows of the matrix represent different equipment failure cases, and the columns represent various attribute evaluation indicators. Fill in the attribute evaluation indicator values ​​corresponding to each case in the matrix. For each attribute evaluation index, the Z-score normalization method is used to normalize and convert it into a relative value; Determine the weight of each evaluation indicator and calculate the comprehensive score and comprehensive distance of each equipment failure case; The equipment failure cases are sorted in reverse order according to the comprehensive scores.