A knowledge modeling method, system, electronic device and medium for knowledge graph

By parameterizing knowledge concepts and relationships layer by layer, a unified JSON format knowledge model is formed, which solves the problem of low efficiency in top-down knowledge modeling of manufacturing process knowledge graphs in the industrial field, and achieves efficient and automated knowledge graph construction and manufacturing.

CN116596068BActive Publication Date: 2024-10-01BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310443853.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-24
Publication Date
2024-10-01
Estimated Expiration
2043-04-24

AI Technical Summary

Technical Problem

Existing technologies have problems such as low efficiency, lack of standardization and automation in the knowledge modeling of manufacturing process knowledge graphs in the industrial field, resulting in the knowledge model being unable to respond quickly to changes in demand and affecting industrial manufacturing efficiency.

Method used

By clarifying the top-level framework CSF-D, designing the knowledge framework RPO-D, and constructing the knowledge model RnPnOn-Dn, the knowledge concepts are parameterized layer by layer to form a unified domain knowledge concept representation form, and finally converted into JSON format to realize knowledge modeling. Standardization and automation.

Benefits of technology

It improves the efficiency of knowledge modeling and knowledge graph construction, ensures the professionalism and integrity of the knowledge model, broadens the computability and reusability of the knowledge model in automated knowledge graph construction, and reduces the cost of domain knowledge fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116596068B_ABST
    Figure CN116596068B_ABST
Patent Text Reader

Abstract

The present invention proposes a knowledge modeling method, system, electronic device and medium of a knowledge graph, which relates to the field of knowledge modeling. First, the top-level framework is clarified. Secondly, based on the top-level framework, according to the diesel engine body machining process, a knowledge framework consisting of process requirements, process procedures, process objects, and domain data is designed, and the knowledge framework is parameterized; then, a knowledge model is constructed, and based on the knowledge framework, a knowledge model of the diesel engine body machining process knowledge graph is constructed, and the knowledge model is parameterized; a diesel engine body machining process knowledge graph is constructed according to the parameterized knowledge model to manufacture diesel engines. The present invention improves the efficiency of knowledge modeling and further improves the efficiency of constructing knowledge graphs, thereby enabling efficient manufacturing of diesel engines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of knowledge modeling, and in particular to a knowledge modeling method, system, electronic device and medium for a knowledge graph. Background Art

[0002] Knowledge modeling is the basis for building a knowledge graph. There are generally two ways to build knowledge graphs: top-down and bottom-up. The top-down method means that when building a knowledge graph, the data model, i.e., the ontology, is first defined, which is generally compiled manually by domain experts. The definition starts from the top-level concept, and then gradually refines it to form a well-structured classification hierarchy. The bottom-up method is the opposite. First, the existing entities are summarized and organized to form the bottom-level concepts, and then gradually abstracted upwards to form the upper-level concepts.

[0003] For the knowledge modeling of manufacturing process knowledge graphs in industrial fields with complex knowledge sources, strong professionalism and heterogeneous data, the top-down approach is not efficient enough and requires manual participation of domain experts, but it can actually obtain better knowledge models or pattern layers; however, manual participation brings two difficulties to top-down knowledge modeling: standardization and automation: 1. From the perspective of standardization, the current knowledge modeling of manufacturing process knowledge graphs in industrial fields lacks a set of top-down standardized and reusable modeling methods. The knowledge models designed by different participants in the same field cannot reach a consensus and share within the field, which has led to the dilemma of high-input and low-return knowledge graphs in practical applications; 2. From the perspective of automation, the constructed knowledge model lacks computable and reusable parametric representation, which makes the knowledge model only stay at the graphical expression stage of knowledge modeling, and is not effectively associated with computer-automated knowledge extraction, knowledge fusion and other knowledge graph construction operations. When demand changes cause changes in the knowledge model, it is impossible to quickly respond to model changes to adjust the algorithm models of extraction and fusion technologies, which adds obstacles to the automated application of knowledge modeling in the knowledge graph technology system.

[0004] In summary, the current knowledge modeling method has the problem of low modeling efficiency due to manual participation, which reduces the efficiency of knowledge graph construction and further affects the efficiency of mechanical manufacturing in the industrial field. Summary of the invention

[0005] The purpose of the present invention is to provide a knowledge modeling method, system, electronic device and medium for a knowledge graph to improve the efficiency of constructing a knowledge graph.

[0006] To achieve the above object, the present invention provides the following solutions:

[0007] A knowledge modeling method for a knowledge graph, comprising:

[0008] Obtain the process requirements, process specifications, process objects and diesel engine field data of the diesel engine body machining process; the process requirements include development requirements and process indicators; the process specifications include machining process, inspection process, process specifications and process resources; the process objects include product models, component names and part names; the diesel engine field data includes body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary;

[0009] Building a top-level framework; the top-level framework includes demand concerns, standard specifications, reference frameworks and industrial data after establishing association relationships; the association relationships are constraint relationships, dependency relationships, reference relationships or link relationships;

[0010] The top-level framework is parameterized to obtain a parameterized top-level framework; the parameterized top-level framework includes a node array and a first relationship array; the node array includes a demand focus array "demand focus": [], a standard specification array "standard specification": [], a reference framework array "reference framework": [] and an industrial data array "industrial data": []; the first relationship array includes a first constraint relationship array, a first dependency relationship array, a first reference relationship array, a first link relationship array, a second link relationship array and a third link relationship array; the relationship array is expressed in the form of [{"label name": [], "start node": [], "end node": []}];

