Link recommendation method and device based on knowledge graph

Through the link recommendation method based on the knowledge graph, the problems of error and redundant information in data mining and link recommendation are solved, efficient data analysis and link recommendation are achieved, and the analysis accuracy and automation intelligence level are improved.

CN118798345APending Publication Date: 2024-10-18XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP +1

Patent Information

Application Number
CN202410327129.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-21
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing technologies have errors and deviations in data mining and link recommendation, and the amount of data processing caused by complex and redundant information increases, affecting the model development cycle and analysis accuracy.

Method used

The link recommendation method based on knowledge graph is used to obtain operational data and behavioral history data, extract entity information and behavioral relationships, build a knowledge graph, convert and analyze the entity and behavioral information, generate an efficient graph model, and obtain accurate links. route information to improve the automation and intelligence level of link recommendation.

Benefits of technology

It effectively avoids the impact of complex and redundant information, improves the accuracy of data analysis and link analysis, improves the automation and intelligence level of link recommendation, and enhances scenario feature analysis capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798345A_ABST
    Figure CN118798345A_ABST
Patent Text Reader

Abstract

The invention provides a link recommendation method and device based on a knowledge graph, and relates to the field of artificial intelligence. Comprising the following steps: performing data extraction on operational data to generate a data wide table so as to construct a first concept layer; extracting entity information, attribute information and a behavior relationship among the entity information from the behavior process data to generate a first knowledge graph; performing conversion and analysis fusion on the entity information and the behavior information of the first knowledge graph to obtain a second knowledge graph, and updating the second knowledge graph based on the first concept layer to obtain a third knowledge graph; and obtaining first link information based on the behavior relationship in the third knowledge graph, fusing the first link information to obtain second link information, and determining a to-be-recommended target link from the second link information. In the embodiment of the invention, the influence of complicated and redundant information can be avoided, the accuracy of link analysis is improved, and the intelligent level of link recommendation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of artificial intelligence and data processing technology, and in particular to a link recommendation method and device based on a knowledge graph. Background Art

[0002] In the related technologies, when data mining is performed through typical data statistical analysis and hard logic calculation programs or machine learning algorithms, the analysis and selection of feature fields in different scenarios require customized processing logic and implementation, and it is necessary to rely on strong historical model experience when selecting the model type for the corresponding scenario; the interpretability in some application scenarios is poor, which will produce large errors or deviations. At the same time, since the data obtained through machine collection often contains a large amount of complex and redundant information, it not only increases the amount of data processing, but also affects the subsequent data analysis and link recommendation, greatly increasing the model development cycle.

[0003] Therefore, how to avoid the influence of complex and redundant information, improve the accuracy of data analysis, improve the accuracy of link analysis, enhance the automation and intelligence level of link recommendation, and improve the ability of link analysis and scene feature analysis has become one of the important research directions. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one purpose of the present disclosure is to propose a link recommendation method based on knowledge graph.

[0005] The second objective of the present disclosure is to propose a link recommendation device based on knowledge graph.

[0006] A third objective of the present disclosure is to provide an electronic device.

[0007] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.

[0008] A fifth object of the present disclosure is to provide a computer program product.

[0009] To achieve the above objectives, the first embodiment of the present disclosure proposes a link recommendation method based on a knowledge graph, comprising:

[0010] Obtain operational data and behavioral history data, extract operational data based on preset data fields and graph data types, generate a wide data table, and build the first concept layer based on the wide data table;

[0011] Extract entity information, attribute information, and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph;

[0012] The entity information and behavior information of the first knowledge graph are converted and analyzed and integrated respectively to obtain a second knowledge graph, and the second knowledge graph is updated based on the first concept layer to obtain a third knowledge graph;

[0013] The first link information is obtained based on the behavior relationship in the third knowledge graph, and the first link information is fused to obtain the second link information, and the target link to be recommended is determined from the second link information.

