Construction method and device of manufacturing industry equipment knowledge graph
Manufacturing equipment data is collected and processed through the Heritrix crawler framework to form a complete knowledge graph, which solves the problem of poor data systematization caused by manual collection in the existing technology and achieves stronger systematization and data integrity.
Patent Information
- Application Number
- CN202410442472.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-08-30
AI Technical Summary
The existing manufacturing equipment knowledge graph mainly relies on manual collection and organization, resulting in large data scale but poor systematicity, loose content, and inconvenience to use.
The Heritrix crawler framework is used to collect manufacturing equipment data, classified into structured, semi-structured and unstructured data. Entity links are generated through extraction, conversion and cleaning, merged into a new database, and quality assessed to form a complete manufacturing industry Device knowledge graph.
It has realized a more systematic and complete manufacturing equipment knowledge map, improved the accuracy and scalability of data, and simplified the data management and use process.
Smart Images

Figure CN118568268A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of manufacturing technology, and specifically to a method and device for constructing a knowledge graph of manufacturing equipment. Background Art
[0002] Manufacturing refers to the industry in the mechanical industrial era that utilizes certain resources (materials, energy, equipment, tools, funds, technology, information and manpower, etc.) to transform them into large-scale tools, industrial products and consumer products that can be used and utilized by people through the manufacturing process in accordance with market requirements.
[0003] Knowledge graphs are mainly used to describe various entities and concepts that exist in the real world, as well as the relationships between them. Each entity or concept is identified by a globally unique ID, called their identifier. Each "attribute-value" is used to characterize the intrinsic characteristics of the entity, while the relationship is used to connect two entities and characterize the relationship between them. The knowledge graph can be viewed as a huge graph, in which the nodes represent entities or concepts, and the edges are composed of attributes or relationships.
[0004] The existing knowledge graphs for manufacturing equipment are still mostly manually collected, organized and edited documents. Although the data scale is large, the systematicness is poor and the content is loose, which makes it very inconvenient to use. Therefore, a method and device for constructing a knowledge graph for manufacturing equipment are proposed to solve the above problems. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the shortcomings of the prior art, the present invention provides a method and device for constructing a knowledge graph of manufacturing equipment, which has the advantages of stronger systematicity and more complete graph. It solves the problem that the existing knowledge graph of manufacturing equipment is still mostly manually collected, collated and edited documents, and although the data scale is large, the systematicity is poor and the content is loose, which makes it very inconvenient to use.
[0007] (II) Technical solution
[0008] In order to achieve the above-mentioned purpose of having a stronger system and a more complete graph, the present invention provides the following technical solution: a method for constructing a knowledge graph of manufacturing equipment, characterized in that: it includes the following steps;
[0009] Step 1: First, use the Heritrix crawler framework to collect manufacturing equipment data;
[0010] Step 2: Store the third-party original database separately and classify the data in step 1;
[0011] Step 3: Classify the collected data into structured data, semi-structured data and unstructured data according to type;
[0012] Step 4: merging the structured data in step 3 with the third-party original database in step 2, supplementing the third-party original database, and generating the new database;
[0013] Step 5: Extract, transform and clean the semi-structured data and unstructured data in step 3 to generate entity links, and merge them with the new database in step 4 to supplement the new database;
[0014] Step 6: Perform quality assessment on the new database to ultimately form the manufacturing equipment knowledge graph.
[0015] Preferably, the Heritrix crawler framework is composed of a core module and a plug-in module. The start and stop of data crawling are controlled by the core module, and specific crawling logic is set by the plug-in module.
[0016] Preferably, the content captured by the plug-in module is content related to manufacturing equipment, and the processing of the unstructured data includes reference resolution and entity disambiguation.
[0017] Preferably, the structured data is data represented in a certain format such as a table or a database, and can usually be used directly to construct a knowledge graph.
[0018] Preferably, the unstructured data is text, audio, video, and picture, etc., which require information extraction to further build a knowledge graph. The semi-structured data is a type of data between structured and unstructured, and also requires information extraction to build a knowledge graph.
[0019] Preferably, the semi-structured data extraction also includes device entity recognition, relationship extraction and attribute extraction.
[0020] Preferably, the manufacturing equipment knowledge graph includes upstream raw material supply, industry category, equipment name and downstream application field.
[0021] A device for constructing a knowledge graph of manufacturing equipment, comprising:
[0022] The core control module is used to control each module in the device and issue instructions to enable each module to respond quickly;
[0023] An ontology construction module is used to construct a device knowledge graph using an ontology construction tool to form a knowledge graph model layer;
[0024] The data acquisition module is used to acquire manufacturing equipment data, extract equipment entities, attributes, and relationships between entities, and build a knowledge graph data layer;
[0025] A storage module is used to combine the knowledge graph model layer and the knowledge graph data layer to generate a manufacturing equipment knowledge graph and store it in a database;
[0026] The data processing module is used to use the knowledge representation model to infer the new knowledge in the tool to build the equipment knowledge graph and add it to the manufacturing equipment knowledge graph.
[0027] (III) Beneficial effects
[0028] Compared with the prior art, the present invention provides a method and device for constructing a knowledge graph of manufacturing equipment, which has the following beneficial effects:
[0029] 1. The method and device for constructing the manufacturing equipment knowledge graph obtain network resources by setting up the Heritrix crawler framework, and realize multi-threaded network information acquisition through the BKDRHash crawler queue generation algorithm. On this basis, for the acquisition of entity information in unstructured text data, this paper uses the random field model for entity recognition, and improves the extraction accuracy by integrating the domain entity name features. The Heritrix crawler system can obtain a complete and accurate deep copy of the site content, has strong scalability, and allows developers to arbitrarily select or expand each component to implement specific crawling logic. The crawled data is divided into structured data, semi-structured data and unstructured data according to type. Structured data is directly merged, and semi-structured data and unstructured data are separated by reference resolution and entity disambiguation to form entity links, which are convenient for incorporation into the database, so as to achieve the purpose of knowledge fusion and database expansion, and the quality of the newly added database is evaluated to generate a new manufacturing equipment knowledge graph.
[0030] 2. The manufacturing equipment knowledge graph construction device is used to construct the equipment knowledge graph using the ontology construction tool through the ontology construction module to form a knowledge graph model layer;
[0031] The data acquisition module is used to obtain manufacturing equipment data, extract equipment entities, attributes and relationships between entities, and build a knowledge graph data layer. The storage module is used to combine the knowledge graph model layer and the knowledge graph data layer to generate a manufacturing equipment knowledge graph and store it in the database. The data processing module is used to use the knowledge representation model to infer tools to build new knowledge in the equipment knowledge graph and add it to the manufacturing equipment knowledge graph. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 Schematic diagram of a method for constructing a device knowledge graph of the present invention;
[0033] Figure 2 It is a schematic diagram of the local device knowledge graph of the present invention;
[0034] Figure 3 Schematic diagram of a device for constructing a knowledge graph of the device of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] See also Figure 1-3 ,A method for constructing a knowledge graph of manufacturing equipment, characterized by comprising the following steps;
[0037] Step 1: First, use the Heritrix crawler framework to collect manufacturing equipment data;
[0038] Step 2: Store the third-party original database separately and classify the data in step 1;
[0039] Step 3: Classify the collected data into structured data, semi-structured data and unstructured data according to type;
[0040] Step 4: Merge the structured data in step 3 with the third-party original database in step 2, supplement the third-party original database, and generate a new database;
[0041] Step 5: Extract, transform and clean the semi-structured data and unstructured data in step 3 to generate entity links, and merge them with the new database in step 4 to supplement the new database;
[0042] Step 6: Conduct quality assessment on the new database and eventually form a knowledge graph of manufacturing equipment.
[0043] exist Figure 1 and Figure 2 In the Heritrix crawler framework, it is composed of a core module and a plug-in module. The core module controls the start and stop of data crawling, and the plug-in module sets the specific crawling logic.
[0044] In this embodiment, the Heritrix crawler framework is set to obtain network resources, and the BKDRHash crawler queue generation algorithm is used to realize multi-threaded network information acquisition. On this basis, for the acquisition of entity information in unstructured text data, this article uses a random field model for entity recognition, and improves the extraction accuracy by integrating domain entity name features. The Heritrix crawler system can obtain a complete and accurate deep copy of the site content, has strong scalability, and allows developers to arbitrarily select or expand various components to implement specific crawling logic.
[0045] exist Figure 1 and Figure 2 In the example, the plug-in module captures content related to manufacturing equipment, and the processing of unstructured data includes reference resolution and entity disambiguation.
[0046] exist Figure 1 and Figure 2 In the data structured data refers to data represented in a certain format such as tables and databases, which can usually be used directly to build knowledge graphs.
[0047] In this embodiment, structured data can be directly incorporated into the original database to achieve the purpose of data fusion. During the data fusion process, the data is sorted according to a certain arrangement logic, such as time, device similarity, etc.
[0048] exist Figure 1 and Figure 2 In the data, unstructured data includes text, audio, video, and pictures, etc., which need information extraction to further build a knowledge graph. Semi-structured data is a type of data between structured and unstructured, and also needs information extraction to build a knowledge graph.
[0049] In this embodiment, unstructured texts may be converted, trimmed, and the like to eliminate ambiguity and ensure data consistency, and then incorporated into the database to ensure the uniformity of the database.
[0050] exist Figure 1 and Figure 2 In , semi-structured data extraction also includes device entity recognition, relationship extraction and attribute extraction.
[0051] In this embodiment, knowledge fusion is required in the process of converting unstructured text into structured text. Its main tasks include entity disambiguation and coreference resolution, which are used to determine whether entities with the same name in the knowledge base represent the same meaning and whether there are other entities that also represent the same meaning. Entity disambiguation is specifically used to solve the problem of ambiguity of entities with the same name, and usually uses clustering, space vector models, semantic models, etc. Coreference resolution is to avoid the situation where pronouns are unclear. In the process of building the graph, predicate logic representation, frame representation, semantic network-based representation or semantic network-based representation can be used.
[0052] exist Figure 1 and Figure 2 In the manufacturing equipment knowledge graph, the knowledge graph includes upstream raw material supply, industry category, equipment name and downstream application field.
[0053] exist Figure 3 A device for constructing a knowledge graph of manufacturing equipment includes: an ontology construction module, which is used to construct an equipment knowledge graph using an ontology construction tool to form a knowledge graph pattern layer; a data acquisition module, which is used to obtain manufacturing equipment data, extract equipment entities, attributes and relationships between entities, and construct a knowledge graph data layer; a storage module, which is used to combine the knowledge graph pattern layer and the knowledge graph data layer to generate a manufacturing equipment knowledge graph and store it in a database; a data processing module, which is used to use a knowledge representation model to infer new knowledge in the equipment knowledge graph constructed by the tool and add it to the manufacturing equipment knowledge graph.
[0054] In summary, the method and device for constructing the manufacturing equipment knowledge graph obtain network resources by setting up the Heritrix crawler framework, and realize multi-threaded network information acquisition through the BKDRHash crawler queue generation algorithm. On this basis, for the acquisition of entity information in unstructured text data, this paper uses the random field model for entity recognition, and improves the extraction accuracy by integrating the domain entity name features. The Heritrix crawler system can obtain a complete and accurate deep copy of the site content, has strong scalability, and allows developers to arbitrarily select or expand each component to implement specific crawling logic. The crawled data is divided into structured data, semi-structured data and unstructured data according to type. Structured data is directly merged, and semi-structured data and unstructured data are formed by reference resolution and entity disambiguation, so as to form entity links, which are convenient for incorporation into the database, so as to achieve the purpose of knowledge fusion and database expansion, and the quality of the newly added database is evaluated to generate a new manufacturing equipment knowledge graph.
[0055] Moreover, when using it, first use the Heritrix crawler framework to collect manufacturing equipment data, then store the third-party original database separately, and classify the data in step one, and divide the collected data into structured data, semi-structured data and unstructured data according to type, merge the structured data with the third-party original database, supplement the third-party original database, generate a new database, extract, transform and clean the semi-structured data and unstructured data to generate entity links, merge them with the new database, supplement the new database, and conduct quality assessment on the new database to finally form a knowledge graph of manufacturing equipment.
[0056] It should be noted that, in this article, relational terms such as first and second, etc. 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.
[0057] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for constructing a knowledge graph of manufacturing equipment, characterized by: The method comprises the following steps: Step 1: First, use the Heritrix crawler framework to collect manufacturing equipment data; Step 2: Store the third-party original database separately and classify the data in step 1; Step 3: Classify the collected data into structured data, semi-structured data and unstructured data according to type; Step 4: merging the structured data in step 3 with the third-party original database in step 2, supplementing the third-party original database, and generating the new database; Step 5: Extract, transform and clean the semi-structured data and unstructured data in step 3 to generate entity links, and merge them with the new database in step 4 to supplement the new database; Step 6: Perform quality assessment on the new database to ultimately form the manufacturing equipment knowledge graph.
2. The method for constructing a manufacturing equipment knowledge graph according to claim 1, characterized in that: The Heritrix crawler framework is composed of a core module and a plug-in module. The core module controls the start and stop of data crawling, and the plug-in module sets a specific crawling logic.
3. The method for constructing a manufacturing equipment knowledge graph according to claim 3 is characterized by: The content captured by the plug-in module is content related to manufacturing equipment, and the processing of the unstructured data includes reference resolution and entity disambiguation.
4. The method for constructing a manufacturing equipment knowledge graph according to claim 1 is characterized in that: The structured data refers to data represented in a certain format such as tables and databases, and can usually be used directly to construct a knowledge graph.
5. The method for constructing a manufacturing equipment knowledge graph according to claim 1 is characterized by: The unstructured data includes text, audio, video, and pictures, etc., which require information extraction to further build a knowledge graph. The semi-structured data is a type of data between structured and unstructured, and also requires information extraction to build a knowledge graph.
6. The method for constructing a manufacturing equipment knowledge graph according to claim 1, characterized in that: The semi-structured data extraction also includes device entity recognition, relationship extraction and attribute extraction.
7. The method for constructing a manufacturing equipment knowledge graph according to claim 1 is characterized by: The manufacturing equipment knowledge graph includes upstream raw material supply, industry categories, equipment names and downstream application areas.
8. A device for constructing a knowledge graph of manufacturing equipment, characterized in that: include: The core control module is used to control each module in the device and issue instructions to enable each module to respond quickly; An ontology construction module is used to construct a device knowledge graph using an ontology construction tool to form a knowledge graph model layer; The data acquisition module is used to acquire manufacturing equipment data, extract equipment entities, attributes, and relationships between entities, and build a knowledge graph data layer; A storage module is used to combine the knowledge graph model layer and the knowledge graph data layer to generate a manufacturing equipment knowledge graph and store it in a database; The data processing module is used to use the knowledge representation model to infer the new knowledge in the tool to build the equipment knowledge graph and add it to the manufacturing equipment knowledge graph.
