A method and device for generating enhanced knowledge graph

By constructing and integrating concept space and sememe space, and combining the concept word relationship network generated by behavioral data, the problem of low integrity and low correlation of the knowledge graph is solved, and the accuracy and flexibility of information retrieval are improved.

CN118503455BActive Publication Date: 2024-09-24SHENZHEN XISHIMA DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410966586.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-24
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

The integrity of the existing knowledge graph is low and the correlation between concept words is low, resulting in insufficient accuracy in information retrieval and inability to meet the user's retrieval needs.

Method used

By obtaining the original data for syntax analysis and semantic analysis, we construct the concept space and sememe space, generate the original knowledge graph, and use the behavioral data in the reference database to generate the concept word relationship network, which is integrated into the original knowledge graph to enhance the integrity of the knowledge graph. sex and relevance.

Benefits of technology

It improves the completeness of the knowledge graph and the correlation between concept words, enhances the accuracy of information retrieval, and provides more retrieval vocabulary and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503455B
    Figure CN118503455B
Patent Text Reader

Abstract

The present application provides a method and device for generating an enhanced knowledge graph, the method comprising: obtaining original data; performing grammatical analysis and semantic analysis on the original data to obtain a concept space; performing semantic decomposition on each first concept word to obtain at least one semantic set; sorting the semantics in at least one semantic set based on logical relationships to obtain a semantic space; constructing an original knowledge graph based on the concept space and the semantic space; obtaining a reference database; generating a first concept word relationship network based on behavioral data; generating a second concept word relationship network based on the structural relationship of at least one data topic and the content relationship of at least one data topic; fusing the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph. This improves the correlation between the original data and the integrity of the knowledge graph, thereby being able to provide more search terms in specific search applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a method and device for generating an enhanced knowledge graph. Background Art

[0002] In the era of big data, data information in every business field is growing exponentially, and users need to search through large amounts of data.

[0003] Currently, the corpus input by the user can be expanded based on the knowledge graph to perform concept expansion and then retrieve the field information. However, the integrity of the knowledge graph is low, and the correlation between the concept words in the knowledge graph is low, which makes the expanded concepts not accurate enough and cannot meet the retrieval needs. Summary of the invention

[0004] The present application proposes a method and device for generating an enhanced knowledge graph, which improves the completeness of the knowledge graph and the correlation between conceptual words, thereby improving the accuracy of information retrieval.

[0005] In a first aspect, the present application proposes a method for generating an enhanced knowledge graph, which is applied to a server, and the method comprises:

[0006] Acquire original data, which is internal proprietary data and external public data of the target object;

[0007] Performing grammatical analysis and semantic analysis on the original data to obtain a concept space, wherein the concept space includes at least one first concept word and a logical relationship, wherein the logical relationship is used to indicate an association between the at least one first concept word;

[0008] Performing semantic decomposition on each first concept word to obtain at least one semantic primitive set, wherein a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word;

[0009] sorting the sememes in the at least one sememe set based on the logical relationship to obtain a sememe space;

[0010] Constructing an original knowledge graph based on the concept space and the sememe space, wherein the nodes in the original knowledge graph are the sememes in the at least one first concept word or the at least one sememe set;

[0011] Acquire a reference database, wherein the reference database is a database in a target field and includes at least one data subject;

[0012] generating a first concept word relationship network based on the behavior data, wherein the behavior data is used to represent the usage record of the target object based on the at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data;

[0013] Generate a second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject, wherein the nodes in the second concept word relationship network are third concept words corresponding to the data subject;

[0014] The first concept word relationship network and the second concept word relationship network are integrated into the original knowledge graph to obtain an enhanced knowledge graph, wherein the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network.

[0015] In a second aspect, an embodiment of the present application proposes a device for generating an enhanced knowledge graph, which is applied to a server, and the device includes:

[0016] A first acquisition unit, used to acquire original data, where the original data is internal proprietary data and external public data of a target object;

[0017] An analysis unit, configured to perform grammatical analysis and semantic analysis on the original data to obtain a concept space, wherein the concept space includes at least one first concept word and a logical relationship, wherein the logical relationship is used to indicate an association between the at least one first concept word;

[0018] A decomposition unit, used for performing semantic decomposition on each first concept word to obtain at least one semantic primitive set, wherein a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word;

[0019] a sorting unit, configured to sort the sememes in the at least one sememe set based on the logical relationship to obtain a sememe space;

[0020] A construction unit, configured to construct an original knowledge graph based on the concept space and the sememe space, wherein the nodes in the original knowledge graph are the sememes in the at least one first concept word or the at least one sememe set;

[0021] A second acquisition unit is used to acquire a reference database, where the reference database is a database in a target field and includes at least one data subject;

[0022] A first generating unit is used to generate a first concept word relationship network based on the behavior data, wherein the behavior data is used to represent the usage record of the target object based on the at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data;

[0023] A second generating unit is used to generate a second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject, wherein the nodes in the second concept word relationship network are third concept words corresponding to the data subject;

[0024] A fusion unit is used to fuse the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph, wherein the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network.

[0025] In a third aspect, an embodiment of the present application provides a server, comprising a processor and a memory, wherein one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method as described above.

[0026] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method described above.

