Knowledge graph updating method and device, storage medium and electronic device

By displaying the target knowledge graph on the interactive interface, obtaining user interaction operations, and dynamically updating graph nodes and keywords, the problem of inaccurate recommended content in existing technologies is solved, enabling better adaptation to user needs and improving the accuracy of recommendations and user experience.

CN114077672BActive Publication Date: 2026-05-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2020-08-20
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing technologies struggle to truly adapt to user needs, resulting in low accuracy in recommended content. Users passively accept recommendations, making it difficult to meet their ever-changing demands.

Method used

By displaying the target knowledge graph on the interactive interface, user interaction operations are obtained, graph nodes and keywords are dynamically updated, and keyword-based associations are established to achieve dynamic adjustment of user needs.

Benefits of technology

It improved the accuracy of recommended content, optimized the user experience, enabled the recommendation service to better adapt to changes in user needs, and enhanced user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077672B_ABST
    Figure CN114077672B_ABST
Patent Text Reader

Abstract

The application discloses a knowledge graph updating method, a storage medium and an electronic device. The method comprises the following steps: displaying a first graph node and a first group of graph nodes on a first interaction interface, displaying a corresponding keyword on each graph node in the first graph node and the first group of graph nodes, the keyword on the first graph node and the keyword on the first group of graph nodes having an association relationship, obtaining a first interaction operation for selecting a second graph node on the first interaction interface, and displaying a newly added second group of graph nodes on the first interaction interface in response to the first interaction operation. The application solves the technical problems of the related art, such as the difficulty in truly adapting to user needs and the low accuracy of updated recommended content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computers, and more specifically, to a method and apparatus for updating a knowledge graph, a storage medium, and an electronic device. Background Technology

[0002] Currently, the process of acquiring user needs and providing feedback based on those needs largely relies on search or recommendation algorithms. In user search, users directly input keywords and select the desired content from the results. This requires users to conduct targeted searches and have a clear objective for the feedback they seek. It's difficult to effectively recommend products to users who lack a clear target audience. In contrast, app recommendations, based on user behavior (e.g., listening to music), use various recommendation algorithms to display lists in the app at appropriate times. Users then select songs they are interested in. However, in this process, users don't accurately understand why the app recommends these songs; they are in a passive state. Furthermore, since user preferences may change over time, continuous recommendations from app algorithms can lead to increasingly homogenized service types, failing to truly meet user needs.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This invention provides a method, apparatus, storage medium, and electronic device for updating knowledge graphs, to at least solve the technical problems in related technologies where it is difficult to truly adapt to user needs and the accuracy of updated recommended content is low.

[0005] According to one aspect of the present invention, a method for updating a knowledge graph is provided, comprising: displaying a target knowledge graph on a first interactive interface, wherein the target knowledge graph includes a first graph node and a first group of graph nodes, each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword, the first group of graph nodes is displayed as adjacent nodes of the first graph node, and the keywords on the first graph node are associated with the keywords on the first group of graph nodes; obtaining a first interactive operation performed on a second graph node on the first interactive interface, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node; responding to the first interactive operation, displaying a newly added second group of graph nodes on the first interactive interface, wherein the second group of graph nodes is displayed as adjacent nodes of the second graph node, each graph node in the second group of graph nodes displays a corresponding keyword, the keywords on the second graph node are associated with the keywords on the second group of graph nodes, and the target knowledge graph includes the second group of graph nodes.

[0006] Optionally, the method further includes: in response to the first interactive operation, canceling the display of graph nodes other than the second graph node in the first group of graph nodes on the first interactive interface, or, a group of graph nodes other than the second graph node in the first group of graph nodes, wherein the keywords on the group of graph nodes are the same type of keywords as the keywords on the second graph node.

[0007] Optionally, the method further includes: when the display of all graph nodes in the first group of graph nodes except the second graph node is cancelled on the first interactive interface, obtaining a second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, displaying all graph nodes in the first group of graph nodes except the second graph node on the first interactive interface; when the display of the first group of graph nodes except the second graph node is cancelled on the first interactive interface, obtaining the second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, displaying the first group of graph nodes except the second graph node on the first interactive interface.

[0008] Optionally, the method further includes: when the second interactive operation performed on the first graph node is obtained on the first interactive interface, canceling the display of the second group of graph nodes on the first interactive interface.

[0009] Optionally, displaying the newly added second set of graph nodes on the first interactive interface includes: obtaining a set of keywords that are related to the keywords on the second graph node from the first information set; displaying the first set of keywords in the corresponding graph node in the second set of graph nodes, wherein the first set of keywords corresponds one-to-one with the second set of graph nodes.

[0010] Optionally, obtaining a set of keywords that are related to the keywords on the second graph node from the first information set includes: obtaining a first set of keywords that are related to the keywords on the second graph node from the first information set; sorting the first set of keywords according to their popularity to obtain a second set of keywords; selecting the top N keywords in popularity from the second set of keywords to obtain the set of keywords, where N is a natural number.

[0011] Optionally, displaying the newly added second set of graph nodes on the first interactive interface includes: when the second set of graph nodes includes a third graph node and a fourth graph node, displaying the third graph node on the first interactive interface using a first display method and displaying the fourth graph node using a second display method, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

[0012] Optionally, the method further includes: in response to the first interactive operation, displaying a target node on the first interactive interface, wherein the target node is displayed as an adjacent node of the second graph node, the target node is used to display a third set of keywords, the third set of keywords is associated with the keywords on the second graph node, and the third set of keywords is different from the keywords on the second graph node.

[0013] Optionally, the method further includes: obtaining a third interactive operation performed on the target node; in response to the third interactive operation, displaying the third set of keywords; and when a fourth set of keywords in the third set of keywords is selected, displaying a third set of graph nodes on the first interactive interface, and displaying the fourth set of keywords in the graph nodes corresponding to the third set of graph nodes, wherein the third set of graph nodes corresponds one-to-one with the fourth set of keywords, and the third set of graph nodes is displayed as an adjacent node of the second graph node.

[0014] Optionally, the method further includes:

[0015] When the third set of map nodes is displayed on the first interactive interface, the second set of map nodes is de-displayed on the first interactive interface.

[0016] Optionally, the method further includes: when the newly added second group of graph nodes is displayed on the first interactive interface, displaying a first group of media information matching the keywords on the second graph nodes on the second interactive interface; or, when the newly added second group of graph nodes is displayed on the first interactive interface, displaying a second group of media information matching the keywords on the second graph nodes and the keywords on some or all of the graph nodes in the second group of graph nodes on the second interactive interface; or, when the newly added second group of graph nodes is displayed on the first interactive interface, displaying a third group of media information matching the keywords on some or all of the graph nodes in the second group of graph nodes on the second interactive interface.

[0017] Optionally, the method further includes: before obtaining the first interactive operation performed on the second graph node on the first interactive interface, displaying a fourth set of media information on the second interactive interface, wherein the fourth set of media information matches keywords on the fourth set of graph nodes that have been selected in the target knowledge graph; if a newly added second set of graph nodes is displayed on the first interactive interface, the method further includes: updating the fourth set of media information displayed on the second interactive interface to a fifth set of media information, wherein the fifth set of media information matches keywords on the fifth set of graph nodes that have been selected in the target knowledge graph, and the fifth set of graph nodes includes the second graph node.

