Method, medium and display device for displaying a relationship graph

By allowing users to edit the relationship graph through a display device, the problem of discrepancies between the graph displayed on the website and the user's data is solved, enabling real-time adjustment and correction of the graph and improving acquisition efficiency.

CN114647735BActive Publication Date: 2026-02-24JINGDONG TECH HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011517416.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2026-02-24
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

In existing technologies, when the knowledge graph displayed on a website does not match the data obtained by the user, the user needs to draw the graph himself, which results in high time costs and low efficiency, especially when there are many nodes and complex relationships.

Method used

A method for displaying relationship graphs is provided, allowing users to edit the displayed relationship graphs via a display device, including adding, deleting, naming, and adding association identifiers for node elements, enabling users to adjust and correct the graphs in real time.

Benefits of technology

Users can directly edit the graph on the display device, saving time, improving the efficiency of obtaining relationship graphs, and meeting personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647735B_ABST
    Figure CN114647735B_ABST
Patent Text Reader

Abstract

The application provides a relationship graph display method, medium and display device. The method comprises the following steps: in response to a received operation of a user obtaining a relationship graph of a first object, a display device displays a first relationship graph of the first object and a first element on a first interface, the first relationship graph comprises at least two node elements and at least one association identifier element, and the association identifier element is used for identifying two node elements with an association relationship in the at least two node elements; in response to a first operation of the user on the first element, a user editing state of the first relationship graph is entered. Time can be saved, and the efficiency of obtaining the relationship graph is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, medium, and display device for displaying relationship graphs. Background Technology

[0002] Knowledge graphs can visually represent the core structure, development history, cutting-edge fields, and structural relationships of a discipline. For example, organizational structures, interpersonal relationships, or industry chains can be clearly displayed through knowledge graphs, showing the architecture of nodes, hierarchical relationships, and connections between nodes.

[0003] Service providers can use the internet to display knowledge graphs of business objects to users, allowing them to clearly understand the structural relationships and other aspects of those objects. For example, a website operator can display a supply chain knowledge graph for a particular industry, enabling users to understand the supply and demand relationships and organizational structure of the supply chain. However, the knowledge graph displayed on a website is generated from data acquired by the operator. If the user obtains updated data, or if the content displayed in the knowledge graph does not match the user's data, the knowledge graph displayed on the website will no longer meet the user's needs. Summary of the Invention

[0004] This invention provides a method, medium, and display device for displaying relationship graphs. It can save user time and improve the efficiency of obtaining relationship graphs.

[0005] In a first aspect, embodiments of the present invention provide a method for displaying a relationship graph, the method comprising:

[0006] In response to the received user operation to obtain the relationship graph of the first object, the first relationship graph and the first element of the first object are displayed on the first interface. The first relationship graph includes at least two node elements and at least one association identifier element. The association identifier element is used to identify two node elements that have an association relationship among the at least two node elements.

[0007] In response to the first operation received from the user on the first element, the system enters the user editing state of the first relation graph, which is used to update the first relation graph in response to the user's editing operation.

[0008] In a second aspect, embodiments of the present invention provide a display device, comprising:

[0009] Processing module 1820 is used to obtain the user's operation of obtaining the relationship graph of the first object, and control display module 1810 to display the first relationship graph and first element of the first object. The first relationship graph includes at least two node elements and at least one association identifier element. The association identifier element is used to identify two node elements that have an association relationship among the at least two node elements.

[0010] Display module 1810 is used to display the first relationship graph of the first object and the first element on the first interface;

[0011] The processing module 1820 is also used to obtain the user's first operation on the first element, determine the user's editing state when entering the first relationship graph, and the user's editing state is used to respond to the user's editing operation to update the first relationship graph.

[0012] Thirdly, embodiments of the present invention provide an electronic device, comprising:

[0013] Display, processor; and,

[0014] Memory for storing the executable instructions of the processor;

[0015] The processor is configured to execute the relation graph display method described in the first aspect by executing the executable instructions.

[0016] Fourthly, embodiments of the present invention provide a computer program product, the computer program product comprising: a computer program, which, when run, causes a computer to implement the relational graph display method described in the first aspect.

[0017] Fifthly, embodiments of the present invention provide a storage medium storing a computer program thereon, which, when executed by a processor, implements the relational graph display method described in the first aspect.

[0018] This invention provides a method, medium, and display device for displaying a relationship graph. The relationship graph displayed to the user can be edited by the user. This allows the user to adjust and correct the knowledge graph displayed on the device, saving time and improving the efficiency of obtaining the relationship graph. Attached Figure Description

[0019] Figure 1 This is a schematic diagram illustrating an application scenario of the relationship graph display method applicable to this application;

[0020] Figure 2 This is a schematic flowchart illustrating a method for displaying a relationship graph provided in this application;

[0021] Figure 3This is a schematic diagram of the first relationship graph and the first element on the first interface provided in the embodiments of this application;

[0022] Figure 4 This is a schematic diagram of the state change of the first element provided in an embodiment of this application;

[0023] Figure 5 This is a schematic diagram illustrating the addition of node elements provided in an embodiment of this application;

[0024] Figure 6 This is a schematic diagram of a relationship type selection element provided in an embodiment of this application;

[0025] Figure 7 This is a schematic diagram of the first input field provided in an embodiment of this application;

[0026] Figure 8 This is a schematic diagram of the first operation block provided in an embodiment of this application;

[0027] Figure 9 This is a schematic diagram of a matching node element provided in an embodiment of this application;