[0011] According to the top-level framework, a knowledge framework is constructed; the knowledge framework includes the process requirements, the process procedures, the process objects and the diesel engine field data after establishing association relationships; the process requirements correspond to the demand concerns; the process procedures correspond to the standard specifications; and the process objects correspond to the reference framework;

[0012] The process requirements, the process procedures, the process objects and the diesel engine domain data are parameterized and characterized according to the knowledge framework to obtain a parameterized knowledge framework; the parameterized knowledge framework includes a second node array and a second relationship array; the second node array includes a process requirement array "Requirement Focus": [{"Process Requirements": []}], a process procedure array "Standard Specifications": [{"Process Procedures": []}], a process object array "Reference Framework": [{"Process Objects": []}] and a diesel engine domain data array "Industrial Data": [{"Diesel Engine Domain Data": []}]; the second relationship array includes a second constraint relationship array, a second dependency relationship array, a second reference relationship array, a fourth link relationship array, a fifth link relationship array and a sixth link relationship array;

[0013] According to the knowledge framework, development requirements, process indicators, machining process, inspection process, process specifications, process resources, product models, component names, part names, engine body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary, a knowledge model of the diesel engine body machining process knowledge map is established;

[0014] The knowledge model is parameterized to obtain a parameterized knowledge model; the parameterized knowledge model includes a third node array and a third relationship array; the third node array includes a process requirement sub-array “demand focus”: [{“process requirement”: [{“development requirements”: []}, {“process indicators”: []}]}], a process procedure sub-array “standard specifications”: [{“process procedure”: [{“machining process”: []}, {“inspection process”: []}, {“process specifications”: []}, {“process resources”: []}]}], a process object sub-array “reference frame”: [{“process object”: [{“product model”: []}, {“component name”: []}, {“part name”: []}]}] and diesel engine field data subarray “industrial data”: [{“diesel engine field data”: [{“engine body process resources”: []}, {“process equipment list”: []}, {“process catalogue”: []}, {“process drawing”: []}, {“process card”: []}, {“NC process preparation card”: []}, {“NC process card”: []}, {“inspection card”: []}, {“3D machining process design requirements”: []}, {“diesel engine structure and process summary”: []}]}]; the third relation array includes a third constraint relation array, a third dependency relation array, a third reference relation array, a seventh link relation array, an eighth link relation array and a ninth link relation array;

[0015] Constructing the diesel engine body machining process knowledge graph according to the parameterized knowledge model;

[0016] The diesel engine is manufactured according to the diesel engine body machining process knowledge graph.

[0017] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0018] The present invention proposes a knowledge modeling method of a knowledge graph. First, the top-level framework is clarified. Secondly, based on the top-level framework, according to the diesel engine body machining process, a knowledge framework consisting of process requirements, process procedures, process objects, and domain data is designed, and the knowledge framework is parameterized. Then, a knowledge model is constructed. Based on the knowledge framework, a knowledge model of the diesel engine body machining process knowledge graph is constructed, and the knowledge model is parameterized. According to the parameterized knowledge model, a diesel engine body machining process knowledge graph is constructed to manufacture diesel engines. The present invention improves the efficiency of knowledge modeling and further improves the efficiency of constructing knowledge graphs, thereby enabling efficient manufacturing of diesel engines. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention 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 of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A flow chart of the knowledge modeling method of the knowledge graph provided by the present invention;

[0021] Figure 2 It is a flow chart of the knowledge modeling method of the knowledge graph in a specific application of the present invention;

[0022] Figure 3 This is the top-level framework diagram of the Industry 4.0 knowledge graph CSF-D of the present invention;

[0023] Figure 4 It is the knowledge framework diagram of the manufacturing process RPO-D of the present invention;

[0024] Figure 5 The diesel engine body machining process knowledge graph R of the present invention n P n O n -D n Knowledge model diagram. DETAILED DESCRIPTION

[0025] 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.

[0026] The purpose of the present invention is to provide a knowledge modeling method, system, electronic device and medium for a knowledge graph to improve the efficiency of constructing a knowledge graph.

[0027] The present invention defines the top-level framework CSF-D, focuses on the knowledge framework RPO-D, and constructs the knowledge model R n P n O n -D n The knowledge concepts of industrial manufacturing processes are gradually subdivided from top to bottom. At the same time, the knowledge concepts at each level are parameterized to form a unified representation of domain knowledge concepts. Finally, they are converted into JSON format to achieve the standardization of the knowledge modeling process and the parameterization of the representation, laying the foundation for the automation of knowledge modeling of industrial manufacturing process knowledge graphs.

[0028] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0029] like Figure 1 and Figure 2 As shown, the present invention provides a knowledge modeling method for a knowledge graph, comprising:

[0030] Step 101: Obtain process requirements, process procedures, process objects and diesel engine field data of diesel engine body machining process; the process requirements include development requirements and process indicators; the process procedures include machining process, inspection process, process specifications and process resources; the process objects include product model, component name and part name; the diesel engine field data includes body process resources, process equipment list, process catalog, process drawing, process card, CNC process preparation card, CNC process card, inspection card, three-dimensional machining process design requirements and diesel engine structure and process summary. In actual applications, the development requirements of diesel engines include production guidelines, production types, assembly line rhythm, etc.; the process indicators of diesel engines include processing efficiency, processing quality, etc.; the machining processes of diesel engines include manual processing and CNC processing; the inspection processes of diesel engines include appearance inspection, dimension inspection, etc.; the process specifications of diesel engines include positioning reference selection, process route planning, etc.; the process resources of diesel engines include tooling-related tools, auxiliary tools, measuring tools, fixtures, etc.; the diesel engine product model is VA001, which includes the engine body assembly, which specifically includes upper crankcase, main bearing studs and other parts.

