Knowledge system-based conversation content display method and related device
By generating a double-panel interactive interface on the client to display query conditions and related data, users can modify and confirm query conditions in real time, and use the server's own knowledge system for structured processing, which solves the problems of low query efficiency and poor accuracy of intelligent dialogue systems in specific fields, and improves the output efficiency and accuracy of reply content.
Patent Information
- Application Number
- CN202510865457.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-06-26
AI Technical Summary
Existing intelligent dialogue systems have low efficiency and poor accuracy in data querying in specific fields. Users cannot modify query conditions in real time during the response output process, resulting in long query time and erroneous results.
By generating a double-panel interactive interface on the client side, multiple query conditions and related data are displayed, allowing users to modify and confirm query conditions in real time, and using the server's own knowledge system for structured processing and data query.
It improves the output efficiency and accuracy of reply content, optimizes the user experience, and enables users to confirm the intention recognition of the intelligent dialogue system in real time and flexibly modify the conditions.
Smart Images

Figure CN120371860B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic digital data processing technology, and specifically relates to a conversation content display method based on a knowledge system and related devices. Background Art
[0002] Currently, intelligent dialogue systems based on large language models offer significant convenience for searching for information across all domains. Users enter questions on the client side, and the intelligent dialogue system uses intent recognition to search and organize external data and output answers. However, for queries requiring concrete data within specific domains, existing intelligent dialogue systems require significant time to search and organize external data due to the nature of instant search. Incomplete user questions can easily lead to intent recognition errors, resulting in time-consuming output and display of erroneous data. Furthermore, users are unable to make changes while the answer is being output, forcing them to wait for the answer to be output before asking again, significantly impacting the efficiency and accuracy of data queries. Summary of the Invention
[0003] The embodiments of the present application provide a method and related devices for displaying conversation content based on a knowledge system, in order to solve the problem that existing intelligent conversation systems cannot quickly and accurately output and display reply content, and do not support real-time modification by users during reply output, thereby improving the output efficiency and accuracy of reply content and optimizing the user experience.
[0004] In a first aspect, an embodiment of the present application provides a method for displaying conversation content based on a knowledge system, which is applied to a client, wherein the client is in communication with a server, and the method includes:
[0005] In response to a question operation by a target user, target question data is sent to the server to obtain multiple query conditions and related data, wherein the query conditions are obtained by the server after performing structured processing on the target question data by calling its own knowledge system, and the related data refers to the data tables and / or fields corresponding to the query conditions;
[0006] displaying the plurality of query conditions and the associated data;
[0007] When a condition modification operation of the target user is detected, responding to the condition modification operation, sending a condition modification instruction to the server;
[0008] When a condition confirmation operation of the target user is detected, responding to the condition confirmation operation, sending a condition confirmation instruction to the server to obtain target reply content;
[0009] The target reply content is displayed.
[0010] Furthermore, the displaying of the multiple query conditions and the associated data includes: generating a dual-panel interactive interface, the dual-panel interactive interface including a first panel area and a second panel area; displaying the multiple query conditions in the first panel area; and displaying the associated data in the second panel area.
[0011] Furthermore, the first panel area also includes a condition modification area, which corresponds one-to-one to the query condition. When the condition modification operation of the target user is detected, the condition modification operation is responded to and a condition modification instruction is sent to the server, including: when the target user's editing operation on the condition modification area is detected, the editing operation is responded to and the updated query condition is displayed in the first panel area; the condition modification instruction carrying the updated query condition is sent to the server to obtain updated associated data; and the updated associated data is displayed in the second panel area.
[0012] Furthermore, the condition modification area includes a target input area, a condition modification function control and a modification confirmation function control, the default state of the condition modification function control is an interactive state, and the default state of the modification confirmation function control is a non-interactive state. When an editing operation of the target user on the condition modification area is detected, the updated query conditions are displayed in the first panel area in response to the editing operation, including: detecting a first click operation of the target user on the condition modification function control; changing the target input area to an editable state, changing the condition modification function control to a non-interactive state, and changing the modification confirmation function control to an interactive state in response to the first click operation; detecting a condition entry operation of the target user on the target input area, and changing the query statement in the target input area to a reference query statement entered by the target user in response to the condition entry operation; detecting a second click operation of the target user on the modification confirmation function control, and displaying the updated query conditions in the first panel area in response to the second click operation.
[0013] Furthermore, the target input area includes a drop-down option function control, and the detection of the target user's conditional entry operation on the target input area and the response to the conditional entry operation change the query statement in the target input area to a reference query statement entered by the target user include: detecting the target user's third click operation on the drop-down option function control and, in response to the third click operation, displaying a drop-down option table, wherein the drop-down option table includes multiple commonly used query statements; detecting the target user's click operation on the reference query statement and, in response to the click operation, changing the query statement in the target input area to the reference query statement.
[0014] Furthermore, the drop-down option table also includes a condition matching identifier corresponding to each of the commonly used query statements, and the condition matching identifier includes a first condition matching identifier and a second condition matching identifier. The first condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is lower than a preset threshold, and the second condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is higher than a preset threshold. After detecting the second click operation of the target user on the modification confirmation function control, the method also includes: if the condition matching identifier corresponding to the reference query statement entered by the target user is the first condition matching identifier, then in response to the second click operation, a condition conversion reminder is displayed. A pop-up window is provided, wherein the condition conversion reminder pop-up window includes a conversion confirmation function control; when a fourth click operation of the target user on the conversion confirmation function control is detected, in response to the fourth click operation, the reference query statement is sent to the server to obtain a target query statement, and the target query statement is obtained by the server calling its own knowledge system to supplement or interpret the reference query statement; a query statement confirmation pop-up window is displayed, and the query statement confirmation pop-up window displays the target query statement and the statement confirmation function control; when a fifth click operation of the target user on the statement confirmation function control is detected, in response to the fifth click operation, it is determined that the query condition corresponding to the target query statement is the updated query condition.
[0015] Furthermore, the dual-panel interactive interface also includes a condition confirmation function control, which responds to the condition confirmation operation when the target user's condition confirmation operation is detected, sends a condition confirmation instruction to the server, and obtains target reply content, including: when the target user's sixth click operation on the condition confirmation function control is detected, responds to the sixth click operation, determines that the query condition displayed in the first panel area is the target query condition; sends a condition confirmation instruction to the server to instruct the server to perform a data query operation according to the target query condition and generate target reply content; receives the target reply content from the server.
[0016] In a second aspect, an embodiment of the present application provides a knowledge system-based conversation content display device, which is applied to a client, the client being communicatively connected to a server, and the device comprising:
[0017] a first response unit, configured to respond to a question operation of a target user, send target question data to the server, and obtain multiple query conditions and associated data, wherein the query conditions are obtained by the server calling its own knowledge system to perform structured processing on the target question data, and the associated data refers to the data tables and / or fields corresponding to the query conditions;
[0018] a first display unit, configured to display the plurality of query conditions and the associated data;
[0019] a second responding unit, configured to, when detecting a condition modification operation of the target user, respond to the condition modification operation and send a condition modification instruction to the server;
[0020] a third responding unit, configured to, when detecting a conditional confirmation operation of the target user, respond to the conditional confirmation operation, send a conditional confirmation instruction to the server, and obtain target reply content;
[0021] The second display unit is used to display the target reply content.
[0022] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program comprises instructions for executing the steps in the method described in the first aspect of the present application.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect of the present application.
[0024] As can be seen, in the embodiment of the present application, the client first responds to the target user's question operation, sends the target question data to the server, and obtains multiple query conditions and related data. The query conditions are obtained by the server calling its own knowledge system to perform structured processing on the target question data. The related data refers to the data table and / or field corresponding to the query conditions; then the multiple query conditions and related data are displayed; when the target user's condition modification operation is detected, the client responds to the condition modification operation and sends a condition modification instruction to the server; when the target user's condition confirmation operation is detected, the client responds to the condition confirmation operation and sends a condition confirmation instruction to the server to obtain the target answer content; and finally, the target answer content is displayed. In this way, the server calls its own knowledge system to perform structured processing on the target question data input by the target user, converts it into query conditions and related data, and then displays the query conditions and related data through the client front-end interface. The user can confirm the accuracy of the intelligent dialogue system's intention recognition in real time, modify and confirm the query conditions, and finally output and display the target answer content, thereby improving the output efficiency and accuracy of the answer content and optimizing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0026] Figure 1 This is a structural block diagram of a conversation content display system based on a knowledge system provided in an embodiment of the present application;
[0027] Figure 2 This is a flow chart of a method for displaying conversation content based on a knowledge system provided in an embodiment of the present application;
[0028] Figure 3 This is an example diagram of a conversation interface provided by an embodiment of the present application;
[0029] Figure 4 This is an example diagram of the first dual-panel interactive interface provided in an embodiment of the present application;
[0030] Figure 5 This is an example diagram of the second dual-panel interactive interface provided in an embodiment of the present application;
[0031] Figure 6 This is an example diagram of the first type of first panel area provided in an embodiment of the present application;
[0032] Figure 7This is an example diagram of the second first panel area provided in an embodiment of the present application;
[0033] Figure 8 This is an example diagram of the third first panel area provided in an embodiment of the present application;
[0034] Figure 9 This is an example diagram of the fourth first panel area provided in an embodiment of the present application;
[0035] Figure 10 This is a simplified example diagram of a conditional conversion reminder pop-up window provided in an embodiment of the present application;
[0036] Figure 11 This is a simplified diagram of an example of a query statement confirmation pop-up window provided in an embodiment of the present application;
[0037] Figure 12 This is an example diagram of the third dual-panel interactive interface provided in an embodiment of the present application;
[0038] Figure 13 This is a structural block diagram of a conversation content display device based on a knowledge system provided in an embodiment of the present application;
[0039] Figure 14 This is a structural block diagram of another knowledge system-based conversation content display device provided in an embodiment of the present application;
[0040] Figure 15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0043] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0044] Currently, most intelligent dialogue systems are designed as search engines for users across all fields. They leverage powerful computing power to instantly search and organize external data, then integrate and output query results. For each round of data query, these intelligent dialogue systems require accurate intent recognition and instant data search to obtain the data the user needs, which is then organized and displayed through a front-end interface. However, due to the nature of instant search, existing intelligent dialogue systems inevitably require a significant amount of time to search for specific data within a specific field, and there is no guarantee that such data will be found. Furthermore, if the user's question is incomplete, intent recognition errors are prone to occur, resulting in a significant amount of time spent outputting and displaying incorrect data. The client interface of existing intelligent dialogue systems also does not support users making changes while the answer is being output, forcing them to wait until the answer is output before asking the question again, significantly impacting the efficiency and accuracy of data queries.
[0045] To solve the above problems, the embodiments of the present application provide a method and related apparatus for displaying conversation content based on a knowledge system.
[0046] See also Figure 1 , Figure 1 This is a structural diagram of a conversation content display system based on a knowledge system provided in an embodiment of the present application. Figure 1 As shown, the conversation content display system 10 includes a server 11 and a client 12. The server 11 and the client 12 are in communication with each other to achieve interactive data transmission. The server 11 can be a single server, a server cluster consisting of multiple servers, or a cloud computing service center; the client 12 refers to a smart device used by a user, such as a mobile phone, tablet computer, or personal computer.
[0047] The following describes a method for displaying conversation content based on a knowledge system provided in an embodiment of the present application.
[0048] See also Figure 2 , Figure 2 This is a flow chart of a method for displaying conversation content based on a knowledge system provided in an embodiment of the present application, which is applied to Figure 1 In the client 12 shown, Figure 2 As shown, the method includes:
[0049] S201, responding to a question operation of a target user, sending target question data to the server, and obtaining a plurality of query conditions and associated data.
[0050] Among them, see Figure 3 , Figure 3 This is an example diagram of a dialogue interface provided by an embodiment of the present application. Figure 3 As shown, the dialogue interface 30 includes a question input box 31, a submit control 32, and a dialogue content display area 33. When a user enters a target question in the question input box 31 and clicks the submit control 32, the client responds by sending the target question data to the server and displaying the target question in the dialogue content display area 33. The target question data entered by the user can be in various forms, such as text, images, and voice. For example, taking text content as an example, the target question data entered by the user in the question content input box 31 is "Query the net profit margin of total assets of non-ST listed companies in the manufacturing industry from 2020 to 2024", and clicks the submit function control 32. The client responds to the question operation and displays a first dialogue bubble 331 on the user message side in the dialogue content display area 33. The first dialogue bubble 331 displays the target question data, and correspondingly, the system message side is the right side of the dialogue content display area 33; in other possible examples, the user message side can also be the right side of the dialogue content display area 33, and the system message side can also be the left side of the dialogue content display area 33, which is not the only limitation here.
[0051] After receiving the target question data sent by the client, the server calls its own knowledge system to perform structured processing on the target question data to obtain the multiple query conditions and related data, where the related data refers to the data tables and / or fields corresponding to the query conditions.
[0052] Among them, in an embodiment of the present application, the server stores an underlying database that is deeply cultivated around the target field, covering data resources of various concrete data in the target field. The underlying database contains several data tables, and each data table contains several fields. When a user has a query demand for concrete data, due to the small data granularity, conventional search engines need to frequently access various public data sources, and it is usually difficult to achieve fast and accurate queries. However, under the premise of an existing structured underlying database, it can be achieved by simply locating the field position quickly and accurately, greatly improving query efficiency. In actual situations, user questions are usually non-standard, and after word segmentation, they cannot correspond one-to-one with data table fields, and there is even a lack of necessary conditions, which makes it impossible to index specific fields. For example, the target field is the financial and economic field, and the underlying database refers to the CSMAR database, which contains a large number of data table fields. It is almost impossible for users to perform data queries by entering natural language that is exactly the same as the field name.
[0053] Based on this, in this example, when a question operation of the target user is detected, the target question data is sent to the server in response to the question operation. The server uses its pre-built proprietary knowledge system to perform structured processing on the target question data to obtain query conditions that can index specific data tables and / or fields, as well as corresponding related data.
[0054] The proprietary knowledge system includes a condition matching knowledge base, a search trajectory knowledge base, and a semantic expansion knowledge base. The server uses the condition matching knowledge base to convert the target question data into initial query conditions. These initial query conditions may be ambiguous or incomplete due to the non-standard nature of the user input. Therefore, the server uses the search trajectory knowledge base and the semantic expansion knowledge base to supplement or interpret the initial query conditions, thereby obtaining a complete set of query conditions.
[0055] Among them, each query condition includes metadata features and query statements, and the metadata features include at least four dimensions: query indicators, time range, field range, and enterprise attributes. The query statement is used to characterize the specific mapping object of each metadata feature in the data table and / or field. For example, the question input by the user is: "Query the net profit rate of total assets of non-ST listed companies in the manufacturing industry from 2020 to 2024". After structured processing, the following multiple query conditions are obtained: "Query indicator: net profit rate of total assets", "Time range: 2020-2024", "Field range: manufacturing", "Enterprise attributes: non-ST listed companies".
[0056] S202: Display the multiple query conditions and the associated data.
[0057] The multiple query conditions may be presented in the conversation content, and the specific presentation form of the associated data may be an associated data table structure of the concrete data corresponding to each query condition.
[0058] S203: When a condition modification operation of the target user is detected, respond to the condition modification operation and send a condition modification instruction to the server.
[0059] S204, when a condition confirmation operation of the target user is detected, respond to the condition confirmation operation, send a condition confirmation instruction to the server, and obtain target reply content.
[0060] Among them, the user can confirm the accuracy of the condition extraction through multiple query conditions and related data displayed on the client interface. When it is confirmed that there is an error, the condition modification operation can be performed accordingly so that the client sends a condition modification instruction to the server to re-extract the query condition. When it is confirmed that there is no error, the condition confirmation operation can be performed accordingly so that the client sends a condition confirmation instruction to the server, thereby enabling the server to perform data query operations according to the confirmed query conditions and generate target reply content based on the queried concrete data.
[0061] S205: Display the target reply content.
[0062] As can be seen, in the embodiment of the present application, the client first responds to the target user's question operation, sends the target question data to the server, and obtains multiple query conditions and related data. The query conditions are obtained by the server calling its own knowledge system to perform structured processing on the target question data. The related data refers to the data table and / or field corresponding to the query conditions; then the multiple query conditions and related data are displayed; when the target user's condition modification operation is detected, the client responds to the condition modification operation and sends a condition modification instruction to the server; when the target user's condition confirmation operation is detected, the client responds to the condition confirmation operation and sends a condition confirmation instruction to the server to obtain the target reply content; and finally, the target reply content is displayed. In this way, the server calls its own knowledge system to perform structured processing on the target question data input by the target user, converts it into query conditions and related data, and then displays the query conditions and related data through the client front-end interface. The user can confirm the accuracy of the intelligent dialogue system's intention recognition in real time, modify and confirm the query conditions, and finally output and display the target reply content, thereby improving the output efficiency and accuracy of the reply content and optimizing the user experience.
[0063] In one possible example, displaying the multiple query conditions and the associated data includes: generating a dual-panel interaction interface, the dual-panel interaction interface including a first panel area and a second panel area; displaying the multiple query conditions in the first panel area; and displaying the associated data in the second panel area.
[0064] Among them, see Figure 4 , Figure 4 This is an example diagram of the first dual-panel interactive interface provided by the embodiment of the present application. Figure 4 As shown, the dual-panel interactive interface 40 includes a first panel area 41 and a second panel area 42. Specifically, the first panel area 41 can be a conversation content display area 33 that has been scaled down to a certain extent, displaying a first conversation bubble 331 on the user message side and a second conversation bubble 332 on the system message side. The second conversation bubble 332 displays conditional confirmation guidance content and the multiple query conditions. Specifically, the second panel area 42 displays multiple data tables, which are data tables associated with the multiple query conditions in the underlying database, where the field names associated with the multiple query conditions are highlighted. In this example, the condition confirmation guidance content displayed in the second dialogue bubble 332 is: "After condition conversion, the following query conditions are identified, please check and confirm", and the multiple query conditions displayed are "Query indicator: net profit rate of total assets", "Time range: 2020-2024", "Field range: manufacturing", "Enterprise attributes: non-ST listed companies", and correspondingly, in the second panel area 42, taking "Query indicator: net profit rate of total assets" as an example, the data table corresponding to the query condition includes a financial indicator analysis table, which contains the field name "net profit rate of total assets". In this example, the field name is highlighted.
[0065] It can be seen that in this example, the client generates a dual-panel interactive area including a first panel area and a second panel area. The first panel area is used to display multiple query conditions, and the second panel area is used to display related data, so that users can preview the corresponding data tables and / or fields, and then intuitively judge the accuracy of the intelligent dialogue system's understanding of the problem, so as to perform further condition modification operations or condition confirmation operations, thereby improving the efficiency and convenience of interaction.
[0066] In one possible example, the first panel area also includes a condition modification area, and the condition modification area corresponds one-to-one to the query condition. When the condition modification operation of the target user is detected, the condition modification operation is responded to and a condition modification instruction is sent to the server, including: when the target user's editing operation on the condition modification area is detected, the editing operation is responded to and the updated query condition is displayed in the first panel area; the condition modification instruction carrying the updated query condition is sent to the server to obtain updated associated data; and the updated associated data is displayed in the second panel area.
[0067] Among them, when the user believes that there is an error in the query conditions output, the query conditions can be modified by performing an editing operation on the condition modification area. The client responds to this editing operation, displays the updated query conditions in the first panel area, and sends a condition modification instruction to the server to enable the server to update the corresponding related data and display the updated related data in the second panel area.
[0068] For example, see Figure 5 , Figure 5 This is an example diagram of the second dual-panel interactive interface provided by the embodiment of the present application. Figure 5 As shown, the first panel area 41 includes multiple condition modification areas, which correspond one-to-one to multiple query conditions. Taking the condition modification area 411 as an example, the original corresponding query condition is "Query indicator: net profit rate of total assets". The user performs an editing operation on the condition modification area 411, and changes the query statement corresponding to the metadata feature "Query indicator" from "net profit rate of total assets" to "Net asset return rate". The modified query condition, namely "Query indicator: Net asset return rate", is displayed at the corresponding position of the condition modification area 411. Correspondingly, the updated related data is displayed in the second panel area 42, that is, the data table related to "Net asset return rate" is displayed, and the "Net asset return rate" field is highlighted. In this example, the data table related to "Net asset return rate" is a financial indicator analysis table.
[0069] As can be seen in this example, when the client detects the target user's edit operation on the condition modification area, it responds to this edit operation by displaying the updated query condition in the first panel area, sending a condition modification instruction to the server, obtaining the updated associated data, and displaying the updated associated data in the second panel area. This allows users to modify problematic query conditions through the corresponding condition modification area, providing an interactive channel for condition modification and improving interaction efficiency and convenience.
[0070] In one possible example, the condition modification area includes a target input area, a condition modification function control and a modification confirmation function control, the default state of the condition modification function control is an interactive state, and the default state of the modification confirmation function control is a non-interactive state. When an editing operation of the target user on the condition modification area is detected, the updated query conditions are displayed in the first panel area in response to the editing operation, including: detecting a first click operation of the target user on the condition modification function control; in response to the first click operation, changing the target input area to an editable state, changing the condition modification function control to a non-interactive state, and changing the modification confirmation function control to an interactive state; detecting a condition entry operation of the target user on the target input area, and in response to the condition entry operation, changing the query statement in the target input area to a reference query statement entered by the target user; detecting a second click operation of the target user on the modification confirmation function control, and in response to the second click operation, displaying the updated query conditions in the first panel area.
[0071] Among them, see Figure 6 , Figure 6 This is an example diagram of the first panel area provided in the embodiment of the present application. Figure 6 As shown, the first panel area 41 includes multiple condition modification areas. Taking the condition modification area 411 as an example, the condition modification area 411 includes a target input area 412, a condition modification function control 413 and a modification confirmation function control 414. Among them, the target input area 412 is in a non-editable state by default, which is specifically manifested by the presence of a light gray color mark, the default state of the condition modification function control 413 is an interactive state, which is specifically manifested by no color mark, and the default state of the modification confirmation function control 414 is a non-interactive state, which is specifically manifested by the presence of a light gray color mark. In this example, when the target user clicks the condition modification function control 413, as shown in FIG. Figure 7 As shown, the client responds to this click operation by changing the target input area 412 to an editable state, specifically, no color mark, and changes the conditional modification function control 413 to a non-interactive state, specifically, the presence of a light gray color mark, and changes the modification confirmation function control 414 to an interactive state, specifically, no color mark.
[0072] Furthermore, when a condition entry operation by the target user in the target input area 412 is detected, the query statement in the target input area 412 is changed to the reference query statement entered by the target user in response to the condition entry operation. If the user confirms that there are no further problems with the reference query statement entered by the user, they can confirm the change by performing a second click operation on the modification confirmation function control 414. At this time, the client responds to the above second click operation and displays the updated query conditions in the first panel area 41. Accordingly, the target input area 412 is restored to a non-editable state, the condition modification function control 413 is restored to an interactive state, and the modification confirmation function control 414 is restored to a non-interactive state.
[0073] As can be seen, in this example, the condition modification area displayed by the client includes the target input area, the condition modification function control, and the modification confirmation function control, which provides a clear interactive channel for users to confirm and modify the query conditions in real time, thereby improving the efficiency and convenience of the interaction.
[0074] In one possible example, the target input area includes a drop-down option function control, and the detecting of the target user's conditional entry operation on the target input area and, in response to the conditional entry operation, changing the query statement in the target input area to a reference query statement entered by the target user includes: detecting the target user's third click operation on the drop-down option function control and, in response to the third click operation, displaying a drop-down option table, wherein the drop-down option table includes multiple commonly used query statements; detecting the target user's selection operation on the reference query statement and, in response to the selection operation, changing the query statement in the target input area to the reference query statement.
[0075] Among them, see Figure 8 , Figure 8 This is an example diagram of the third first panel area provided in the embodiment of the present application. Figure 8 As shown, when the target user clicks the condition modification function control 413, the target input area 412 changes to an editable state, wherein the target input area 412 also includes a drop-down option function control 415. When the target user clicks the drop-down option function control 415, a drop-down option table 416 is displayed, and the drop-down option table 416 includes multiple commonly used query statements, such as Figure 8When a target user clicks on one of the commonly used query statements shown, such as "net profit," "return on equity," "inventory turnover," and "ROA," the target user is determined to have entered a reference query statement, and the query statement in the target input area 412 is changed to the reference query statement. For example, if the target user clicks on the commonly used query statement "net profit," the original query statement "net profit rate of total assets" is changed to "net profit." Furthermore, if the target user clicks on the modification confirmation control 414, the original query condition "query indicator: net profit rate of total assets" is changed to the updated query condition "query indicator: net profit."
[0076] It can be seen that in this example, the target input area in the condition modification area displayed by the client also includes a drop-down option function control to provide users with commonly used query statements. Users only need to click to quickly enter, which improves the efficiency and convenience of interaction.
[0077] In one possible example, the drop-down option table also includes a condition matching identifier corresponding to each of the commonly used query statements, and the condition matching identifier includes a first condition matching identifier and a second condition matching identifier. The first condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is lower than a preset threshold, and the second condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is higher than a preset threshold. After detecting the second click operation of the target user on the modification confirmation function control, the method further includes: if the condition matching identifier corresponding to the reference query statement entered by the target user is the first condition matching identifier, then in response to the second click operation, the condition conversion is displayed. A reminder pop-up window, wherein the condition conversion reminder pop-up window includes a conversion confirmation function control; when a fourth click operation of the target user on the conversion confirmation function control is detected, in response to the fourth click operation, the reference query statement is sent to the server to obtain a target query statement, and the target query statement is obtained by the server calling its own knowledge system to supplement or interpret the reference query statement; a query statement confirmation pop-up window is displayed, and the query statement confirmation pop-up window displays the target query statement and a statement confirmation function control; when a fifth click operation of the target user on the statement confirmation function control is detected, in response to the fifth click operation, it is determined that the query condition corresponding to the target query statement is the updated query condition.
[0078] The first condition matching mark can be specifically displayed as a red border, indicating that the data table in the underlying database does not have field attributes that completely correspond to the query statement and further condition conversion is required; the second condition matching mark can be specifically displayed as a green border, indicating that the data table in the underlying database does have field attributes that completely correspond to the query statement and no additional condition conversion is required. In this example, the underlying database contains the fields "net profit", "return on net assets" and "inventory turnover rate", but does not contain the field "ROA". For example, please refer to Figure 9 , Figure 9 This is an example diagram of the fourth first panel area provided in the embodiment of the present application. Figure 9 As shown, among the multiple commonly used query statements displayed in drop-down option table 416, "Net Profit," "Return on Net Assets," and "Inventory Turnover" are outlined in green, while "ROA" is outlined in red. Thus, when entering a reference query statement, the user can use the condition matching indicator corresponding to each commonly used query statement in drop-down option table 416 to assist in entry, thereby improving entry efficiency.
[0079] Furthermore, if the condition matching mark corresponding to the reference query statement selected by the user is the first condition matching mark, that is, the query statement corresponding to the red frame, and the corresponding modification confirmation function control 414 is clicked, the following is displayed: Figure 10 The condition conversion reminder pop-up window 1001 shown includes a conversion confirmation function control 1002, a conversion cancellation function control 1003 and condition conversion reminder content. In this example, the condition conversion reminder content is: "The query condition you entered does not have a directly corresponding field in the database. The condition conversion is required. Are you sure to convert the condition?", reminding the user that the current query condition cannot be searched directly and further condition conversion is required. If the user clicks the conversion cancellation function control 1003, the display content of the previous level is returned; if the user clicks the conversion confirmation function control 1002, a reference query statement is sent to the server, and the server calls the retrieval track knowledge base and / or the semantic expansion knowledge base to convert the reference query statement into a target query statement, and receives the target query statement sent by the server. In this example, it is recorded that the reference query statement entered by the user is "ROA", and "ROA" is converted into the target query statement "net profit margin of total assets" after being supplemented by the server calling the retrieval track knowledge base and / or the semantic expansion knowledge base, then it is displayed as follows. Figure 11Query statement confirmation pop-up window 1101 is shown. It displays a reminder containing the target query statement, a statement confirmation control 1102, and a statement cancel control 1103. The reminder reads: "After condition conversion, the current query indicator is: Total assets net profit rate. Are you sure you want to start the query?" The target query statement "Total assets net profit rate" is displayed in bold to enhance the reminder. If the user clicks the statement cancel control 1103, the display returns to the previous level. If the user clicks the statement confirmation control 1102, the query condition corresponding to the target query statement is confirmed to be the updated query condition.
[0080] It can be seen that in this example, by displaying the condition matching identifiers corresponding to the commonly used query statements in the drop-down option table, and when the user selects the commonly used query statement corresponding to the first condition matching identifier to enter, a series of reminder confirmation operations are triggered to confirm that the updated query conditions are consistent with the user's intentions. Figure 1 This improves the efficiency and convenience of interaction, and also improves the accuracy of client output display content.
[0081] In one possible example, the dual-panel interactive interface also includes a condition confirmation function control, which responds to the condition confirmation operation when the target user's condition confirmation operation is detected, sends a condition confirmation instruction to the server, and obtains target reply content, including: when the target user's sixth click operation on the condition confirmation function control is detected, responds to the sixth click operation, determines that the query condition displayed in the first panel area is the target query condition; sends a condition confirmation instruction to the server to instruct the server to perform a data query operation according to the target query condition and generate target reply content; receives the target reply content from the server.
[0082] Among them, see Figure 12 , Figure 12 This is an example diagram of the third dual-panel interactive interface provided by the embodiment of this application. Figure 12 As shown, the dual-panel interactive interface 40 also includes a condition confirmation function control 401. When the user clicks the condition confirmation function control 401, the query condition displayed in the first panel area 41 is determined to be the target query condition, and a condition confirmation instruction carrying the target query condition is sent to the server. After receiving the condition confirmation instruction, the server performs a data query operation according to the target query condition, obtains basic data, and then generates target reply content based on the basic data.
[0083] Furthermore, when displaying the target reply content, the client can output the target reply content on the system message side in the first panel area 41, or return to the system message side. Figure 3In the illustrated dialogue interface, the target reply content is output and displayed on the system message side of the dialogue content display area 33 .
[0084] It can be seen that in this example, the condition confirmation function control provides a channel for confirming query conditions and entering data query, which improves the efficiency and convenience of interaction.
[0085] For the same example as above, please refer to Figure 13 , Figure 13 This is a structural block diagram of a knowledge system-based dialogue content display device provided in an embodiment of the present application. The knowledge system-based dialogue content display device 1300 includes: a first response unit 1301, used to respond to the target user's question operation, send target question data to the server, and obtain multiple query conditions and related data, the query conditions are obtained by the server calling its own knowledge system to perform structured processing on the target question data, and the related data refers to the data table and / or field corresponding to the query conditions; a first display unit 1302, used to display the multiple query conditions and the related data; a second response unit 1303, used to respond to the condition modification operation when the target user's condition modification operation is detected, and send a condition modification instruction to the server; a third response unit 1304, used to respond to the condition confirmation operation when the target user's condition confirmation operation is detected, and send a condition confirmation instruction to the server to obtain target reply content; a second display unit 1305, used to display the target reply content.
[0086] In one possible example, in terms of displaying the multiple query conditions and the associated data, the first display unit 1302 is specifically used to: generate a dual-panel interaction interface, the dual-panel interaction interface including a first panel area and a second panel area; display the multiple query conditions in the first panel area; and display the associated data in the second panel area.
[0087] In one possible example, the first panel area also includes a condition modification area, and the condition modification area corresponds one-to-one to the query condition. In terms of responding to the condition modification operation and sending a condition modification instruction to the server when the target user's condition modification operation is detected, the second response unit 1303 is specifically used to: when the target user's editing operation on the condition modification area is detected, respond to the editing operation and display the updated query condition in the first panel area; send the condition modification instruction carrying the updated query condition to the server to obtain updated associated data; and display the updated associated data in the second panel area.
[0088] In a possible example, the condition modification area includes a target input area, a condition modification function control and a modification confirmation function control, the default state of the condition modification function control is an interactive state, and the default state of the modification confirmation function control is a non-interactive state. When detecting an editing operation of the target user on the condition modification area, responding to the editing operation, and displaying the updated query conditions in the first panel area, the second response unit 1303 is specifically used to: detect a first click operation of the target user on the condition modification function control; in response to the first click operation, change the target input area to an editable state, change the condition modification function control to a non-interactive state, and change the modification confirmation function control to an interactive state; detect a condition entry operation of the target user on the target input area, and in response to the condition entry operation, change the query statement in the target input area to a reference query statement entered by the target user; detect a second click operation of the target user on the modification confirmation function control, and in response to the second click operation, display the updated query conditions in the first panel area.
[0089] In one possible example, the target input area includes a drop-down option function control. In terms of detecting the target user's conditional entry operation on the target input area, responding to the conditional entry operation, and changing the query statement in the target input area to a reference query statement entered by the target user, the second response unit 1303 is specifically used to: detect the target user's third click operation on the drop-down option function control, respond to the third click operation, display a drop-down option table, and the drop-down option table includes multiple commonly used query statements; detect the target user's click operation on the reference query statement, respond to the click operation, and change the query statement in the target input area to the reference query statement.
[0090] In one possible example, the drop-down option table also includes a condition matching identifier corresponding to each of the commonly used query statements, and the condition matching identifier includes a first condition matching identifier and a second condition matching identifier. The first condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is lower than a preset threshold, and the second condition matching identifier is used to indicate that the matching degree between the corresponding query statement and the data table and / or field is higher than a preset threshold. After detecting the second click operation of the target user on the modification confirmation function control, the knowledge system-based dialogue content display device 1300 is further used to: if the condition matching identifier corresponding to the reference query statement entered by the target user is the first condition matching identifier, then respond to the second click operation. operation, displaying a condition conversion reminder pop-up window, the condition conversion reminder pop-up window including a conversion confirmation function control; when detecting the target user's fourth click operation on the conversion confirmation function control, responding to the fourth click operation, sending the reference query statement to the server to obtain a target query statement, the target query statement is obtained by the server calling its own knowledge system to supplement or interpret the reference query statement; displaying a query statement confirmation pop-up window, the query statement confirmation pop-up window displays the target query statement and the statement confirmation function control; when detecting the target user's fifth click operation on the statement confirmation function control, responding to the fifth click operation, determining that the query condition corresponding to the target query statement is the updated query condition.
[0091] In one possible example, the dual-panel interactive interface also includes a condition confirmation function control. When the condition confirmation operation of the target user is detected, the condition confirmation operation is responded to, a condition confirmation instruction is sent to the server, and the target reply content is obtained. The third response unit 1304 is specifically used for: when the sixth click operation of the target user on the condition confirmation function control is detected, the sixth click operation is responded to, and the query condition displayed in the first panel area is determined to be the target query condition; a condition confirmation instruction is sent to the server to instruct the server to perform a data query operation according to the target query condition and generate a target reply content; and the target reply content is received from the server.
[0092] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0093] In the case of integrated units, such as Figure 14 As shown, Figure 14 This is a structural block diagram of another device for displaying conversation content based on a knowledge system provided in an embodiment of the present application. Figure 14In the embodiment, the conversation content display device 1300 based on the knowledge system includes: a processing module 132 and a communication module 131. The processing module 132 is used to control and manage the actions of the conversation content display device based on the knowledge system, for example, executing the steps of the first response unit 1301, the first display unit 1302, the second response unit 1303, the third response unit 1304 and the second display unit 1305, and / or other processes for executing the technology described herein. The communication module 131 is used to support the interaction between the conversation content display device based on the knowledge system and other devices. Figure 14 As shown, the knowledge system-based conversation content display device may further include a storage module 133 , which is used to store program codes and data of the knowledge system-based conversation content display device.
[0094] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above-mentioned conversation content display device 1300 based on the knowledge system can execute the above-mentioned Figure 2 The method for displaying conversation content based on the knowledge system is shown.
[0095] Based on the description of the above method embodiment and device embodiment, please refer to Figure 15 , Figure 15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 15 The electronic device shown includes a memory 1501, a processor 1502, a communication interface 1503, and a bus 1504. The memory 1501, the processor 1502, and the communication interface 1503 are connected to each other via the bus 1504. The electronic device may specifically refer to the client 12 in the above embodiment.
[0096] The memory 1501 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
[0097] The memory 1501 can store programs. When the program stored in the memory 1501 is executed by the processor 1502, the processor 1502 and the communication interface 1503 are used to execute the various steps of the knowledge system-based conversation content display method of the embodiment of the present application.
[0098] The processor 1502 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the electronic device of the embodiment of the present application, or to execute the knowledge system-based dialogue content display method of the method embodiment of the present application.
[0099] Processor 1502 may also be an integrated circuit chip with signal processing capabilities. During implementation, the various steps of the knowledge system-based conversation content display method of the present application may be completed by hardware integrated logic circuits or software instructions within processor 1502. The aforementioned processor 1502 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. It may implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application may be directly executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules may be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or the like. The storage medium is located in the memory 1501, and the processor 1502 reads the information in the memory 1501 and combines its hardware to complete the functions required to be performed by the units included in the electronic device of the embodiment of the present application, or executes the knowledge system-based dialogue content display method of the method embodiment of the present application.
[0100] The communication interface 1503 uses a transceiver device such as, but not limited to, a transceiver to implement communication between the electronic device and other devices or a communication network. For example, data can be obtained through the communication interface 1503.
[0101] The bus 1504 may include a path for transmitting information between various components of the electronic device (eg, the memory 1501 , the processor 1502 , and the communication interface 1503 ).
[0102] It should be noted that although Figure 15The electronic device shown only shows the memory 1501, the processor 1502, and the communication interface 1503. However, in the specific implementation process, those skilled in the art will understand that the electronic device also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art will understand that the electronic device may also include hardware devices that implement other additional functions. In addition, those skilled in the art will understand that the electronic device may also include only the devices necessary to implement the embodiments of the present application, and does not necessarily include Figure 15 All devices shown in .
[0103] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method described in the above method embodiments are implemented.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is merely a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection of some interfaces, devices or units, which may be electrical, mechanical or other forms.
[0105] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0106] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product comprises one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted via the computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium accessible by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be read-only memory, random access memory, magnetic media such as floppy disks, hard disks, magnetic tape, magnetic disks, optical media such as digital versatile disks, or semiconductor media such as solid-state drives.
[0107] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
[0108] The device embodiments described above are merely illustrative, wherein the units and modules described as separate components may or may not be physically separate. Furthermore, some or all of the units and modules may be selected based on actual needs to achieve the objectives of the present embodiment. Those skilled in the art can understand and implement the present invention without inventive effort.
[0109] Although the present application discloses the above, the present application is not limited thereto. Any person skilled in the art may readily conceive of variations or substitutions, and may make various changes and modifications, including combinations of the above-mentioned functions and implementation steps, including software and hardware implementations, without departing from the spirit and scope of the present application, and all are within the scope of protection of the present application.
Claims
1. A method for displaying conversation content based on a knowledge system, characterized in that: Applied to a client, the client being in communication with a server, the method comprising: In response to a question operation by a target user, target question data is sent to the server to obtain multiple query conditions and related data, wherein the query conditions are obtained by the server after performing structured processing on the target question data by calling its own knowledge system, and the related data refers to the data tables and / or fields corresponding to the query conditions; displaying the plurality of query conditions and the associated data; When a condition modification operation of the target user is detected, responding to the condition modification operation, sending a condition modification instruction to the server; When a condition confirmation operation of the target user is detected, responding to the condition confirmation operation, sending a condition confirmation instruction to the server to obtain target reply content; displaying the target reply content; The displaying of the plurality of query conditions and the associated data includes: generating a dual-panel interactive interface, the dual-panel interactive interface including a first panel area and a second panel area; displaying the plurality of query conditions in the first panel area; and displaying the associated data in the second panel area; Among them, the first panel area also includes a condition modification area, and the condition modification area corresponds one-to-one to the query condition. When the condition modification operation of the target user is detected, the condition modification operation is responded to and a condition modification instruction is sent to the server, including: when the target user's editing operation on the condition modification area is detected, the editing operation is responded to and the updated query condition is displayed in the first panel area; the condition modification instruction carrying the updated query condition is sent to the server to obtain updated associated data; and the updated associated data is displayed in the second panel area.
2. The method according to claim 1, characterized in that The condition modification area includes a target input area, a condition modification function control, and a modification confirmation function control, wherein the default state of the condition modification function control is an interactive state, and the default state of the modification confirmation function control is a non-interactive state. When an editing operation of the target user on the condition modification area is detected, the updated query condition is displayed in the first panel area in response to the editing operation, including: detecting a first click operation of the target user on the condition modification function control; In response to the first click operation, the target input area is changed to an editable state, the condition modification function control is changed to a non-interactive state, and the modification confirmation function control is changed to an interactive state; detecting a conditional entry operation of the target user on the target input area, and in response to the conditional entry operation, changing the query statement in the target input area to a reference query statement entered by the target user; A second click operation of the target user on the modification confirmation function control is detected, and in response to the second click operation, updated query conditions are displayed in the first panel area.
3. The method according to claim 2, characterized in that The target input area includes a drop-down option function control, and detecting a conditional entry operation of the target user on the target input area, and responding to the conditional entry operation, changing the query statement in the target input area to a reference query statement entered by the target user, including: detecting a third click operation of the target user on the drop-down option function control, and displaying a drop-down option list in response to the third click operation, wherein the drop-down option list includes a plurality of commonly used query statements; A click operation of the target user on a reference query statement is detected, and in response to the click operation, the query statement in the target input area is changed to the reference query statement.
4. The method according to claim 3, characterized in that The drop-down option table further includes a condition matching identifier corresponding to each of the commonly used query statements, the condition matching identifier including a first condition matching identifier and a second condition matching identifier, the first condition matching identifier being used to indicate that a matching degree between the corresponding query statement and the data table and / or field is lower than a preset threshold, and the second condition matching identifier being used to indicate that a matching degree between the corresponding query statement and the data table and / or field is higher than a preset threshold. After detecting a second click operation by the target user on the modification confirmation function control, the method further includes: If the condition matching identifier corresponding to the reference query statement entered by the target user is the first condition matching identifier, in response to the second click operation, a condition conversion reminder pop-up window is displayed, wherein the condition conversion reminder pop-up window includes a conversion confirmation function control; When detecting a fourth click operation of the target user on the conversion confirmation function control, in response to the fourth click operation, sending the reference query statement to the server to obtain a target query statement, where the target query statement is obtained by the server supplementing or interpreting the reference query statement by calling its own knowledge system; Displaying a query statement confirmation pop-up window, wherein the query statement confirmation pop-up window displays the target query statement and a statement confirmation function control; When a fifth click operation of the target user on the statement confirmation function control is detected, in response to the fifth click operation, it is determined that the query condition corresponding to the target query statement is an updated query condition.
5. The method according to claim 4, characterized in that The dual-panel interactive interface further includes a conditional confirmation function control, which, when detecting a conditional confirmation operation of the target user, responds to the conditional confirmation operation, sends a conditional confirmation instruction to the server, and obtains target reply content, including: When detecting a sixth click operation of the target user on the condition confirmation function control, in response to the sixth click operation, determining that the query condition displayed in the first panel area is a target query condition; Sending a condition confirmation instruction to the server to instruct the server to perform a data query operation according to the target query condition and generate target reply content; Receive target reply content from the server.
6. A device for displaying conversation content based on a knowledge system, characterized in that: Applied to a client, the client is connected to a server for communication, and the device includes: a first response unit, configured to respond to a question operation of a target user, send target question data to the server, and obtain multiple query conditions and associated data, wherein the query conditions are obtained by the server calling its own knowledge system to perform structured processing on the target question data, and the associated data refers to data tables and / or fields corresponding to the query conditions; a first display unit, configured to display the plurality of query conditions and the associated data; a second responding unit, configured to, when detecting a condition modification operation of the target user, respond to the condition modification operation and send a condition modification instruction to the server; a third responding unit, configured to, when detecting a conditional confirmation operation of the target user, respond to the conditional confirmation operation, send a conditional confirmation instruction to the server, and obtain target reply content; a second display unit, configured to display the target reply content; The displaying of the plurality of query conditions and the associated data includes: generating a dual-panel interactive interface, the dual-panel interactive interface including a first panel area and a second panel area; displaying the plurality of query conditions in the first panel area; and displaying the associated data in the second panel area; Among them, the first panel area also includes a condition modification area, and the condition modification area corresponds one-to-one to the query condition. When the condition modification operation of the target user is detected, the condition modification operation is responded to and a condition modification instruction is sent to the server, including: when the target user's editing operation on the condition modification area is detected, the editing operation is responded to and the updated query condition is displayed in the first panel area; the condition modification instruction carrying the updated query condition is sent to the server to obtain updated associated data; and the updated associated data is displayed in the second panel area.
7. An electronic device, characterized in that: The method comprises a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Main data-oriented natural language query and report intelligent generation method
CN110674164A
Search method and device for correcting search conditions, storage medium and electronic equipment
CN111581228A