[0014] In the disclosed embodiment, operational data is extracted based on preset data fields and graph data types to generate a wide data table, and a first concept layer is constructed based on the wide data table; entity information, attribute information and behavioral relationships between entity information are extracted from behavioral history data to generate a first knowledge graph; entity information and behavioral information of the first knowledge graph are converted and analyzed and fused respectively to obtain a second knowledge graph, and the second knowledge graph is updated based on the first concept layer to obtain a third knowledge graph, which can avoid the influence of complex and redundant information, build an efficient graph model through a deep understanding of the business, and improve the accuracy of data analysis; first link information is obtained based on the behavioral relationship in the third knowledge graph, and the first link information is fused to obtain second link information, and the target link to be recommended is determined from the second link information, which can improve the accuracy of link analysis, enhance the automation and intelligence level of link recommendation, and improve link analysis and scenario feature analysis capabilities.

[0015] To achieve the above-mentioned purpose, the second aspect of the present disclosure proposes a link recommendation device based on a knowledge graph, comprising:

[0016] An acquisition module is used to acquire operational data and behavioral history data, extract operational data based on preset data fields and graph data types, generate a data wide table, and construct a first concept layer based on the data wide table;

[0017] A generation module, used to extract entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph;

[0018] An updating module, used to convert and analyze the entity information and behavior information of the first knowledge graph respectively to obtain a second knowledge graph, and to update the second knowledge graph based on the first concept layer to obtain a third knowledge graph;

[0019] The processing module is used to obtain the first link information based on the behavior relationship in the third knowledge graph, fuse the first link information to obtain the second link information, and determine the target link to be recommended from the second link information.

[0020] To achieve the above-mentioned purpose, a third aspect of the present disclosure provides an electronic device, including:

[0021] at least one processor; and

[0022] a memory communicatively connected to at least one processor; wherein,

[0023] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the knowledge graph-based link recommendation method provided in the embodiment of the first aspect of the present disclosure.

[0024] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a computer-readable storage medium on which computer instructions are stored, wherein the computer instructions are used to enable a computer to execute the link recommendation method based on the knowledge graph provided in the first aspect embodiment of the present disclosure.

[0025] To achieve the above-mentioned purpose, the fifth aspect embodiment of the present disclosure proposes a computer program product, including a computer program, which, when executed by a processor, implements the link recommendation method based on the knowledge graph provided in the first aspect embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure;

[0027] Figure 2 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure;

[0028] Figure 3 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure;

[0029] Figure 4 is a schematic diagram of a statistical tree according to an embodiment of the present disclosure;

[0030] Figure 5 It is a structural block diagram of a link recommendation device based on a knowledge graph according to an embodiment of the present disclosure;

[0031] Figure 6 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0033] For ease of understanding, the terms in the embodiments of the present disclosure are explained below:

[0034] Operational Data Store (ODS) is a transition from database to data warehouse. The data structure of ODS is generally consistent with the data source, which is convenient for reducing the complexity of ETL (ETL is the abbreviation of Extract-Transform-Load, which is used to describe the process of extracting, transforming, and loading data from the source to the destination). In addition, the data cycle of ODS is generally short. ODS stores the current data situation, provides users with the current status, and provides instant, operational, and integrated overall information needs. As a transition form from database to data warehouse, ODS can provide high-performance response time. ODS design adopts a hybrid design method. The data in ODS is "real-time value", while the data in the data warehouse is "historical value". Generally, the data stored in ODS does not exceed one month, while the data warehouse is 10 years or more.

[0035] End-to-End Customer Journey Data refers to all the data generated by users throughout the entire purchase process, including understanding products / services, browsing websites, placing orders, paying, and after-sales services, as well as the behavior and feedback data generated in these links. This data can be obtained through various channels, such as websites, applications, social media, online advertising, etc.

[0036] Average Revenue Per User (ARPU) is an indicator used to measure the business revenue of telecom operators.

[0037] Minutes of Usage (MOU) refers to the total time a user uses telephone or other communication services within a certain period of time.

[0038] Discharge of Usage (DOU) refers to the amount of traffic consumed by a user within a certain period of time.