[0031] Step 102: Build a top-level framework; the top-level framework includes demand concerns, standard specifications, reference framework and industrial data after establishing association relationships; the association relationships are constraint relationships, dependency relationships, reference relationships or link relationships.

[0032] In practical applications, the top-level framework is clarified. Starting from the top-level industrial field of the manufacturing process knowledge graph, the top-level framework of the Industry 4.0 knowledge graph CSF-D composed of demand concerns C (Concerns), standards S (Standards), reference frameworks F (Frameworks), and industrial data D (OpenData) is adopted for the relevant concepts in the industrial field, and the top-level framework is parameterized.

[0033] First, the relevant concepts in the industrial field are defined. Demand focus C represents the needs, motivations or problems in the field, such as project requirements, engineering goals, research problems and other fields; standard specifications S represents the standards, specifications, terminology and other fields in the field, such as national standards, industry specifications, professional terminology and other fields; reference framework F represents the architecture, hierarchy, classification and other fields in the field, such as system architecture, management hierarchy, product classification and other fields; industrial data D represents the resources and data related to CSF ​​in the field, such as open data sources, enterprise databases and other fields; then, the concepts are interconnected, and the association relationships including "constraint", "dependency", "reference" and "link" are established (see the start node and end node content in R-KGM1 = {"R-[CSF-D]"} for each relationship direction), and the top-level framework of the Industrial 4.0 knowledge graph CSF-D is obtained, as shown in Figure 3 shown.

[0034] Step 103: parameterize the top-level framework to obtain a parameterized top-level framework; the parameterized top-level framework includes a node array and a first relationship array; the relationship array is expressed in the form of [{"label name":[], "start node":[], "end node":[]}].

[0035] In practical applications, based on the CSF-D top-level framework, the industrial domain knowledge concepts are parameterized and represented as KGM1=[N-KGM1, R-KGM1], where N-KGM1 and R-KGM1 are two types of objects, namely {}.

[0036] Specifically, the demand concerns, standard specifications, reference framework and industrial data in the top-level framework are parameterized to obtain a node array N-KGM1, including: demand concern array "demand concerns": [], standard specification array "standard specifications": [], reference framework array "reference framework": [] and industrial data array "industrial data": [].

[0037] N-KGM1 (NodeKnowledgeGraphModel, node knowledge model) = {"C":[], "S":[], "F":[], "D":[]}, each concept in the framework is parameterized into an array, i.e., [], to store the subdivided node concepts.

[0038] Specifically, the association relationship between demand concerns, standard specifications, reference framework and industrial data in the top-level framework is parameterized to obtain a first relationship array R-KGM1.

[0039] The association between concepts is stored in the relationship object, and R-KGM1 (RelationshipKnowledgeGraphModel, relationship knowledge model) is obtained = {"R-[CSF-D]":[{"Label":["Constraint"],"Start":["F"],"End":["C"]},{"Label":["Dependency"],"Start":["F"],"End":["S"]},{"Label":["Reference"],"Start":["C"],"End":["S"]},{"Label":["Link"],"Sta rt":["F"],"End":["D"]},{"Label":["Link"],"Start":["C"],"End":["D"]},{"Label":["Link"],"Start":["S"],"End":["D"]}]}, parameterize the relationship between the concepts of the framework into an object consisting of three parts: "Label", "Start" and "End", which represent the label name, start node and end node of a certain association relationship respectively, and store them in a separate array "R-[CSF-D]" according to the framework classification, so that the computer can call it according to the framework name. The parameterized representation form of KGM1 is designed according to the JSON data specification, so that the top-level framework can be easily improved and reused by computer, and it also has the same meaning for other forms of parameter representation of top-level frameworks (KGM1, KGM2, KGM3, ..., KGM n ) provided a reference.

[0040] Step 104: Construct a knowledge framework based on the top-level framework; the knowledge framework includes the process requirements, the process procedures, the process objects and the diesel engine field data after establishing association relationships; the process requirements correspond to the demand concerns; the process procedures correspond to the standard specifications; the process objects correspond to the reference framework.

[0041] In practical applications, we focus on the knowledge framework, based on the top-level framework of the Industry 4.0 knowledge graph CSF-D, focus on the diesel engine body machining process, and design the manufacturing process RPO-D knowledge framework consisting of process requirements R (Requirements), process procedures P (Process), process objects O (Objects), and domain data D (DomainData). Among them, R represents business requirements and application scenarios related to the diesel engine body machining process; P represents process routes and process elements related to the diesel engine body machining process; O represents product categories and product structures related to the diesel engine body machining process; D represents process data and process resources related to the diesel engine body machining process, so that the concepts in the subdivided fields are interconnected, and association relationships including "constraints", "dependencies", "references" and "links" are established (for each relationship direction, refer to the start and end nodes in R-KGM1 = {"R-[RPO-D]"}), and the manufacturing process RPO-D knowledge framework is obtained, such as Figure 4 shown.

