Steelmaking equipment fault knowledge base construction method based on knowledge extraction

By constructing a knowledge base for steelmaking equipment faults based on knowledge extraction methods, the problem of limited knowledge base size in steelmaking technology is solved, the automatic construction of meaningful knowledge triples extracted from unstructured data is realized, and the process is improved. Knowledge management and reuse capabilities provide effective solutions for enterprise intelligent upgrades.

CN118586487APending Publication Date: 2024-09-03NANJING IRON & STEEL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410653199.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In existing steelmaking technology, the construction method of steelmaking equipment failure knowledge base relies on domain experts, resulting in a limited scale of knowledge base and the inability to effectively share and reuse process knowledge in massive unstructured data.

Method used

A method based on knowledge extraction is adopted to preprocess the steelmaking equipment fault text data by obtaining it. The entity extraction model and the relationship extraction model are used to form domain semantic network data, and the data is stored in a graph database to build a steelmaking equipment fault knowledge base. Specific steps include removing irrelevant data, converting it into a standard text format, using the IDCNN-BiLSTM-CRF model to extract entities and relationships, and finally storing the data in the Neo4j graph database.

Benefits of technology

It realizes the automatic construction of knowledge management application systems from unstructured data, enhances the discovery and connection of data information, improves the management and reuse rate of process knowledge, and provides solutions for enterprise intelligent upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586487A
    Figure CN118586487A
Patent Text Reader

Abstract

The invention discloses a steelmaking equipment fault knowledge base construction method and system based on knowledge extraction, and relates to the technical field of steelmaking, and the method comprises the steps: obtaining steelmaking equipment fault text data; preprocessing the steelmaking equipment fault text data to obtain a target text; domain entities in the target text are determined through an entity extraction model, the relation between the domain entities is determined through a relation extraction model, and domain semantic network data are formed through knowledge processing; and storing the domain semantic network data in a graph database to form a steelmaking equipment fault knowledge base. According to the method, knowledge triples with practical significance are extracted from unstructured fault record data by virtue of a deep learning technology, and a knowledge management application system is constructed, so that automatic construction from data acquisition to knowledge application is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of steelmaking, and in particular to a method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction. Background Art

[0002] There is a huge amount of unstructured data in the steelmaking field, such as fault cases, equipment files, and work logs, which contain extremely important steelmaking process knowledge. However, in actual production, due to problems with data sources and content formats, historical data, production knowledge, and structured data stored in the workshop cannot be effectively shared and reused. The data is used multiple times or even has a low secondary use rate. Process knowledge management and reuse has become a major problem for enterprise intelligent upgrades.

[0003] Patent (CN101957942A, an accident plan expert system applied to steel mills) designs an expert system for predicting accident cases in steel mills. It collects relevant professional knowledge through existing databases and domain expert experience, and then uses reasoning rules and interpretation programs to provide solutions and technical specifications for actual faults in production, thereby improving the speed of processing production faults. Patent (CN113408642A, fault trigger matching method, system and medium based on knowledge base expert rules) discloses a knowledge base matching method that can be used to determine the response to equipment faults. The target expert rule corresponding indicators and rule trigger conditions are used as a set of fault response trigger conditions to check whether the real indicator data meets the prediction requirements for triggering the equipment fault response. After meeting the rule requirements, the rule response is triggered. The use of the present invention can avoid the problem of false touch of a single monitoring point and improve the accuracy of equipment fault response. The patent (CN111060337B, a real-time fault diagnosis method for operating equipment based on expert system) obtains the characteristic matrix of the operating equipment through mathematical statistical analysis and calculation, and compares it with the characteristic matrix in the expert knowledge base. The fault type is judged according to the comparison result. It can detect and judge the working status of the operating equipment more conveniently and capture small signs that are difficult to find in time.

[0004] The above literature has carried out a specific analysis on equipment fault diagnosis and reasoning, and proposed corresponding solutions to specific problems. However, the knowledge base construction method of the above solutions relies heavily on domain experts, and the scale of the knowledge base is therefore greatly limited. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] A method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction, comprising:

[0008] Obtain steelmaking equipment failure text data;

[0009] Preprocessing the steelmaking equipment fault text data to obtain a target text;

[0010] Determine the domain entities in the target text through an entity extraction model, determine the relationships between the domain entities through a relationship extraction model, and form domain semantic network data through knowledge processing;

[0011] The domain semantic network data is stored in a graph database to form a steelmaking equipment fault knowledge base.

[0012] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction described in the present invention, wherein: the steelmaking equipment fault text data includes a work log and an equipment fault information record table.

[0013] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to the present invention, wherein: the steelmaking equipment fault text data is preprocessed to obtain the target text including:

[0014] Removing irrelevant data from the steelmaking equipment fault text data;

[0015] The steel-making equipment fault text data is converted into a standard text format acceptable to the model.

[0016] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction described in the present invention, the entity extraction model includes an IDCNN layer, a BiLSTM layer and a CRF layer.

[0017] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to the present invention, the calculation formula of the IDCNN layer is as follows:

[0018]

[0019]

[0020]

[0021]

[0022] Among them, Z l+1 and Z lrepresents the convolution input feature map and output feature map, w is the convolution kernel function, b is the convolution bias, k is the number of feature map channels, f, s0 and p are the convolution kernel size, convolution step size and number of padding layers respectively.

[0023] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to the present invention, wherein: the BiLSTM layer includes an input gate, a forget gate and an output gate;

[0024] The forget gate is used to accept the input x at the current moment t and the output h at the previous moment t-1 , determines the degree of forgetting content, the forget gate f t The calculation formula is as follows:

[0025] The input gate is used to accept the input x at the current moment t and the output h at the previous moment t-1 , determines the degree of retention of content and updates the cell state. The calculation formula of the input gate is as follows:

[0026] in, is the current cell state, C t is the updated cell state;

[0027] The output gate is used to calculate the output content of the current state and the final output value after updating the cell state in combination with the input gate. The calculation formula of the output gate is as follows:

[0028]

[0029] As a preferred solution of the method for constructing a knowledge base of steelmaking equipment faults based on knowledge extraction of the present invention, the model of the CRF layer randomly outputs variable Y under a known random variable X, and the conditional probability model P(Y|X) satisfies the Markov property, that is:

[0030]

[0031] in, represents all nodes in the undirected graph that are connected to node v by edges, w≠v represents all nodes except node v, and Y v ,Y u ,Y w Represents the random variables corresponding to nodes v,u,w;

[0032] Given an input sequence X of length T = {X1, X2, X3, …, X T}, the corresponding annotation sequence is Y={Y1,Y2,Y3,…,YT}, and for the linear chain conditional random field, the conditional profile distribution P(Y|X):

[0033] P(Y i |X,Y i ,Y2,…,Y i-1 ,Y i+1 ,…,Y T )=P(Y i |X,Y i-1 ,Y i+1 ), i = 1, 2, ..., T;

[0034]

[0035] in, f k (t,Y t ,Y t-1 ,X) means the current input sequence position is t, the input is X, the current position is marked and the previous position is marked as Y t and Y t-1 The kth eigenvalue when k represents the corresponding feature weight, and Z(X) represents the normalization factor.

[0036] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to the present invention, wherein: the relationship extraction model includes an IDCNN layer and a BiLSTM layer;

[0037] The IDCNN layer is used to mine the dependencies in the text, and the BiLSTM layer is used to integrate the text information and extract the final cell state C t As the compression vector of the text, the compressed vector is finally input into Softmax for judgment to obtain the probability that the relationship between the two entities belongs to various entity relationships;

[0038] The Softmax formula is as follows:

[0039] Where D i represents the output value of the i-th node, C represents the number of output nodes, that is, the number of softmax classifications. Compress the C-dimensional real vector to a C-dimensional real vector with each component ranging from 0 to 1, and all components add up to 1.

[0040] As a preferred solution of the method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction described in the present invention, wherein: the graph database is specifically a Neo4j graph database.