[0039] NER model refers to the named entity recognition (NER) model. Named entity recognition is an important task in natural language processing, which aims to identify and extract entities with specific meanings from text, such as places, organizations, dates, times, etc.

[0040] Ontology means to personalize the general architecture of the reference knowledge graph according to the professional field of the industry to which it belongs, so as to realize the knowledge graph architecture entity suitable for the professional field.

[0041] The following describes the link recommendation method and device based on knowledge graph according to an embodiment of the present disclosure in conjunction with the accompanying drawings.

[0042] Figure 1 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure. Figure 1 As shown, the method comprises the following steps:

[0043] S101, obtaining operational data and behavioral history data, extracting operational data based on preset data fields and graph data types, generating a data wide table, and constructing a first concept layer based on the data wide table.

[0044] In the embodiments of the present disclosure, the communication traffic recommendation business scenario is taken as an example for explanation. The behavioral history data can be the experience history data for the entire life cycle. The operational data can include relevant characteristics of dimensions such as user basic attributes, product ordering, user consumption, location trajectory, traffic usage, traffic preference, fixed network usage, network quality and complaints.

[0045] As shown in Table 1, optionally, the preset data field may include user number, main package price, user terminal price, etc. In the embodiment of the present disclosure, in order to perform abstract expression based on "association", the graph data type G may include V, E, D, that is, G = (V, E, D), wherein V = vertex (vertex or node), E = edge (edge), and D = data (attributes and weights). In the embodiment of the present disclosure, operational data is extracted based on the preset data fields and graph data types, and the caliber data corresponding to the data fields and graph data types are filled according to the extracted data to generate a data wide table.

[0046] Table 1

[0047]

[0048] Optionally, in order to further improve the accuracy of the wide data table, the wide data table may be preprocessed based on means such as continuous value discretization, category feature processing, and feature enhancement.

[0049] The NER model is called to extract entities, relationships and attributes in the data wide table. According to the triple data structure (V, E, D), a new knowledge graph instance is formed for the original two-dimensional data wide table. The first concept layer is constructed based on the knowledge graph instance. For example, the concept layer can be extracted by a graph learning algorithm. The concept layer refers to the abstract representation layer of various entities, relationships and attributes contained in the knowledge graph. In the knowledge graph, the concept layer is mainly used to describe the relationships and attributes between different entities, as well as the semantic associations between them. The data field corresponds to several event sets. The target event in the event set can be used as a node in the knowledge graph instance. The definition of the target event (new business or product ordering event) is shown in Table 2.

[0050] Table 2

[0051]

[0052]

[0053] S102, extracting entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph.

[0054] Relying on the deep learning NER model, entity information, attribute information and behavioral relationships between entity information are extracted from the full life cycle experience process data, and on this basis, an ontological knowledge expression is formed. In the embodiment of the present disclosure, the ontological knowledge expression is a knowledge expression shown in a triple data structure (V, E, D), wherein the entity corresponds to V in the graph, the attribute corresponds to D in the graph, and the relationship between entities corresponds to E in the graph. The first knowledge graph can be generated based on the ontological knowledge expression.

[0055] Optionally, in an embodiment of the present disclosure, entity information may include relevant information of user nodes, asset / device nodes, and business / service nodes. The behavioral relationships between entity information, namely behavioral nodes, may be represented by connecting lines in the graph, including relationships such as ordering, use, consumption, and evaluation.

[0056] S103, converting and analyzing the entity information and behavior information of the first knowledge graph respectively to obtain a second knowledge graph, and updating the second knowledge graph based on the first concept layer to obtain a third knowledge graph.

[0057] In the disclosed embodiment, the entity information of the first knowledge graph is converted into text information, the entity information of the first knowledge graph is fused based on the semantic similarity and / or correlation of the text information, the behavioral relationship of the first knowledge graph is converted into a behavioral vector, and the behavioral relationship of the first knowledge graph is fused based on the vector distance and / or intention similarity of the behavioral vector, so as to realize the conversion and analysis fusion of the entity information and behavioral information of the first knowledge graph respectively, and obtain the second knowledge graph.