[0028] Figure 10 This is another schematic diagram of the matching node element provided in the embodiments of this application;

[0029] Figure 11 This is a schematic diagram of the first interface after adding a second node element according to an embodiment of this application;

[0030] Figure 12 This is a schematic diagram of a display matching node element provided in an embodiment of this application;

[0031] Figure 13 This is a schematic diagram of deleting a node element provided in an embodiment of this application;

[0032] Figure 14 This is a schematic diagram of the first operation in response provided in an embodiment of this application;

[0033] Figure 15 This is a schematic diagram of the display and editing element function provided in an embodiment of this application;

[0034] Figure 16 This is another schematic diagram of the display and editing element function provided in the embodiments of this application;

[0035] Figure 17 This is a schematic diagram illustrating the addition of an associated identifier element provided in an embodiment of this application;

[0036] Figure 18 This is a schematic diagram of the display device provided in this application;

[0037] Figure 19 This is a schematic diagram of the display device provided in this application. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. 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 made by those skilled in the art under the guidance of these embodiments are within the scope of protection of the present invention.

[0039] The terms “first,” “second,” “third,” “fourth,” etc. (if present) 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 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.

[0040] If the knowledge graph displayed on a website does not meet the user's needs, the user needs to create their own knowledge graph. Alternatively, if parts of the knowledge graph displayed on the website are incorrect, the user can refer to the displayed knowledge graph to create the correct parts and then create the remaining parts based on their own acquired data. This process is time-consuming and inefficient for users, especially when the knowledge graph has many nodes and complex relationships.

[0041] This application provides a method for displaying a relationship graph. The relationship graph (which may be part or all of a knowledge graph) displayed to the user by the display device can be edited by the user. This allows the user to adjust and correct the knowledge graph displayed on the display device, saving time and improving the efficiency of obtaining the relationship graph.

[0042] Figure 1 This is a schematic diagram of the application scenario of this application. Figure 1The user 110 shown can perform an operation to obtain the relationship graph of the first object. In response to this operation, the display device 120 can display the first relationship graph of the first object and the first element to the user 110. The user 110 can perform a first operation on the first element, and the display device 120 enters the user editing state of the first relationship graph. This allows the user 110 to edit the first relationship graph displayed by the display device 120. However, the application scenarios of this application are not limited to this.

[0043] The following section provides a detailed explanation of the method for displaying the knowledge graph provided in this application, in conjunction with the accompanying drawings.

[0044] Figure 2 This is a schematic flowchart illustrating the method for displaying the knowledge graph provided in this application.

[0045] S210, in response to the received user operation of obtaining the relationship graph of the first object, the display device displays the first relationship graph and the first element of the first object on the first interface.

[0046] The first element is used by the user to select and enter the user editing state of the first relationship graph. The first relationship graph includes at least two node elements and at least one association identifier element, which identifies two node elements that are related. The first relationship graph can be part or all of the knowledge graph of the first object; this application does not limit this.

[0047] Users can obtain the relationship graph of a first object by performing an operation to retrieve the relationship graph of that first object. For example, the display device can display the names of multiple objects on a first interface, and the user can obtain the relationship graph of the first object by clicking on the name of the first object, or the user can obtain the graph of the first object by entering the name of the first object and performing a search. However, this application is not limited to these methods. After receiving the relationship graph of the first object obtained by the user, the display device displays the first relationship graph and the first element of the first object on the first interface.

[0048] For example, the display device displays the names of multiple industry chains, such as photovoltaic, wind power, and nuclear power. If a user needs to understand the photovoltaic industry chain, the user clicks on "photovoltaic," and upon receiving this click, the display device determines that the user needs to obtain a knowledge graph of the photovoltaic industry chain. Alternatively, the user can enter "photovoltaic" or "industry chain" and search. In response to the user's operation to obtain a knowledge graph of the photovoltaic industry chain, the display device displays a first interface, such as... Figure 3As shown. The display device displays a first relationship graph of the photovoltaic industry chain and a first element 305 on the first interface 301. The first relationship graph includes multiple node elements, such as photovoltaic component node element 302, photovoltaic power station node element 303, etc. Two node elements in the first relationship graph that are related are identified by a related identifier element, such as... Figure 3 The diagram shows a relationship identifier element 304 used to identify the association between photovoltaic accessory node element 302 and photovoltaic power station node element 303. The first element 305 is used by the user to select and enter the user editing state of the first relationship graph. However, this application is not limited to this; the user's operation to obtain the relationship graph of the first object can be other operations, and the first element can also be in other forms on the first interface.

[0049] S220, the display device responds to the first operation received from the user on the first element and enters the user editing state of the first relationship graph.

[0050] When a user needs to edit the first relationship graph, the user performs a first operation on the first element. Upon receiving this first operation, the display device, in response, enters the user-editable state of the first relationship graph. Alternatively, the first relationship graph enters an editable state, allowing the user to edit it. This user-editable state is used to update the first relationship graph in response to user editing operations. The display device can update the first relationship graph by receiving user editing operations.

[0051] Optionally, in response to a first operation received from a user on a first element, the display device changes the first element from a first state to a second state, the first state corresponding to a non-user-edited state of the first relation graph, and the second state corresponding to a user-edited state of the first relation graph.

[0052] In other words, when the first element is in the first state, the first relationship graph is in a state that is not editable by the user; when the second element is in the second state, the first relationship graph is in a state that is editable by the user.