[0041] The present invention also provides a steelmaking equipment fault knowledge base construction system based on knowledge extraction, comprising:

[0042] The first module is used to obtain steelmaking equipment fault text data;

[0043] The second module is used to pre-process the steelmaking equipment fault text data to obtain a target text;

[0044] The third module is used to determine the domain entities in the target text through an entity extraction model, determine the relationship between the domain entities through a relationship extraction model, and form domain semantic network data through knowledge processing;

[0045] The fourth module is used to store the domain semantic network data into a graph database to form a steelmaking equipment fault knowledge base.

[0046] The beneficial effects of the present invention are:

[0047] Aiming at the problem of multiple use or even low secondary use rate of workshop production data, the present invention uses deep learning technology to extract knowledge triples with practical significance from unstructured fault record data and build a knowledge management application system, thus realizing the automated construction from data collection to knowledge application. By fully exploring data information and enhancing data connections, it is beneficial to process knowledge management and reuse, providing a good solution for enterprise intelligent upgrades. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0049] Figure 1 A schematic flow chart of a method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction provided by the present invention;

[0050] Figure 2 An entity recognition framework diagram in the method for building a steelmaking equipment fault knowledge base based on knowledge extraction provided by the present invention;

[0051] Figure 3 The equipment failure semantic network diagram in the method for building a steelmaking equipment failure knowledge base based on knowledge extraction provided by the present invention;

[0052] Figure 4 Schematic diagram of the system for building a knowledge base for steelmaking equipment failures based on knowledge extraction. DETAILED DESCRIPTION

[0053] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific implementation modes and in combination with the accompanying drawings.

[0054] Figure 1 A flow chart of a method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction provided in an embodiment of the present application. The method specifically comprises the following steps:

[0055] Step S101: Acquire steelmaking equipment fault text data.

[0056] Specifically, in this embodiment, the steelmaking equipment fault text data used mainly comes from the workshop work log and the equipment fault information record table.

[0057] Step S102: pre-processing the steelmaking equipment fault text data to obtain a target text.

[0058] Specifically, when preprocessing the steelmaking equipment failure text data, it is first necessary to remove irrelevant data in the steelmaking equipment failure text data, which includes non-text information such as tables and pictures. Then it is necessary to adjust the sentence length in the steelmaking equipment failure text data and set each sentence to end with a period to form a standard text format acceptable to the model, which is convenient for subsequent process processing.

[0059] Step S103: determining the domain entities in the target text through an entity extraction model, determining the relationships between the domain entities through a relationship extraction model, and forming domain semantic network data through knowledge processing.

[0060] Specifically, first, regarding the entity extraction model, the entity extraction model in this embodiment is IDCNN-BiLSTM-CRF, and each module is specifically introduced as follows:

[0061] Among them, the IDCNN layer mainly mines the association information between text vectors through convolution, activation and pooling operations. It is an improved model of CNN. The calculation formula is as follows:

[0062]

[0063]

[0064]

[0065]

[0066] In the formula, Z l+1 and Z l represents the convolution input feature map and output feature map, w is the convolution kernel function, b is the convolution bias, k is the number of feature map channels, f, s0 and p are the convolution kernel size, convolution step size and number of padding layers respectively.

[0067] Different from the IDCNN layer, the BiLSTM layer mainly captures the contextual dependency information of the text through temporal recurrent convolution, and avoids the gradient vanishing or gradient exploding problems of the traditional RNN through the input gate, forget gate, and output gate.

[0068] Among them, the forget gate accepts the input x at the current moment t and the output h at the previous moment t-1 , determines the extent of forgetting content:

[0069] The input gate accepts the input x at the current moment t and the output h at the previous moment t-1 , decide the extent to which the content should be retained and update the cell state: in, is the current cell state, C t is the updated cell state;

[0070] Output Gate O t Responsible for calculating the final output, including determining the output content of the current state and the final output value after updating the cell state in combination with the input gate: h t =O t ×tanh(C t ).