[0018] Optionally, displaying the target knowledge graph on the first interactive interface includes: displaying an audio knowledge graph on the first interactive interface, wherein the target knowledge graph includes the audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword for audio media information; and / or displaying a video knowledge graph on the first interactive interface, wherein the target knowledge graph includes the video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword for video media information; and / or displaying a text knowledge graph on the first interactive interface, wherein the target knowledge graph includes the text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword for text media information; and / or displaying an image knowledge graph on the first interactive interface, wherein the target knowledge graph includes the image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword for image media information.

[0019] According to another aspect of the present invention, a knowledge graph updating apparatus is also provided, comprising:

[0020] The first display module is used to display a target knowledge graph on a first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The first group of graph nodes is displayed as the adjacent nodes of the first graph node. The keywords on the first graph node and the keywords on the first group of graph nodes are related.

[0021] The acquisition module is used to acquire a first interactive operation performed on a second graph node on the first interactive interface, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node;

[0022] The second display module is used to respond to the first interactive operation and display the newly added second set of graph nodes on the first interactive interface. The second set of graph nodes is displayed as the adjacent nodes of the second graph node. Each graph node in the second set of graph nodes displays a corresponding keyword. The keywords on the second graph node are related to the keywords on the second set of graph nodes. The target knowledge graph includes the second set of graph nodes.

[0023] Optionally, the device is further used for:

[0024] In response to the first interactive operation, the graph nodes in the first group of graph nodes other than the second graph node are canceled on the first interactive interface, or a group of graph nodes in the first group of graph nodes other than the second graph node, wherein the keywords on the group of graph nodes are the same type of keywords as the keywords on the second graph node.

[0025] Optionally, the device is further configured to: when the display of all graph nodes in the first group of graph nodes except the second graph node is cancelled on the first interactive interface, acquire a second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, display all graph nodes in the first group of graph nodes except the second graph node on the first interactive interface; when the display of the first group of graph nodes except the second graph node is cancelled on the first interactive interface, acquire the second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, display the first group of graph nodes except the second graph node on the first interactive interface.

[0026] Optionally, the device is further configured to: when the second interactive operation performed on the first map node is obtained on the first interactive interface, cancel the display of the second group of map nodes on the first interactive interface.

[0027] Optionally, the second display module includes:

[0028] The acquisition unit is used to acquire a set of keywords that are related to the keywords on the second graph node from the first information set;

[0029] The first display unit is used to display the first set of keywords in the corresponding graph nodes in the second set of graph nodes, wherein the first set of keywords corresponds one-to-one with the second set of graph nodes.

[0030] Optionally, the acquisition unit includes:

[0031] The acquisition subunit is used to acquire a first set of keywords that are related to the keywords on the second graph node from the first information set;

[0032] The sorting subunit is used to sort the first group of keywords according to their popularity to obtain the second group of keywords;

[0033] The selection sub-unit is used to select the top N keywords in terms of popularity from the second group of keywords to obtain the group of keywords, where N is a natural number.

[0034] Optionally, the second display module includes:

[0035] The second display unit is configured to display the third graph node on the first interactive interface using a first display method and display the fourth graph node using a second display method when the second group of graph nodes includes a third graph node and a fourth graph node, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

[0036] Optionally, the device is further used for:

[0037] In response to the first interactive operation, a target node is displayed on the first interactive interface, wherein the target node is displayed as an adjacent node of the second graph node, the target node is used to display a third set of keywords, the third set of keywords is related to the keywords on the second graph node, and the third set of keywords is different from the keywords on the second graph node.

[0038] Optionally, the device is further used for:

[0039] Obtain the third interactive operation performed on the target node;

[0040] In response to the third interactive operation, the third set of keywords is displayed;

[0041] When the fourth set of keywords in the third set of keywords is selected, the third set of graph nodes is displayed on the first interactive interface, and the fourth set of keywords is displayed in the graph node corresponding to the third set of graph nodes. The third set of graph nodes corresponds one-to-one with the fourth set of keywords, and the third set of graph nodes is displayed as the adjacent node of the second graph node.

[0042] Optionally, the device is further used for:

[0043] When the third set of map nodes is displayed on the first interactive interface, the second set of map nodes is de-displayed on the first interactive interface.

[0044] Optionally, the device is further used for:

[0045] When the newly added second group of graph nodes is displayed on the first interactive interface, the first group of media information matching the keywords on the second graph node is displayed on the second interactive interface; or...

[0046] When the newly added second group of graph nodes is displayed on the first interactive interface, a second group of media information that matches the keywords on the second graph node and the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

[0047] When the newly added second group of graph nodes is displayed on the first interactive interface, a third group of media information that matches the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

[0048] Optionally, the device is further used for:

[0049] Before obtaining the first interactive operation performed on the second graph node on the first interactive interface, a fourth set of media information is displayed on the second interactive interface, wherein the fourth set of media information matches the keywords on the fourth set of graph nodes that have been selected in the target knowledge graph;

[0050] When the newly added second group of graph nodes is displayed on the first interactive interface, the method further includes: updating the fourth group of media information displayed on the second interactive interface to a fifth group of media information, wherein the fifth group of media information matches the keywords on the selected fifth group of graph nodes in the target knowledge graph, and the fifth group of graph nodes includes the second graph node.

[0051] Optionally, the first display module includes:

[0052] A third display unit is configured to display an audio knowledge graph on the first interactive interface, wherein the target knowledge graph includes the audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword of audio media information; and / or

[0053] The fourth display unit is used to display a video knowledge graph on the first interactive interface, wherein the target knowledge graph includes the video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword of video media information; and / or

[0054] The fifth display unit is used to display a text knowledge graph on the first interactive interface, wherein the target knowledge graph includes the text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword of a text media information; and / or.

[0055] The sixth display unit is used to display the image knowledge graph on the first interactive interface, wherein the target knowledge graph includes the image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword of image media information.

[0056] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, wherein the computer program is configured to execute the above-described knowledge graph updating method at runtime.

[0057] According to another aspect of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the above-described knowledge graph updating method through the computer program.

[0058] In this embodiment of the invention, a first graph node and a first group of graph nodes are displayed on a first interactive interface. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The keywords on the first graph node and the keywords on the first group of graph nodes are related. A first interactive operation for selecting a second graph node is obtained on the first interactive interface. In response to the first interactive operation, a newly added second group of graph nodes is displayed on the first interactive interface. The second group of graph nodes is displayed as adjacent nodes of the second graph node. Each graph node in the second group of graph nodes displays a corresponding keyword. The keywords on the second graph node and the keywords on the second group of graph nodes are related. By standardizing and organizing user needs based on keywords and establishing relevant knowledge graphs, the goal of providing users with recommendation services that truly meet their needs is achieved. This improves the accuracy of recommended content and optimizes the user experience, thereby solving the technical problems of difficulty in truly meeting user needs and low accuracy of updated recommended content in related technologies. Attached Figure Description