[0053] According to the above solution, the knowledge graph displayed to the user by the display device can be edited by the user. This allows the user to adjust and correct the knowledge graph displayed on the display device, saving time and improving the efficiency of acquiring knowledge graphs.

[0054] As an example and not a limitation, the first operation can be a user clicking, right-clicking, double-clicking, or hovering for a preset time within the range of the first element using the cursor.

[0055] It should be noted that in this application, a single-click operation can be understood as the user clicking the left mouse button, or, in the case of a touch screen, a single-click operation can be the user clicking. A right-click operation can be the user clicking the right mouse button. Furthermore, unless otherwise specified, the user's operation on elements of the interface can be one of the following: a single-click operation, a right-click operation, a double-click operation, or an operation that pauses for a preset duration; however, this application is not limited to these.

[0056] For example, the first action is a user's click on the first element. The first state of the first element is... Figure 4 As shown in 401, after the display device receives a user's click operation on the first element, the state of the first element changes to the second state, such as... Figure 4 As shown in 402, but this application is not limited thereto.

[0057] Optionally, after the display device enters the user editing state of the first relationship graph, in response to the received second operation by the user on the first node element, the display device adds and displays an added node element corresponding to the first node element on the first interface. This added node element is used by the user to add node elements. After the display device receives a third operation by the user on the added node element, in response to the third operation, the display device adds and displays a second node element associated with the first node on the first interface. The first node element is one of the at least two node elements, or the first node element is a node element added in response to the user's operation.

[0058] For example, the first relationship diagram of the photovoltaic industry chain displayed on the first interface of the display device is as follows: Figure 3 As shown, after the user performs a first operation on the first element, the display device responds to the received first operation by displaying the second state of the first element and entering the user editing state of the first relationship graph. When the user needs to add associated node elements to the photovoltaic accessory node element, the user can perform a second operation on the photovoltaic node element. For example, the second operation can be a click operation, but this application is not limited to this. After the display device receives a click operation for the photovoltaic accessory node (i.e., an example of the first node element), for example... Figure 5 As shown in (a) (only a portion of the first association graph is shown in the illustration; the first relationship graph is displayed on the first interface), in response to the click operation, an added node element 501 corresponding to the photovoltaic accessory node element is displayed on the first interface. When the user confirms the addition of a node element associated with the photovoltaic accessory node element, a third operation is performed on the added node element, for example, clicking the added node element. After receiving the click operation for adding the node element, the display device adds and displays a second node element associated with the photovoltaic accessory node element on the first interface, for example... Figure 5The second node element 502 is shown in the diagram.

[0059] Optionally, the second node element may include at least two relation type selection elements between it and the first node element.

[0060] For example Figure 5 As shown in (b), in response to a third user operation, when the display device displays the second node on the first interface, it also displays two relationship type selection elements on the first interface: relationship type selection element 503 and relationship type selection element 504. For example, these two relationship type selection elements correspond to an inclusion relationship type and a contained relationship type, respectively. For instance, relationship type selection element 503 corresponds to an inclusion relationship type, indicating that the relationship between the second node element and the photovoltaic accessory node element is that the node corresponding to the second node element includes the photovoltaic accessory; for example, the node corresponding to the second node element is produced using the photovoltaic accessory as a material. Relationship type selection element 504 corresponds to a contained relationship type, indicating that the node corresponding to the second node element is included in the photovoltaic accessory; for example, the photovoltaic accessory is produced using the node corresponding to the second node as a material. However, this application is not limited to this.

[0061] In response to a user's selection operation of a first relationship type selection element among at least two relationship type selection elements, the display device displays an association identifier element on the first interface that identifies the association relationship between the second node element and the first node element, wherein the first relationship type is the relationship type corresponding to the first relationship type selection element.

[0062] For example, if the node corresponding to the second node element added by the user produces materials for photovoltaic accessories, the user can perform a selection operation on the relationship type selection element 504. After receiving the selection operation, the display device retains the relationship type selection element 504 and deletes the relationship type selection element 503. However, this application is not limited to this.

[0063] For example, the containment relationship type and the contained relationship type between the second node element and the first node element can be respectively as follows: Figure 6 The relation type selection elements 601 and 602 are shown in (a) above. When the user-added second node element corresponds to a node that produces photovoltaic accessory materials, the user can perform a selection operation on relation type selection element 602. Upon receiving this selection operation, the display device deletes type selection elements 601 and 602, and displays the contained relation type element 603 corresponding to relation type selection element 602 between the photovoltaic accessory node element and the second node element, for example... Figure 6 As shown in (b) above. However, this application is not limited thereto.

[0064] Optionally, in response to the third operation, the display device adds and displays a first input field corresponding to the second node element on the first interface, the first input field being used by the user to name the second node element.

[0065] For example Figure 7 As shown, in response to a third user operation to add a node element, the display device adds and displays a first input field corresponding to the second node element on the first interface. This first input field may include, but is not limited to, a blinking input cursor 701 and / or an input field underline 702, but this application is not limited to these. The first input field may also be a box for inputting characters, etc.

[0066] Optionally, if no character is received from the user in the first input field, in response to the received fourth operation by the user in the first input field, a first prompt message is added and displayed on the first interface, the first prompt message being used to indicate an operation error.

[0067] As an example and not limited to, the fourth operation could be an operation by the user pressing the Enter key or the space bar on the first input field (for example, when the first input field is selected or the cursor on the first input field is blinking).