[0042] Step 105: parametrically characterize the process requirements, the process procedures, the process objects and the diesel engine domain data according to the knowledge framework to obtain a parametric knowledge framework; the parametric knowledge framework includes a second node array and a second relationship array.

[0043] In practical applications, for KGM1=[N-KGM1, R-KGM1], the node concepts of R, P, O, D are filled into N-KGM1 as sub-objects “{}” of C, S, F, D, and the parameterized representation is N-KGM1={“C”:[{“R”:[]}], “S”:[{“P”:[]}], “F”:[{“O”:[]}], “D”:[{“D”:[]}]}, representing the domain subdivision of the top-level framework nodes.

[0044] Specifically, the process requirements, the process procedures, the process objects and the diesel engine field data in the knowledge framework are parameterized to obtain the process requirements array "Requirement Focus": [{"Process Requirements": []}], the process procedure array "Standard Specifications": [{"Process Procedures": []}], the process object array "Reference Framework": [{"Process Objects": []}] and the diesel engine field data sub-array "Industrial Data": [{"Diesel Engine Field Data": []}].

[0045] At the same time, the association relationship between R, P, O, and D is added and stored in the corresponding framework category in R-KGM1, R-KGM1 = {"R-[RPO-D]":[{"Label":["Constraint"], "Start":["O"], "End":["R"]}, {"Label":["Dependency"], "Start":["O"], "End":["P"]}, {"Label":["Reference"], "Start":["R"], "End":["P"]}, {"Label":["Reference"], "Start":["R"], "End":["P"]}, ”:[“Link”],”Start”:[“O”],”End”:[“D”]},{“Label”:[“Link”],”Start”:[“R”],”End”:[“D”]},{“Label”:[“Link”],”Start”:[“P”],”End”:[“D”]}]}, are stored together with R-[CSF-D] in the same parameter R-KGM1, ensuring that the storage of relations is independent of each other in the framework without affecting the calling and recognition of extraction, fusion and other operation processes in the construction of the knowledge graph.

[0046] The relationship between the process requirements, the process procedures, the process objects and the diesel engine domain data in the knowledge framework is parameterized to obtain a second constraint relationship array [{"label name": [constraint], "start node": [process object], "end node": [process requirement]}], a second dependency relationship array [{"label name": [dependency], "start node": [process object], "end node": [process procedure]}], and a second reference relationship array [{"label name": [reference], "start node" :[process requirements], "end node":[process procedures]}], the fourth link relationship array [{"label name":[link], "start node":[process object], "end node":[diesel engine field data]}], the fifth link relationship array [{"label name":[link], "start node":[process requirements], "end node":[diesel engine field data]}] and the sixth link relationship array [{"label name":[link], "start node":[process procedures], "end node":[diesel engine field data]}].

[0047] Step 106: Establish a knowledge model of the diesel engine body machining process knowledge graph based on the knowledge framework, development requirements, process indicators, machining process, inspection process, process specifications, process resources, product models, component names, part names, engine body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary.

[0048] Step 107: parameterize the knowledge model to obtain a parameterized knowledge model; the parameterized knowledge model includes a third node array and a third relationship array.

[0049] In practical applications, a knowledge model is constructed. Combining the field-focused manufacturing process RPO-D knowledge framework, taking the diesel engine body machining process in the manufacturing process segmentation field as an example, a diesel engine body machining process knowledge graph R is constructed through knowledge concept modeling and knowledge relationship modeling. n P n O n -D n The knowledge model (also called the pattern layer) is constructed and the knowledge model is characterized by detailed parameters.

[0050] like Figure 5 As shown in Figure 1, knowledge concept modeling refers to summarizing and abstracting knowledge objects in a subdivided field to form a unified conceptual representation that can be interpreted in the field. This process can be assisted in knowledge concept modeling and parameterized representation through a knowledge node concept table, as shown in Table 1.

[0051] Table 1 Diesel engine body machining process knowledge node concept table

[0052]

[0053] Knowledge relationship modeling refers to summarizing and abstracting the relationships between knowledge objects in a subdivided field to form a unified relationship representation that can be interpreted in the field. This process can be assisted by a knowledge relationship concept table, as shown in Table 2, to perform knowledge relationship modeling and parameterized representation.

[0054] Table 2 Concept table of diesel engine body machining process knowledge relationship

[0055] Serial number Start tag Semantic Relationship End Tag 1 n: Development requirements r:Requirement n: process index 2 n: component name r:contains n: Part name 3 n: Part name r: Need n: process name 4 n: process name r: Previous step; Next step n: process name 5 n: Step content r: Previous step; Next step n: Step content

[0056] The parametric representation of knowledge concepts refers to adding sub-objects abstracted from subdivided fields {“Rn”:[{},…,{}]}, {“Pn”:[{},…,{}]}, {“On”:[{},…,{}]}, {“Dn”:[{},…,{}]} to the object corresponding to N-KGM1, and obtaining N-KGM1={“C”:[{“R”:[{“Rn”:[{},…,{}]}]}],”S”:[{“P”:[{“Pn”:[{},…,{}]}]}],”F”:[{“O”:[{“On”:[{},…,{}]}]}],”D”:[{“D”:[{“Dn”:[{},…,{}]}]}]}; similarly, the parametric representation of knowledge relations refers to adding the array R-[R n P n O n -D n], and the relationship between each knowledge concept is stored in the format of [{"Label":[],"Start":[],"End":[]},…,{"Label":[],"Start":[],"End":[]}].