[0027] It can be seen that in this example, the server first obtains the original data, which is the internal proprietary data and external public data of the target object; then performs grammatical analysis and semantic analysis on the original data to obtain a concept space, which includes at least one first concept word and a logical relationship, and the logical relationship is used to indicate the association between at least one first concept word; then, each first concept word is subjected to semantic decomposition to obtain at least one semantic primitive set, and a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word; then, the semantic primitives in at least one semantic primitive set are sorted based on the logical relationship to obtain a semantic primitive space; then, an original knowledge graph is constructed based on the concept space and the semantic primitive space, and the nodes in the original knowledge graph are semantic primitives in at least one first concept word or at least one semantic primitive set; then, a reference database is obtained, and a reference database is obtained. The reference database is a database of the target field, and the reference database includes at least one data subject; then a first concept word relationship network is generated based on the behavior data, the behavior data is used to represent the usage record of the target object based on at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data; then a second concept word relationship network is generated based on the structural relationship of at least one data subject and the content relationship of at least one data subject, and the nodes in the second concept word relationship network are third concept words corresponding to the data subject; finally, the first concept word relationship network and the second concept word relationship network are merged into the original knowledge graph to obtain an enhanced knowledge graph, and the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network.

[0028] In this way, a concept space is generated through the original data to reflect the association relationship between concepts, and a semantic space is generated based on the concept space to reflect the association relationship between semantics. Then, based on the relationship between the above concepts, the association relationship between semantics, and the association relationship between concepts and semantics formed between the concept space and the semantic space, an original knowledge graph is constructed, so that the original knowledge graph can preliminarily reflect the association relationship between the original data; then, the implicit concept word relationship network is determined by referring to the user behavior data and data topics in the database, and the concept word relationship network is integrated into the original knowledge graph. On the basis of ensuring the accuracy of the knowledge graph, the concept word relationship network of the knowledge graph can be expanded, and the association branches of a single concept word can be enriched, so that the correlation between the original data is improved, and the integrity of the knowledge graph is improved, so that more search terms can be provided in specific retrieval applications. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] Figure 1 It is a structural block diagram of a server provided in an embodiment of the present application;

[0031] Figure 2 It is a flowchart of a method for generating an enhanced knowledge graph provided in an embodiment of the present application;

[0032] Figure 3 It is a block diagram of the functional units of a device for generating an enhanced knowledge graph provided in an embodiment of the present application;

[0033] Figure 4 This is a block diagram of the functional units of another enhanced knowledge graph generation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0037] In the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent the following three situations: A exists alone; A and B exist at the same time; B exists alone. Among them, A and B can be singular or plural.

[0038] In the embodiment of the present application, the symbol " / " can indicate that the objects associated with each other are in an "or" relationship. In addition, the symbol " / " can also indicate a division sign, that is, performing a division operation. For example, A / B can indicate A divided by B.

[0039] In the embodiments of the present application, "equal to" can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. When equal to is used in conjunction with greater than, it is not used in conjunction with less than; when equal to is used in conjunction with less than, it is not used in conjunction with greater than.

[0040] Currently, the corpus input by the user can be expanded based on the knowledge graph to perform concept expansion and then retrieve the field information. However, the integrity of the knowledge graph is low, and the correlation between the concept words in the knowledge graph is low, which makes the expanded concepts not accurate enough and cannot meet the retrieval needs.

[0041] In response to the above problems, an embodiment of the present application provides a method and device for generating an enhanced knowledge graph. The embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0042] See also Figure 1 , Figure 1 is a structural block diagram of a server provided in an embodiment of the present application. Figure 1As shown, the server 10 may include one or more of the following components: a processor 101, a memory 102, a communication interface 103, and one or more programs 104, wherein the one or more programs 104 are stored in the memory 102 and are configured to be executed by the processor 101, and the one or more programs 104 include functions for executing any step in the following scheme. In a specific implementation, the processor 101 is used to execute any step performed by an electronic device in the following method embodiment, and when performing data transmission such as sending, the communication interface 103 may be selectively called to complete the corresponding operation. The server 10 may specifically be a server, or a server cluster composed of several servers, or a cloud computing service center. Among them, the processor 101 may include one or more processing cores. The processor 101 uses various interfaces and lines to connect various parts within the entire server 10, and executes various functions and processes data of the server 10 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 101 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 101 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 101, but may be implemented separately through a communication chip. Among them, the memory 102 may include a random access memory (RAM) or a read-only memory (ROM). The memory 102 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the server 10 during use, etc. It is understandable that the server 10 may include more or fewer structural elements than those in the above-mentioned structural block diagram, which is not limited here.

[0043] The following introduces a method for generating an enhanced knowledge graph provided in an embodiment of the present application.

[0044] See also Figure 2 , Figure 2 Schematic diagram of a method for generating an enhanced knowledge graph provided in an embodiment of the present application. Figure 1 In the server 10 shown, Figure 2 As shown, the method for generating the enhanced knowledge graph includes:

[0045] S201, obtaining original data.

[0046] S202, performing grammatical analysis and semantic analysis on the original data to obtain a concept space.

[0047] Among them, the original data is the internal exclusive data and external public data of the target object, and the target object can be a partner; the external public data can be data obtained from external data sources such as authoritative textbooks, documents, dictionaries, monographs, papers, encyclopedias, Internet information, etc.; the internal exclusive data can be data provided by the partner that is exclusive to the partner. For example, in the financial field, the partner company can provide the company's assets or scale and other business data. It should be noted that the business data such as assets or scale involved in this application are business data about the company itself voluntarily provided by the partner company, and do not involve the privacy data of third parties.

[0048] The concept space includes at least one first concept word and a logical relationship, and the logical relationship is used to indicate the association between the at least one first concept word.

[0049] Furthermore, the server can extract concept words from the original data based on Probabilistic Context-Free Grammar (PCFG) and rules, determine the logical relationship between concept words, and form concept word pairs. The logical relationship can be a superordinate relationship, a subordinate relationship, or a similar relationship.

[0050] Furthermore, the server may use a boosted regression tree (BRT) model to fuse concept word pairs in the concept space to form a concept space, which may be presented in the form of a tree so that all concept words may be distributed in a hierarchical structure, thereby improving the correlation between concept words.