[0058] In some implementations, the concept layer of the second knowledge graph is incrementally updated based on the first concept layer to obtain a third knowledge graph.

[0059] S104, obtaining the first link information based on the behavior relationship in the third knowledge graph, and fusing the first link information to obtain the second link information, and determining the target link to be recommended from the second link information.

[0060] Frequent subgraph mining and analysis is performed on the third knowledge graph. Frequent subgraph mining aims to analyze the frequently occurring and relatively important patterns in the graph structure. It is generally believed that the more frequently appearing subgraphs in the real graph structure, the higher their importance. Based on the translation of the graph matching results into link results, the first link information is obtained. The link quality is improved by fusion links to obtain the second link information. From the second link information, effective links are further screened and link effects are evaluated to determine the target link to be recommended.

[0061] In the disclosed embodiment, operational data is extracted based on preset data fields and graph data types to generate a wide data table, and a first concept layer is constructed based on the wide data table; entity information, attribute information and behavioral relationships between entity information are extracted from behavioral history data to generate a first knowledge graph; entity information and behavioral information of the first knowledge graph are converted and analyzed and fused respectively to obtain a second knowledge graph, and the second knowledge graph is updated based on the first concept layer to obtain a third knowledge graph, which can avoid the influence of complex and redundant information, build an efficient graph model through a deep understanding of the business, and improve the accuracy of data analysis; first link information is obtained based on the behavioral relationship in the third knowledge graph, and the first link information is fused to obtain second link information, and the target link to be recommended is determined from the second link information, which can improve the accuracy of link analysis, enhance the automation and intelligence level of link recommendation, and improve link analysis and scenario feature analysis capabilities.

[0062] Figure 2 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure. Figure 2 As shown, the method comprises the following steps:

[0063] S201, obtaining operational data and behavioral history data, extracting operational data based on preset data fields and graph data types, generating a data wide table, and constructing a first concept layer based on the data wide table.

[0064] S202, extracting entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph.

[0065] For the introduction of step S201 to step S202, reference may be made to the relevant contents in the above embodiment, which will not be repeated here.

[0066] S203, converting the entity information of the first knowledge graph into text information, and fusing the entity information based on the semantic similarity and relevance of the text information.

[0067] In the disclosed embodiment, the information of the first knowledge graph is integrated to eliminate contradictions and ambiguities in the information, as well as complex and redundant information.

[0068] In some implementations, for two different text information, semantic similarity is calculated for the two text information to obtain a first similarity. If the first similarity exceeds a preset first similarity threshold, entity information corresponding to the two text information is fused.

[0069] In some implementations, a preset association mapping table is obtained, and whether two pieces of text information are associated is determined based on the association mapping table, and entity information corresponding to the two pieces of text information that are associated is merged.

[0070] In some embodiments, if the first similarity exceeds a preset first similarity threshold, the entity information corresponding to the two text information is merged; if the first similarity does not exceed the first similarity threshold, a preset association mapping table is obtained, and based on the association mapping table, it is determined whether the two text information are associated, and the entity information corresponding to the two associated text information is merged.

[0071] For example, the extracted entity information (user node, asset / device node, business / service node related information) is converted into text information, which may include the name, IP, media access control MAC address, and identification ID of various users, assets / devices, and businesses / services; then the text information is analyzed and fused based on semantic similarity and correlation (for example, an association mapping table can be preset to record the name, IP, MAC, and ID representing the same user or device or business, and determine whether the user or device or business can be integrated based on the correlation. It can also be directly determined based on whether it has the same preset key features, such as physical location, user basic information, MAC, etc.), that is, whether it is fusible entity information is determined based on whether it has the same preset key features (for example, physical location, user basic information, MAC, etc.).

[0072] S204, converting the behavior relationship of the first knowledge graph into a behavior vector, fusing the behavior relationship based on the vector distance and intention similarity of the behavior vector, and obtaining a second knowledge graph.