[0057] Specifically, the development requirements, process indicators, machining processes, inspection processes, process specifications, process resources, product models, component names, part names, body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary in the knowledge model are parametrically characterized to obtain the process requirement subarray “demand focus”: [{“process requirements”: [{“development requirements”: []}, {“process indicators”: []}]}], the process procedure subarray “standard specifications”: [{“process procedures”: [{“machining process”: []}, {“inspection process”: []}, {“process specifications”: []}, { “Process resources”: []}]}], process object sub-array “reference frame”: [{“process object”: [{“product model”: []}, {“component name”: []}, {“part name”: []}]}] and diesel engine field data sub-array “industrial data”: [{“diesel engine field data”: [{“engine body process resources”: []}, {“process equipment list”: []}, {“process catalog”: []}, {“process drawing”: []}, {“process card”: []}, {“CNC process preparation card”: []}, {“CNC process card”: []}, {“inspection card”: []}, {“3D machining process design requirements”: []}, {“diesel engine structure and process summary”: []}]}].

[0058] The relationship between the development requirements, process indicators, machining processes, inspection processes, process specifications, process resources, product models, component names, part names, body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary in the knowledge model is parameterized to obtain a third constraint relationship array, a third dependency relationship array, a third reference relationship array, a seventh link relationship array, an eighth link relationship array and a ninth link relationship array.

[0059] Step 108: Construct the diesel engine body machining process knowledge graph according to the parameterized knowledge model.

[0060] Step 109: Manufacture the diesel engine according to the diesel engine body machining process knowledge graph.

[0061] As an optional implementation, the knowledge modeling method of the knowledge graph of the present invention further includes:

[0062] The formats of the parameterized top-level framework, the parameterized knowledge framework and the parameterized knowledge model are uniformly converted into JSON format.

[0063] In practical application summary, the model format is standardized, and the parametric representation content from the top-level framework to the knowledge framework and the knowledge model is transformed into the JSON data format, which is widely used and standardized in the computer field, to ensure the standardization of the knowledge modeling method of the present invention in the actual application process, and obtain a computer-readable and standardized industrial manufacturing process knowledge graph in JSON format. n P n O n -D n Knowledge model.

[0064] The objects and arrays of parameterized representations at all levels, including the top-level framework, knowledge framework, and knowledge model, are uniformly converted into standard reusable JSON format files. The above objects and arrays are processed through the python json library, which supports flexible reading and writing of JSON data. With the help of object and array indexes, the required content can be quickly obtained and the relevant content can be modified using a simple assignment "=" symbol. Finally, all content is stored as XX.json file according to the JSON format specification of the neo4j graph database.

[0065] In summary, the present invention proposes a knowledge modeling method for knowledge graphs. First, the top-level framework is clarified. Starting from the top-level industrial field of the manufacturing process knowledge graph, the top-level framework of the Industry 4.0 knowledge graph CSF-D composed of demand concerns C (Concerns), standards S (Standards), reference frameworks F (Frameworks), and industrial data D (OpenData) is adopted for the concepts related to the industrial field, and the top-level framework is parameterized and characterized; secondly, the knowledge framework is focused on. Based on the top-level framework of the Industry 4.0 knowledge graph CSF-D, the manufacturing process in the industrial field is focused on, and the manufacturing process RPO-D knowledge framework composed of process requirements R (Requirements), process procedures P (Process), process objects O (Objects), and domain data D (DomainData) is designed. The knowledge framework is further parameterized and represented. Then, a knowledge model is constructed. Combined with the domain-focused manufacturing process RPO-D knowledge framework, the diesel engine body machining process in the manufacturing process segment is taken as an example. Through knowledge concept modeling and knowledge relationship modeling, the diesel engine body machining process knowledge graph RnPnOn-Dn knowledge model (also called pattern layer) is constructed, and the knowledge model is characterized by detailed parameters. Finally, the model format is standardized, and the parametric representation content from the top-level framework to the knowledge framework and the knowledge model is transformed into the JSON data format, which is widely used and standardized in the computer field, to ensure the standardization of this knowledge modeling method in the actual application process, and obtain the computer-readable and standardized industrial field manufacturing process knowledge graph RnPnOn-Dn knowledge model in JSON format, which improves the efficiency of knowledge modeling.

[0066] Embodiment 2

[0067] In order to execute the method corresponding to the above embodiment 1 to achieve corresponding functions and technical effects, a knowledge modeling system of a knowledge graph is provided below, including:

[0068] The data acquisition module is used to obtain the process requirements, process procedures, process objects and diesel engine field data of the diesel engine body machining process; the process requirements include development requirements and process indicators; the process procedures include machining processes, inspection processes, process specifications and process resources; the process objects include product models, component names and part names; the diesel engine field data includes body process resources, process equipment lists, process catalogs, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary.

[0069] The first framework building module is used to build a top-level framework; the top-level framework includes demand concerns, standard specifications, reference framework and industrial data after establishing an associated relationship; the associated relationship is a constraint relationship, a dependency relationship, a reference relationship or a link relationship.

[0070] The first characterization module is used to parameterize the characterization of the top-level framework to obtain a parameterized top-level framework; the parameterized top-level framework includes a node array and a first relationship array; the node array includes a demand focus array "Demand focus": [], a standard specification array "Standard specification": [], a reference framework array "Reference framework": [] and an industrial data array "Industrial data": []; the first relationship array includes a first constraint relationship array, a first dependency relationship array, a first reference relationship array, a first link relationship array, a second link relationship array and a third link relationship array; the relationship array is expressed in the form of [{"label name": [], "start node": [], "end node": []}].