[0051] Specifically, in the financial field, when the concept words are "assets", "current assets", and "fixed assets", since "assets" can be divided into: current assets, long-term investments, fixed assets, intangible assets and other assets according to liquidity, "assets" and "current assets" are in a hierarchical relationship, "assets" and "fixed assets" are in a hierarchical relationship, and "current assets" and "fixed assets" are in a similar relationship. In the concept space, the root node is "assets", the leaf nodes are "current assets" and "fixed assets", and the leaf nodes of "current assets" and "fixed assets" are leaf nodes of the same hierarchical structure.

[0052] S203, performing semantic decomposition on each first concept word to obtain at least one semantic set.

[0053] S204 , sorting the sememes in the at least one sememe set based on the logical relationship to obtain a sememe space.

[0054] A single sememe set includes at least one sememe, and each sememe is used to indicate the smallest semantic unit of the corresponding first concept word.

[0055] Furthermore, semantic decomposition is the process of decomposing a concept word into its basic meaning elements. For example, if the concept word is apple, the corresponding semantic element set can be {fruit, edible, round, red}. The HowNet dictionary can be used to perform semantic decomposition on each concept word to obtain the semantic element set corresponding to each concept word, thus forming a relationship between concepts and semantic elements.

[0056] Furthermore, a semantic space can be generated based on the above semantic primitive sets and logical relationships. The semantic primitive space can be presented in the form of a set or a tree, so that the semantic primitives in all semantic primitive sets can be distributed in a hierarchical structure and form a mapping relationship with the concept space to improve the correlation between concept words. Decomposing a concept word into multiple semantic primitives and forming a semantic primitive space with the semantic primitives improves the accuracy of the concept word and enhances the correlation between the concept words.

[0057] Specifically, the definition of "asset" refers to resources formed by past transactions or events of the enterprise, owned or controlled by the enterprise, and expected to bring economic benefits to the enterprise. Resources that cannot bring economic benefits cannot be used as assets and are the rights of the enterprise; the definition of "current assets" refers to assets that can be converted into cash or consumed within 1 year or within an operating cycle of more than 1 year, including cash, bank deposits, short-term investments, receivables and prepaid payments, deferred expenses, inventory, etc., so "assets" can be expressed by the following semantic primitives: {enterprise, economic benefits, resources}; "current assets" can be expressed by the following semantic primitives: {within 1 year, convertible, consumed, assets}; in addition, "resources" belong to the lower concept word, and "resources" can be expressed by the following semantic primitives: {region, material}. According to the upper and lower relationship between "assets" and "current assets", the semantic primitive space can be obtained as {enterprise, economic benefits, region, material, within 1 year, convertible, consumed}.

[0058] S205, constructing an original knowledge graph based on the concept space and the semantic space.

[0059] Among them, the nodes in the original knowledge graph are the sememes in the at least one first concept word or the at least one sememe set.

[0060] Furthermore, the concept space can represent the relationship between concept words, the decomposition of concept words can represent the relationship between concept words and sememes, and the sememe space can represent the relationship between sememes. Based on the relationship between concept words, the relationship between concept words and sememes, and the relationship between sememes, the original knowledge graph is constructed. The original knowledge graph can intuitively reflect the various relationships between the original data, and can also enrich the information of each original data through methods such as sememe decomposition, so that the original knowledge graph can more comprehensively reflect the knowledge structure in the original data.

[0061] S206, obtaining a reference database.

[0062] The reference database is a database of the target field, and the reference database includes at least one data subject. Specifically, the reference database may refer to a database frequently used by users with professional knowledge in a specific field, such as research experts in the field. For example, in the financial field, the csmar database is a popular database, and most of the users who use it are users who have a good understanding of financial knowledge. Therefore, the csmar database can be used as a reference database.

[0063] S207, generating a first concept word relationship network based on the behavior data.

[0064] The behavior data is used to represent the usage record of the target object based on the at least one data subject, and the nodes in the first concept word relationship network are the second concept words corresponding to the behavior data.

[0065] S208: Generate a second concept word relationship network based on the structural relationship of at least one data topic and the content relationship of the at least one data topic.

[0066] Among them, the nodes in the second concept word relationship network are third concept words corresponding to the data subject, and the third concept word can be the name of the data subject.

[0067] S209: Merge the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph.

[0068] Among them, the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network.

[0069] It can be seen that in this example, a concept space is generated through the original data to reflect the association relationship between concepts, and a semantic space is generated based on the concept space to reflect the association relationship between semantics. Then, based on the relationship between the above concepts, the association relationship between semantics, and the association relationship between concepts and semantics formed between the concept space and the semantic space, the original knowledge graph is constructed, so that the original knowledge graph can accurately reflect the association relationship between the original data; then, the implicit concept word relationship network is determined by referring to the user behavior data and data topics in the database, and the concept word relationship network is integrated into the original knowledge graph. On the basis of ensuring the accuracy of the knowledge graph, the concept word relationship network of the knowledge graph can be expanded, and the association branches of a single concept word can be enriched, so that more search terms can be provided in specific retrieval applications, the flexibility is improved, the completeness of the knowledge graph is improved, and the association between concept words is improved, thereby improving the accuracy of information retrieval.

[0070] In one possible embodiment, a second concept word relationship network is generated based on the structural relationship of at least one data topic and the content relationship of at least one data topic, including: determining a first concept word sub-relationship network based on the structural relationship of at least one data topic; determining a second concept word sub-relationship network based on the content relationship of at least one data topic; and merging the first concept word sub-relationship network and the second concept word sub-relationship network to obtain a second concept word relationship network.

[0071] Among them, the nodes in the first concept word sub-relationship network are the third concept words, and the edges in the first concept word sub-relationship network represent structural relationships; the nodes in the second concept word sub-relationship network are the third concept words, and the edges in the second concept word sub-relationship network represent content relationships.