[0071] The CRF layer adjusts the illegal labeling results through constraints to obtain reasonable recognition results. The CRF model randomly outputs variable Y under the known random variable X, and the conditional probability model P(Y|X) satisfies the Markov property:

[0072] Given an input sequence X of length T = {X1, X2, X3, …, X T}, the corresponding annotation sequence is Y={Y1,Y2,Y3,…,Y T}, and for the linear chain conditional random field, the conditional profile distribution P(Y|X):

[0073] P(Y i |X,Y i ,Y2,…,Y i-1 ,Y i+1 ,…,Y T )=P(Y i |X,Y i-1 ,Y i+1 ), i = 1, 2, ..., T;

[0074]

[0075]

[0076] Among them, f k (t,Y t ,Y t-1 ,X) means the current input sequence position is t, the input is X, the current position is marked and the previous position is marked as Y t and Y t-1 The kth eigenvalue when k represents the corresponding feature weight, and Z(X) represents the normalization factor.

[0077] Regarding the relationship extraction model, the relationship extraction model involved in this section is IDCNN-BiLSTM, which is roughly similar to the principle of the above entity extraction model. First, IDCNN is used to fully mine the dependency relationship in the text, and then BiLSTM is used to integrate the text information, and then the final cell state C is extracted. t As the compressed vector of the text, the compressed vector is finally input into Softmax for judgment to obtain the probability that the relationship between the two entities belongs to various entity relationships.

[0078] After obtaining knowledge triples through relationship extraction, redundant and erroneous knowledge triples are removed through knowledge processing operations such as manual verification, entity disambiguation, and coreference negativity to form high-quality domain knowledge for the next step of application.

[0079] It should be noted that after the model is built, the data content is divided into a training set and a test set in a 7:3 ratio, and the model is trained. The hyperparameters are adjusted according to the experimental results of the model to achieve the optimal state of entity relationship extraction.

[0080] Step S104: storing the domain semantic network data in a graph database to form a steelmaking equipment fault knowledge base.

[0081] Specifically, the domain knowledge is stored in the graph database and the equipment fault query system is constructed according to the knowledge content. Specifically, the domain knowledge is stored in the Neo4j graph database, and a steelmaking equipment fault query system is constructed based on Neo4j, Flask, JavaScript, HTML and other technologies to provide technical support for steelmaking equipment fault information query and decision assistance and other functions.

[0082] The following is explained in conjunction with specific embodiments:

[0083] Example 1

[0084] The method provides a method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction.

[0085] The steelmaking equipment failure text data used mainly comes from the workshop work log and equipment failure information record table, specifically the equipment failure text cases of a steelmaking workshop in the past ten years. Remove non-text information such as tables and pictures, and convert the text format to form a standard form acceptable to the model. According to the entity extraction model, the domain entity is extracted, and finally ten specific entity types such as fault department, fault time, related equipment, fault level, fault number, fault representation, cause attribution, fault impact, fault duration, and fault type are determined. In addition, seven entity relationships such as occurrence time, department, type, level, fault location, final impact, and inducing cause are determined based on the entity content.

[0086] After entity extraction and relationship extraction, nearly 6,600 triples of steelmaking equipment knowledge were obtained. After manual verification, entity disambiguation, coreference resolution and other knowledge processing operations, redundant and erroneous information was removed to form a high-quality knowledge semantic network.

[0087] See also Figure 4 , the embodiment of the present application also provides a steelmaking equipment fault knowledge base construction system based on knowledge extraction, the system includes: a first module, a second module, a third module, and a fourth module. Among them, the first module is used to obtain steelmaking equipment fault text data. The second module is used to preprocess the steelmaking equipment fault text data to obtain a target text. The third module is used to determine the domain entities in the target text through an entity extraction model, determine the relationship between the domain entities through a relationship extraction model, and form domain semantic network data through knowledge processing. The fourth module is used to store the domain semantic network data in a graph database to form a steelmaking equipment fault knowledge base.