[0059] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0060] Figure 1 This is a schematic diagram of the application environment of an optional knowledge graph updating method according to an embodiment of the present invention;

[0061] Figure 2 This is a flowchart illustrating an optional knowledge graph updating method according to an embodiment of the present invention;

[0062] Figure 3 This is a schematic diagram of an optional knowledge graph updating method according to an embodiment of the present invention;

[0063] Figure 4 This is a schematic diagram of another optional knowledge graph updating method according to an embodiment of the present invention;

[0064] Figure 5 This is a schematic diagram of another optional knowledge graph updating method according to an embodiment of the present invention;

[0065] Figure 6 This is a flowchart illustrating another optional knowledge graph updating method according to an embodiment of the present invention;

[0066] Figure 7 This is a schematic diagram of another optional knowledge graph updating method according to an embodiment of the present invention;

[0067] Figure 8 This is a flowchart illustrating another optional knowledge graph updating method according to an embodiment of the present invention;

[0068] Figure 9 This is a schematic diagram of the structure of an optional knowledge graph updating device according to an embodiment of the present invention;

[0069] Figure 10 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. Detailed Implementation

[0070] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0071] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0072] The present invention will now be described with reference to the following embodiments:

[0073] According to one aspect of the present invention, a method for updating a knowledge graph is provided. Optionally, in this embodiment, the above-described knowledge graph updating method can be applied to, for example... Figure 1 The hardware environment shown consists of server 101 and user terminal 103. For example... Figure 1As shown, server 101 connects to terminal 103 via a network and can be used to provide services to user terminals or clients installed on user terminals. Clients can be video clients, instant messaging clients, browser clients, educational clients, game clients, etc. Database 105 can be set up on the server or independently of the server to provide data storage services to server 101, such as a game data storage server, audio data storage server, etc. The aforementioned network can include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless network includes Bluetooth, Wi-Fi, and other networks that enable wireless communication. User terminal 103 can be a terminal configured with media information applications and / or target game applications, and can include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, handheld computers, MIDs (Mobile Internet Devices). Internet devices (mobile internet devices), PADs, desktop computers, smart TVs, and other computer devices. The aforementioned server can be a single server, a server cluster composed of multiple servers, or a cloud server, and may include, but is not limited to, routers or gateways. The application 107 using the aforementioned knowledge graph update method is displayed through the user terminal 103. The application 107, configured on the terminal for knowledge graph updates, displays a first interactive interface and the target knowledge graph. A first interactive operation is performed on a second graph node on the first interactive interface, and the application 107 can respond to this first interactive operation. The application 107 is connected to the server 101 via a network. The application can also be configured as a webpage, a mini-program, or an app to display the target knowledge graph on the first interactive interface and execute the aforementioned knowledge graph update method. The above is merely an example, and no limitations are imposed in this embodiment.

[0074] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the methods for updating the knowledge graph include:

[0075] S202, the target knowledge graph is displayed on the first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The first group of graph nodes is displayed as the adjacent nodes of the first graph node. The keywords on the first graph node and the keywords on the first group of graph nodes are related.

[0076] S204, on the first interactive interface, obtain the first interactive operation to be performed on the second graph node, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node;

[0077] S206, in response to the first interactive operation, the newly added second set of graph nodes is displayed on the first interactive interface. The second set of graph nodes is displayed as the adjacent nodes of the second graph node. Each graph node in the second set of graph nodes displays a corresponding keyword. The keywords on the second graph node are related to the keywords on the second set of graph nodes. The target knowledge graph includes the second set of graph nodes.

[0078] Optionally, in this embodiment, the aforementioned target knowledge graph can be applied to application scenarios that make recommendations based on user needs, such as audio, video, text, images, applications, and products.

[0079] Optionally, in this embodiment, as Figure 3 As shown, taking the above-mentioned target knowledge graph applied to the audio recommendation field as an example, through the pre-configured or randomly generated first set of graph nodes 302, wherein the first set of graph nodes 302 includes a first graph node 304 and a second graph node 306, the keyword "singer A" on the first graph node 304 is related to the keyword "region B" on the second graph node 306. Clicking the second graph node 306 responds to the click operation and displays the second set of graph nodes 308 on the first interactive interface, wherein the keyword "singer B" on graph node 310 and the keyword "singer C" on graph node 312 in the second set of graph nodes 308 are both related to the keyword "region B" corresponding to the second graph node 306.

[0080] Optionally, in this embodiment, as Figure 4As shown, taking the application of the aforementioned target knowledge graph in the field of application recommendation as an example, a first set of graph nodes 402 is pre-configured or randomly generated. This first set of graph nodes 402 includes a first graph node 404 and a second graph node 406. The keyword "C" on the first graph node 404 is associated with the keyword "E" on the second graph node 406. Clicking on the second graph node 406 responds to the click operation, displaying the second set of graph nodes 408 on the first interactive interface. The keyword "F" on graph node 410 and the keyword "G" on graph node 412 in the second set of graph nodes 408 are both associated with the keyword "E" corresponding to the second graph node 406. The keywords A, B, C, D, E, F, and G can include, but are not limited to, keywords associated with applications. For example, A and B might represent different application names, C, F, and G might represent different application parent companies, and E and D might represent application types.

[0081] Optionally, in this embodiment, the above-mentioned graph nodes can be represented using different shape rules according to different keyword types, for example, such as Figure 3 As shown, circular graph nodes are used to represent the keyword "song", square graph nodes are used to represent the singer, and diamond graph nodes are used to represent the region to which the singer belongs.

[0082] Optionally, in this embodiment, the above-mentioned graph nodes can be represented by different colors according to different keyword types, for example, such as Figure 3 As shown, the graph nodes with the keyword "song" are configured in red, the graph nodes with the keyword "singer" are configured in blue, and the graph nodes with the keyword "singer's region" are configured in yellow.

[0083] Optionally, in this embodiment, the adjacent nodes are used to indicate that the keywords of the graph nodes in the adjacent state have an association relationship. The association relationship may include, but is not limited to, subordinate and parallel relationships. Different association relationships can also be set based on different application scenarios, for example, Figure 3 As shown, song A is a work by singer A. Therefore, the graph node with the keyword "song A" is associated with the graph node with the keyword "singer A".

[0084] Optionally, in this embodiment, the first interactive operation may include, but is not limited to, touch operation methods such as clicking, long pressing, releasing, tapping, and swiping, or interactive operations such as voice recognition, VR, and AR that can interact with the second graph node.

[0085] Optionally, in this embodiment, the above-mentioned response to the first interactive operation to display the newly added second set of graph nodes on the first interactive interface may include, but is not limited to, displaying a pre-configured second set of graph nodes associated with the keywords of the second graph node, or may include, but is not limited to, searching according to the keywords of the second graph node to obtain the above-mentioned second set of graph nodes of a preset type.

[0086] The above is merely an example, and this embodiment does not impose any specific limitations.