[0073] In the embodiment of the present disclosure, the behavior relationship is converted into a behavior vector. Specifically, different behavior relationships can be represented by setting different vector feature values. For example, there are four types of behavior relationships, including ordering behavior, using behavior, consuming behavior, and evaluating behavior. The conditional probability values ​​of the four behaviors are calculated through historical data as feature values ​​and vectorized. For example, the ordering behavior can use [0.25, 0.36, 0.19, 0.09] T Column vector replacement.

[0074] For two different behavior vectors, the vector distance between the two behavior vectors is calculated to obtain the second similarity, the intention similarity between the two behavior vectors is calculated to obtain the third similarity, the second similarity and the third similarity are weighted to obtain the target similarity, and if the target similarity exceeds the preset second similarity threshold, the behavior relationship corresponding to the two behavior vectors is fused.

[0075] In other words, the behavior vectors are analyzed and fused using vector distance calculation and intention similarity calculation, so as to fuse the knowledge graph information with the same behavior relationship and build an integrated behavior link.

[0076] In some embodiments, in order to obtain a more accurate and higher quality knowledge graph, during the information fusion process, the quality of the fused information can be evaluated. For example, the rank of the matrix of the information to be fused can be obtained, and the information whose matrix rank is less than the preset eigenvalue category quantity can be cleared. Ensuring that the matrix of the fused information has sufficient rank may help retain important information and reduce information redundancy.

[0077] S205, obtaining the second concept layer of the second knowledge graph.

[0078] For example, concept layer extraction can be achieved through graph learning algorithms.

[0079] S206: incrementally update the second concept layer based on the first concept layer to obtain a third concept layer.

[0080] The first concept layer is compared with the second concept layer. If the first concept layer does not exist in the second concept layer, the first concept layer is added to the second concept layer according to a preset merging rule to obtain a third concept layer.

[0081] S207, update the second knowledge graph based on the third concept layer to obtain a third knowledge graph.

[0082] If the concept layer is updated, entities, relationships, and attribute values ​​are added or updated to the second knowledge graph to obtain the third knowledge graph.

[0083] S208, obtaining the first link information based on the behavior relationship in the third knowledge graph, and fusing the first link information to obtain the second link information, and determining the target link to be recommended from the second link information.

[0084] For the introduction of step S208, please refer to the content of the above embodiment, which will not be repeated here.

[0085] In the disclosed embodiment, the entity information of the first knowledge graph is converted into text information, the entity information is fused based on the semantic similarity and correlation of the text information, the behavioral relationship of the first knowledge graph is converted into a behavioral vector, and the behavioral relationship is fused based on the vector distance and intention similarity of the behavioral vector. This can avoid the influence of complex and redundant information, and build an efficient graph model through a deep understanding of the business; updating the knowledge graph based on the concept layer can improve the accuracy of data analysis.

[0086] Figure 3 is a flowchart of a link recommendation method based on a knowledge graph according to an embodiment of the present disclosure. Figure 3 As shown, the method comprises the following steps:

[0087] S301, obtaining operational data and behavioral history data, extracting operational data based on preset data fields and graph data types, generating a data wide table, and constructing a first concept layer based on the data wide table.

[0088] S302, extracting entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph.

[0089] S303, converting and analyzing the entity information and behavior information of the first knowledge graph respectively to obtain a second knowledge graph, and updating the second knowledge graph based on the first concept layer to obtain a third knowledge graph.

[0090] For the introduction of steps S301 to S303, please refer to the contents of the above embodiments, which will not be repeated here.

[0091] S304: Perform mining analysis on the third knowledge graph according to a frequent subgraph mining algorithm to obtain the occurrence frequency of the behavior relationship in the third knowledge graph.

[0092] Graph mining mainly focuses on the mining of frequent subgraphs in the graph data set of the third knowledge graph. The key to frequent subgraph mining technology is to establish an effective mechanism to reduce redundant candidate subgraphs (that is, the third knowledge graph) so as to efficiently calculate and process the required frequent subgraphs. The path-based frequent subgraph mining algorithm first finds all frequent edges to mine frequent single paths, then expands more frequent paths through combination / bijective operations, and then generates all frequent subgraph candidate sets through connection operations.

