Information display method and device, equipment and medium
By using a directed graph structure to display the analysis and processing process and results of the AI model, the problem of poor presentation of information in the AI model's answers is solved, thereby improving user confidence and information acquisition efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-12
- Publication Date
- 2026-03-13
AI Technical Summary
In existing technologies, the way AI models present their answers is inadequate, making it difficult for users to accept their answers and resulting in low efficiency in information retrieval.
A directed graph structure is used to display the analysis and processing process and results of the AI model. The source node corresponds to the question information, the intermediate node corresponds to the analysis and processing process information, and the sink node corresponds to the analysis and processing results information. The directed graph structure clearly presents the direction of information flow and the relationship between them.
It improves users' confidence in the AI model's answers and the efficiency of information comprehension, enhancing the question-and-answer interaction experience between users and the AI model.
Smart Images

Figure CN121658697A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an information display method, apparatus, device, and medium. Background Technology
[0002] With the development of artificial intelligence, AI (Artificial Intelligence) models that can provide dialogue services to users have been widely used in people's daily lives. The inventors' research has revealed that the way AI models present their responses to users in related technologies is inadequate and needs improvement. Summary of the Invention
[0003] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides an information display method, apparatus, equipment and medium.
[0004] This disclosure provides an information display method, the method comprising: responding to receiving a question, performing analysis and processing based on the question using a target network model; and displaying the process information and result information of the analysis and processing using a directed graph structure on an interactive interface; wherein the source nodes of the directed graph structure correspond to the question, the intermediate nodes of the directed graph structure correspond to the process information of the analysis and processing, the sink nodes of the directed graph structure correspond to the result information of the analysis and processing, and the process information corresponding to intermediate nodes at the same level in the directed graph structure has a parallel relationship.
[0005] Optionally, the analysis and processing based on the question information includes: generating one or more analysis tasks to be executed based on the question information; determining the execution object corresponding to the analysis task, and executing the analysis task through the execution object to obtain the execution result of the analysis task; and generating answer information corresponding to the question information based on the execution result of the analysis task.
[0006] Optionally, the step of displaying the analysis process information and the analysis result information using a directed graph structure includes: determining the layout information of the intermediate nodes of the directed graph structure based on the analysis task; wherein the layout information of the intermediate nodes includes the number of nodes corresponding to multiple preset intermediate node types and the association relationships between different intermediate nodes; obtaining the node layout of the directed graph structure based on the source node, the layout information of the intermediate nodes, and the sink node; and displaying the analysis process information and the analysis result information based on the node layout of the directed graph structure; wherein the analysis process information includes the execution process information of the analysis task and the execution result of the analysis task, and the analysis result information includes the response information.
[0007] Optionally, the plurality of intermediate node types include: a first type of node and a second type of node; wherein, the first type of node is used to display the description information of the analysis task; the source node is the parent node of the first type of node; the second type of node is used to display the execution process information and the execution result of the analysis task, the number of the second type of node is related to the number of analysis tasks, the first type of node is the parent node of the second type of node, and the second type of node is the parent node of the sink node.
[0008] Optionally, the step of displaying the process information and result information of the analysis and processing based on the node layout of the directed graph structure includes: obtaining the current progress of the analysis and processing during the analysis and processing process; determining the current state of each node in the directed graph structure based on the node layout of the directed graph structure and the current progress; wherein the current state includes a pending state, an in-process state, or a completed state; determining the information currently corresponding to the node based on the current state of the node and the type of the node, and displaying the information currently corresponding to the node; wherein, when the current progress indicates that the analysis and processing has ended, multiple nodes of the directed graph structure combine to present the process information and result information of the analysis and processing.
[0009] Optionally, determining the information currently corresponding to the node based on the node's current state and type includes: if the node's current state is a pending state, then obtaining the information currently corresponding to the node based on the description information of the node's type and / or the description information of the analysis task corresponding to the node; if the node's current state is an in-process or completed state, and the node is an intermediate node, then obtaining the information currently corresponding to the node based on the currently generated analysis and processing process information related to the node; if the node's current state is an in-process or completed state, and the node is a sink node, then obtaining the information currently corresponding to the node based on the currently generated analysis and processing result information.
[0010] Optionally, displaying the information currently corresponding to the node includes: determining the information display format corresponding to the current state of the node based on a pre-set correspondence between node states and information display formats; and displaying the information currently corresponding to the node using the information display format corresponding to the current state of the node.
[0011] Optionally, the information display format for nodes in the in-process or completed state includes: displaying information using message cards; the information display format for nodes in the pending state includes: displaying information using preset display templates.
[0012] Optionally, displaying the information corresponding to the current state of the node in the form of information display includes: if the current state of the node is in progress or completed, then displaying the information corresponding to the current state of the node in a message card; wherein, the size of the message card is within a preset size range, and if the information corresponding to the current state of the node cannot be fully displayed in the message card, at least a portion of the information corresponding to the current state of the node is displayed in a scrolling manner in the message card.
[0013] Optionally, the method further includes: in response to a first triggering operation for any node of the directed graph structure, determining a first target node corresponding to the first triggering operation; and displaying the first target node and its associated nodes using a preset display method.
[0014] Optionally, the method further includes: in response to a second triggering operation for any intermediate node of the directed graph structure, determining a second target node corresponding to the second triggering operation; displaying an information panel on the interactive interface, and displaying relevant information about the second target node through the information panel; wherein the relevant information includes reference information and / or summary information.
[0015] Optionally, the interactive interface displays a view setting control, and the step of displaying the analysis and processing process information and the analysis and processing result information using a directed graph structure includes: in response to receiving a first view display instruction through the view setting control, displaying the analysis and processing process information and the analysis and processing result information using a directed graph structure.
[0016] Optionally, the method further includes: in response to receiving a second view display instruction through the view setting control, displaying the process information of the analysis and processing and the result information of the analysis and processing in a linear structure.
[0017] This disclosure also provides an information display device, including: an analysis and processing module, configured to, in response to receiving a question, perform analysis and processing based on the question using a target network model; and an information display module, configured to display the process information and result information of the analysis and processing on an interactive interface using a directed graph structure; wherein, the source nodes of the directed graph structure correspond to the question information, the intermediate nodes of the directed graph structure correspond to the process information of the analysis and processing, the sink nodes of the directed graph structure correspond to the result information of the analysis and processing, and the process information corresponding to intermediate nodes at the same level in the directed graph structure has a parallel relationship.
[0018] This disclosure also provides an electronic device, comprising: a storage device storing a computer program thereon; and a processing device for executing the computer program in the storage device to implement the information display method provided in this disclosure.
[0019] This disclosure also provides a computer-readable storage medium storing a computer program for executing the information display method provided in this disclosure.
[0020] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the information display method provided in this disclosure.
[0021] The technical solution provided in this disclosure can utilize a target network model to analyze and process information based on question information. It can also display the process information and results of the analysis and processing on an interactive interface using a directed graph structure. Specifically, the source nodes of the directed graph structure correspond to the question information, the intermediate nodes correspond to the process information, and the sink nodes correspond to the results. The process information corresponding to intermediate nodes at the same level in the directed graph structure has a parallel relationship. This approach not only presents the model analysis results to the user but also clearly shows the process information, helping to improve the confidence of the model's answers. Furthermore, using a directed graph structure allows for the visualization of the model's analysis and processing information to the user. Presenting parallel process information through intermediate nodes at the same level of the directed graph structure, compared to conventional linear presentation methods, clearly and intuitively presents the model's information processing process and information correlations to the user. This improves the confidence of the model's answers while also enhancing the user's information comprehension efficiency, comprehensively improving the question-and-answer interaction experience between the user and the AI model.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A flowchart illustrating an information display method provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of a directed graph structure provided in an embodiment of the present disclosure; Figure 3 This is a schematic diagram illustrating information display provided in an embodiment of the present disclosure; Figure 4 A schematic diagram of a message card provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram illustrating information display provided in an embodiment of the present disclosure; Figure 6 This is a schematic diagram illustrating information display provided in an embodiment of the present disclosure; Figure 7 A schematic diagram of view switching provided in an embodiment of this disclosure; Figure 8 This is a schematic diagram of the structure of an information display device provided in an embodiment of the present disclosure; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0026] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0027] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0028] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0029] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0030] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0031] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0032] The inventors discovered through research that the methods used to present AI model responses to users in related technologies are inadequate. For example, some technologies simply present the final conclusion to the user, resulting in relatively low confidence levels and making the responses unconvincing. Other technologies, while presenting the thought process, primarily employ a linear narrative approach from top to bottom, making reading inconvenient and information acquisition inefficient. To address at least one of these problems, this disclosure provides an information display method, apparatus, device, and medium, which are described in detail below: Figure 1 This is a flowchart illustrating an information display method provided in an embodiment of this disclosure. The method can be executed by an information display device, which can be implemented using software and / or hardware, and is generally integrated into an electronic device. Figure 1 As shown, the method mainly includes the following steps S102 to S104: Step S102: In response to receiving the query information, the target network model is used to analyze and process the query information.
[0033] In practical applications, the interactive interface can be equipped with an information receiving control. User input received through this control is considered as a question. Each question from the user can be seen as a task initiated by the user to the AI model. This embodiment does not limit the content of the question. The aforementioned target network model, i.e., the AI model, can be, for example, a generative model such as a large language model. This embodiment does not limit the specific implementation of the target network model.
[0034] Step S104: On the interactive interface, a directed graph structure is used to display the process information and result information of the analysis and processing. The source nodes of the directed graph structure correspond to the query information, the intermediate nodes correspond to the process information, and the sink nodes correspond to the result information. The process information corresponding to intermediate nodes at the same level in the directed graph structure has a parallel relationship. In other words, the query information is presented as the source node information, the process information is presented as the intermediate node information, and the result information is presented as the sink node information.
[0035] In this embodiment, the number of source nodes and sink nodes is one, while the number of intermediate nodes can be one or more. Different intermediate nodes can be used to present different process information. Intermediate nodes can also be divided into one or more levels. The process information corresponding to intermediate nodes at the same level has a parallel relationship. For example, parallel analysis tasks executed by the model are represented by intermediate nodes at the same level, and two parallel topics under one analysis task are represented by intermediate nodes at the same level. In the directed graph structure, the connection (i.e., edge) between two nodes represents the correlation between the information presented by the two nodes. For example, node A is a parent node of node B, and node B needs to rely on the information of node A to execute. In other words, the information of node A needs to be generated first, and then the information of node B can be generated on this basis. Using a directed graph structure can also clearly and intuitively present the direction of information flow and visually present the thought chain of the model.
[0036] For easier understanding, please refer to Figure 2 The diagram illustrates a directed graph structure, showing the source node for presenting the question information and the sink node for presenting the answer information. All nodes other than the source and sink nodes are intermediate nodes. Assuming Task 1 is complex, it can be further divided into multiple subtasks based on the theme. If the theme is also complex and requires the invocation of multiple execution tools, n different execution tools can be invoked through the model invocation protocol. These tools can be, for example, retrieval tools, drawing tools, etc. Each type of tool can also have multiple sub-tools; for instance, retrieval tools can be further divided into network retrieval, knowledge base retrieval, etc., without limitation. It should be noted that invoking execution tools and dividing the task into themes are not mandatory; they mainly depend on the task itself. For example, theme 2 does not require invoking execution tools, and task N does not need to be divided into themes; a summary can be directly generated through the target network model, thus obtaining the corresponding execution result. In practical applications, intermediate nodes can be divided into one or more categories based on the type of information content to be presented. Figure 2For example, information such as Task 1 and its multiple themes, and the execution results of multiple execution tools under each theme, can be presented centrally through a single intermediate node, or it can be split into multiple intermediate nodes for separate presentation. Furthermore, additional intermediate nodes can be added as needed, such as in... Figure 2 A new intermediate node, called a summary node, is added between all summaries and the sink node. This summary node summarizes and generalizes the summaries of multiple tasks, and finally, the answer information is generated based on the information from this summary node. In other methods, the answer information can also be generated directly based on each summary. The specific settings are flexible and not limited here. Figure 2 In this model, parallel tasks 1 to N are nodes at the same level, parallel topics 1 to n under the same task are nodes at the same level, and each sub-summary is a node at the same level. In this way, the parallel information generated by the model can be presented concisely, making it easy for users to understand and greatly simplifying the user's understanding.
[0037] The above methods not only present the model analysis results to users but also clearly show them the process information, which helps improve the confidence of the model's answers. In addition, the directed graph structure can visualize the model's analysis and processing information to users, and the intermediate nodes at the same level of the directed graph structure present parallel process information. Compared with the conventional linear presentation method, it can clearly and intuitively show users the model's information processing process and information correlation. While improving the confidence of the model's answers, it also improves the user's information comprehension efficiency, and comprehensively enhances the question-and-answer interaction experience between users and AI models.
[0038] In some implementations, the above-described steps for analyzing and processing based on the query information can be performed with reference to steps 1 to 3 below: Step 1: Generate one or more analysis tasks to be executed based on the query information. The target network model can split tasks based on the query information to generate one or more analysis tasks to be executed. Multiple analysis tasks can include parallel tasks or serial tasks, without restriction.
[0039] Step 2: Determine the execution object corresponding to the analysis task, and execute the analysis task through the execution object to obtain the execution result. There may be multiple analysis tasks. For each analysis task, the corresponding execution object must be determined separately. The execution object of the analysis task includes the network model and execution tools, such as retrieval tools, drawing tools, map tools, etc. There are no restrictions on the type of execution object here. The corresponding execution object can be determined based on each analysis task. For example, if the analysis task is an information retrieval task, one or more information retrieval tools can be called to perform information retrieval; or if the analysis task is a travel planning task, one or more map tools can be called to perform route planning. These will not be listed individually here. In practical applications, the execution process information of the analysis task can be recorded so that both the execution process information and the execution result can be presented to the user.
[0040] Step 3: Based on the execution results of the analysis tasks, generate the answer information corresponding to the question information. For example, if there is only one analysis task, the execution result can be directly used as the answer information, or the execution result can be further simplified to obtain the answer information. If there are multiple analysis tasks, the execution results of multiple analysis tasks can be summarized to generate the answer information corresponding to the question information.
[0041] In some implementations, the steps described above, which use a directed graph structure to display the process information and results of the analysis and processing, can be performed with reference to steps a to c as follows: Step a: Determine the layout information of the intermediate nodes in the directed graph structure based on the analysis task. This layout information includes the number of nodes corresponding to several preset intermediate node types and the relationships between different intermediate nodes. Relationships can indicate whether there is a connection between different intermediate nodes, the hierarchical relationship between connected intermediate nodes, etc.; information corresponding to connected intermediate nodes is also related. In practical applications, intermediate node types can be flexibly set according to requirements. It should be noted that not all intermediate node types must be included in the directed graph structure. Different analysis tasks may involve different intermediate node types; in other words, the number of nodes corresponding to some intermediate node types can be zero.
[0042] In some specific examples, multiple intermediate node types include: Type I nodes and Type II nodes; these are described in detail below: Type I nodes are used to display descriptive information about the analysis tasks; source nodes are the parent nodes of Type I nodes. Type I nodes can be task planning nodes, simultaneously indicating the descriptive information of all analysis tasks, i.e., describing all analysis tasks to be executed. Type II nodes are used to display the execution process information and execution results of the analysis tasks. The number of Type II nodes is related to the number of analysis tasks. Type I nodes are the parent nodes of Type II nodes, and Type II nodes are the parent nodes of sink nodes. It should be noted that parent nodes can be direct or indirect parent nodes; there is no restriction here. Information corresponding to different analysis tasks can be presented through different second-type nodes. For each analysis task, the execution process information and execution result of the analysis task can be presented uniformly through a single second-type node, or through multiple child nodes belonging to the second-type node. In practical applications, a second-type node can contain one or more child nodes, such as child nodes for displaying the execution process information of the analysis task and child nodes for displaying the execution result of the analysis task. The execution result of the analysis task can be presented in the form of a summary. In addition, the child nodes for displaying the execution process information of the analysis task can be further divided according to the category of execution process information. Execution process information includes, but is not limited to, one or more of the following: information about the execution object, the execution status of the execution object (such as the current search status of the search tool), the current execution progress, etc., without limitation. It should be noted that the above is only an example. In practical applications, other node types can also be flexibly set, such as including a third-type node. The third-type node is used to display target summary information, where the target summary information is the information obtained by summarizing the execution result information of all analysis tasks; the second-type node is the parent node of the third-type node; the third-type node is the parent node of the sink node.
[0043] Step b: Based on the layout information of the source node, intermediate nodes, and sink node, the node layout of the directed graph structure is obtained. When the layout information of the source node, intermediate nodes, and sink node are all known, the node layout of the directed graph structure can be obtained by combining them. Step c involves displaying the analysis process and results based on the node layout of the directed graph structure. The analysis process information includes the execution process and results of the analysis task. The execution process information can be recorded during the specific steps of executing the analysis task through the execution object. The results include the response information. In this way, the analysis process and results of the model can be clearly presented to the user using a visualized directed graph structure. The directed graph structure effectively expresses the sequential, causal, or dependent relationships between information, making the entire analysis process readily understandable, greatly simplifying comprehension, and improving the user's information acquisition efficiency.
[0044] For example, step c can be performed with reference to steps c1 to c3 as follows: Step c1: During the analysis and processing, obtain the current progress of the analysis and processing. The current progress can be used to indicate the current task execution stage. Specifically, multiple task execution stages can be preset, including but not limited to the task planning stage, the execution stage of each analysis task, and the summary stage.
[0045] Step c2: Based on the node layout and current process of the directed graph structure, determine the current state of each node in the directed graph structure; where the current state includes the state to be started, the state in progress, or the state completed.
[0046] Step c3 involves determining and displaying the information corresponding to a node based on its current state and type. When the current process indicates the end of analysis and processing, multiple nodes in the directed graph structure combine to present the process information and results of the analysis and processing. Different node states and types require different information to be presented, dynamically showcasing the model's information generation to the user. This approach effectively supports the pre-display of the model's thought process node framework, intuitively presenting the AI model's analytical approach and execution status. For example, steps c1 to c3 can be executed in real-time, with the information corresponding to the node dynamically updated over time and as the analysis and processing progresses until the analysis and processing ends. At this point, the information of all nodes in the directed graph structure no longer changes, and the information of all nodes collectively presents the entire analysis and processing process and the final result.
[0047] In some specific examples, the process of determining the current information of a node based on its current state and type in step c3 above can be performed as follows (1) to (3): (1) If the current state of a node is "pending start", then the current information corresponding to the node is obtained based on the description information of the node type and / or the description information of the analysis task corresponding to the node. That is, the description information of the node type and / or the description information of the analysis task corresponding to the node can be directly used as the current information corresponding to the node in the "pending start" state. The description information of the node type is such as "task planning" or "summary", and the description information of the analysis task can be such as a brief task title. In this way, the user can clearly understand the content that the node in the "pending start" state will express.
[0048] (2) If the current state of a node is in progress or completed, and the node is an intermediate node, then the information corresponding to the node is obtained based on the currently generated analysis and processing information related to the node. That is, the currently generated analysis and processing information related to the node can be directly used as the information corresponding to the node in progress or completed. For example, assuming that tasks A, B, and C need to be executed, and all the information for task A and some of the information for task B have been generated, then all the information for task A will be displayed on the intermediate node corresponding to task A, and the currently generated partial information for task B will be displayed on the intermediate node corresponding to task B. The intermediate node corresponding to task C is still in a pending state and only the description information of task C will be presented. In this way, the relevant information of the currently generated analysis and processing can be displayed to the user in real time.
[0049] (3) If the current state of a node is in progress or completed, and the node is a sink node, then the information corresponding to the node is obtained based on the analysis and processing results that have been generated so far. That is, the analysis and processing results that have been generated so far can be used as the information corresponding to the node that is in progress or completed, so that the final analysis results can be clearly presented to the user through the sink node.
[0050] In some specific examples, the step c3 above, which displays the information currently corresponding to the node, can be performed by referring to steps 1) and 2) below: Step 1) Based on the pre-defined correspondence between node states and information display formats, determine the information display format corresponding to the current state of the node. In practical applications, different information display formats corresponding to different node states can be preset to clearly and intuitively present the node state through the information display format. For example, the information display format corresponding to a node in the in-process or completed state includes: displaying information using a message card; the information display format corresponding to a node in the pending state includes: displaying information using a preset display template, which may include font styles, text box styles, and preset icons, etc., without limitation.
[0051] Step 2) Displays the information corresponding to the node's current state in a format that reflects the node's current status. In some specific examples, if the node's current state is in progress or completed, the corresponding information is displayed within a message card. The message card size is within a preset range, and if the node's current information cannot be fully displayed within the message card, at least a portion of the information, such as search results, is displayed in a scrolling manner within the message card. This method effectively saves space, improves interface compactness, and avoids excessively large cards due to too much content, which negatively impacts the interface's visual appeal. Furthermore, this method can continuously deliver key or real-time information within the message card, effectively ensuring a superior information retrieval experience for users.
[0052] For easier understanding, please refer to [link / reference]. Figure 3 The diagram illustrates an information display where task planning nodes are in a completed state, clearly displaying descriptions of multiple tasks. Subsequent nodes are in a pending state, briefly represented by specific identifiers (such as a black clock) and descriptions of the corresponding analysis task and node type (such as analysis summary or result output). Intermediate nodes can present information via message cards; for clarity, see the example shown below. Figure 4 The diagram illustrates a message card, using a task node message card as an example. It shows the task's execution progress (e.g., current progress is 75%), current execution status (e.g., currently searching for information online, number of searches, etc.), and the search results can be scrolled down at the bottom of the message card. This method allows for the transmission of key information through message cards, effectively improving information conciseness and ensuring a better user experience. It should be noted that... Figure 4 This is just an example; in practical applications, the format and content of message cards can be flexibly set, and there are no restrictions here. Further details can be found elsewhere. Figure 5 The diagram shown briefly illustrates how task-related nodes are in progress or completed. Figure 5 The text simultaneously illustrates task nodes in progress, completed, and pending states, allowing users to clearly and intuitively view the current execution status of each task. Additionally, in... Figure 5 In this model, multiple topics within Task A can be displayed side-by-side, sharing a single task node. In practical applications, these topics can also be displayed as distinct child nodes; the specific configuration is flexible and not limited here. This approach clearly and intuitively presents the model's information processing flow and information relationships to the user, effectively improving the model's answer confidence and the user's information comprehension efficiency.
[0053] In some embodiments, the method provided by this disclosure further includes: in response to a first triggering operation on any node of a directed graph structure, determining a first target node corresponding to the first triggering operation; and displaying the first target node and its associated nodes using a preset display method. This disclosure does not limit the form of the first triggering operation, which may include specific actions such as user clicks or hovering. The node triggered by the first triggering operation is the first target node, which can be considered to be in an active state. Based on this, the associated nodes of the first target node include at least its directly associated nodes, i.e., nodes at the upper level and / or lower level of the first target node. Directly associated nodes can be directly connected to the first target node through "edges" in the directed graph structure. In some examples, associated nodes may further include indirectly associated nodes of the first target node, with other nodes between the indirectly associated nodes and the first target node, but connected by at least two edges in the directed graph structure. This disclosure does not limit the preset display method. For example, it can use a specific color to highlight the first target node, highlight the information of the first target node, highlight the connections between the first target node and its associated nodes, etc., and can be flexibly set. In this way, the user can be clearly indicated to the node information with existing relationships, presenting a thought process and facilitating the user to trace the context and efficiently extract all relevant information.
[0054] In some embodiments, the method provided by this disclosure further includes: in response to a second triggering operation on any intermediate node of a directed graph structure, determining a second target node corresponding to the second triggering operation; displaying an information panel on an interactive interface, and displaying relevant information about the second target node through the information panel; wherein the relevant information includes reference information and / or summary information. This disclosure does not limit the form of the second triggering operation, such as a user performing a specific action like clicking or hovering; the intermediate node triggered by the second triggering operation is the second target node, which can be considered to be in an active state. This disclosure can display an information panel next to the second target node to further present relevant information such as reference information and / or summary information in more detail through the information panel. For ease of understanding, please refer to... Figure 6 The diagram illustrates an information display scenario. Assuming a user triggers the message card for Task B through a second triggering action, a corresponding information panel can be displayed. This panel shows the various reference sources upon which Task B is based and their corresponding reference information. By displaying the reference information, users clearly understand the source of the information, which helps to further improve information transparency and the confidence level of the answers. Furthermore, the information panel can also display summary information, which helps users further extract key information and improves their information acquisition efficiency.
[0055] In some implementations, a view setting control is displayed on the interactive interface. The step of displaying the analysis and processing process information and the analysis and processing result information using a directed graph structure includes: in response to receiving a first view display instruction through the view setting control, displaying the analysis and processing process information and the analysis and processing result information using a directed graph structure. This disclosure does not limit the form of the view setting control; it can be a selection control providing view options for the user, or it can be a control for switching between multiple views. The user can select the desired view through the view setting control and issue the corresponding view display instruction. The first view display instruction is used to instruct the use of a directed graph structure for visualization, and the second view display instruction is used to instruct the use of a linear structure for display. The method provided in this disclosure further includes: in response to receiving a second view display instruction through the view setting control, displaying the analysis and processing process information and the analysis and processing result information using a linear structure. Through this method, users can flexibly select the desired view according to their information reading habits or personal preferences, thus improving the user experience.
[0056] For easier understanding, please refer to Figure 7 The diagram illustrates a view transition from a linear view to a visual view. The linear view presents information in a narrative, top-to-bottom order, while the visual view presents information through a directed graph structure. Figure 7 The diagram illustrates a view setting control. For example, this control can display two view switching formats to the user, allowing the user to select the desired view. In some specific examples, a linear structure can be used by default. That is, after receiving the user's query information through the information receiving control, a linear structure is used by default to display the analysis and processing process information and the analysis and processing results information. The user can switch to a directed graph structure as needed. Alternatively, a directed graph structure can be used by default, and the user can switch to a linear structure as needed; the specific configuration is flexible.
[0057] In summary, the information display method provided in this disclosure can present the analysis and processing process information and the analysis and processing result information of the model to the user using a visualized directed graph structure, clearly and intuitively presenting the model's thinking process, which can effectively improve the visibility of the model's thinking process information and improve the confidence of the overall answer; in addition, this disclosure also supports switching between different views, comprehensively improving the question-and-answer interaction experience between the user and the AI model.
[0058] Corresponding to the aforementioned information display method, this disclosure further provides an information display device. Figure 8This is a schematic diagram of the structure of an information display device provided in an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and is generally integrated into an electronic device, such as... Figure 8 As shown, the information display device includes: The analysis and processing module 802 is used to respond to the received query information and perform analysis and processing based on the query information using the target network model. The information display module 804 is used to display the process information and the result information of analysis and processing in a directed graph structure on the interactive interface. The source node of the directed graph structure corresponds to the question information, the intermediate node of the directed graph structure corresponds to the process information of analysis and processing, and the sink node of the directed graph structure corresponds to the result information of analysis and processing. The process information corresponding to the intermediate nodes at the same level in the directed graph structure has a parallel relationship.
[0059] The aforementioned device not only presents the model analysis results to users but also clearly shows them the process information, which helps improve the confidence of the model's answers. In addition, the use of a directed graph structure can visualize the model's analysis and processing information to users, and the parallel process information is presented through the intermediate nodes at the same level of the directed graph structure. Compared with the conventional linear presentation method, it can clearly and intuitively present the model's information processing process and information correlation to users. While improving the confidence of the model's answers, it also improves the user's information comprehension efficiency, and comprehensively enhances the question-and-answer interaction experience between users and AI models.
[0060] In some implementations, the analysis and processing module 802 is specifically used to: generate one or more analysis tasks to be executed based on the question information; determine the execution object corresponding to the analysis task, and execute the analysis task through the execution object to obtain the execution result of the analysis task; and generate answer information corresponding to the question information based on the execution result of the analysis task.
[0061] In some embodiments, the information display module 804 is specifically used for: determining the layout information of intermediate nodes of the directed graph structure based on the analysis task; wherein, the layout information of the intermediate nodes includes the number of nodes corresponding to multiple preset intermediate node types and the association relationships between different intermediate nodes; obtaining the node layout of the directed graph structure based on the source node, the layout information of the intermediate nodes, and the sink node; and displaying the process information of the analysis and processing and the result information of the analysis and processing based on the node layout of the directed graph structure; wherein, the process information of the analysis and processing includes the execution process information of the analysis task and the execution result of the analysis task, and the result information of the analysis and processing includes the answer information.
[0062] In some implementations, the plurality of intermediate node types include: a first type of node and a second type of node; wherein, the first type of node is used to display the description information of the analysis task; the source node is the parent node of the first type of node; the second type of node is used to display the execution process information and the execution result of the analysis task, the number of the second type of node is related to the number of analysis tasks, the first type of node is the parent node of the second type of node, and the second type of node is the parent node of the sink node.
[0063] In some embodiments, the information display module 804 is specifically used for: obtaining the current progress of the analysis and processing during the analysis and processing process; determining the current state of each node in the directed graph structure based on the node layout of the directed graph structure and the current progress; wherein the current state includes a pending state, a progress state, or a completed state; determining the information currently corresponding to the node based on the current state of the node and the type of the node, and displaying the information currently corresponding to the node; wherein, when the current progress indicates that the analysis and processing has ended, the combination of multiple nodes in the directed graph structure presents the process information and the result information of the analysis and processing.
[0064] In some implementations, the information display module 804 is specifically used for: if the current state of the node is a pending state, then obtaining the information currently corresponding to the node based on the description information of the node type and / or the description information of the analysis task corresponding to the node; if the current state of the node is a progress state or a completed state, and the node is an intermediate node, then obtaining the information currently corresponding to the node based on the analysis and processing process information currently generated related to the node; if the current state of the node is a progress state or a completed state, and the node is a sink node, then obtaining the information currently corresponding to the node based on the analysis and processing result information currently generated.
[0065] In some implementations, the information display module 804 is specifically used to: determine the information display format corresponding to the current state of the node based on a pre-set correspondence between node states and information display formats; and display the information currently corresponding to the node using the information display format corresponding to the current state of the node.
[0066] In some implementations, the information display format for nodes in the in-process or completed state includes: displaying information using message cards; the information display format for nodes in the pending state includes: displaying information using a preset display template.
[0067] In some implementations, the information display module 804 is specifically used to: if the current state of the node is in progress or completed, then display the information currently corresponding to the node in the message card; wherein the size of the message card is within a preset size range, and when the information currently corresponding to the node cannot be fully displayed in the message card, at least a portion of the information currently corresponding to the node is displayed in the message card in a scrolling manner.
[0068] In some embodiments, the device further includes an associated display module, configured to, in response to a first trigger operation for any node of the directed graph structure, determine a first target node corresponding to the first trigger operation; and display the first target node and its associated nodes using a preset display method.
[0069] In some embodiments, the device further includes a panel display module for determining a second target node corresponding to the second triggering operation in response to a second triggering operation for any intermediate node of the directed graph structure; displaying an information panel on the interactive interface and displaying relevant information about the second target node through the information panel; wherein the relevant information includes reference information and / or summary information.
[0070] In some implementations, the interactive interface displays a view setting control, and the information display module 804 is specifically used to: in response to receiving a first view display instruction through the view setting control, display the process information of the analysis and processing and the result information of the analysis and processing using a directed graph structure.
[0071] In some embodiments, the apparatus further includes a linear display module for displaying the process information and result information of the analysis and processing in a linear structure in response to receiving a second view display instruction through the view setting control.
[0072] The information display device provided in this disclosure can execute the information display method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of the method execution.
[0073] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device embodiments can be referred to the corresponding process in the method embodiments, and will not be repeated here.
[0074] This disclosure provides an electronic device, which includes: a storage device storing a computer program thereon; and a processing device for executing the computer program in the storage device to implement the steps of any method of this disclosure.
[0075] The following is for reference. Figure 9 This document illustrates a structural schematic diagram of an electronic device 900 suitable for implementing embodiments of the present disclosure. The terminal devices in these embodiments may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Devices), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital televisions and desktop computers. Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0076] like Figure 9 As shown, electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 902 or a program loaded from storage device 908 into random access memory (RAM) 903. RAM 903 also stores various programs and data required for the operation of electronic device 900. The processing device 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904.
[0077] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 An electronic device 900 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0078] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by a processing device 901, it performs the functions defined in the methods of embodiments of this disclosure.
[0079] In addition to the methods and devices described above, embodiments of this disclosure can also be computer program products, comprising computer program instructions that, when executed by a processor, cause the processor to perform the methods provided in the embodiments of this disclosure. The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of this disclosure. These programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on a user computing device, partially on a user device, as a standalone software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0080] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions that, when executed by a processor, cause the processor to perform the methods provided in embodiments of this disclosure.
[0081] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0082] This disclosure also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the methods described in this disclosure.
[0083] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0084] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An information display method, characterized in that, include: In response to receiving a query, the target network model is used to analyze and process the query information. On the interactive interface, a directed graph structure is used to display the process information and result information of the analysis and processing; wherein, the source node of the directed graph structure corresponds to the question information, the intermediate node of the directed graph structure corresponds to the process information of the analysis and processing, the sink node of the directed graph structure corresponds to the result information of the analysis and processing, and the process information corresponding to the intermediate nodes at the same level in the directed graph structure has a parallel relationship.
2. The method according to claim 1, characterized in that, The analysis and processing based on the question information includes: One or more analysis tasks to be executed are generated based on the query information; The execution object corresponding to the analysis task is determined, and the analysis task is executed through the execution object to obtain the execution result of the analysis task; Based on the execution result of the analysis task, the answer information corresponding to the question information is generated.
3. The method according to claim 2, characterized in that, The method of using a directed graph structure to display the process information and result information of the analysis and processing includes: Based on the analysis task, the layout information of the intermediate nodes of the directed graph structure is determined; wherein, the layout information of the intermediate nodes includes the number of nodes corresponding to multiple preset intermediate node types and the association relationship between different intermediate nodes. Based on the layout information of the source node, the intermediate node, and the sink node, the node layout of the directed graph structure is obtained; Based on the node layout of the directed graph structure, the process information and result information of the analysis and processing are displayed; wherein, the process information of the analysis and processing includes the execution process information and the execution result of the analysis task, and the result information of the analysis and processing includes the answer information.
4. The method according to claim 3, characterized in that, The multiple intermediate node types include: a first type of node and a second type of node; wherein... The first type of node is used to display descriptive information about the analysis task; the source node is the parent node of the first type of node. The second type of node is used to display the execution process information and execution results of the analysis task. The number of the second type of node is related to the number of analysis tasks. The first type of node is the parent node of the second type of node, and the second type of node is the parent node of the sink node.
5. The method according to claim 3, characterized in that, The node layout based on the directed graph structure displays the process information and result information of the analysis and processing, including: During the analysis and processing, the current progress of the analysis and processing is obtained; Based on the node layout of the directed graph structure and the current process, the current state of each node in the directed graph structure is determined; wherein, the current state includes a state to be started, a state in progress, or a state completed. Based on the current state and type of the node, the information corresponding to the node is determined and displayed; wherein, when the current process indicates that the analysis and processing has ended, the combination of multiple nodes in the directed graph structure presents the process information and result information of the analysis and processing.
6. The method according to claim 5, characterized in that, The step of determining the information currently corresponding to the node based on the node's current state and the node's type includes: If the current state of the node is a pending start state, then based on the description information of the node type and / or the description information of the analysis task corresponding to the node, the information corresponding to the node at present is obtained; If the current state of the node is in progress or completed, and the node is an intermediate node, then based on the analysis and processing information related to the node that has been generated, the information corresponding to the node at present is obtained. If the current state of the node is in progress or completed, and the node is a sink node, then the information corresponding to the node is obtained based on the analysis and processing results that have been generated.
7. The method according to claim 5, characterized in that, The display of the information currently corresponding to the node includes: Based on the pre-set correspondence between node states and information display formats, the information display format corresponding to the current state of the node is determined; The information corresponding to the current state of the node is displayed in the form of information display corresponding to the current state of the node.
8. The method according to claim 7, characterized in that, The information display formats for nodes in the in-process or completed state include: displaying information using message cards; the information display formats for nodes in the pending state include: displaying information using preset display templates.
9. The method according to claim 7, characterized in that, The method of displaying the information corresponding to the current state of the node in the form of information display includes: If the current state of the node is in progress or completed, the information corresponding to the node is displayed in the message card; wherein, the size of the message card is within a preset size range, and if the information corresponding to the node cannot be fully displayed in the message card, at least a portion of the information corresponding to the node is displayed in the message card in a scrolling manner.
10. The method according to claim 1, characterized in that, The method further includes: In response to a first triggering operation for any node of the directed graph structure, a first target node corresponding to the first triggering operation is determined; The first target node and its associated nodes are displayed using a preset display method.
11. The method according to claim 1, characterized in that, The method further includes: In response to a second triggering operation for any intermediate node of the directed graph structure, a second target node corresponding to the second triggering operation is determined; An information panel is displayed on the interactive interface, and relevant information about the second target node is displayed through the information panel; wherein, the relevant information includes reference information and / or summary information.
12. The method according to any one of claims 1 to 11, characterized in that, The interactive interface displays view setting controls, and the directed graph structure is used to display the process information and result information of the analysis and processing, including: In response to receiving a first view display instruction through the view setting control, the process information and result information of the analysis and processing are displayed using a directed graph structure.
13. The method according to claim 12, characterized in that, The method further includes: In response to receiving a second view display instruction through the view setting control, the process information and result information of the analysis and processing are displayed in a linear structure.
14. An information display device, characterized in that, include: The analysis and processing module is used to analyze and process the received query information using the target network model based on the query information. The information display module is used to display the process information and result information of the analysis and processing on the interactive interface using a directed graph structure; wherein, the source node of the directed graph structure corresponds to the question information, the intermediate node of the directed graph structure corresponds to the process information of the analysis and processing, the sink node of the directed graph structure corresponds to the result information of the analysis and processing, and the process information corresponding to the intermediate nodes at the same level in the directed graph structure has a parallel relationship.
15. An electronic device, characterized in that, The electronic device includes: A storage device on which computer programs are stored; A processing device for executing the computer program in the storage device to implement the steps of the information display method according to any one of claims 1-13.
16. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for executing the information display method according to any one of claims 1-13.
17. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the information display method according to any one of claims 1-13.
Citation Information
Patent Citations
Response method and device, equipment and storage medium
CN118760741A
Task execution method and device based on prompt information, equipment and medium
CN120197717A
Information display method and device, equipment, storage medium and program product
CN121092029A