[0071] The second framework building module is used to construct a knowledge framework based on the top-level framework; the knowledge framework includes the process requirements, the process procedures, the process objects and the diesel engine field data after establishing the association relationship; the process requirements correspond to the demand concerns; the process procedures correspond to the standard specifications; the process objects correspond to the reference framework.

[0072] The second characterization module is used to parameterize the process requirements, the process procedures, the process objects and the diesel engine field data according to the knowledge framework to obtain a parameterized knowledge framework; the parameterized knowledge framework includes a second node array and a second relationship array; the second node array includes a process requirement array "Requirement Focus": [{"Process Requirements": []}], a process procedure array "Standard Specifications": [{"Process Procedures": []}], a process object array "Reference Framework": [{"Process Objects": []}] and a diesel engine field data array "Industrial Data": [{"Diesel Engine Field Data": []}]; the second relationship array includes a second constraint relationship array, a second dependency relationship array, a second reference relationship array, a fourth link relationship array, a fifth link relationship array and a sixth link relationship array.

[0073] The third model building module is used to establish a knowledge model of the diesel engine body machining process knowledge map based on the knowledge framework, development requirements, process indicators, machining process, inspection process, process specifications, process resources, product models, component names, part names, engine body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary.

[0074] The third characterization module is used to parameterize the knowledge model to obtain a parameterized knowledge model; the parameterized knowledge model includes a third node array and a third relationship array; the third node array includes a process requirement sub-array "Demand Focus": [{"Process Requirements": [{"Development Requirements": []}, {"Process Indicators": []}]}], a process procedure sub-array "Standard Specifications": [{"Process Procedures": [{"Machining Process": []}, {"Inspection Process": []}, {"Process Specifications": []}, {"Process Resources": []}]}], a process object sub-array "Reference Framework": [{"Process Object": [{"Product Model": []}, {"Component Name": []}, {"Part Name": []}]}] "Name": []}]}] and diesel engine field data sub-array "industrial data": [{"diesel engine field data": [{"engine body process resources": []}, {"process equipment list": []}, {"process catalogue": []}, {"process drawing": []}, {"process card": []}, {"NC process preparation card": []}, {"NC process card": []}, {"inspection card": []}, {"3D machining process design requirements": []}, {"diesel engine structure and process summary": []}]}]; the third relationship array includes a third constraint relationship array, a third dependency relationship array, a third reference relationship array, a seventh link relationship array, an eighth link relationship array and a ninth link relationship array.

[0075] A graph construction module is used to construct the diesel engine body machining process knowledge graph according to the parameterized knowledge model.

[0076] A manufacturing module is used to manufacture diesel engines according to the diesel engine body machining process knowledge graph.

[0077] Embodiment 3

[0078] The present invention provides an electronic device, comprising: a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the knowledge modeling method of the knowledge graph of embodiment one.

[0079] Embodiment 4

[0080] The present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the knowledge modeling method of the knowledge graph of embodiment one is implemented.

[0081] The knowledge modeling method, system, electronic device and medium of the knowledge graph provided by the present invention have the following advantages:

[0082] (1) The knowledge modeling method of a knowledge graph proposed in the present invention is a supplement to the lack of standardized process in the current top-down knowledge modeling of manufacturing processes in the industrial field. The knowledge modeling process with manual participation is divided into three main steps. By clarifying the top-level framework CSF-D, focusing on the knowledge framework RPO-D, and building the knowledge model RnPnOn-Dn, the knowledge concepts are standardized layer by layer to ensure the professionalism and integrity of the constructed knowledge model, so as to obtain a high-quality knowledge model that meets the domain knowledge requirements, avoid unnecessary and repetitive knowledge extraction work, effectively improve the efficiency of knowledge graph construction, and reduce the cost of domain knowledge fusion.

[0083] (2) The present invention proposes a knowledge modeling method for the manufacturing process knowledge graph in the industrial field. It is an improvement on the top-down knowledge modeling that is still in the graphical expression stage and lacks automated application. It represents the node and relationship concepts of knowledge by parameterizing layer by layer, and finally converts the knowledge model into the computer-general JSON format. While representing the knowledge model in a professional and standardized manner, it broadens the computability and reusability of the knowledge model in the construction of automated knowledge graphs, opens up the data transmission channel for the knowledge model to participate in and influence the knowledge graph extraction and fusion technology, and finally creates a unified parameter representation format condition for knowledge modeling automation.

[0084] In summary, the present invention can specifically solve the methodological problems of top-down knowledge modeling of manufacturing process knowledge graphs in the industrial field; in terms of process, it can standardize the steps of manually constructing knowledge models, ensure the professionalism and integrity of knowledge models, and improve their model quality; in terms of representation, it can parameterize the knowledge models constructed in each step, uniformly represent them as standard objects and arrays, and convert them into a JSON format with good versatility to expand their application value.

