Green design knowledge mining and searching method based on knowledge graph
By classifying green design knowledge and extracting entities, calculating association weights, and building knowledge trees based on knowledge graph methods, it solves the problem of designers having difficulty mining and searching for green design knowledge, achieves efficient knowledge acquisition and management, and significantly improves efficiency. Designers’ knowledge utilization capabilities.
Patent Information
- Application Number
- CN202410870332.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-27
AI Technical Summary
When designers are faced with massive production and design information resources, it is difficult to mine and search for useful green design knowledge, resulting in professional design knowledge being hidden and difficult to use.
Using a knowledge graph-based method, a clear-level knowledge tree is constructed by classifying green design knowledge, extracting entities, and calculating associated weights to achieve systematic organization and efficient retrieval of knowledge. Specific steps include green design knowledge classification, entity extraction, calculation of association weights, construction of knowledge graphs, entity extraction and knowledge search for input questions, and priority retrieval of high-relevance knowledge links.
It significantly improves the efficiency for designers to obtain green design knowledge, reveals hidden professional design knowledge, saves time and costs, and improves the availability and management efficiency of knowledge.
Smart Images

Figure CN118709764A
Abstract
Description
Technical Field
[0001] The present invention relates to a green design knowledge mining and searching method based on knowledge graph. Background Art
[0002] Today, technologies such as big data, cloud manufacturing and the Internet of Things are developing very rapidly. Faced with massive production design information resources, designers are also faced with problems such as the corresponding professional design knowledge being hidden and difficult to mine.
[0003] Therefore, how to mine and search for useful green design knowledge from a large number of discrete design resources is the core issue in the current application of green design knowledge in electromechanical products. Summary of the invention
[0004] The purpose of the present invention is to provide a green design knowledge mining and search method based on knowledge graph.
[0005] The present invention achieves its invention object through the following technical scheme: a green design knowledge mining and search method based on knowledge graph, characterized in that it includes the following steps:
[0006] Step 1: Classification of green design knowledge
[0007] Green design knowledge is classified according to the fields to which it belongs. Products designed with knowledge assistance are first divided into major product categories, and each major product category is further divided into minor product categories.
[0008] Step 2: Entity Extraction of Knowledge
[0009] 2.1) First, the knowledge data is divided into three sections consisting of "operation-product-feedback output", where the "operation" element is used to describe the action of changing the object, the "product" element is used to describe the product designed with the assistance of green design knowledge, and the "feedback output" element is used to describe the performance generated by the operation;
[0010] 2.2) Extract entities from operations, products, and feedback outputs respectively;
[0011] Step 3: Calculate the association weight between the two entities "operation-product"
[0012] The association weight is expressed as follows:
[0013]
[0014] i and j represent the extracted entities, TF(i) and TF(j) represent the frequency of entity i and j appearing alone in the major category of the domain to which they belong, and TF(i,j) represents the frequency of two entities appearing together in the minor category of the domain to which they belong, that is, the smaller value of their respective frequencies;
[0015] Step 4: Build a knowledge graph based on weights
[0016] 4.1) Set the association weight threshold For association weight values less than the set threshold Two entities are weakly associated with each other, and the associated weight value is greater than or equal to the set threshold. Two entities are marked with a strong association between the two entities;
[0017] 4.2) Name the knowledge tree according to the major category of the knowledge product entity. Starting from the root node R of the knowledge tree, connect the knowledge operation entity with the root node R, set the link strength to 0, and then connect the knowledge product entity with the operation entity, and set the link strength to their association weight w. ij Finally, the feedback output of the knowledge is bound to the product entity as the final result of the knowledge link search, and so on, until all the entities of the knowledge in the field are added to the knowledge tree;
[0018] Step 5: Extract entities from the input question
[0019] Operate on input questions and extract product entities;
[0020] Step 6: Conduct knowledge search based on the question
[0021] Input the entities extracted from the question into the knowledge graph and search for the result of solving the problem:
[0022] 6.1) If the entities extracted by the question include product entities, locate the knowledge tree of the field to which the product belongs, retrieve at least one link that matches the input entity from the knowledge tree, and prioritize strongly associated entity links according to the association weight of the link. If no knowledge matching the link is found or the link does not have feedback output, it means that the current knowledge tree cannot solve the problem temporarily;
[0023] 6.2) If the entity extracted by the question does not contain the product entity, then read the node content of all knowledge trees in the knowledge graph, retrieve at least one link that matches the input entity, and start the search from the knowledge tree with the highest weight, and give priority to searching the strongly associated entity links in the knowledge tree. If no knowledge matching the link is found or there is no feedback output for the link, it means that the current knowledge tree cannot solve the problem temporarily, and continue to search other knowledge trees in the order of knowledge tree weights; the initial value of the weight of a knowledge tree is defined as the average value of all associated weights on the knowledge tree;
[0024] Step 7: Calculate the full link score after finding the search results
[0025] After obtaining the feedback output in the knowledge graph, the associated weight values of all links containing the feedback output are counted, and all weight values are added up and divided by the total number of all eligible links m to obtain the average weight value C i , the average weight value is the full-link score of all search results this time, and all results and their full-link scores are saved;
[0026] Step 8: Results returned
[0027] When the score of a single search result, i.e. the association weight of the link it belongs to, is higher than the score of the entire link of all search results, the result is returned;
[0028] Step 9: Dynamically adjust the weight of the knowledge tree based on the final result
[0029] When the returned results are obtained, the weight of the knowledge tree where the final result adopted by the user is located is increased by the score of the result. The score is defined as the average score of the associated weights of the links where all adopted results of the same knowledge tree are located. The weight will no longer increase after reaching the set upper limit. The weight of the knowledge tree where other knowledge that found results but was not adopted as the final result is located is subtracted from the score of the result. The weight will no longer decrease after reaching the set lower limit.
[0030] Step 6.1) When retrieving at least one entity from the knowledge tree that matches the input entity, if an operation entity is included, first retrieve the link that matches the operation entity, and then retrieve the link that matches the product entity from it.
[0031] This step searches in the order of entity extraction. When the knowledge tree has been located through the product entity, the operation entity is searched first to ensure that the matching process of the knowledge link (the search order matches the order of knowledge link nodes) is more precise and accurate, which improves the matching degree of problem solving, optimizes search efficiency, reduces the time of invalid search, and improves the speed of problem solving. According to the association weight calculation formula, the association weight result can be obtained between 0-2. The present invention recommends the association weight threshold Set to 1.
[0032] The association weight calculation formula ensures that the weight result is between 0 and 2. The recommended threshold is set to a mean of 1 so that the system can effectively distinguish between knowledge links with high relevance and low relevance, thereby giving priority to retrieving and feeding back knowledge with high relevance, making the retrieval process more efficient, reducing the interference of knowledge with low relevance, and optimizing the knowledge retrieval process.
[0033] The knowledge tree weight range is set to (0, 10).
[0034] By setting the knowledge tree weight range to (0, 10), the system can flexibly adjust the weight of each knowledge tree (otherwise it is easy to reach the upper and lower limits), dynamically optimize the knowledge links according to actual application needs and user feedback, and improve the adaptability and flexibility of the knowledge graph.
[0035] Beneficial effects:
[0036] 1) Reveal hidden knowledge and improve knowledge availability
[0037] The present invention proposes a method based on knowledge graph for knowledge mining and search in the field of green design, aiming to solve the problems faced by designers, such as hidden and difficult mining of professional design knowledge. The present invention constructs a knowledge graph composed of several green design knowledge trees, classifies design knowledge and extracts entities, systematically organizes and displays knowledge points, calculates the association weights between entities, and constructs a knowledge tree with a clear hierarchy, so as to help designers intuitively understand the structure and relationship of knowledge, effectively reveal the hidden professional design knowledge in the field of green and low-carbon design, and enable designers to more easily discover and use this knowledge.
[0038] 2) Improve the efficiency of knowledge acquisition
[0039] The present invention forms a knowledge graph with high correlation through knowledge classification, entity extraction and association weight calculation. When performing knowledge retrieval, the required knowledge can be quickly located and extracted through the depth-first search method, which significantly improves the efficiency of designers in acquiring green design knowledge and enables them to find the required expertise more quickly.
[0040] 3) Save time and reduce costs
[0041] Through the systematic and structured knowledge graph construction and efficient retrieval mechanism, the present invention enables designers to quickly locate and obtain the required knowledge. Compared with traditional knowledge acquisition methods, it can save designers' time and energy and reduce the cost of knowledge acquisition and management. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flowchart of the steps of a green design knowledge mining and search method based on a knowledge graph according to a preferred embodiment of the present invention;
[0043] Figure 2 It is a schematic diagram of the structure of the knowledge graph;
[0044] Figure 3 Schematic diagram of entity extraction for questions. DETAILED DESCRIPTION
[0045] The present invention provides a green design knowledge mining and search method based on a knowledge graph. In order to make the technical solution of the present invention more understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0046] The steps of the green design knowledge mining and search method based on knowledge graph in the preferred embodiment of the present invention are as follows: Figure 1 As shown, including:
[0047] Step 1: Classification of green design knowledge
[0048] Before constructing the knowledge graph, it is necessary to manually label and classify the knowledge according to the field to which it belongs. For example, the knowledge of electromechanical products can be divided into the following categories: engineering machinery, metal processing machinery, power machinery, transportation machinery, electronic and electrical products, and instruments and meters. Each major product category can be further divided into several subcategories, such as metal processing machinery includes electrolytic processing machine tools, electric spark machine tools, etc.
[0049] Step 2: Entity Extraction of Knowledge
[0050] After the knowledge is classified according to its domain, entity extraction can be performed.
[0051] First, divide the knowledge data into three sections of text consisting of "operation-product-feedback output".
[0052] Before the division, let's first introduce the matter-element theory. Matter-element theory is a theory that describes things and their internal relationships, including things, characteristics, and characteristic values. This theory can be used to describe objective things in a vivid and comprehensive way. The one-dimensional matter-element representation of the matter-element theory is:
[0053] M=(SCV)
[0054] Among them, S is the thing or object, C is the characteristic, and V is the value of S with respect to C.
[0055] In the design process, actions that generate green design knowledge are required, so operation elements are proposed to describe the actions of changing objects; the ultimate goal of green design knowledge is to assist product design and optimize product green performance, so design knowledge should contain product elements, and product elements are the main objects of design knowledge; the greenness and value of design knowledge are measured by the performance generated by the operation, which is also a key factor in knowledge evaluation, so feedback output is proposed to measure the role of design knowledge as the main reference object for designers to characterize the value of the operation.
[0056] Based on the matter-element theory, the present invention proposes operation elements, product elements and feedback outputs, defines object S as operation-product, expressed as (operation, product); defines feature C as feedback output; V is defined as an output set, for example: the output set may include {non-toxic, ..., recyclable}, which represents the value range of the effect of "operation-product" in the conceptual design process.
[0057] According to the above method, each piece of knowledge is mapped to an operation element, a product element, and a feedback output element.
[0058] Then perform entity extraction on each element, which includes the following sub-steps:
[0059] 2.1 Extract entities from operations;
[0060] 2.2 Extract physical products;
[0061] 2.3 Perform entity extraction on feedback output.
[0062] For the entity extraction of operations and products, the operation and product information in the knowledge is mainly extracted, which can be extracted through entity extraction related algorithms. The existing keyword extraction algorithm (YAKE) can be implemented. The algorithm uses the form of indicator scoring to sort the keywords according to the score, and finally sets different parts of speech, sorts them and outputs them to obtain a keyword list. For example: set verbs to filter out operation elements, set nouns to filter out product elements, and set adjectives to filter out feedback output. After obtaining the entity list of products and operations, the two entities are spliced together according to the "operation-product" rule.
[0063] Step 3: Calculate the association weight between the "operation-product" entities
[0064] The association weight is expressed as follows:
[0065]
[0066] i and j represent the extracted entities, TF(i,j) represents the frequency of two entities appearing together, and TF(i) represents the frequency of entity i appearing alone.
[0067] For example: This step mainly calculates the association weight of two entities spliced together. First, the knowledge base is taken as the overall vocabulary, and the number of occurrences of entities i and j in their respective fields is counted;
[0068] Secondly, set the window for calculating the association weight. The window size can be based on the product subcategory in the category to which the extracted entity belongs. All the knowledge content of the product subcategory in the knowledge base is used as the window. The frequency of two entities appearing together in the window is counted in turn.
[0069] For example, there are two entities: Topology Optimization-Wind Turbine Gearbox. According to the above knowledge classification, it belongs to Power Machinery-Wind Turbine. Then, in the Power Machinery category, search for the number of occurrences of "Topology Optimization" and "Wind Turbine Gearbox", assuming that they are 15 and 30 respectively.
[0070] Then, the knowledge belonging to the wind turbine subcategory in the knowledge base is used as a window, and the number of times "topology optimization" and "wind turbine" appear together in the window is counted (if "topology optimization" appears 5 times in the window and "wind turbine" appears 4 times, the number of common occurrences is 4). Finally, the association weight is calculated to be 4 / 15+4 / 30=0.4.
[0071] Step 4: Build a knowledge graph based on weights
[0072] After calculating the association weight between entities, set the threshold to 1 (according to the association weight calculation formula, the association weight result can be obtained between 0-2, so the threshold can be set to 1). If the association weight value is less than the given threshold, a weak association mark is added between the two entities. If the association weight value is greater than or equal to the given threshold, a solid line can be added between the two entities and the weight can be indicated. If the association weight value is less than the given threshold, a dotted line can be added and the weight can be indicated.
[0073] Each knowledge field has an independent knowledge tree, and all knowledge in that field will be added to the knowledge tree. The knowledge trees of all fields form a green design knowledge graph.
[0074] Traverse the entities extracted in step 2, name the knowledge tree according to the major category to which the product entity belongs, start from the root node R of the knowledge tree, connect the first entity (operation) to the root node R, and set the link strength to 0; connect the second entity (product) to the first entity, and set the link strength to the association weight of entity 1 (operation) and entity 2 (product); finally, bind the feedback output of the knowledge to the second entity as the final result of the knowledge link search. And so on, until all knowledge entities are added to the knowledge tree, such as Figure 2 shown.
[0075] Step 5: Extract entities from the input question
[0076] After the knowledge graph is constructed, problem solving can be achieved through the knowledge graph.
[0077] Entity extraction (operation, product) is performed on the input question. Considering the length of the question, the following types of entities may be extracted: only operations, only products, and both operations and products. Similarly, each question has a one-to-one correspondence with the extracted entity, such as Figure 3 As shown, the right part corresponds to the extracted entity list.
[0078] Step 6: Conduct knowledge search based on the question
[0079] Input the entities extracted from the problem into the knowledge graph to find the results of the problem solution. If the entities extracted from the problem include product entities, locate the knowledge tree of the field to which the product belongs. Read the contents of all nodes in the knowledge tree, retrieve (at least one of the product or operation) the links that match the input entity from the knowledge tree (if it contains an operation entity, first retrieve the links that match the operation entity, and then retrieve the links that match the product entity from it), and search for strongly associated entity links first according to the association weight of the link. If no knowledge that matches the link is found or there is no feedback output for the link, it means that the current knowledge tree cannot solve the problem temporarily.
[0080] If the entities extracted by the question do not contain product entities, the node contents of all knowledge trees in the knowledge graph are read, and links that match at least one entity with the input entity are retrieved. Starting from the knowledge tree with the highest weight, the strongly associated entity links in the knowledge tree are searched first. If no knowledge that matches the link is found or there is no feedback output on the node, it means that the current knowledge tree cannot solve the problem temporarily, and other knowledge trees are searched in order of knowledge tree weight.
[0081] Step 7: Calculate the full link score after finding the search results
[0082] After obtaining the feedback output in the knowledge graph, the associated weight values of all links containing the feedback output are counted, and all weight values are added up and divided by the total number of all eligible links m to obtain the average weight value C i The average weight value is the full-link score of all search results this time, and all results and their full-link scores are saved.
[0083]
[0084] Step 8: Results returned
[0085] When the score of a single search result (the weight of the link it is in) is higher than the score of the entire link of all search results (C i ) returns the result
[0086] Step 9: Dynamically adjust the weight of the knowledge tree based on the final result
[0087] After obtaining the final result, the weight of the knowledge tree where the final result adopted by the user is located is increased by the score of the result (the average score of multiple results in the same knowledge tree is taken). After the weight reaches the set upper limit (the knowledge tree weight range is set to (0, 10)), it will no longer increase. The weight of the knowledge tree where other results are found but not adopted is subtracted from the score of the result. After the weight reaches the set lower limit, it will no longer decrease.
[0088] The present invention significantly improves the ability of designers to discover hidden professional knowledge through green design knowledge mining and search methods based on knowledge graphs, and efficiently reveals and utilizes knowledge in the field of green design. It optimizes the search and matching process of knowledge links through accurate entity extraction and association weight calculation, and enhances the accuracy and practicality of retrieval results. At the same time, it sets reasonable association weights and knowledge tree weight ranges and thresholds, improves the intelligent level of knowledge management, enables the system to dynamically adjust and optimize the knowledge graph, and adapt to changing design requirements, thereby significantly reducing the time and cost investment in the design process.
[0089] Example:
[0090] Case 1. The existing power machinery knowledge tree contains the following entities and weights, as shown in Table 1.
[0091] Table 1
[0092]
[0093] The weight of the knowledge tree is: (0.5+1.2+0.7+1.4+0.3+0.8) / 6=0.817
[0094] The result of the current problem entity extraction is the product entity: "wind turbine gearbox", which belongs to the power machinery category. After entering the entity into the power machinery knowledge tree, the qualified links are shown in the above table (row records 1-5), and the full link score of this search is: (0.5+1.2+0.7+1.4+0.3) / 5=0.82.
[0095] All search results are shown in the table above, with scores of 0.5, 1.2, 0.7, 1.4, and 0.3 respectively. Results 2 and 4 are higher than the full-link scores of all search results and are returned as the final solutions. If the user adopts both results, since the two results are in the same knowledge tree, the knowledge tree weight increases by 1.3.
[0096] Case 2. The existing engineering machinery knowledge tree contains the following entities and weights, as shown in Table 2.
[0097] Table 2
[0098]
[0099] The weight of the knowledge tree is: (1.3+0.6+0.7+1.2+0.3+1.4) / 6=0.917
[0100] There is a problem entity extraction result which is the operation entity "weight optimization". After inputting the entity into the newly constructed knowledge graph, the engineering machinery knowledge tree is searched first according to the knowledge tree weight. The qualified ones are "tower crane boom optimization design" and "backhoe excavator bucket structure optimization".
[0101] All qualified links are distributed in the engineering machinery knowledge tree and the power machinery knowledge tree (row records 1 and 4 in Table 1 and row records 1 and 4 in Table 2). The full link score of this search result is (0.5+1.4+1.3+1.2) / 4=1.1
[0102] All search results are shown in the table above, with scores of 0.5, 1.4, 1.3, and 1.2 respectively. Results 2, 3, and 4 are higher than the full-link scores of all search results. Results 3 and 4 in the construction machinery structure tree are returned first. After the user adopts these two results, the weight of the construction machinery knowledge tree increases by 1.25.
[0103] Then continue to return to the results of the power machinery knowledge tree. After adoption, the weight of the power machinery knowledge tree increases by 1.4. If the user does not adopt the results of the engineering machinery knowledge tree, its weight decreases by 1.25.
Claims
1. A green design knowledge mining and search method based on knowledge graph, characterized in that: The following steps are involved: Step 1: Classification of green design knowledge Green design knowledge is classified according to the fields to which it belongs. Products designed with knowledge assistance are first divided into major product categories, and each major product category is further divided into minor product categories. Step 2: Entity Extraction of Knowledge 2.1) First, the knowledge data is divided into three sections consisting of "operation-product-feedback output", where the "operation" element is used to describe the action of changing the object, the "product" element is used to describe the product designed with the assistance of green design knowledge, and the "feedback output" element is used to describe the performance generated by the operation; 2.2) Extract entities from operations, products, and feedback outputs respectively; Step 3: Calculate the association weight between the two entities "operation-product" The association weight is expressed as follows: i and j represent the extracted entities, TF(i) and TF(j) represent the frequency of entity i and j appearing alone in the major category of the domain to which they belong, and TF(i,j) represents the frequency of two entities appearing together in the minor category of the domain to which they belong, that is, the smaller value of their respective frequencies; Step 4: Build a knowledge graph based on weights 4.1) Set the association weight threshold For association weight values less than the set threshold Two entities are weakly associated with each other, and the associated weight value is greater than or equal to the set threshold. Two entities are marked with a strong association between the two entities; 4.2) Name the knowledge tree according to the major category of the knowledge product entity. Starting from the root node R of the knowledge tree, connect the knowledge operation entity with the root node R, set the link strength to 0, and then connect the knowledge product entity with the operation entity, and set the link strength to their association weight w. ij Finally, the feedback output of the knowledge is bound to the product entity as the final result of the knowledge link search, and so on, until all the entities of the knowledge in the field are added to the knowledge tree; Step 5: Extract entities from the input question Operate on input questions and extract product entities; Step 6: Conduct knowledge search based on the question Input the entities extracted from the question into the knowledge graph and search for the result of solving the problem: 6.1) If the entities extracted by the question include product entities, locate the knowledge tree of the field to which the product belongs, retrieve at least one link that matches the input entity from the knowledge tree, and prioritize strongly associated entity links according to the association weight of the link. If no knowledge matching the link is found or the link does not have feedback output, it means that the current knowledge tree cannot solve the problem temporarily; 6.2) If the entity extracted by the question does not contain the product entity, then read the node content of all knowledge trees in the knowledge graph, retrieve at least one link that matches the input entity, and start the search from the knowledge tree with the highest weight, and give priority to searching the strongly associated entity links in the knowledge tree. If no knowledge matching the link is found or there is no feedback output for the link, it means that the current knowledge tree cannot solve the problem temporarily, and continue to search other knowledge trees in the order of knowledge tree weight; The initial value of the weight of a knowledge tree is defined as the average value of all associated weights on the knowledge tree; Step 7: Calculate the full link score after finding the search results After obtaining the feedback output in the knowledge graph, the associated weight values of all links containing the feedback output are counted, and all weight values are added up and divided by the total number of all eligible links m to obtain the average weight value C i , the average weight value is the full-link score of all search results this time, and all results and their full-link scores are saved; Step 8: Results returned When the score of a single search result, i.e. the association weight of the link it belongs to, is higher than the score of the entire link of all search results, the result is returned; Step 9: Dynamically adjust the weight of the knowledge tree based on the final result When the returned results are obtained, the weight of the knowledge tree where the final result adopted by the user is located is increased by the score of the result. The score is defined as the average score of the associated weights of the links where all adopted results of the same knowledge tree are located. The weight will no longer increase after reaching the set upper limit. The weight of the knowledge tree where other knowledge that found results but was not adopted as the final result is located is subtracted from the score of the result. The weight will no longer decrease after reaching the set lower limit.
2. The green design knowledge mining and searching method according to claim 1, characterized in that: Step 6.1) When retrieving at least one entity from the knowledge tree that matches the input entity, if an operation entity is included, first retrieve the link that matches the operation entity, and then retrieve the link that matches the product entity from it.
3. The green design knowledge mining and searching method according to claim 1, characterized in that: According to the association weight calculation formula, the association weight result can be obtained between 0 and 2. The present invention recommends the association weight threshold Set to 1.
4. The green design knowledge mining and searching method according to claim 1, characterized in that: The knowledge tree weight range is set to (0, 10).
Citation Information
Patent Citations
Knowledge base construction and search method based on tree structure
CN115017255A
Knowledge graph construction method based on reliability of aircraft parts
CN116644192A
Systems, methods, and computer readable media for visualization of semantic information and inference of temporal signals indicating salient associations between life science entities
US20180082197A1