[0093] Frequent subgraph mining aims to analyze the frequently occurring and relatively important patterns in the graph structure. It is generally believed that the higher the frequency of occurrence in the graph structure of the third knowledge graph, the higher the importance. In the embodiment of the present disclosure, certain rules are needed to define the importance of the subgraph.

[0094] For example, in the embodiment of the present disclosure, multi-threaded mining of frequent patterns is adopted, and each thread completes the mining of all frequent patterns of a target result. Frequent patterns all carry the target result, and the length does not exceed K. The number of conditions that each combination satisfies is counted, and then the condition combinations that meet the number exceeding the threshold are screened out. The frequent pattern condition chains of different target outcomes are aggregated, and their preceding event chains are extracted. Among them, the frequent patterns include (p1, p2, p3, ..., pn, pN+1), and the extracted preceding event chains include (p1, p2, p3, ..., pn), such as Figure 4 As shown, all preceding event chains are constructed into a tree structure to obtain a statistical tree to reduce repeated statistics. The relationship of the graph data set is used to query the number of conditions that are satisfied on the path from the root node to other child nodes of each tree in the statistical tree, and the statistical results are recorded on the child nodes. At this time, it is only necessary to traverse each node in the forest to obtain the frequency of occurrence of the behavioral relationship in the third knowledge graph.

[0095] S305: Translate the behavior relationship whose occurrence frequency is greater than the preset frequency threshold into first link information.

[0096] Link information includes precondition links and result events.

[0097] S306: Merge the first link information with the same entity information and the same behavior relationship to obtain the second link information.

[0098] In order to improve the link quality, it is necessary to merge the first link information with the same entity information and the same behavior relationship.

[0099] S307: Acquire from the second link information a first number of links for which the result event is a prerequisite and satisfies the entire precondition, and acquire a second number of the result event.

[0100] A first number of result events that are prerequisites and satisfy the entire precondition link is queried from the statistical tree, and a second number of result events is obtained.

[0101] S308: Determine the confidence level of the precondition link based on the ratio of the first number to the second number.

[0102] For each frequent pattern (condition chain) mined in the second step, the confidence is calculated, and the rule conversion rate is used as the confidence of the precondition link, that is, the ratio of the number of result events that are prerequisites and meet the entire precondition link to the total number of result events.

[0103] S309: Determine a target link to be recommended based on the confidence of the precondition link.

[0104] The link information of the precondition link with a high rule conversion rate is selected as the target link to be recommended. For example, the link information of the precondition link with a confidence higher than a preset confidence threshold can be used as the target link to be recommended. For another example, the precondition links can be sorted based on the confidence, and the link information of the first N precondition links can be used as the target link to be recommended. Where N is a positive integer.

[0105] In the disclosed embodiments, graph computing algorithm capabilities are used to achieve fast and accurate data mining. This knowledge graph application can be used in aspects such as customer service and product recommendations. It can adjust and optimize the customer's recommendation path in real time, help generate personalized recommendation links, enhance customer experience, improve link recommendation efficiency, and provide better auxiliary decision-making for subsequent intelligent recommendations.

[0106] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0107] Figure 5is a structural diagram of a link recommendation device based on a knowledge graph according to an embodiment of the present disclosure, such as Figure 5 As shown, the link recommendation device 500 based on the knowledge graph includes:

[0108] The acquisition module 510 is used to acquire operational data and behavioral history data, extract the operational data based on preset data fields and graph data types, generate a data wide table, and construct a first concept layer based on the data wide table;

[0109] A generation module 520, for extracting entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph;

[0110] An updating module 530 is used to convert and analyze the entity information and behavior information of the first knowledge graph to obtain a second knowledge graph, and to update the second knowledge graph based on the first concept layer to obtain a third knowledge graph;

[0111] The processing module 540 is used to obtain the first link information based on the behavior relationship in the third knowledge graph, fuse the first link information to obtain the second link information, and determine the target link to be recommended from the second link information.

[0112] In some implementations, the update module 530 is further configured to:

[0113] Convert the entity information of the first knowledge graph into text information, and fuse the entity information based on the semantic similarity and relevance of the text information;

[0114] The behavior relationship of the first knowledge graph is converted into a behavior vector, and the behavior relationship is fused based on the vector distance and intention similarity of the behavior vector.

[0115] In some implementations, the update module 530 is further configured to:

[0116] For two different text information, the semantic similarity of the two text information is calculated to obtain a first similarity, and if the first similarity exceeds a preset first similarity threshold, the entity information corresponding to the two text information is merged;

[0117] If the first similarity does not exceed the first similarity threshold, a preset association mapping table is obtained, and whether the two text information are associated is determined based on the association mapping table, and entity information corresponding to the two associated text information is merged.

[0118] In some implementations, the update module 530 is further configured to:

[0119] For two different behavior vectors, a vector distance calculation is performed on the two behavior vectors to obtain a second similarity, and an intention similarity calculation is performed on the two behavior vectors to obtain a third similarity;

[0120] The second similarity and the third similarity are weighted to obtain the target similarity. If the target similarity exceeds a preset second similarity threshold, the behavior relationships corresponding to the two behavior vectors are fused.

[0121] In some implementations, the update module 530 is further configured to:

[0122] Obtaining a second concept layer of a second knowledge graph;

[0123] Incrementally updating the second concept layer based on the first concept layer to obtain a third concept layer;

[0124] The second knowledge graph is updated based on the third concept layer.

[0125] In some implementations, the processing module 540 is further configured to:

[0126] Perform mining analysis on the third knowledge graph according to the frequent subgraph mining algorithm to obtain the occurrence frequency of the behavior relationship in the third knowledge graph;

[0127] Translating a behavior relationship having an occurrence frequency greater than a preset frequency threshold into first link information;

[0128] The first link information is merged with the same entity information and the same behavior relationship to obtain the second link information.

[0129] In some implementations, the link information includes a precondition link and a result event, and the processing module 540 is further configured to:

[0130] Acquire from the second link information a first number of result events that are prerequisites and satisfy the entire prerequisite link, and acquire a second number of result events;

[0131] determining a confidence level of the precondition link based on a ratio of the first number to the second number;

[0132] The target link to be recommended is determined based on the confidence of the precondition link.

[0133] In the disclosed embodiments, the influence of complicated and redundant information can be avoided, and an efficient graph model can be constructed through a deep understanding of the business to improve the accuracy of data analysis. The accuracy of link analysis can be improved, the level of automation and intelligence of link recommendations can be enhanced, and the link analysis and scenario feature analysis capabilities can be improved.

[0134] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment.

[0135] like Figure 6 As shown, the electronic device 600 includes:

[0136] The memory 601 and the processor 602, a bus 603 connecting different components (including the memory 601 and the processor 602), the memory 601 stores a computer program, and when the processor 602 executes the program, the link recommendation method based on the knowledge graph of the embodiment of the present disclosure is implemented.

[0137] Bus 603 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0138] The electronic device 600 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 600, including volatile and non-volatile media, removable and non-removable media.

[0139] The memory 601 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 604 and / or cache memory 605. The electronic device 600 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 606 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 603 via one or more data medium interfaces. The memory 601 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0140] A program / utility 608 having a set (at least one) of program modules 607 may be stored, for example, in the memory 601, such program modules 607 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 607 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0141] The electronic device 600 may also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 611, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 612. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 613. Figure 6 As shown, the network adapter 613 communicates with other modules of the electronic device 600 via the bus 603. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0142] The processor 602 executes various functional applications and data processing by running the programs stored in the memory 601 .

[0143] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the link recommendation method based on the knowledge graph of the embodiment of the present disclosure, and will not be repeated here.