[0087] This embodiment displays a first graph node and a first group of graph nodes on a first interactive interface. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The keywords on the first graph node and the keywords on the first group of graph nodes are related. A first interactive operation for selecting a second graph node is obtained on the first interactive interface. In response to the first interactive operation, a newly added second group of graph nodes is displayed on the first interactive interface. The second group of graph nodes is displayed as adjacent nodes of the second graph node. Each graph node in the second group of graph nodes displays a corresponding keyword. The keywords on the second graph node and the keywords on the second group of graph nodes are related. By standardizing and organizing user needs based on keywords and establishing relevant knowledge graphs, the purpose of providing users with recommendation services that truly meet their needs is achieved. This improves the accuracy of recommended content and optimizes the user experience, thereby solving the technical problems of related technologies that are difficult to truly meet user needs and have low accuracy in updating recommended content.

[0088] In an optional embodiment, the method further includes: in response to a first interactive operation, canceling the display of graph nodes other than the second graph node in the first group of graph nodes on the first interactive interface, or, a group of graph nodes other than the second graph node in the first group of graph nodes, wherein the keywords on the group of graph nodes are the same type of keywords as the keywords on the second graph node.

[0089] Optionally, in this embodiment, the above-mentioned method of canceling the display may include, but is not limited to, deleting all graph nodes in the first group of graph nodes except for the second graph node, or deleting a group of graph nodes in the first group of graph nodes except for the second graph node.

[0090] For example, such as Figure 5 As shown, in response to the first interactive operation, after displaying the second group of graph nodes 502, the graph nodes 508 other than the second graph node 506 in the first group of graph nodes 504 are canceled in the first interactive interface, or, a group of graph nodes 508 other than the second graph node 506 in the first group of graph nodes 504.

[0091] This embodiment achieves the technical effect of simplifying the display interface by canceling the display of graph nodes other than the second graph node in the first group of graph nodes, or displaying a group of graph nodes other than the second graph node in the first group of graph nodes. This makes it easier for users to find newly added graph nodes more quickly for subsequent selection, improves the accuracy of recommended content, and optimizes the user experience.

[0092] In an optional embodiment, the method further includes: when the display of all graph nodes in the first group of graph nodes except the second graph node is cancelled on the first interactive interface, obtaining a second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, displaying all graph nodes in the first group of graph nodes except the second graph node on the first interactive interface; when the display of a group of graph nodes in the first group of graph nodes except the second graph node is cancelled on the first interactive interface, obtaining a second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, displaying a group of graph nodes in the first group of graph nodes except the second graph node on the first interactive interface.

[0093] Optionally, in this embodiment, the graph node that is in the canceled display state can be redisplayed by performing the second interactive operation on the first graph node, including but not limited to. The second interactive operation can be set to be the same as or different from the first interactive operation.

[0094] For example, the first interactive operation is set to click, and the second interactive operation is set to swipe. After the swipe operation is obtained on the first graph node, a group of graph nodes other than the second graph node in the first group of graph nodes is displayed on the first interactive interface.

[0095] like Figure 5 As shown, by performing a second interactive operation on the first graph node 510, a group of graph nodes other than the second graph node are displayed on the first interactive interface.

[0096] The above is merely an example, and this embodiment does not impose any specific limitations.

[0097] This embodiment provides users with more options, allowing them to adjust their selection of graph nodes at any time according to the actual situation. It also fully displays the selection history of graph nodes, records the content selected by the user, and optimizes the user experience.

[0098] In an optional embodiment, the method further includes: if a second interactive operation is performed on the first graph node on the first interactive interface, canceling the display of the second group of graph nodes on the first interactive interface.

[0099] Optionally, in this embodiment, after obtaining the second interactive operation, in addition to displaying the first group of atlas nodes excluding the second atlas node, the display of the second group of atlas nodes can also be cancelled. For example, as shown... Figure 5 As shown, after performing the second interactive operation on the first graph node 510, the second set of graph nodes is de-displayed on the first interactive interface.

[0100] This embodiment allows users to adjust the selection of graph nodes at any time according to the actual situation, and can fully display the selection history of graph nodes, thus optimizing the user experience.

[0101] In an optional embodiment, displaying the newly added second set of graph nodes on the first interactive interface includes: obtaining a set of keywords that are related to the keywords on the second graph nodes from the first information set; displaying the first set of keywords in the corresponding graph nodes in the second set of graph nodes, wherein the first set of keywords corresponds one-to-one with the second set of graph nodes.

[0102] Optionally, in this embodiment, the first set of keywords may be stored in a preset server or database, or the first set of keywords may be obtained by performing a network search based on the keywords.

[0103] Optionally, in this embodiment, the keywords mentioned above may include, but are not limited to, keywords corresponding to the application scenario. Taking audio recommendation as an example, if the keyword is a song title, the associated keywords may include, but are not limited to, the singer, genre, bpm, instrument, rhythm, release date, various tags, OST (original soundtrack of a movie), etc. If the keyword is a singer title, the associated keywords may include, but are not limited to, singer type, such as "male or female singer, group, band", date of birth, country / region, genre, awards received, career, etc.

[0104] Optionally, in this embodiment, it can be done by means of, for example Figure 6 The above-mentioned target knowledge graph is constructed in the manner shown. This process may include the following steps:

[0105] S602 uses knowledge extraction technology to extract knowledge elements such as entities, relationships, and attributes from semi-structured, unstructured, and third-party structured databases.

[0106] S604 represents knowledge elements through effective means, facilitating further processing and use. The comprehensive vectors formed by distributed knowledge representations are of great significance for the construction, reasoning, fusion, and application of knowledge bases.

[0107] S606, through knowledge fusion, can eliminate ambiguity between entities, relations, attributes and other referential terms and factual objects, forming a high-quality knowledge base.

[0108] S608, through knowledge processing, further mines implicit knowledge on the basis of the existing knowledge base, constructs new ontology, and completes relationships, thereby enriching and expanding the knowledge base.

[0109] S610, through knowledge assessment, can quantify the credibility of knowledge, retain those with higher confidence and discard those with lower confidence, effectively ensuring the quality of knowledge.

[0110] This embodiment provides users with visualized keyword information, enabling them to select keywords and determine the necessary graph nodes based on actual circumstances.

[0111] In an optional embodiment, obtaining a set of keywords that are related to the keywords on the second graph node from the first information set includes: obtaining a first set of keywords that are related to the keywords on the second graph node from the first information set; sorting the first set of keywords according to their popularity to obtain a second set of keywords; and selecting the top N keywords in popularity from the second set of keywords to obtain a set of keywords, where N is a natural number.

[0112] Optionally, in this embodiment, the first group of keywords can be sorted based on popularity information to obtain the second group of keywords. The popularity can be determined by factors including but not limited to search index and click-through rate. The second group of keywords can be determined based on the topN algorithm. By setting a threshold N, the top N keywords are selected from the second group of keywords as keywords corresponding to the graph nodes.

[0113] For example, with Figure 3 For example, the relevant song keywords for singer A include song A, song B, song C, etc., which are sorted by popularity as "song A", "song B", and "song C". If N is set to 2, the knowledge graph nodes corresponding to the keywords "song A" and "song B" will be displayed, but the knowledge graph node corresponding to "song C" will not be displayed. If N is set to 3, the knowledge graph nodes corresponding to the keywords "song A", "song B", and "song C" will be displayed.