[0068] For example, the fourth operation is pressing the Enter key on the first input field. Even if the display device has not received any characters entered by the user in the first input field, the display device receives the fourth operation of the user pressing the Enter key on the first input field. In response to this fourth operation, the display device displays a first prompt message, such as "Operation error" or "Please name the node." Optionally, the first prompt message may indicate the format requirements for the node name. For example, the first prompt message may be "The node name format is incorrect; it cannot contain spaces or special characters and is limited to 7 characters or less," but this application is not limited to this.

[0069] Optionally, upon receiving the first character entered by the user in the first input field, and the first character being the same as the name (or identifier) ​​of the node element displayed on the first interface, in response to the fourth operation, a second prompt message is added and displayed on the first interface. The second prompt message is used to indicate that a node element named with the first character already exists in the first relationship graph and / or to prompt the user to rename it; or, the second prompt message is used to indicate that a node element identified by the first character already exists in the first relationship graph and / or to prompt the user to enter a character other than the first character as the identifier of the second node element.

[0070] For example, the first relationship graph is as follows: Figure 3As shown, if the first character entered by the user in the first input field is the same as the name of an existing node element in the first relationship graph, and the user performs the fourth operation, the display device receives the fourth operation and displays a second prompt message on the first interface. For example, the second prompt message could be "Duplicate name" or "The node you added is duplicated with an existing node, please rename it." This application is not limited to this.

[0071] Optionally, the duration for which the first and / or second prompt messages are displayed can be a preset duration. Alternatively, the display device may remove the displayed prompt messages after receiving any operation performed by the user.

[0072] Optionally, when the display device receives a second character entered by the user in the first input field, and the second character is different from the name of the node element displayed on the first interface, in Embodiment 1, the display device displays a node element associated with the first node element and named with the second character on the first interface; in Embodiment 2, a first operation box is added and displayed on the first interface, the first operation box being used by the user to match the node associated with the second node element.

[0073] In the second implementation, the first operation box may include a second input field and a display box. The second input field is used to input the name of the associated node that matches the second node element. If no character is received from the user in the second input field, the display box displays a first button element, which is used by the user to select whether to match the associated node element of the second node element. For example... Figure 8 As shown, the name of the first button element is "Not Matching for Now". After the user selects the "Not Matching for Now" button element, the display device removes the first operation box from the display and displays the edited first relationship graph on the first interface. The edited first relationship graph includes node elements named with the second character that have a first relationship type with the photovoltaic accessory node elements. However, this application is not limited to this.

[0074] Optionally, the second input field may display a prompt message asking the user to enter a node name, such as... Figure 8 As shown, the second input field can display "Please enter the name of the relevant node", but the application is not limited to this.

[0075] Optionally, in Embodiment 2, after receiving the third character input by the user into the second input field, the display device can display the fuzzy matching result in the display box based on the third character, which may include, but is not limited to, one or more of the following:

[0076] In Case 1, if the display device determines that the name of the node containing the third character is not included in the atlas database of the first object, the display device prompts in the display box that the third character is not in the atlas database.

[0077] Optionally, the display device adds and displays in the display box a prompt message on whether to add the name of the node named with the third character, and the display box further includes a confirmation button element and a cancel button element.

[0078] For example Figure 9 as shown in (a) of, after the display device receives the character "Jia" (i.e., an example of the third character) input by the user, it displays the character "Jia" in the second input field and displays the fuzzy matching result in the display box. If the display device determines that the name of the node containing the character "Jia" is not included in the atlas database of the photovoltaic industrial chain (i.e., an example of the first object), it displays in the display box "The character 'Jia' is not in the atlas database. Confirm to add?" and the display box further includes a confirmation button element and a cancel button element. If the display device receives the user's selection operation on the cancel button element, the display device cancels the display of the first operation box and displays the edited first relationship atlas on the first interface. The edited first relationship atlas includes a node element named with the second character and having a first relationship type with the photovoltaic accessory node element; if as Figure 9 shown in (a) of, when the display device receives the user's selection operation on the confirmation button element, the name of the matched node, i.e., "Jia", is displayed in the display box, and a prompt message for continuing to match nodes is displayed in the second input field. If the user needs to continue matching, the user continues to enter the name of the node to be matched in the second input field. If the user does not need to continue matching, the user can perform a selection operation on the completion button displayed in the display box. However, this application is not limited to this.

[0079] Optionally, if the display device determines that the name of the node containing the third character is not included in the atlas database of the first object, and the display device receives the user's operation of clicking the Enter key or the Space key on the second input field, or receives the user's selection operation on the confirmation button element, the display device prompts in the display box that the third character is not in the atlas database.

[0080] In Case 2, if the display device determines that the name of the node containing the third character is included in the atlas database of the first object, the display device displays in the display box the name of the node in the atlas database that contains the third character.

[0081] For example Figure 10As shown, after receiving the user-inputted character "light" (another example of the third character), the display device determines the names of nodes containing the character "light" in the photovoltaic industry chain database, and displays the names of these nodes in the database in the display box. Examples include photovoltaic brackets, photovoltaic inverters, photovoltaic cables, and photovoltaic accessories. Optionally, the display device adds and displays a selected matching name element associated with the fuzzy-matched node names in the display box, such as... Figure 10 In the context of nodes like 1001, after a user selects a node name or its corresponding matching name element in the display box, the matching name element for that selected node name becomes selected. If the node name displayed in the display box is the name of a node that has already matched a second node, then the matching name element corresponding to that node name is displayed as selected, for example... Figure 10 The photovoltaic accessories in the image are shown in the corresponding selection matching name element 1004. The user can select the name of one or more nodes in the display box as the name of the node to be matched with the second node element. However, this application is not limited to this. If the display device receives a user's selection operation on the cancel button element, the display device will deselect the first operation box; if the display device receives a user's selection operation on the confirm button element, the display box will display the name of the matched node, and the second input field will display a prompt message to continue matching nodes. The user can select to continue matching nodes and enter the name of the node to be matched in the second input field. Alternatively, the user can perform a selection operation on the complete button element in the display box to complete the matching of the node for the second node element, but this application is not limited to this.