[0144] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0145] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can perform the link recommendation method based on the knowledge graph as described above. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0146] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0147] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A link recommendation method based on knowledge graph, characterized in that: include: Acquire operational data and behavioral history data, extract the operational data based on preset data fields and graph data types, generate a data wide table, and construct a first concept layer based on the data wide table; Extracting entity information, attribute information, and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph; The entity information and the behavior information of the first knowledge graph are converted and analyzed and integrated respectively to obtain a second knowledge graph, and the second knowledge graph is updated based on the first concept layer to obtain a third knowledge graph; The first link information is obtained based on the behavior relationship in the third knowledge graph, and the first link information is fused to obtain the second link information, and the target link to be recommended is determined from the second link information.

2. The method according to claim 1, characterized in that The converting and analyzing and fusing the entity information and the behavior information of the first knowledge graph respectively includes: Convert the entity information of the first knowledge graph into text information, and fuse the entity information based on the semantic similarity and relevance of the text information; The behavior relationship of the first knowledge graph is converted into a behavior vector, and the behavior relationship is fused based on the vector distance and intention similarity of the behavior vector.

3. The method according to claim 2, characterized in that The fusing of the entity information based on the semantic similarity and relevance of the text information includes: For two different text information, the semantic similarity of the two text information is calculated to obtain a first similarity, and if the first similarity exceeds a preset first similarity threshold, the entity information corresponding to the two text information is merged; If the first similarity does not exceed the first similarity threshold, a preset association mapping table is obtained, and whether the two text information are associated is determined based on the association mapping table, and the entity information corresponding to the two associated text information is merged.

4. The method according to claim 2, characterized in that: The fusing the behavior relationship based on the vector distance and intention similarity of the behavior vector includes: For two different behavior vectors, performing vector distance calculation on the two behavior vectors to obtain a second similarity, and performing intention similarity calculation on the two behavior vectors to obtain a third similarity; The second similarity and the third similarity are weighted to obtain a target similarity, and if the target similarity exceeds a preset second similarity threshold, the behavior relationship corresponding to the two behavior vectors is merged.

5. The method according to any one of claims 1 to 4, characterized in that: The updating of the second knowledge graph based on the first concept layer includes: Obtaining a second concept layer of the second knowledge graph; incrementally updating the second concept layer based on the first concept layer to obtain a third concept layer; The second knowledge graph is updated based on the third concept layer.

6. The method according to any one of claims 1 to 4, characterized in that: The acquiring the first link information based on the behavior relationship in the third knowledge graph and fusing the first link information to obtain the second link information includes: Performing mining analysis on the third knowledge graph according to a frequent subgraph mining algorithm to obtain the occurrence frequency of the behavior relationship in the third knowledge graph; Translating the behavior relationship whose occurrence frequency is greater than a preset frequency threshold into the first link information; The first link information is merged with the same entity information and the same behavior relationship to obtain the second link information.

7. The method according to claim 6, characterized in that The link information includes a precondition link and a result event, and the step of determining a target link to be recommended from the second link information includes: Acquire a first number of result events that are prerequisites and satisfy the entire prerequisite link from the second link information, and acquire a second number of the result events; determining a confidence level of the precondition link based on a ratio of the first number to the second number; A target link to be recommended is determined based on the confidence of the precondition link.

8. A link recommendation device based on knowledge graph, characterized in that: include: An acquisition module, used to acquire operational data and behavioral history data, extract operational data based on preset data fields and graph data types, generate a data wide table, and construct a first concept layer based on the data wide table; A generation module, used to extract entity information, attribute information and behavioral relationships between entity information from the behavioral history data to generate a first knowledge graph; An updating module, configured to convert and analyze the entity information and the behavior information of the first knowledge graph respectively to obtain a second knowledge graph, and to update the second knowledge graph based on the first concept layer to obtain a third knowledge graph; A processing module is used to obtain the first link information based on the behavior relationship in the third knowledge graph, fuse the first link information to obtain the second link information, and determine the target link to be recommended from the second link information.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the steps of the method according to any one of claims 1-7.

11. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Knowledge graph construction method and system

    CN114064910A

  • Method, electronic device and storage medium for generating information

    US20210216717A1

Cited By

  • Remote sensing knowledge recommendation method and device, electronic equipment and storage medium

    CN120929607A

  • Remote sensing knowledge recommendation method and device, electronic equipment and storage medium

    CN120929607B