[0088] Therefore, the technical solution of this application aims at the problem of multiple use or even low secondary use rate of workshop production data. By using deep learning technology, knowledge triples with practical significance are extracted from unstructured fault record data and a knowledge management application system is constructed, realizing the automated construction from data collection to knowledge application. By fully exploring data information and enhancing data connections, it is conducive to process knowledge management and reuse, providing a good solution for enterprise intelligent upgrades.

[0089] In addition to the above embodiments, the present invention may also have other implementation modes; any technical solutions formed by equivalent replacement or equivalent transformation shall fall within the protection scope required by the present invention.

Claims

1. A method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction, Features: include: Obtain steelmaking equipment failure text data; Preprocessing the steelmaking equipment fault text data to obtain a target text; Determine the domain entities in the target text through an entity extraction model, determine the relationships between the domain entities through a relationship extraction model, and form domain semantic network data through knowledge processing; The domain semantic network data is stored in a graph database to form a steelmaking equipment fault knowledge base.

2. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 1, Features: The steelmaking equipment failure text data includes a work log and an equipment failure information record table.

3. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 1, Features: The steelmaking equipment fault text data is preprocessed to obtain the target text including: Removing irrelevant data from the steelmaking equipment fault text data; The steel-making equipment fault text data is converted into a standard text format acceptable to the model.

4. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 1, Features: The entity extraction model includes an IDCNN layer, a BiLSTM layer and a CRF layer.

5. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 4, Features: The calculation formula of the IDCNN layer is as follows: ; in, and represents the convolution input feature map and output feature map, is the convolution kernel function, b is the convolution bias, k is the number of feature map channels, , and are the convolution kernel size, convolution step size, and number of padding layers, respectively.

6. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 5, Features: The BiLSTM layer includes an input gate, a forget gate and an output gate; The forget gate is used to accept the input at the current moment And the output of the previous moment , determines the degree of forgetting content, the forget gate The calculation formula is as follows: ; The input gate is used to accept the input at the current moment And the output of the previous moment , determines the degree of retention of content and updates the cell state. The calculation formula of the input gate is as follows: , ,in, is the current cell state, is the updated cell state; The output gate is used to calculate the output content of the current state and the final output value after updating the cell state in combination with the input gate. The calculation formula of the output gate is as follows: , 。 7. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 6, Features: The CRF layer models the known random variables Next, the random output variable , and the conditional probability model Satisfies the Markov property, that is: ; in, Represents the node in an undirected graph All nodes connected by edges, Indicates that the node All nodes except Representation Node The corresponding random variable; The given length is The input sequence The corresponding annotation sequence is , and for linear chain conditional random fields, the conditional profile distribution : ; ; in, , Indicates that the current input sequence position is , the input is , the current position and the previous position are marked as and The eigenvalues, represents the corresponding feature weight, Represents the normalization factor.

8. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 6, Features: The relationship extraction model includes an IDCNN layer and a BiLSTM layer; The IDCNN layer is used to mine dependencies in the text, and the BiLSTM layer is used to integrate text information and extract the final cell state. As the compression vector of the text, the compressed vector is finally input into Softmax for judgment to obtain the probability that the relationship between the two entities belongs to various entity relationships; The Softmax formula is as follows: ; in, Indicates The output value of each node, Indicates the number of output nodes, that is, the number of softmax classifications. Compress the C-dimensional real vector to a C-dimensional real vector with each component ranging from 0 to 1, and all components add up to 1.

9. The method for constructing a steelmaking equipment fault knowledge base based on knowledge extraction according to claim 1, Features: The graph database is specifically a Neo4j graph database.

10. A steelmaking equipment fault knowledge base construction system based on knowledge extraction, Features: include: The first module is used to obtain steelmaking equipment fault text data; The second module is used to pre-process the steelmaking equipment fault text data to obtain a target text; The third module is used to determine the domain entities in the target text through an entity extraction model, determine the relationship between the domain entities through a relationship extraction model, and form domain semantic network data through knowledge processing; The fourth module is used to store the domain semantic network data into a graph database to form a steelmaking equipment fault knowledge base.