[0114] This embodiment enables filtering based on the current popularity of information, thereby providing users with keywords for knowledge graph nodes with high popularity, facilitating subsequent selection by users and optimizing the user experience.

[0115] In an optional embodiment, displaying the newly added second set of graph nodes on the first interactive interface includes: when the second set of graph nodes includes a third graph node and a fourth graph node, displaying the third graph node on the first interactive interface using a first display method and displaying the fourth graph node using a second display method, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

[0116] Optionally, in this embodiment, the display can be based on one or more combinations of different shapes, colors, fonts, etc., for example, Figure 3 As shown, the graph nodes used to represent songs are displayed using a first display method, which is a circle, and the graph nodes used to represent singer names are displayed using a second display method, which is a square.

[0117] This embodiment displays different types of graph nodes based on different display methods, and displays the same type of graph nodes based on the same display method. This can more clearly show the graph nodes and their corresponding types to the user, improve the user's efficiency, and optimize the user experience.

[0118] In an optional embodiment, the method further includes: in response to a first interactive operation, displaying a target node on a first interactive interface, wherein the target node is displayed as an adjacent node of a second graph node, the target node is used to display a third set of keywords, the third set of keywords is associated with the keywords on the second graph node, and the third set of keywords is different from the keywords on the second graph node.

[0119] Optionally, in this embodiment, the third set of keywords may include, but is not limited to, keywords that are different from the keywords on the second set of graph nodes, for example, such as Figure 7 As shown, the third set of keywords 704 may include, but is not limited to, "more", "other", etc. The target node 702 may be configured to display other content of the same or different types after obtaining the interactive operation. The content may include media information, keywords, links, etc., and may be displayed as keywords that do not appear in the second set of graph nodes after being sorted based on popularity.

[0120] In this embodiment, target nodes are used to display keywords that are not directly displayed in the graph nodes. This provides users with richer and more diverse choices when the keywords corresponding to the second set of graph nodes are not the keywords the user needs. This facilitates better service based on user needs, optimizes the user experience, and improves user efficiency.

[0121] In an optional embodiment, the method further includes: obtaining a third interactive operation performed on the target node; displaying a third set of keywords in response to the third interactive operation; and, if a fourth set of keywords in the third set of keywords is selected, displaying a third set of graph nodes on the first interactive interface and displaying the fourth set of keywords in the corresponding graph nodes in the third set of graph nodes, wherein the third set of graph nodes corresponds one-to-one with the fourth set of keywords, and the third set of graph nodes is displayed as an adjacent node of the second graph node.

[0122] Optionally, in this embodiment, the third group of graph nodes may include, but is not limited to, the graph nodes corresponding to the fourth group of keywords. The fourth group of keywords can be selected from the third group of keywords by performing the third interactive operation on the target node.

[0123] Optionally, in this embodiment, a third interactive operation can be performed on the third set of keywords of the target node to trigger a drop-down menu to display the third set of keywords, and then an interactive operation can be performed to select a fourth set of keywords from the third set of keywords, for example, such as... Figure 7 As shown, clicking "More" triggers a drop-down menu, and clicking "Movies" selects the fourth set of keywords as "movies." Finally, the graph nodes associated with the keyword "movies" are displayed as the third set of graph nodes mentioned above.

[0124] The above is merely an example, and this embodiment does not impose any specific limitations.

[0125] This embodiment enables users to have a wider range of choices when the keywords corresponding to the second set of graph nodes are not the keywords they need. This facilitates services that meet user needs, optimizes the user experience, and improves user efficiency.

[0126] In an optional embodiment, the method further includes: if the third set of graph nodes is displayed on the first interactive interface, canceling the display of the second set of graph nodes on the first interactive interface.

[0127] In an optional embodiment, the method further includes: when the newly added second set of graph nodes is displayed on the first interactive interface, displaying a first set of media information matching the keywords on the second graph nodes on the second interactive interface; or, when the newly added second set of graph nodes is displayed on the first interactive interface, displaying a second set of media information matching the keywords on the second graph nodes and the keywords on some or all of the graph nodes in the second set of graph nodes on the second interactive interface; or, when the newly added second set of graph nodes is displayed on the first interactive interface, displaying a third set of media information matching the keywords on some or all of the graph nodes in the second set of graph nodes on the second interactive interface.

[0128] Optionally, in this embodiment, the media information corresponding to the keyword can be directly displayed in the graph node. For example, if the keyword is the singer's name, the graph node corresponding to the keyword will display the singer's photo and the singer's name.

[0129] Optionally, in this embodiment, when the newly added second set of graph nodes is displayed on the first interactive interface, the media information corresponding to the keyword can be played directly. For example, if the keyword is a song title, the corresponding song can be played directly.

[0130] Optionally, in this embodiment, the aforementioned media information may also include, but is not limited to, setting different display animation effects according to different graph nodes, and displaying the additional data of the keyword corresponding to the graph node as media information, such as the browsing popularity of the keyword, whether the keyword belongs to recent hot data, etc. Taking the keyword as belonging to recent hot data as an example, the graph node corresponding to the keyword belonging to recent hot data can be displayed in the form of being surrounded by "flame" effects to indicate that the keyword belongs to recent hot data.

[0131] This embodiment allows for direct content recommendations to users after they select a graph node, enabling them to obtain media information corresponding to the keywords associated with the graph node more quickly and effectively.

[0132] In an optional embodiment, the method further includes: before obtaining the first interactive operation performed on the second graph node on the first interactive interface, displaying a fourth set of media information on the second interactive interface, wherein the fourth set of media information matches the keywords on the fourth set of graph nodes that have been selected in the target knowledge graph; if the newly added second set of graph nodes is displayed on the first interactive interface, the method further includes: updating the fourth set of media information displayed on the second interactive interface to a fifth set of media information, wherein the fifth set of media information matches the keywords on the fifth set of graph nodes that have been selected in the target knowledge graph, and the fifth set of graph nodes includes the second graph node.

[0133] Optionally, in this embodiment, the media information can be updated according to the new interactive operation, and the displayed media information can be updated to the media information corresponding to the newly selected graph node.

[0134] In an optional embodiment, displaying a target knowledge graph on a first interactive interface includes: displaying an audio knowledge graph on the first interactive interface, wherein the target knowledge graph includes an audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword for audio media information; and / or displaying a video knowledge graph on the first interactive interface, wherein the target knowledge graph includes a video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword for video media information; and / or displaying a text knowledge graph on the first interactive interface, wherein the target knowledge graph includes a text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword for text media information; and / or displaying an image knowledge graph on the first interactive interface, wherein the target knowledge graph includes an image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword for image media information.

[0135] Optionally, in this embodiment, the target knowledge graph may include, but is not limited to, audio knowledge graphs, video knowledge graphs, text knowledge graphs, image knowledge graphs, etc.

[0136] Optionally, in this embodiment, the corresponding knowledge graph can be selected through a pre-configured interactive object for subsequent operations. Different knowledge graphs can be associated with the same keyword. For example, when the keyword is "singer A", an interactive operation is performed on the graph node corresponding to "singer A" to display one or more graph nodes among the audio, video, text, and images associated with "singer A".