[0072] It can be seen that in this example, the first concept word sub-relationship network and the second concept word sub-relationship network are generated respectively according to the structural relationship and content relationship of the data subject, and the first concept word sub-relationship network and the second concept word sub-relationship network are merged to obtain the second concept word relationship network. The second concept word relationship network is determined according to the structure of the data subject in the database and the content of the data subject, so that the second concept word relationship network can enrich the relationship between the concept words and further strengthen the correlation between the original data.

[0073] In a possible embodiment, determining a first concept word sub-relationship network based on a structural relationship of at least one data subject includes: determining at least one first relationship based on the structural relationship of the data subject, the at least one first relationship representing a hierarchical relationship between at least one data subject; and constructing a first concept word sub-relationship network based on the at least one first relationship.

[0074] Among them, the reference database contains multiple data tables with different names, each data table contains multiple major categories, each major category contains multiple subcategories, each subcategory contains multiple fields, and each field corresponds to a numerical value. It can be seen that the data subject can refer to the name of any data table, major category, subcategory or field, and there are parent-child node relationships and association relationships between data tables. Based on this structure, the relationship between the concept words corresponding to different data themes can be directly determined, thereby obtaining the first concept word relationship network. For example, A includes A1, A2, A3, and A4, then it can be directly determined that the name of A (data subject) is the parent node, and A1, A2, A3, and A4 (data subject) are the child nodes of A. Based on this relationship, a part of the first concept word sub-relationship network can be constructed. Specifically, the reference database may contain data tables such as customer table, order table, and product table. The customer table contains fields such as customer ID and name, the order table contains fields such as order ID and customer ID (which can be associated with the customer table) and product ID, and the product table contains product ID. In the customer table, the customer is the parent node, and the customer ID and name are child nodes. Similarly, the customer ID in the order table can be regarded as a foreign key connected to the customer table, indicating the structural relationship between the order and the customer.

[0075] It can be seen that in this example, the hierarchical relationship between data topics is represented by the first concept word sub-relationship network, which enriches the relationship between concept words and strengthens the correlation between original data.

[0076] In one possible embodiment, determining a second concept word sub-relationship network based on a content relationship of at least one data topic includes: using natural language processing to perform semantic analysis on text information of each data topic to determine at least one second relationship; and constructing a second concept word sub-relationship network based on at least one second relationship.

[0077] Among them, at least one second relationship represents a semantic relationship between at least one data topic. Different data topics have different names. Natural language processing (NLP), unsupervised learning, or expert verification can be used to perform semantic analysis on the text content of each data topic to obtain a second concept word sub-relationship network based on the content relationship of the data topic.

[0078] It can be seen that in this example, a concept word relationship network is constructed based on the content of the data subject itself, which enriches the relationship between concept words and further strengthens the correlation between the original data.

[0079] In one possible embodiment, the first concept word sub-relationship network and the second concept word sub-relationship network are merged to obtain a second concept word relationship network, including: merging nodes in the first concept word sub-relationship network and nodes in the second concept word sub-relationship network to obtain a node set, the node set includes common nodes and unique nodes; determining edges in the second concept word relationship network based on first weights and second weights; and constructing the second concept word relationship network based on common nodes, unique nodes, and edges in the second concept word relationship network.

[0080] Among them, the common nodes are nodes that exist in both the first concept word sub-relationship network and the second concept word sub-relationship network, and the unique nodes are nodes that are included in one of the first concept word sub-relationship network and the second concept word sub-relationship network. For example, the first concept word sub-relationship network contains the nodes "customer", "order" and "product", and the second concept word sub-relationship network contains the nodes "customer", "order", "product" and "payment method", then the common nodes are "customer", "order" and "product" as common nodes, and "payment method" as a unique node. By merging the common nodes and unique nodes, a node set can be obtained, which includes "customer", "order", "product" and "payment method".

[0081] The first weight is used to reflect the importance of the edge in the first concept word sub-relationship network, and the second weight is used to reflect the importance of the edge in the second concept word sub-relationship network. For example, in the first concept word sub-relationship network, there may be a strong structural relationship weight between "customer" and "order", that is, the first weight is 0.8, and in the second concept word sub-relationship network, there may be a medium content relationship weight between "customer" and "order", that is, the second weight is 0.5. The relationship weight between "customer" and "order" in the second concept word relationship network can be determined by weighted average or other methods, which can be 0.75.

[0082] It can be seen that in this example, the first concept word sub-relationship network and the second concept word sub-relationship network are constructed respectively through the structural relationship and content relationship of the data subject, and the above sub-relationship networks are merged to finally generate the second concept word relationship network, which provides rich semantic support for various applications, enhances the processing ability of data subjects, and further improves the correlation between concept words, thereby improving the accuracy of information retrieval.

[0083] In one possible embodiment, the behavior data includes search data and download data, and a first concept word relationship network is generated based on the behavior data, including: matching the search data and the download data to determine at least one relationship pair and a corresponding call frequency, each relationship pair is used to indicate the association between each search data and the corresponding download data; performing keyword segmentation on the search data to obtain at least one keyword; obtaining a concept set based on at least one keyword, at least one relationship pair, and the call frequency, wherein a second concept word in the concept set is expanded or modified based on at least one keyword; and determining the first concept word relationship network based on the concept set.

[0084] Among them, search data can be the behavior of users entering keywords, and download data can be the behavior of users downloading specific content. The above two behaviors can form a relationship pair, and the call frequency can refer to the frequency of the relationship pair appearing, which can then be used to understand the correlation between different search terms and downloaded content. For example, if a user searches for "healthy diet" and downloads "low-fat recipes", a relationship pair of <healthy diet, low-fat recipes> can be formed. The call frequency is the number of times this relationship pair occurs, which can reflect the close connection between "healthy diet" and "low-fat recipes". The higher the number, the closer the connection between "healthy diet" and "low-fat recipes".