[0082] Optionally, the number of node names displayed in the display box can be preset. If the number of node names containing the third character in the graph database exceeds the preset number, a scroll bar is also displayed on the right or left side of the display box. The user can operate the scroll bar so that the display device receives the operation and displays the name of the node containing the third character corresponding to the scroll bar position in the display box.

[0083] Scenario 3: If the user does not select a node name in the display box, but the display device receives a click of Enter or Space from the user on the second input box, or receives a selection of a confirm button element from the user, and the third character is the same as a node name in the graph database, the display device determines that the user's second node element matches a node in the graph database whose name is the third character.

[0084] After the user completes matching a node for the second node element (e.g., after receiving the user's selection operation on the complete button element in the first operation box), or after the user selects not to match a node for the second node element (e.g., after the display device receives the user's selection operation on the matching node button element), the display device displays the edited first relationship graph on the first interface, which includes second node elements associated with the first node element and named with the second character.

[0085] For example, if a user names the second node element as "inverter," after the user completes matching nodes for the second node element, or after the user selects not to match nodes for the second node element, the display device shows the edited first relationship graph on the first interface, such as... Figure 11 As shown, but this application is not limited thereto.

[0086] If the user matches the inverter element with the names "A" and "photovoltaic inverter", then the user has completed editing the first relationship graph and saved the edit operation. The display device is in a non-user editing state of the first relationship graph (e.g., ...). Figure 12 As shown in (a) above, when the first element is in the first state, in response to a received user operation on the inverter element (e.g., a single click, a right click, or a double click), the display device changes the relationship graph displayed on the first interface to display the matching node elements of the inverter node elements, such as... Figure 12 As shown in (b) above. An exit element is also displayed on the first interface. In response to the user's operation on the exit element, the display device exits displaying the matching node element of the inverter node element, as shown in the display on the first interface. Figure 12 The first relational graph saved in (a) is shown in the figure, but this application is not limited thereto.

[0087] According to the above scheme, users can add node elements to meet their needs while the display device is in the user editing state of the first relationship graph, without requiring users to redraw the relationship graph of the first object, thus improving the efficiency of users obtaining the relationship graph of the first object. Optionally, users can also choose to match associated nodes for the added node elements during the process of adding node elements, further saving users' time and improving the efficiency of users obtaining the first relationship graph.

[0088] Optionally, when the display device is in the user editing state of the first relational graph, in response to the received fifth operation by the user on the third node element, a deleted node element corresponding to the third node element is added and displayed on the first interface. Here, the third node element is one of the at least two node elements, or the third node element is a node element added in response to the user's operation.

[0089] In response to a sixth user action to delete the node element, in one embodiment, the display device deletes the third node element and the associated identifier element used to identify the association relationship of the third node element on the first interface. In another embodiment, the display device also displays a second action box on the first interface to prompt whether to confirm the deletion.

[0090] For example, the first relational graph displayed by the display device could be as follows: Figure 3 The diagram shown illustrates the relationships within the photovoltaic industry chain. Figure 13 As shown in (a) (only a portion of the first association graph is shown in the illustration; the first relationship graph is displayed on the first interface), in response to a fifth user operation on a photovoltaic accessory node element, a deleted node element 1301 corresponding to that photovoltaic accessory node element is added and displayed on the first interface. In response to a sixth user operation on that deleted node element, the display device adds and displays a second operation box on the first interface to prompt whether to confirm the deletion, for example... Figure 13 As shown in (b), the second operation box may prompt "Deleting this node will also delete all associated identifiers that identify this node element. Please confirm whether to delete?". The user can choose to cancel the button element to cancel the deletion of the photovoltaic accessory node element. Alternatively, the user can choose to confirm the button element. After receiving this operation, the display device will display the edited first association graph on the first interface, that is, the first association graph that has deleted the photovoltaic accessory node element and the associated identifiers that identify the association relationship of the photovoltaic accessory node element, such as... Figure 13 The diagram (c) shows only a portion of the first association graph, and the first relationship graph is displayed on the first interface, but this application is not limited thereto.

[0091] Optionally, when the display device is in the user editing state of the first relation graph, in response to the received user's renaming operation on a node element on the first interface, the name of the node element is in an editable state, the user can enter the changed name of the node, and after the operation is completed, the display device displays the updated name of the node in response to the user's operation.

[0092] For example, when a user double-clicks a node element, the display device receives the double-click operation and enters an editable state for the node element's name. For example, the first relationship graph is... Figure 3 The photovoltaic industry chain relationship diagram shown illustrates this. When a user double-clicks on a node element, such as the monocrystalline module node element, the display device shows an input field for that node element. After the user enters the updated name in the input field and presses the Enter key, the display device shows the updated name of the original monocrystalline module node element in the edited first relationship diagram. However, this application is not limited to this.

[0093] For example, the correspondence between user operations on node elements and the response of the display device can be shown in Table 1, but this application is not limited thereto.