[0137] The invention will be further explained below with specific examples:

[0138] Figure 8 This is a schematic diagram of another optional knowledge graph update process according to an embodiment of the present invention. Taking an audio knowledge graph as an example, the process includes the following steps:

[0139] S802, users can log in to use the above knowledge graph's APP or website. The APP can include applications on smartphones such as iOS and Android, and the website can include web pages accessible by browsers on various tablets such as PCs and iPads.

[0140] S804: Users connect to the access layer via the network, where the access layer is responsible for communication protocols with the APP and website;

[0141] S806: Users interact with the browsing path recording module through the access layer to obtain or update their knowledge graph browsing paths. The browsing path recording module stores and updates users' historical browsing data and provides a function to query browsing paths.

[0142] S808, users retrieve knowledge graph data from the knowledge graph cache server, where the knowledge graph cache server is used to cache graph data and auxiliary information to accelerate user query and access operations;

[0143] S810: The knowledge graph caching server retrieves knowledge graph data from the knowledge graph database according to the instruction message, and updates and adds auxiliary information to the knowledge graph accordingly. The knowledge graph database is used to store knowledge graphs related to music content. Specifically, it can be implemented using various types of databases: relational databases, graph databases, self-developed storage databases, etc. The knowledge graph auxiliary information database is used to store auxiliary information about the music content, such as the number of plays, browsing popularity, and whether it is a hot topic in the real world.

[0144] This embodiment utilizes a comprehensive collection of data on songs, albums, and artists, which is then standardized and organized to create a target knowledge graph—a knowledge graph about music. Presented to users in the form of a directed graph, this allows them to browse and discover unknown songs based on their interests, thus optimizing the user experience and providing more accurate recommendations for sharing.

[0145] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0146] According to another aspect of the present invention, an apparatus for updating a knowledge graph for implementing the above-described knowledge graph updating method is also provided. For example... Figure 9 As shown, the device includes:

[0147] The first display module 902 is used to display a target knowledge graph on a first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The first group of graph nodes is displayed as the adjacent nodes of the first graph node. The keywords on the first graph node and the keywords on the first group of graph nodes are related.

[0148] The acquisition module 904 is used to acquire a first interactive operation performed on a second graph node on the first interactive interface, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node.

[0149] The second display module 906 is used to respond to the first interactive operation and display the newly added second set of graph nodes on the first interactive interface. The second set of graph nodes is displayed as the adjacent nodes of the second graph node. Each graph node in the second set of graph nodes displays a corresponding keyword. The keywords on the second graph node are related to the keywords on the second set of graph nodes. The target knowledge graph includes the second set of graph nodes.

[0150] In an optional embodiment, the device is further configured to:

[0151] In response to the first interactive operation, the graph nodes in the first group of graph nodes other than the second graph node are canceled on the first interactive interface, or a group of graph nodes in the first group of graph nodes other than the second graph node, wherein the keywords on the group of graph nodes are the same type of keywords as the keywords on the second graph node.

[0152] In an optional embodiment, the device is further configured to: when the display of all graph nodes in the first group of graph nodes except the second graph node is cancelled on the first interactive interface, acquire a second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, display all graph nodes in the first group of graph nodes except the second graph node on the first interactive interface; when the display of the first group of graph nodes except the second graph node is cancelled on the first interactive interface, acquire the second interactive operation performed on the first graph node on the first interactive interface; in response to the second interactive operation, display the first group of graph nodes except the second graph node on the first interactive interface.

[0153] In an optional embodiment, the device is further configured to: when the second interactive operation performed on the first map node is obtained on the first interactive interface, cancel the display of the second group of map nodes on the first interactive interface.

[0154] In an optional embodiment, the second display module includes:

[0155] The acquisition unit is used to acquire a set of keywords that are related to the keywords on the second graph node from the first information set;

[0156] The first display unit is used to display the first set of keywords in the corresponding graph nodes in the second set of graph nodes, wherein the first set of keywords corresponds one-to-one with the second set of graph nodes.

[0157] In an optional embodiment, the acquisition unit includes:

[0158] The acquisition subunit is used to acquire a first set of keywords that are related to the keywords on the second graph node from the first information set;

[0159] The sorting subunit is used to sort the first group of keywords according to their popularity to obtain the second group of keywords;

[0160] The selection sub-unit is used to select the top N keywords in terms of popularity from the second group of keywords to obtain the group of keywords, where N is a natural number.

[0161] In an optional embodiment, the second display module includes:

[0162] The second display unit is configured to display the third graph node on the first interactive interface using a first display method and display the fourth graph node using a second display method when the second group of graph nodes includes a third graph node and a fourth graph node, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

[0163] In an optional embodiment, the device is further configured to:

[0164] In response to the first interactive operation, a target node is displayed on the first interactive interface, wherein the target node is displayed as an adjacent node of the second graph node, the target node is used to display a third set of keywords, the third set of keywords is related to the keywords on the second graph node, and the third set of keywords is different from the keywords on the second graph node.

[0165] In an optional embodiment, the device is further configured to:

[0166] Obtain the third interactive operation performed on the target node;

[0167] In response to the third interactive operation, the third set of keywords is displayed;

[0168] When the fourth set of keywords in the third set of keywords is selected, the third set of graph nodes is displayed on the first interactive interface, and the fourth set of keywords is displayed in the graph node corresponding to the third set of graph nodes. The third set of graph nodes corresponds one-to-one with the fourth set of keywords, and the third set of graph nodes is displayed as the adjacent node of the second graph node.

[0169] In an optional embodiment, the device is further configured to:

[0170] When the third set of map nodes is displayed on the first interactive interface, the second set of map nodes is de-displayed on the first interactive interface.

[0171] In an optional embodiment, the device is further configured to:

[0172] When the newly added second group of graph nodes is displayed on the first interactive interface, the first group of media information matching the keywords on the second graph node is displayed on the second interactive interface; or...

[0173] When the newly added second group of graph nodes is displayed on the first interactive interface, a second group of media information that matches the keywords on the second graph node and the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

[0174] When the newly added second group of graph nodes is displayed on the first interactive interface, a third group of media information that matches the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

[0175] In an optional embodiment, the device is further configured to:

[0176] Before obtaining the first interactive operation performed on the second graph node on the first interactive interface, a fourth set of media information is displayed on the second interactive interface, wherein the fourth set of media information matches the keywords on the fourth set of graph nodes that have been selected in the target knowledge graph;

[0177] When the newly added second group of graph nodes is displayed on the first interactive interface, the method further includes: updating the fourth group of media information displayed on the second interactive interface to a fifth group of media information, wherein the fifth group of media information matches the keywords on the selected fifth group of graph nodes in the target knowledge graph, and the fifth group of graph nodes includes the second graph node.

[0178] In an optional embodiment, the first display module includes:

[0179] A third display unit is configured to display an audio knowledge graph on the first interactive interface, wherein the target knowledge graph includes the audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword of audio media information; and / or

[0180] The fourth display unit is used to display a video knowledge graph on the first interactive interface, wherein the target knowledge graph includes the video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword of video media information; and / or