[0085] Among them, the keyword segmentation of the search data can be achieved by a word segmenter. For example, if the search data is "healthy diet", the keywords obtained are "health", "diet", and "recipe". The keywords can also be expanded and / or modified, and a concept set can be formed according to the relationship pairs and call frequencies. For example, the keywords "health", "diet", and "recipe" can form a richer concept set with related words such as "low fat", "nutrition", and "cooking". At the same time, these keywords are modified in combination with the relationship pairs and call frequencies to ensure that they can accurately reflect the behavior and needs of users. It should be noted that the concept set can be a similar concept set and a superordinate concept set. For example, for "health" and "diet", the superordinate concept can be "life concept", the subordinate concept of "health" can be "mental health" and "physical health", and the subordinate concept of "diet" can be "eating habits" and "diet control". These keywords can constitute a superordinate concept set; concepts similar to "health" may include "well-being" and "fitness", and concepts similar to "diet" may include "nutrition intake" and "food selection", and these keywords can constitute a similar concept set.

[0086] The first concept word relationship network may be a network including nodes and edges, where the nodes may represent keywords in the concept set and the edges may represent the relationship between the concept words. For example, there may be an edge between "health" and "diet", indicating the close connection between the two in user behavior, and the weight of the edge may be determined based on the call frequency, where the higher the call frequency, the closer the relationship.

[0087] It can be seen that in this example, the first concept word relationship network is constructed based on the user's behavior data on the data subject, which enriches the relationship between the concept words and further strengthens the correlation between the original data.

[0088] In a possible embodiment, the method further includes: encoding the semantic primitive space to determine the first semantic primitive vector corresponding to each first concept word.

[0089] The dimension of the semantic space is the same as the number of semantic primitives. The semantic space is encoded, and the concept word is vectorized according to the projection of each concept word in the semantic space to form the semantic primitive vector corresponding to the concept word. For example, the concept word Ci can be composed of several semantic primitives, forming {w k}, k = 1, 2, ..., m, where m is an integer greater than 1. Each sememe needs to be mapped to a sememe space of the corresponding dimension, such as W k In the semantic space, the Qth (w k ) bit, Q (w k ) represents the function that maps each sememe to a specific position in the sememe space, then the sememe vector of Ci can be expressed as [v1, v2, …, v n], where n represents an integer greater than 1, v i =I(Q(W k )=j), i=1,2,…,n, j is an integer starting from 1 and varying to the number of dimensions of the sememe space, I() is an example function used to determine whether the sememe is in the jth position, that is, when Q(w k ) = j, v i =1, otherwise v i =0.

[0090] Specifically, in the financial field, "assets" can be expressed by the following semantic primitives: {enterprise, economic benefits, resources}; "current assets" can be expressed by the following semantic primitives: {within 1 year, realization, consumption, assets}; in addition, "resources" belongs to a subordinate concept word, and "resources" can be expressed by the following semantic primitives: {region, material}. According to the hierarchical relationship between "assets" and "current assets", the semantic primitive space can be obtained as {enterprise, economic benefits, region, material, within 1 year, realization, consumption}. Then the semantic primitive vector of the concept word "assets" is (1,1,1,1,0,0,0), and the semantic primitive vector of the concept word "current assets" is (1,1,1,1,1,1,1,1).

[0091] It can be seen that in this example, the semantic space is encoded so that the concept words can be represented by the semantic vector, so that the first concept word relationship network and the second concept word relationship network can be integrated into the original knowledge graph, which can expand the concept word relationship network of the knowledge graph on the basis of ensuring the accuracy of the knowledge graph, enrich the associated branches of a single concept word, so that more search terms can be provided in specific search applications, improve flexibility, improve the completeness of the knowledge graph, and improve the association between concept words, thereby improving the accuracy of information retrieval.

[0092] In one possible embodiment, the first concept word relationship network and the second concept word relationship network are integrated into the original knowledge graph to obtain an enhanced knowledge graph, including: mapping the second concept word in the first concept word relationship network to the semantic primitive space to obtain the second semantic primitive vector corresponding to each second concept word; mapping the third concept word in the second concept word relationship network to the semantic primitive space to obtain the third semantic primitive vector corresponding to each third concept word; calculating the first angle corresponding to each second semantic primitive vector and each third semantic primitive vector; if the first angle is less than a first threshold, merging the second concept word and the third concept word corresponding to the first angle to obtain a first merged concept word; generating a target concept word relationship network based on the first merged concept word, at least one second concept word, and at least one third concept word; mapping the target concept word in the target concept word relationship network to the semantic primitive space to obtain the target semantic primitive vector corresponding to each target concept word; calculating the second angle corresponding to each target semantic primitive vector and each first semantic primitive vector; if the second angle is less than a second threshold, merging the first concept word and the target concept word to obtain a second merged concept word; generating an enhanced knowledge graph based on the second merged concept word, at least one target concept word, and at least one first concept word.

[0093] The first merged concept word represents the semantics of the second concept word and the semantics of the third concept word, and the second merged concept word can represent the semantics of the first concept word and the semantics of the target concept word.

[0094] The first threshold and the second threshold may be the same or different.

[0095] The result of the angle operation between the semantic primitive vectors can reflect the similarity or distance between the concept words corresponding to the two semantic primitive vectors. The angle operation can be implemented by the vector dot product formula, which is as follows:

[0096]