[0094] Table 1

[0095] User operations on node elements Response of the display device Click Displays the added node element corresponding to the clicked node. Right-click Displays the deleted node element corresponding to the right-clicked node. double click Displays an input field for updating the name of the node element.

[0096] Optionally, in response to a received first operation by the user on the first node element, the display device also displays one or more edit elements for the user to perform an edit operation on the first relation graph.

[0097] Optionally, the one or more editable elements include, but are not limited to, one or more of the following:

[0098] The first editing element is used to add the associated identifier element;

[0099] The second editing element is used to save the edited first association map;

[0100] A third editing element is provided to undo a user's editing operation; for example, after a user selects the third editing element, in response to this operation, the display device undoes the content displayed in response to the user's most recent operation. However, this application is not limited to this.

[0101] A fourth editing element is used to reset the first relationship graph; for example, after the user selects the fourth editing element, in response to the operation, the display device resets the first relationship graph displayed on the first interface to a relationship graph that has not been edited by the user, and the display device remains in the user-edited state of the first relationship graph after the reset. However, this application is not limited to this.

[0102] The fifth editing element is used to exit the user editing state of the first relationship graph. For example, after the user selects the fifth editing element, in response to this operation, the display device resets the first relationship graph and exits the user editing state of the first relationship graph, that is, enters the non-editable state of the first relationship graph. However, this application is not limited to this.

[0103] For example, in response to a user's request to obtain a relationship diagram of the photovoltaic industry chain, the display device displays a first relationship diagram and a first element in a first state on a first interface. When the user needs to edit the first relationship diagram, the user performs a first operation on the first element (e.g., ...). Figure 14 (as shown in (a)). In response to the received first operation, the display device enters the user editing state of the first relationship graph and displays one or more editing elements on the first interface, for example, Figure 14Editing elements 1401 to 1404 are shown in (b) above. The display device does not display the first element on the first interface; that is, the second state of the first element is that it is not displayed by the display device. For example, editing element 1401 is used to save the edited first relationship graph, editing element 1402 is used to add the relationship identifier element, editing element 1403 is used to prompt how to perform the editing operation, and editing element 1404 is used to exit the user editing state of the first relationship graph. However, this application is not limited to this.

[0104] Optionally, in response to a seventh operation received from the user on one of the one or more editable elements, the display device displays a functional description of the editable element on the first interface.

[0105] For example, this seventh operation could be that the user's cursor stays within an editing element for a preset duration. For instance, the user can place the cursor within... Figure 14 After the preset duration of the edit element 1401, the display device displays the functional description information of the edit element 1401, such as... Figure 15 As shown, after the user hovers the cursor over the edit element used to save the edited first association map for a preset time, the function of the edit element will be displayed as "Save".

[0106] For example Figure 16 As shown, after a user hovers the cursor over an editable element used to add an association identifier for a preset duration, the function of that editable element is displayed as "Add Association Identifier". However, this application is not limited to this.

[0107] For example, after a user hovers the cursor over an editable element for a preset duration to indicate how to perform editing operations, the display device shows "Click the node element to add associated node elements; right-click the node element to delete associated node elements; double-click the node element to change the node element name." Alternatively, after a user hovers the cursor over an editable element that exits the user's editing state in the first relationship graph for a preset duration, the display device shows that the function of the editable element is "Reset the first relationship graph and exit the editing state," but this application is not limited to these.

[0108] Optionally, in response to the eighth operation received from the user on the first edit element, the first edit element displayed by the display device changes from the third state to the fourth state; when the first edit element is in the fourth state, in response to the ninth operation received from the user on the fourth node element and the fifth node element in the first association spectrum, the association identification element used to identify the association relationship between the fourth node element and the fifth node element is added and displayed on the first interface.

[0109] For example, users Figure 14After the edit element 1402, used to add associated identifier elements, performs the eighth operation, in response to the received eighth operation, the edit element 1402 is... Figure 14 The third state in the text changes to the fourth state. When the editable element 1402 is in the fourth state, the user can add a linking identifier element between two nodes. For example, Figure 17 As shown, the editing element 1701, used to add associated identifier elements, is in the second state. If the user needs to add an association relationship between the photovoltaic accessory node element and the monocrystalline silicon wafer node element, for example, the photovoltaic accessory node element is an upstream node and the monocrystalline silicon wafer node element is a downstream node, the user can move the cursor from the range of the monocrystalline silicon wafer node element (e.g., ...). Figure 17 The cursor position shown (1702) is moved to (i.e., an example of the ninth operation) the range of the photovoltaic accessory node element (e.g.) Figure 17 As shown at cursor position 1703, in response to the user's ninth operation, the display device displays an association identifier 1704 between the monocrystalline silicon wafer node element and the photovoltaic accessory node element, which associates the two node elements. However, this application is not limited thereto.

[0110] Optionally, in response to the tenth operation received from the user on the second edit element, the edited first association graph is saved as a relationship graph of the first object corresponding to the first user account, where the first user account is the currently logged-in user account; if the logged-in account is the first user account, in response to the user's operation to obtain the relationship graph of the first object, the edited first association graph is displayed on the first interface.

[0111] For example, after a user completes editing the first relationship graph, they can perform a tenth operation on the second editing element used to save the edited first relationship graph. In response to this tenth operation, the display device saves the user's editing operation, that is, it associates the edited first relationship graph with the first user account. When the user logs into the user account again to retrieve the relationship graph of the first object, the display device displays the saved edited first relationship graph. This allows the user to save the edited relationship graph and view it after logging in. However, this application is not limited to this.