[0181] The fifth display unit is used to display a text knowledge graph on the first interactive interface, wherein the target knowledge graph includes the text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword of a text media information; and / or.

[0182] The sixth display unit is used to display the image knowledge graph on the first interactive interface, wherein the target knowledge graph includes the image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword of image media information.

[0183] According to another aspect of the present invention, an electronic device for implementing the above-described knowledge graph updating method is also provided. This electronic device may be... Figure 1 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 10 As shown, the electronic device includes a memory 1002 and a processor 1004. The memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps of any of the above method embodiments via the computer program.

[0184] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.

[0185] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0186] S1, the target knowledge graph is displayed on the first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The first group of graph nodes is displayed as the adjacent nodes of the first graph node. The keywords on the first graph node and the keywords on the first group of graph nodes are related.

[0187] S2, on the first interactive interface, obtain the first interactive operation to be performed on the second graph node, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node;

[0188] S3, in response to the first interactive operation, displays the newly added second set of graph nodes on the first interactive interface. The second set of graph nodes is displayed as the adjacent nodes of the second graph node. Each graph node in the second set of graph nodes displays a corresponding keyword. The keywords on the second graph node are related to the keywords on the second set of graph nodes. The target knowledge graph includes the second set of graph nodes.

[0189] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0190] Alternatively, as those skilled in the art will understand, Figure 10 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 10 This does not limit the structure of the aforementioned electronic devices or electronic equipment. For example, electronic devices or electronic equipment may also include components that are more... Figure 10 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 10 The different configurations shown.

[0191] The memory 1002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the knowledge graph update method and apparatus in this embodiment of the invention. The processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, thereby realizing the aforementioned knowledge graph update method. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1002 may further include memory remotely located relative to the processor 1004, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1002 may be used, but is not limited to, to store information such as entities, relationships, and keywords. As an example, such as... Figure 10 As shown, the memory 1002 may include, but is not limited to, the first display module 902, the acquisition module 904, and the second display module 906 from the knowledge graph updating device. Furthermore, it may include, but is not limited to, other module units from the knowledge graph updating device, which will not be elaborated upon in this example.

[0192] Optionally, the transmission device 1006 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1006 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1006 is a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0193] In addition, the aforementioned electronic device also includes: a display 1008 for displaying a knowledge graph; and a connection bus 1010 for connecting the various module components in the aforementioned electronic device.

[0194] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.

[0195] According to another aspect of the present invention, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional implementations of the knowledge graph update process described above.

[0196] Optionally, in this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:

[0197] S1, the target knowledge graph is displayed on the first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes. Each graph node in the first graph node and the first group of graph nodes displays a corresponding keyword. The first group of graph nodes is displayed as the adjacent nodes of the first graph node. The keywords on the first graph node and the keywords on the first group of graph nodes are related.

[0198] S2, on the first interactive interface, obtain the first interactive operation to be performed on the second graph node, wherein the second graph node is a graph node in the first group of graph nodes, and the first interactive operation is used to select the second graph node;

[0199] S3, in response to the first interactive operation, displays the newly added second set of graph nodes on the first interactive interface. The second set of graph nodes is displayed as the adjacent nodes of the second graph node. Each graph node in the second set of graph nodes displays a corresponding keyword. The keywords on the second graph node are related to the keywords on the second set of graph nodes. The target knowledge graph includes the second set of graph nodes.

[0200] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0201] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0202] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0203] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0204] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.

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

[0206] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0207] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for updating a knowledge graph, characterized in that, Applications in the field of audio recommendation include: The target knowledge graph is displayed on the first interactive interface. The target knowledge graph includes a first graph node and a first group of graph nodes displaying corresponding keywords. The first group of graph nodes are the adjacent nodes of the first graph node. The keywords on the first graph node are related to the keywords on the first group of graph nodes. In response to a first interactive operation performed on a second graph node in the first group of graph nodes, the newly added second group of graph nodes in the target knowledge graph is displayed on the first interactive interface, and the display of a group of graph nodes in the first group of graph nodes other than the second graph node is canceled. This includes: when the keyword displayed on the second group of graph nodes is "singer", the graph node corresponding to the keyword is displayed as the singer's photo and name; when the keyword displayed on the graph node is "song", the corresponding song is played directly; and additional data of the keyword corresponding to the second group of graph nodes is displayed on the second group of graph nodes. The second group of graph nodes are adjacent nodes of the second graph node, each graph node in the second group of graph nodes displays a corresponding keyword, the keyword on the second graph node is associated with the keyword on the second group of graph nodes, different graph nodes in the second group of graph nodes have different display animation effects, and the additional data includes the browsing popularity of the keyword. The keywords on the first group of graph nodes and the keywords on the second graph node are of the same type. The first interactive interface displays a target node, which is used to display keywords that are not directly displayed in the graph nodes. The target node is an adjacent node of the second graph node. In response to a third interactive operation performed on the target node, a drop-down menu is triggered to display a third set of keywords. The third set of keywords represents keywords that do not appear in the second set of graph nodes after being sorted by popularity. By performing an interactive operation, a fourth set of keywords is selected from the third set of keywords, and graph nodes associated with the fourth set of keywords are displayed. The fourth set of keywords includes keywords of the same type as the keywords of the second set of graph nodes and keywords of different types. The method further includes: when the display of the first group of atlas nodes other than the second atlas node is cancelled on the first interactive interface, obtaining a second interactive operation performed on the first atlas node on the first interactive interface; and in response to the second interactive operation, displaying the first group of atlas nodes other than the second atlas node on the first interactive interface.

2. The method according to claim 1, characterized in that, The method further includes: If the second interactive operation is performed on the first graph node on the first interactive interface, the second group of graph nodes is canceled from being displayed on the first interactive interface.

3. The method according to claim 1, characterized in that, The step of displaying the newly added second set of map nodes on the first interactive interface includes: Obtain a set of keywords that are related to the keywords on the second graph node from the first information set; The set of keywords is displayed in the corresponding graph nodes in the second set of graph nodes, wherein the set of keywords corresponds one-to-one with the second set of graph nodes.

4. The method according to claim 3, characterized in that, The step of obtaining a set of keywords that are related to the keywords on the second graph node from the first information set includes: Obtain a first set of keywords that are related to the keywords on the second graph node from the first information set; Sort the first group of keywords according to their popularity to obtain the second group of keywords; Select the top N most popular keywords from the second group of keywords to obtain the first group of keywords, where N is a natural number.

5. The method according to claim 1, characterized in that, The newly added second set of map nodes is displayed on the first interactive interface, including: When the second group of graph nodes includes a third graph node and a fourth graph node, the third graph node is displayed on the first interactive interface using a first display method, and the fourth graph node is displayed using a second display method, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

6. The method according to claim 5, characterized in that, The method further includes: When the third group of graph nodes is displayed on the first interactive interface, the second group of graph nodes is de-displayed on the first interactive interface. The third group of graph nodes corresponds one-to-one with the fourth group of keywords, and the third group of graph nodes is displayed as the adjacent nodes of the second graph nodes.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: When the newly added second group of graph nodes is displayed on the first interactive interface, the first group of media information matching the keywords on the second graph node is displayed on the second interactive interface; or... When the newly added second group of graph nodes is displayed on the first interactive interface, a second group of media information matching the keywords on the second graph nodes and the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface; or... When the newly added second group of graph nodes is displayed on the first interactive interface, a third group of media information that matches the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

8. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Before obtaining the first interactive operation performed on the second graph node on the first interactive interface, a fourth set of media information is displayed on the second interactive interface, wherein the fourth set of media information matches the keywords on the fourth set of graph nodes that have been selected in the target knowledge graph; When the newly added second group of graph nodes is displayed on the first interactive interface, the method further includes: updating the fourth group of media information displayed on the second interactive interface to a fifth group of media information, wherein the fifth group of media information matches the keywords on the selected fifth group of graph nodes in the target knowledge graph, and the fifth group of graph nodes includes the second graph node.

9. The method according to any one of claims 1 to 6, characterized in that, The step of displaying the target knowledge graph on the first interactive interface includes: An audio knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword of audio media information; and / or A video knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword of video media information; and / or A text knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword of a text media information; and / or An image knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword of image media information.

10. A knowledge graph updating device, characterized in that, Applications in the field of audio recommendation include: The first display module is used to display a target knowledge graph on a first interactive interface. The target knowledge graph includes a first graph node displaying corresponding keywords and a first group of graph nodes. The first group of graph nodes are adjacent nodes of the first graph node. The keywords on the first graph node are related to the keywords on the first group of graph nodes. The graph nodes are represented by different shapes according to different keyword types, including: using circles to represent graph nodes with the keyword "song", using squares to represent graph nodes with the keyword "singer", and using rhombuses to represent graph nodes with the keyword "singer's region". The device is further configured to: respond to a first interactive operation performed on a second graph node in the first group of graph nodes, display the newly added second group of graph nodes in the target knowledge graph on the first interactive interface, and cancel the display of a group of graph nodes in the first group of graph nodes other than the second graph node, including: when the keyword displayed on the second group of graph nodes is a singer, display the graph node corresponding to the keyword as the singer's photo and name; when the keyword displayed on the graph node is a song, directly play the corresponding song; display additional data of the keyword corresponding to the second group of graph nodes on the second group of graph nodes, wherein the second group of graph nodes are adjacent nodes of the second graph node, each graph node in the second group of graph nodes displays a corresponding keyword, the keyword on the second graph node is associated with the keyword on the second group of graph nodes, different graph nodes in the second group of graph nodes are set with different display animation effects, the additional data includes the browsing popularity of the keyword, and the keyword on the first group of graph nodes and the keyword on the second graph node are keywords of the same type; The first interactive interface displays a target node, which is used to display keywords that are not directly displayed in the graph nodes. The target node is an adjacent node of the second graph node. In response to a third interactive operation performed on the target node, a drop-down menu is triggered to display a third set of keywords. The third set of keywords represents keywords that do not appear in the second set of graph nodes after being sorted by popularity. By performing an interactive operation, a fourth set of keywords is selected from the third set of keywords, and graph nodes associated with the fourth set of keywords are displayed. The fourth set of keywords includes keywords of the same type as the keywords of the second set of graph nodes and keywords of different types. The device is further configured to: when the display of the first group of atlas nodes other than the second atlas node is cancelled on the first interactive interface, obtain a second interactive operation performed on the first atlas node on the first interactive interface; and in response to the second interactive operation, display the first group of atlas nodes other than the second atlas node on the first interactive interface.

11. The apparatus according to claim 10, characterized in that, The device is also used for: If the second interactive operation is performed on the first graph node on the first interactive interface, the second group of graph nodes is canceled from being displayed on the first interactive interface.

12. The apparatus according to claim 10, characterized in that, The device is used to display the newly added second set of map nodes on the first interactive interface in the following manner: Obtain a set of keywords that are related to the keywords on the second graph node from the first information set; The set of keywords is displayed in the corresponding graph nodes in the second set of graph nodes, wherein the set of keywords corresponds one-to-one with the second set of graph nodes.

13. The apparatus according to claim 12, characterized in that, The device is used to obtain a set of keywords that are associated with the keywords on the second graph node from the first information set in the following manner: Obtain a first set of keywords that are related to the keywords on the second graph node from the first information set; Sort the first group of keywords according to their popularity to obtain the second group of keywords; Select the top N most popular keywords from the second group of keywords to obtain the first group of keywords, where N is a natural number.

14. The apparatus according to claim 10, characterized in that, The device is used to display the newly added second set of map nodes on the first interactive interface in the following manner: When the second group of graph nodes includes a third graph node and a fourth graph node, the third graph node is displayed on the first interactive interface using a first display method, and the fourth graph node is displayed using a second display method, wherein the keywords on the third graph node and the keywords on the fourth graph node are keywords of different types.

15. The apparatus according to claim 14, characterized in that, The device is also used for: When the third group of graph nodes is displayed on the first interactive interface, the second group of graph nodes is de-displayed on the first interactive interface. The third group of graph nodes corresponds one-to-one with the fourth group of keywords, and the third group of graph nodes is displayed as the adjacent nodes of the second graph nodes.

16. The apparatus according to any one of claims 10 to 15, characterized in that, The device is also used for: When the newly added second group of graph nodes is displayed on the first interactive interface, the first group of media information matching the keywords on the second graph node is displayed on the second interactive interface; or, When the newly added second group of graph nodes is displayed on the first interactive interface, a second group of media information that matches the keywords on the second graph node and the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface. or, When the newly added second group of graph nodes is displayed on the first interactive interface, a third group of media information that matches the keywords on some or all of the graph nodes in the second group of graph nodes is displayed on the second interactive interface.

17. The apparatus according to any one of claims 10 to 15, characterized in that, The device is also used for: Before obtaining the first interactive operation performed on the second graph node on the first interactive interface, a fourth set of media information is displayed on the second interactive interface, wherein the fourth set of media information matches the keywords on the fourth set of graph nodes that have been selected in the target knowledge graph; When the newly added second group of graph nodes is displayed on the first interactive interface, the device is further configured to: update the fourth group of media information displayed on the second interactive interface to a fifth group of media information, wherein the fifth group of media information matches the keywords on the selected fifth group of graph nodes in the target knowledge graph, and the fifth group of graph nodes includes the second graph node.

18. The apparatus according to any one of claims 10 to 15, characterized in that, The device is used to display the target knowledge graph on a first interactive interface in the following manner: An audio knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the audio knowledge graph, and the keyword on each graph node in the audio knowledge graph is a keyword of audio media information; and / or A video knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the video knowledge graph, and the keyword on each graph node in the video knowledge graph is a keyword of video media information; and / or A text knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the text knowledge graph, and the keyword on each graph node in the text knowledge graph is a keyword of a text media information; and / or An image knowledge graph is displayed on the first interactive interface, wherein the target knowledge graph includes the image knowledge graph, and the keyword on each graph node in the image knowledge graph is a keyword of image media information.

19. A computer-readable storage medium comprising a stored program, wherein, When the program is executed, it performs the method described in any one of claims 1 to 9.

20. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 9 through the computer program.