[0097] Among them, A and B are different vectors, is the angle between vector A and vector B, is the dot product of vector A and vector B, and are the modulus lengths of vector A and vector B respectively. If the angle is greater than or equal to the first threshold, it means that the two concept words are different and no processing is required. If the angle is less than the first threshold, it means that the two concept words are similar or related and need to be merged. There are many ways to merge, such as taking the average of the two vectors as a new vector, or selecting one of the vectors as a representative. Specifically, the concept words are "car" and "sedan", and the angle between the semantic vector of "car" and the semantic vector of "sedan" is less than the first threshold. Then, "car" and "sedan" are merged into the first merged concept word "car / sedan", whose semantic vector is the average of the semantic vector of "car" and the semantic vector of "sedan", and then the target concept word relationship network is constructed based on the unprocessed second concept word, the unprocessed third concept word, and the target concept word.

[0098] Among them, after obtaining the target concept word relationship network, the target concept word relationship network can be fused into the original knowledge graph to obtain an enhanced knowledge graph. The fusion process is the same as the fusion of the first concept word sub-relationship network and the second concept word sub-relationship network. Specifically, each target concept word in the target concept word relationship network is mapped to the semantic primitive space to obtain the corresponding target semantic primitive vector, and then the angle is calculated with the first semantic primitive vector corresponding to each first concept word in the original knowledge graph, and compared with the second threshold. Similarly, when the angle is less than the second threshold, it means that the target concept word is similar or related to the first concept word. The target concept word and the first concept word are merged to obtain the second merged concept word. Finally, the enhanced knowledge graph is constructed based on the unprocessed first concept word, the unprocessed target concept word, and the second merged concept word.

[0099] It can be seen that in this example, new concepts are obtained by fusing and merging different concept word relationship networks through semantic vectors. This enhanced knowledge graph not only contains the information of the original knowledge graph, but also expands its semantic scope and expression ability by merging similar concepts, so that the server can expand the concept word relationship network of the knowledge graph on the basis of ensuring the accuracy of the knowledge graph, enrich the associated branches of a single concept word, so as to provide more search terms in specific retrieval applications, improve flexibility, improve the completeness of the knowledge graph, and improve the association between concept words, thereby improving the accuracy of information retrieval.

[0100] For the above embodiments, please refer to Figure 3 , Figure 3 This is a block diagram of the functional units of an enhanced knowledge graph generation device provided in an embodiment of the present application. Figure 3As shown, the generation device 30 of the enhanced knowledge graph includes: a first acquisition unit 301, which is used to acquire original data, and the original data is the internal proprietary data and external public data of the target object; an analysis unit 302, which is used to perform grammatical analysis and semantic analysis on the original data to obtain a concept space, and the concept space includes at least one first concept word and a logical relationship, and the logical relationship is used to indicate the association between at least one first concept word; a decomposition unit 303, which is used to perform semantic decomposition on each first concept word to obtain at least one semantic primitive set, and a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word; a sorting unit 304, which is used to sort the semantic primitives in at least one semantic primitive set based on the logical relationship to obtain the semantic primitive space; a construction unit 305, which is used to construct the original knowledge graph based on the concept space and the semantic primitive space, and the nodes in the original knowledge graph are the semantic primitives in at least one first concept word or at least one semantic primitive set; a second acquisition unit 301, which is used to perform grammatical analysis and semantic analysis on the original data to obtain a concept space, and the nodes in the original knowledge graph are the semantic primitives in at least one first concept word or at least one semantic primitive set; Unit 306 is used to obtain a reference database, which is a database of the target field and includes at least one data subject. A first generation unit 307 is used to generate a first concept word relationship network based on behavior data, where the behavior data is used to represent the usage record of the target object based on at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data. A second generation unit 308 is used to generate a second concept word relationship network based on the structural relationship of at least one data subject and the content relationship of at least one data subject, and the nodes in the second concept word relationship network are third concept words corresponding to the data subject. A fusion unit 309 is used to fuse the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph, where the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network.

[0101] In a possible embodiment, in terms of generating a second concept word relationship network based on the structural relationship of the at least one data topic and the content relationship of the at least one data topic, the second generation unit 308 is specifically used to: determine a first concept word sub-relationship network according to the structural relationship of the at least one data topic, the nodes in the first concept word sub-relationship network are the third concept words, and the edges in the first concept word sub-relationship network represent the structural relationship; determine a second concept word sub-relationship network according to the content relationship of the at least one data topic, the nodes in the second concept word sub-relationship network are the third concept words, and the edges in the second concept word sub-relationship network represent the content relationship; merge the first concept word sub-relationship network and the second concept word sub-relationship network to obtain the second concept word relationship network.

[0102] In a possible embodiment, the behavior data includes search data and download data. In terms of generating a first concept word relationship network based on the behavior data, the first generation unit 307 is specifically used to: match the search data and the download data to determine at least one relationship pair and a corresponding call frequency, each relationship pair being used to indicate the association between each search data and the corresponding download data; perform keyword segmentation on the search data to obtain at least one keyword; obtain a concept set based on the at least one keyword, the at least one relationship pair, and the call frequency, wherein the second concept word in the concept set is expanded or modified based on the at least one keyword; and determine the first concept word relationship network based on the concept set.

[0103] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.

[0104] In the case of integrated units, such as Figure 4 As shown, Figure 4 This is a functional unit block diagram of another enhanced knowledge graph generation device provided in an embodiment of the present application. Figure 4 In the enhanced knowledge graph generation device 30, the communication module 311 and the processing module 312 are used to control and manage the actions of the device, for example, to execute the steps of the first acquisition unit 301, the analysis unit 302, the decomposition unit 303, the sorting unit 304, the construction unit 305, the second acquisition unit 306, the first generation unit 307, the second generation unit 308 and the fusion unit 309, and / or to execute other processes of the technology described herein. The communication module 311 is used to support the interaction between the device and other devices. Figure 4 As shown, the enhanced knowledge graph generation device 30 may further include a storage module 313, which is used to store program codes and data of the device.