[0085] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0086] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A knowledge modeling method for a knowledge graph, characterized in that: include: Obtain the process requirements, process regulations, process objects and diesel engine field data of diesel engine body machining process; The process requirements include development requirements and process indicators; The process specifications include machining process, inspection process, process specifications and process resources; The process object includes product model, component name and part name; The diesel engine field data includes engine body process resources, process equipment list, process catalog, process diagram, process card, NC process preparation card, NC process card, inspection card, 3D machining process design requirements and diesel engine structure and process summary; Building a top-level framework; the top-level framework includes demand concerns, standard specifications, reference frameworks, and industrial data after establishing association relationships; The association relationship is a constraint relationship, a dependency relationship, a reference relationship or a link relationship; The top-level framework is parameterized to obtain a parameterized top-level framework; the parameterized top-level framework includes a node array and a first relationship array; the node array includes a demand focus array "demand focus": [], a standard specification array "standard specification": [], a reference framework array "reference framework": [] and an industrial data array "industrial data": []; the first relationship array includes a first constraint relationship array, a first dependency relationship array, a first reference relationship array, a first link relationship array, a second link relationship array and a third link relationship array; the relationship array is expressed in the form of [{"label name": [], "start node": [], "end node": []}]; According to the top-level framework, a knowledge framework is constructed; the knowledge framework includes the process requirements, the process procedures, the process objects and the diesel engine field data after establishing association relationships; The process requirements correspond to the demand concerns; The process procedure corresponds to the standard specification; The process object corresponds to the reference frame; The process requirements, the process procedures, the process objects and the diesel engine domain data are parameterized and characterized according to the knowledge framework to obtain a parameterized knowledge framework; the parameterized knowledge framework includes a second node array and a second relationship array; the second node array includes a process requirement array "Requirement Focus": [{"Process Requirements": []}], a process procedure array "Standard Specifications": [{"Process Procedures": []}], a process object array "Reference Framework": [{"Process Objects": []}] and a diesel engine domain data array "Industrial Data": [{"Diesel Engine Domain Data": []}]; the second relationship array includes a second constraint relationship array, a second dependency relationship array, a second reference relationship array, a fourth link relationship array, a fifth link relationship array and a sixth link relationship array; According to the knowledge framework, development requirements, process indicators, machining process, inspection process, process specifications, process resources, product models, component names, part names, engine body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary, a knowledge model of the diesel engine body machining process knowledge map is established; The knowledge model is parameterized to obtain a parameterized knowledge model; the parameterized knowledge model includes a third node array and a third relationship array; the third node array includes a process requirement sub-array "demand focus": [{"process requirement": [{"development requirements": []}, {"process indicators": []}]}], a process procedure sub-array "standard specifications": [{"process procedure": [{"machining process": []}, {"inspection process": []}, {"process specifications": []}, {"process resources": []}]}], a process object sub-array "reference frame": [{"process object": [{"product model": []}, {"component name": []}, {"part name": []}]}] and diesel engine field data subarray "industrial data": [{"diesel engine field data": [{"machine body process resources": []}, {"process equipment list": []}, {"process catalogue": []}, {"process drawing": []}, {"process card": []}, {"CNC process preparation card": []}, {"CNC process card": []}, {"inspection card": []}, {"three-dimensional machining process design requirements": []}, {"diesel engine structure and process summary": []}]}]; the third relation array includes a third constraint relation array, a third dependency relation array, a third reference relation array, a seventh link relation array, an eighth link relation array and a ninth link relation array; Constructing the diesel engine body machining process knowledge graph according to the parameterized knowledge model; The diesel engine is manufactured according to the diesel engine body machining process knowledge graph.

2. The knowledge modeling method of the knowledge graph according to claim 1 is characterized in that: Also includes: The formats of the parameterized top-level framework, the parameterized knowledge framework and the parameterized knowledge model are uniformly converted into JSON format.

3. The knowledge modeling method of the knowledge graph according to claim 1 is characterized in that: The top-level framework is parameterized to obtain a parameterized top-level framework, which specifically includes: The demand concerns, standard specifications, reference framework and industrial data in the top-level framework are parameterized to obtain a demand concern array, a standard specification array, a reference framework array and an industrial data array; The relationship between the demand concerns, standard specifications, reference framework and industrial data in the top-level framework is parameterized to obtain a first constraint relationship array, a first dependency relationship array, a first reference relationship array, a first link relationship array, a second link relationship array and a third link relationship array; the first constraint relationship array is [{"label name": [constraint], "start node": [reference framework], "end node": [demand concern]}]; the first dependency relationship array is [{"label name": [dependency], "start node": [reference framework], "end node": [standard specification]}]; the first parameter The reference relationship array is [{"label name": [reference], "starting node": [demand attention], "ending node": [standard specification]}]; the first link relationship array is [{"label name": [link], "starting node": [reference framework], "ending node": [industrial data]}]; the second link relationship array is [{"label name": [link], "starting node": [demand attention], "ending node": [industrial data]}]; the third link relationship array is [{"label name": [link], "starting node": [standard specification], "ending node": [industrial data]}].

4. The knowledge modeling method of the knowledge graph according to claim 1 is characterized in that: The process requirements, the process procedures, the process objects and the diesel engine domain data are parameterized according to the knowledge framework to obtain a parameterized knowledge framework, which specifically includes: The process requirements, the process specifications, the process objects and the diesel engine domain data in the knowledge framework are parameterized to obtain a process requirement array, a process specification array, a process object array and a diesel engine domain data array; The association relationship between the process requirements, the process procedures, the process objects and the diesel engine field data in the knowledge framework is parameterized to obtain a second constraint relationship array, a second dependency relationship array, a second reference relationship array, a fourth link relationship array, a fifth link relationship array and a sixth link relationship array; the second constraint relationship array is [{"label name": [constraint], "start node": [process object], "end node": [process requirement]}]; the second dependency relationship array is [{"label name": [dependency], "start node": [process object], "end node": [process procedure]}]; the second The reference relationship array is [{"label name": [reference], "start node": [process requirements], "end node": [process procedures]}]; the fourth link relationship array is [{"label name": [link], "start node": [process object], "end node": [diesel engine field data]}]; the fifth link relationship array is [{"label name": [link], "start node": [process requirements], "end node": [diesel engine field data]}]; the sixth link relationship array is [{"label name": [link], "start node": [process procedures], "end node": [diesel engine field data]}].