[0112] The relationship graph display method provided in this application allows users to adjust and correct the knowledge graph displayed on the display device, saving time and improving the efficiency of obtaining relationship graphs.

[0113] The above combined with the appendix Figures 2 to 17 This paper introduces the method for displaying the relationship graph provided in this application. The following section combines... Figure 18 This application describes the display device provided.

[0114] Figure 18 A schematic structural diagram of a display device provided in this application. The display device includes:

[0115] Processing module 1820 is used to obtain the user's operation of obtaining the relationship graph of the first object, and control display module 1810 to display the first relationship graph and the first element of the first object;

[0116] Display module 1810 is used to display the first relational graph and the first element of the first object.

[0117] Optionally, the processing module 1820 is further configured to obtain the user's second operation on the first node element and control the display module 1810 to add and display the added node element corresponding to the first node element on the first interface;

[0118] The display module 1810 adds and displays the added node element corresponding to the first node element on the first interface;

[0119] The processing module 1820 is also used to obtain the user's third operation on adding the node element, and control the display module 1810 to add and display a second node element associated with the first node on the first interface;

[0120] The display module 1810 is also used to add and display a second node element associated with the first node on the first interface.

[0121] Optionally, the processing module 1820 is further configured to obtain the user's selection operation on the first relation type selection element among the at least two relation type selection elements, and control the display module 1810 to display the association identification element of the first relation type used to identify the association relationship between the second node element and the first node element;

[0122] The display module 1810 is also used to display the association identifier element of the first relationship type, which identifies the association relationship between the second node element and the first node element.

[0123] Optionally, the processing module 1820 is further configured to, in response to the third operation, control the display module 1810 to add and display a first input bar corresponding to the second node element on the first interface;

[0124] The display module 1810 is also used to add and display a first input bar corresponding to the second node element on the first interface.

[0125] Optionally, if no character is received from the user in the first input field, after the processing module 1820 obtains the user's fourth operation on the first input field, it controls the display module 1810 to add and display the first prompt information on the first interface.

[0126] The display module 1810 is also used to add and display first prompt information on the first interface.

[0127] Upon receiving the first character entered by the user in the first input field, and the first character being the same as the name of the node element displayed on the first interface, the processing module 1820 responds to the fourth operation by controlling the display module 1810 to add and display the second prompt information on the first interface.

[0128] The display module 1810 is also used to add and display a second prompt message on the first interface.

[0129] Optionally, when the processing module 1820 receives the second character entered by the user in the first input field, and the second character is different from the name of the node element displayed on the first interface, the processing module 1820 is further configured to control the display module 1810 to display the second character as the name of the second node element on the first interface, or to control the display module 1810 to add and display the first operation box on the first interface.

[0130] The display module 1810 is also used to name the second node element displayed on the first interface as a second character, or to add and display a first operation box on the first interface.

[0131] Optionally, the processing module 1820 is further configured to obtain the user's fifth operation on the third node element and control the display module 1810 to add and display the deleted node element corresponding to the third node element on the first interface;

[0132] The display module 1810 is also used to add and display the deleted node element corresponding to the third node element on the first interface;

[0133] The processing module 1820 is also used to obtain the user's sixth operation on the deleted node element, and control the display module 1810 to delete the third node element and the association identifier element used to identify the association relationship of the third node element on the first interface;

[0134] The display module 1810 is also used to delete the third node element and the association identifier element used to identify the association relationship of the third node element on the first interface.

[0135] Optionally, the processing module 1820 is further configured to, in response to the first operation, control the display module 1810 to display one or more editing elements on the first interface;

[0136] The display module 1810 is also used to display one or more editing elements on the first interface.

[0137] Optionally, the processing module 1820 is further configured to obtain a seventh operation by the user on one of the one or more editing elements, and control the display module 1810 to display the functional description information of the one editing element on the first interface;

[0138] The display module 1810 is also used to display the functional description information of the one editable element on the first interface.

[0139] Optionally, the processing module 1820 is further configured to obtain the user's eighth operation on the first edit element and control the first edit element displayed by the display module 1810 to change from the third state to the fourth state;

[0140] The display module 1810 is also used to display the fourth state of the first edit element;

[0141] When the first edited element is in the fourth state, the processing module 1820 is also used to obtain the user's ninth operation on the fourth node element and the fifth node element in the first association spectrum, and control the display module 1810 to add and display the association identification element on the first interface to identify the association relationship between the fourth node element and the fifth node element.

[0142] The display module 1810 is also used to add and display the association identification element on the first interface, which is used to identify the association relationship between the fourth node element and the fifth node element.

[0143] Optionally, the processing module 1820 is further configured to obtain the user's tenth operation on the second edit element and save the edited first association graph as a relationship graph of the first object corresponding to the first user account;

[0144] When the login account is the first user account, after the processing module 1820 receives the operation of the user to obtain the relationship graph of the first object, the control display module 1810 displays the edited first relationship graph on the first interface.

[0145] Optionally, the display device may further include a storage unit 1830, which may be used to store instructions executable by the processing unit.

[0146] The display device provided in any of the above embodiments is used to implement the technical solution of the relationship graph display method in any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.

[0147] Figure 19 This is a schematic structural diagram of the display device provided in this application. Figure 19 As shown, the display device includes:

[0148] Display 1910, Processor 1920; and,

[0149] The memory 1930 is used to store the executable instructions of the processor, and the memory 1930 may also be flash memory;