[0105] Among them, the processing module 312 can be a processor or a controller, for example, it can be a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic boxes, modules and circuits described in combination with the contents disclosed in this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessor, and so on. The communication module 311 can be a transceiver, an RF circuit or a communication interface, etc. The storage module 313 can be a memory. Among them, all relevant contents of each scenario involved in the above method embodiments can be referred to the functional description of the corresponding functional module, which will not be repeated here. The above content quality scoring devices can all execute the above Figure 2 The method for generating the enhanced knowledge graph shown in FIG.

[0106] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0107] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method recorded in the above method embodiments are implemented.

[0108] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0109] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0111] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0112] The above integrated unit implemented in the form of software functional unit can be stored in a computer-readable storage medium. The above software functional unit is stored in a storage medium and includes several instructions for a computer device to execute.

[0113] Part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), sync link DRAM (SLDRAM) and direct memory bus random access memory (DMARAM), among other media that can store program code.

[0114] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.

Claims

1. A method for generating an enhanced knowledge graph, characterized in that: Applied to a server, the method comprises: Acquire original data, which is internal proprietary data and external public data of the target object; Performing grammatical analysis and semantic analysis on the original data to obtain a concept space, wherein the concept space includes at least one first concept word and a logical relationship, wherein the logical relationship is used to indicate an association between the at least one first concept word; Performing semantic decomposition on each first concept word to obtain at least one semantic primitive set, wherein a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word; sorting the sememes in the at least one sememe set based on the logical relationship to obtain a sememe space; Encoding the semantic primitive space to determine the first semantic primitive vector corresponding to each first concept word; Constructing an original knowledge graph based on the concept space and the sememe space, wherein the nodes in the original knowledge graph are the sememes in the at least one first concept word or the at least one sememe set; Acquire a reference database, wherein the reference database is a database in a target field and includes at least one data subject; generating a first concept word relationship network based on the behavior data, wherein the behavior data is used to represent the usage record of the target object based on the at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data; Generate a second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject, wherein the nodes in the second concept word relationship network are third concept words corresponding to the data subject; Merging the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph, wherein the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network; The step of generating a second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject comprises: Determine a first concept word sub-relationship network according to the structural relationship of the at least one data subject, wherein the nodes in the first concept word sub-relationship network are the third concept words, and the edges in the first concept word sub-relationship network represent the structural relationship; Determine a second concept word sub-relationship network according to the content relationship of the at least one data subject, wherein the nodes in the second concept word sub-relationship network are the third concept words, and the edges in the second concept word sub-relationship network represent the content relationship; Merging the first concept word sub-relationship network and the second concept word sub-relationship network to obtain the second concept word relationship network; The step of determining the first concept word sub-relationship network according to the structural relationship of the at least one data subject comprises: Determine at least one first relationship based on the structural relationship of the at least one data subject, the at least one first relationship representing a hierarchical relationship between the at least one data subject; constructing the first concept word sub-relationship network based on the at least one first relationship; The step of determining the second concept word sub-relationship network according to the content relationship of the at least one data subject comprises: Performing semantic analysis on the text information of each data subject using natural language processing to determine at least one second relationship, wherein the at least one second relationship represents a semantic relationship between the at least one data subject; constructing the second concept word sub-relationship network based on the at least one second relationship; The step of merging the first concept word sub-relationship network and the second concept word sub-relationship network to obtain the second concept word relationship network includes: Based on the nodes in the first concept word sub-relationship network and the nodes in the second concept word sub-relationship network, a node set is obtained by merging, and the node set includes common nodes and unique nodes, the common nodes are nodes in both the first concept word sub-relationship network and the second concept word sub-relationship network, and the unique nodes are nodes included in one of the first concept word sub-relationship network and the second concept word sub-relationship network; Determine an edge in the second concept word relation network based on a first weight and a second weight, wherein the first weight is used to reflect the importance of the edge in the first concept word sub-relation network, and the second weight is used to reflect the importance of the edge in the second concept word sub-relation network; constructing the second concept word relationship network based on the common nodes, the unique nodes, and the edges in the second concept word relationship network; The behavior data includes search data and download data, and the generating of the first concept word relationship network based on the behavior data includes: Matching the search data with the download data to determine at least one relationship pair and a corresponding call frequency, each relationship pair being used to indicate an association between each search data and corresponding download data; Perform keyword segmentation on the search data to obtain at least one keyword; According to the at least one keyword, the at least one relationship pair, and the calling frequency, a concept set is obtained, wherein the second concept word in the concept set is expanded or modified based on the at least one keyword; Determine the first concept word relationship network based on the concept set; The step of fusing the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph includes: Mapping the second concept words in the first concept word relationship network to the sememe space to obtain a second sememe vector corresponding to each second concept word; Mapping the third concept words in the second concept word relationship network to the sememe space to obtain a third sememe vector corresponding to each third concept word; Calculate the first angle between each secondary original vector and each tertiary original vector; If the first angle is less than a first threshold, merge the second concept word and the third concept word corresponding to the first angle to obtain a first merged concept word, where the first merged concept word represents the semantics of the second concept word and the semantics of the third concept word; Generate a target concept word relationship network based on the first merged concept word, at least one second concept word, and at least one third concept word; Mapping the target concept words in the target concept word relationship network to the sememe space to obtain a target sememe vector corresponding to each target concept word; Calculate the corresponding second angle between each target semantic vector and each first semantic vector; If the second angle is less than a second threshold, merging the first concept word and the target concept word to obtain a second merged concept word, wherein the second merged concept word represents the semantics of the first concept word and the semantics of the target concept word; The enhanced knowledge graph is generated based on the second merged concept word, at least one target concept word, and at least one first concept word.