5. The knowledge modeling method of the knowledge graph according to claim 1 is characterized in that: The knowledge model is parameterized to obtain a parameterized knowledge model, which specifically includes: The development requirements, process indicators, machining processes, inspection processes, process specifications, process resources, product models, component names, part names, engine process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary in the knowledge model are parametrically represented to obtain a process requirement sub-array, a process specification sub-array, a process object sub-array and a diesel engine field data sub-array; The relationship between the development requirements, process indicators, machining processes, inspection processes, process specifications, process resources, product models, component names, part names, body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary in the knowledge model is parameterized to obtain a third constraint relationship array, a third dependency relationship array, a third reference relationship array, a seventh link relationship array, an eighth link relationship array and a ninth link relationship array.

6. A knowledge modeling system for a knowledge graph, characterized in that: include: Data acquisition module, used to obtain process requirements, process specifications, process objects and diesel engine field data of diesel engine body machining process; The process requirements include development requirements and process indicators; The process specifications include machining process, inspection process, process specifications and process resources; The process object includes product model, component name and part name; The diesel engine field data includes engine body process resources, process equipment list, process catalog, process diagram, process card, NC process preparation card, NC process card, inspection card, 3D machining process design requirements and diesel engine structure and process summary; The first framework building module is used to build a top-level framework; the top-level framework includes demand concerns, standard specifications, reference frameworks and industrial data after establishing association relationships; The association relationship is a constraint relationship, a dependency relationship, a reference relationship or a link relationship; The first characterization module is used to parameterize the top-level framework to obtain a parameterized top-level framework; the parameterized top-level framework includes a node array and a first relationship array; the node array includes a demand focus array "demand focus": [], a standard specification array "standard specification": [], a reference framework array "reference framework": [] and an industrial data array "industrial data": []; the first relationship array includes a first constraint relationship array, a first dependency relationship array, a first reference relationship array, a first link relationship array, a second link relationship array and a third link relationship array; the relationship array is expressed in the form of [{"label name": [], "start node": [], "end node": []}]; The second framework building module is used to build a knowledge framework based on the top-level framework; the knowledge framework includes the process requirements, the process procedures, the process objects and the diesel engine field data after establishing the association relationship; The process requirements correspond to the demand concerns; The process procedure corresponds to the standard specification; The process object corresponds to the reference frame; The second characterization module is used to parametrically characterize the process requirements, the process procedures, the process objects and the diesel engine field data according to the knowledge framework to obtain a parameterized knowledge framework; the parameterized knowledge framework includes a second node array and a second relationship array; the second node array includes a process requirement array "Requirement Focus": [{"Process Requirements": []}], a process procedure array "Standard Specifications": [{"Process Procedures": []}], a process object array "Reference Framework": [{"Process Objects": []}] and a diesel engine field data array "Industrial Data": [{"Diesel Engine Field Data": []}]; the second relationship array includes a second constraint relationship array, a second dependency relationship array, a second reference relationship array, a fourth link relationship array, a fifth link relationship array and a sixth link relationship array; The third model building module is used to build a knowledge model of the diesel engine body machining process knowledge map based on the knowledge framework, development requirements, process indicators, machining process, inspection process, process specifications, process resources, product models, component names, part names, engine body process resources, process equipment list, process catalog, process drawings, process cards, CNC process preparation cards, CNC process cards, inspection cards, three-dimensional machining process design requirements and diesel engine structure and process summary; The third characterization module is used to parameterize the characterization of the knowledge model to obtain a parameterized knowledge model; the parameterized knowledge model includes a third node array and a third relationship array; the third node array includes a process requirement sub-array "demand focus": [{"process requirements": [{"development requirements": []}, {"process indicators": []}]}], a process procedure sub-array "standard specifications": [{"process procedures": [{"machining process": []}, {"inspection process": []}, {"process specifications": []}, {"process resources": []}]}], a process object sub-array "reference frame": [{"process object": [{"product model": []}, {"component name": []}, {"part name "Name": []}]}] and diesel engine field data subarray "industrial data": [{"diesel engine field data": [{"machine body process resources": []}, {"process equipment list": []}, {"process catalogue": []}, {"process drawing": []}, {"process card": []}, {"NC process preparation card": []}, {"NC process card": []}, {"inspection card": []}, {"3D machining process design requirements": []}, {"diesel engine structure and process summary": []}]}]; the third relation array includes a third constraint relation array, a third dependency relation array, a third reference relation array, a seventh link relation array, an eighth link relation array and a ninth link relation array; A graph construction module, used to construct the diesel engine body machining process knowledge graph according to the parameterized knowledge model; A manufacturing module is used to manufacture diesel engines according to the diesel engine body machining process knowledge graph.

7. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the knowledge modeling method of the knowledge graph described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the knowledge modeling method of the knowledge graph described in any one of claims 1 to 5 is implemented.