[0150] The processor 1920 is configured to execute the various steps of the above method involving the display device displaying content on the first interface by executing the executable instructions. For details, please refer to the relevant descriptions in the preceding method embodiments.

[0151] Alternatively, the memory 1930 can be either standalone or integrated with the processor 1920.

[0152] When the memory 1930 is a device independent of the processor 1920, the display device may further include a bus for connecting the processor and the memory.

[0153] This embodiment also provides a storage medium storing a computer program, which, when executed by a processor, implements the relationship graph display method provided in the various embodiments described above.

[0154] This embodiment also provides a program product including a computer program stored in a storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to implement the relationship graph display method provided in the various embodiments described above.

[0155] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for displaying a relationship graph, characterized in that, include: In response to the received user operation to obtain the relationship graph of the first object, the first relationship graph and the first element of the first object are displayed on the first interface. The first relationship graph includes at least two node elements and at least one association identifier element. The association identifier element is used to identify two node elements that have an association relationship among the at least two node elements. In response to the first operation received from the user on the first element, the user enters the user editing state of the first relationship graph, which is used to update the first relationship graph in response to the user's editing operation. The method further includes: In response to the received third operation by the user to add a second node element, a first input field corresponding to the second node element is also displayed on the first interface. The first input field is used to display the identifier of the second node element entered by the user. The method further includes the following steps: If no character is received from the user in the first input field, in response to the received fourth operation by the user on the first input field, a first prompt message is added and displayed on the first interface. The first prompt message is used to indicate an operation error. Upon receiving the first character entered by the user in the first input field, and the first character being identical to the identifier of a node element in the first relationship graph displayed on the first interface, in response to the fourth operation, a second prompt message is added and displayed on the first interface; the second prompt message is used to prompt any one or more of the following: a node element identified by the first character already exists in the first relationship graph; or a character other than the first character is entered as the identifier of the second node element. If the system receives a second character entered by the user in the first input field, and the second character is different from the identifier of the node element displayed on the first interface, then the identifier of the second node element displayed on the first interface is the second character. Alternatively, a first operation box is added and displayed on the first interface, which is used by the user to match node elements associated with the second node element.

2. The method according to claim 1, characterized in that, In response to a first operation received from a user on the first element, the first element is changed from a first state to a second state. The first state of the first element corresponds to the non-user-edited state of the first relationship graph, and the second state of the first element corresponds to the user-edited state of the first relationship graph.

3. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the second operation received from the user on the first node element, the added node element corresponding to the first node element is added and displayed on the first interface; In response to the received third user operation to add a node element, a second node element associated with the first node element is added and displayed on the first interface; Wherein, the first node element is one of the at least two node elements, or the first node element is a node element added to the first relationship graph in response to a user's operation.

4. The method according to claim 3, characterized in that, The method further includes at least two relation type selection elements between the second node element and the first node element, and the method also includes: In response to a received user selection operation on a first relation type selection element among the at least two relation type selection elements, the association identifier element of the first relation type, used to identify the association relationship between the second node element and the first node element, is displayed, wherein the first relation type is the relation type corresponding to the first relation type selection element.

5. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the fifth operation received from the user on the third node element, a delete node element corresponding to the third node element is added and displayed on the first interface; In response to the sixth user operation to delete the node element, the third node element and the associated identifier element used to identify the association relationship of the third node element are deleted on the first interface. The third node element is one of the at least two node elements, or the third node element is a node element added in response to a user's operation.

6. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the first operation, one or more editing elements are also displayed on the first interface, the one or more editing elements being used by the user to perform editing operations on the first relationship graph.

7. The method according to claim 6, characterized in that, The method further includes: In response to a seventh operation received from the user on one of the one or more editable elements, functional description information of the editable element is added to and displayed on the first interface.

8. The method according to claim 6, characterized in that, The at least one edit element includes a first edit element, which is used to add the associated identifier element, and the method further includes: In response to the eighth operation received from the user on the first edit element, the first edit element changes from the third state to the fourth state; When the first edited element is in the fourth state, in response to the ninth operation received from the user on the fourth node element and the fifth node element in the first relationship graph, the association identification element used to identify the association relationship between the fourth node element and the fifth node element is added and displayed on the first interface.

9. The method according to claim 6, characterized in that, The at least one edit element includes a second edit element, which is used to store the edited first relation graph. The method further includes: In response to the tenth operation received from the user on the second edit element, the edited first relationship graph is saved as a relationship graph of the first object corresponding to the first user account, where the first user account is the currently logged-in user account; When the login account is the first user account, in response to the received user operation to obtain the relationship graph of the first object, the edited first relationship graph is displayed on the first interface.

10. The method according to claim 6, characterized in that, The at least one editable element includes one or more of the following: The third editing element is used to undo the user's editing actions; The fourth edit element is used to reset the first relationship graph; The fifth editing element is used to exit the user editing state of the first relationship graph.

11. A computer program product, characterized in that, The computer program product includes: a computer program that, when run, causes a computer to perform the method as described in any one of claims 1 to 9.

12. A display device, characterized in that, include: Display, processor; as well as, Memory for storing the executable instructions of the processor; The processor is configured to execute the method for displaying the relational graph according to any one of claims 1 to 9 by executing the executable instructions.

13. A readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the method for displaying the relational graph as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Information editing processing method and platform

    CN107506343A

  • Method, apparatus, storage medium and processor for processing knowledge map

    CN109508384A