2. A device for generating an enhanced knowledge graph, characterized in that: Applied to a server, the device comprises: A first acquisition unit, used to acquire original data, where the original data is internal proprietary data and external public data of a target object; An analysis unit, configured to perform grammatical analysis and semantic analysis on the original data to obtain a concept space, wherein the concept space includes at least one first concept word and a logical relationship, wherein the logical relationship is used to indicate an association between the at least one first concept word; A sorting unit, configured to sort the sememes in at least one sememe set based on the logical relationship, obtain a sememe space, encode the sememe space, and determine a first sememe vector corresponding to each first concept word; A decomposition unit, used for performing semantic decomposition on each first concept word to obtain at least one semantic primitive set, wherein a single semantic primitive set includes at least one semantic primitive, and each semantic primitive is used to indicate the minimum semantic unit of the corresponding first concept word; A construction unit, configured to construct an original knowledge graph based on the concept space and the sememe space, wherein the nodes in the original knowledge graph are the sememes in the at least one first concept word or the at least one sememe set; A second acquisition unit is used to acquire a reference database, where the reference database is a database in a target field and includes at least one data subject; A first generating unit is used to generate a first concept word relationship network based on the behavior data, wherein the behavior data is used to represent the usage record of the target object based on the at least one data subject, and the nodes in the first concept word relationship network are second concept words corresponding to the behavior data; A second generating unit is used to generate a second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject, wherein the nodes in the second concept word relationship network are third concept words corresponding to the data subject; A fusion unit, used for fusing the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph, wherein the nodes in the enhanced knowledge graph are fourth concept words generated based on the nodes in the original knowledge graph, the nodes in the first concept word relationship network, and the nodes in the second concept word relationship network; The generating of the second concept word relationship network based on the structural relationship of the at least one data subject and the content relationship of the at least one data subject comprises: determining a first concept word sub-relationship network according to the structural relationship of the at least one data subject, wherein the nodes in the first concept word sub-relationship network are the third concept words, and the edges in the first concept word sub-relationship network represent the structural relationship; Determine a second concept word sub-relationship network according to the content relationship of the at least one data subject, wherein the nodes in the second concept word sub-relationship network are the third concept words, and the edges in the second concept word sub-relationship network represent the content relationship; Merging the first concept word sub-relationship network and the second concept word sub-relationship network to obtain the second concept word relationship network; The step of determining the first concept word sub-relationship network according to the structural relationship of the at least one data subject comprises: Determine at least one first relationship based on the structural relationship of the at least one data subject, the at least one first relationship representing a hierarchical relationship between the at least one data subject; constructing the first concept word sub-relationship network based on the at least one first relationship; The step of determining the second concept word sub-relationship network according to the content relationship of the at least one data subject comprises: Performing semantic analysis on the text information of each data subject using natural language processing to determine at least one second relationship, wherein the at least one second relationship represents a semantic relationship between the at least one data subject; constructing the second concept word sub-relationship network based on the at least one second relationship; The step of merging the first concept word sub-relationship network and the second concept word sub-relationship network to obtain the second concept word relationship network includes: Based on the nodes in the first concept word sub-relationship network and the nodes in the second concept word sub-relationship network, a node set is obtained by merging, and the node set includes common nodes and unique nodes, the common nodes are nodes in both the first concept word sub-relationship network and the second concept word sub-relationship network, and the unique nodes are nodes included in one of the first concept word sub-relationship network and the second concept word sub-relationship network; Determine an edge in the second concept word relation network based on a first weight and a second weight, wherein the first weight is used to reflect the importance of the edge in the first concept word sub-relation network, and the second weight is used to reflect the importance of the edge in the second concept word sub-relation network; constructing the second concept word relationship network based on the common nodes, the unique nodes, and the edges in the second concept word relationship network; The behavior data includes search data and download data, and the generating of the first concept word relationship network based on the behavior data includes: Matching the search data with the download data to determine at least one relationship pair and a corresponding call frequency, each relationship pair being used to indicate an association between each search data and corresponding download data; Perform keyword segmentation on the search data to obtain at least one keyword; According to the at least one keyword, the at least one relationship pair, and the calling frequency, a concept set is obtained, wherein the second concept word in the concept set is expanded or modified based on the at least one keyword; Determine the first concept word relationship network based on the concept set; The step of fusing the first concept word relationship network and the second concept word relationship network into the original knowledge graph to obtain an enhanced knowledge graph includes: Mapping the second concept words in the first concept word relationship network to the semantic primitive space to obtain a second semantic primitive vector corresponding to each second concept word; mapping the third concept words in the second concept word relationship network to the semantic primitive space to obtain a third semantic primitive vector corresponding to each third concept word; Calculate the first angle between each secondary original vector and each tertiary original vector; If the first angle is less than a first threshold, merge the second concept word and the third concept word corresponding to the first angle to obtain a first merged concept word, where the first merged concept word represents the semantics of the second concept word and the semantics of the third concept word; Generate a target concept word relationship network based on the first merged concept word, at least one second concept word, and at least one third concept word; Mapping the target concept words in the target concept word relationship network to the sememe space to obtain a target sememe vector corresponding to each target concept word; Calculate the corresponding second angle between each target semantic vector and each first semantic vector; If the second angle is less than a second threshold, merging the first concept word and the target concept word to obtain a second merged concept word, wherein the second merged concept word represents the semantics of the first concept word and the semantics of the target concept word; The enhanced knowledge graph is generated based on the second merged concept word, at least one target concept word, and at least one first concept word.

3. A server, characterized in that: The system comprises a processor, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the method according to claim 1.

4. A computer-readable storage medium, characterized in that: A computer program is stored, wherein the computer program enables a computer to execute the method as claimed in claim 1.