Information query method and device, computer equipment, readable storage medium and program product
By generating and displaying auxiliary problems in the information query method and clarifying the user's query intention, the problems of low efficiency and high interaction cost in traditional information query methods are solved, and the efficiency of information query is improved.
Patent Information
- Application Number
- CN202411138950.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional information query methods require multiple interactions between users, resulting in low efficiency of information query and high user interaction cost.
By responding to the information query request, the first reply content is displayed, and auxiliary problems are determined based on the query information, query intention and first reply content, and auxiliary problems are generated and displayed to clarify the user's query intention, supplement the information query session, and reduce user interaction.
It improves the efficiency of information query, reduces user interaction costs, clarifies user query intentions through auxiliary problems, and optimizes the information query process.
Smart Images

Figure CN119066267A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an information query method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of Internet technology, people have an increasingly higher demand for information in their daily production and life.
[0003] In traditional technologies, if people want to obtain content that they are interested in or want to know about, users need to actively search and query for information.
[0004] However, in traditional technologies, users are often required to input search information multiple times and conduct multiple interactions to complete a query of relevant content. The user interaction cost is high, resulting in low information query efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide an information query method, device, computer equipment, computer-readable storage medium and computer program product that can improve information query efficiency in response to the above technical problems.
[0006] In a first aspect, the present application provides an information query method, comprising:
[0007] In response to an information query request, displaying a first reply content; the information query request carries query information;
[0008] Determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0009] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0010] In one embodiment, the display assistance question includes:
[0011] In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
[0012] In one embodiment, each group of auxiliary questions includes a target question and guidance information associated with the target question;
[0013] The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0014] In one embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions and hypothetical questions.
[0015] In one embodiment, the display assistance question includes:
[0016] For each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through a preset display effect; the preset display effect includes one or more of a slider, a date selector, and a timing effect;
[0017] Alternatively, the target question is displayed in text form, and the guidance information associated with the target question is displayed through single-choice options or multiple-choice options.
[0018] In one embodiment, the auxiliary question includes a target question and guidance information associated with the target question; and in response to a triggering operation on the auxiliary question, displaying a second reply content corresponding to the auxiliary question includes:
[0019] In response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area;
[0020] An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
[0021] In one of the embodiments, in response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area includes:
[0022] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out; or,
[0023] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question and answer area of the first display page, and the guidance information to which the target guidance information originally displayed belongs is hidden.
[0024] In one embodiment, the target guidance information matches the positioning link, and after the target guidance information is displayed in the question and answer area of the first display page and the trigger option corresponding to the target guidance information is grayed out, the method further includes:
[0025] In response to a triggering operation on the positioning link, the question and answer area in the first display page is positioned to a position containing the auxiliary questions to which the target guidance information belongs.
[0026] In one embodiment, before determining the auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and displaying the auxiliary question, the method further includes:
[0027] Splitting and identifying the intent of the query information to obtain the query intent;
[0028] Based on the query information, the query intent, and the first reply content, respectively generate candidate auxiliary questions;
[0029] Based on a preset priority screening strategy, auxiliary questions are screened out from the candidate auxiliary questions.
[0030] In a second aspect, the present application also provides an information query device, comprising:
[0031] A first display module, configured to display a first reply content in response to an information query request; the information query request carries query information;
[0032] A second display module, configured to determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0033] The third display module is used to display the second reply content corresponding to the auxiliary question in response to the triggering operation of the auxiliary question.
[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0035] In response to an information query request, displaying a first reply content; the information query request carries query information;
[0036] Determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0037] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0039] In response to an information query request, displaying a first reply content; the information query request carries query information;
[0040] Determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0041] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0043] In response to an information query request, displaying a first reply content; the information query request carries query information;
[0044] Determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0045] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0046] The above-mentioned information query method, apparatus, computer device, computer-readable storage medium and computer program product display the first reply content in response to the information query request; the information query request carries query information; based on the query information, the query intent corresponding to the query information and the first reply content, an auxiliary question is determined and displayed, and in response to the triggering operation of the auxiliary question, the second reply content corresponding to the auxiliary question is displayed. With this method, in response to the user's information query request, not only the first reply content is given, but also based on the query information, query intent and the first reply content in the user's information query request, an auxiliary question is generated and displayed, through which the user's query intent can be clarified and the information query session can be supplemented, thereby reducing the user interaction cost and improving the efficiency of information query. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0048] FIG1 is a diagram of an application environment of an information query method in one embodiment;
[0049] Figure 2 is a flow chart of signaling interaction between a user and a terminal in an information query method in an embodiment;
[0050] Figure 3 A schematic diagram of a flow chart of an information query method in an embodiment;
[0051] Figure 4 A schematic diagram of a flow chart of displaying auxiliary question steps in a first display page in an embodiment;
[0052] Figure 5 A schematic diagram of an interface for displaying auxiliary question controls in a first display page in an embodiment;
[0053] Figure 6 It is a schematic diagram of an interface for displaying multiple groups of auxiliary question controls in a first display page in an embodiment;
[0054] Figure 7 A schematic diagram of an interface of an auxiliary question control for displaying reference information of multiple-select options in a first display page in an embodiment;
[0055] Figure 8 A schematic diagram of a flow chart of steps for displaying guidance information associated with a target question in different display forms in one embodiment;
[0056] Fig. 9 A schematic diagram of an interface for displaying reference information in the form of a slider special effect on a first display page in an embodiment;
[0057] Fig.10 A schematic diagram of an interface for displaying reference information in the form of a date selector special effect on a first display page in an embodiment;
[0058] Fig.11 A schematic diagram of an interface for displaying reference information in the form of a timer special effect on a first display page in an embodiment;
[0059] Fig.12 A schematic diagram of an interface for displaying reference information in another form of a timer special effect on a first display page in an embodiment;
[0060] Fig.13 A schematic diagram of an interface for displaying reference information in the form of trigger options on a first display page in an embodiment;
[0061] Fig.14 It is a flowchart of the step of determining and displaying the second reply content based on the target guidance information in one embodiment;
[0062] Fig.15 A schematic diagram of a flow chart of interactive steps of triggering target reference information in reference information in one embodiment;
[0063] Fig.16 A schematic diagram of an interface including trigger options of grayed-out target reference information in one embodiment;
[0064] Fig.17 A schematic diagram of a flow chart of a step of locating the position of reference information in one embodiment;
[0065] Fig.18 A flowchart of the steps of determining auxiliary questions based on query information, query intent, and first reply content in one embodiment;
[0066] Fig.19 is a structural block diagram of an information query device in an embodiment;
[0067] Fig. 20 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0069] The information query method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Specifically, the terminal 102 responds to the information query request and displays the first reply content. Among them, the information query request carries query information. The terminal 102 determines the auxiliary question based on the query information, the query intention corresponding to the query information, and the first reply content, and displays the auxiliary question. Furthermore, the terminal 102 responds to the triggering operation of the auxiliary question and displays the second reply content corresponding to the auxiliary question. In this information query method, the user's query intention can be clarified through the auxiliary question, the information query session can be supplemented, the user interaction cost is reduced, and the information query efficiency is improved.
[0070] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0071] In an exemplary embodiment, Figure 2 As shown, Figure 2 The signaling interaction diagram between a user and a terminal of an information query method is shown in FIG. 1 , and the signaling interaction process specifically includes:
[0072] Step 201: A user initiates an information query request to a terminal, wherein the information query request carries query information.
[0073] Step 202: The terminal performs information query and analysis in response to the information query request, and obtains and displays the first reply content.
[0074] Step 203: The terminal determines an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and displays the auxiliary question.
[0075] Step 204: The user performs a triggering operation on the auxiliary question.
[0076] Step 205: In response to the triggering operation on the auxiliary question, the terminal performs information query and analysis processing to obtain and display the second reply content corresponding to the auxiliary question.
[0077] In an exemplary embodiment, Figure 3 As shown, an information query method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes the following steps 302 to 306. Among them:
[0078] Step 302: In response to the information query request, display the first reply content.
[0079] The information query request carries query information.
[0080] In implementation, a question-and-answer platform is integrated on the terminal, and various types of information content are displayed on the question-and-answer platform. Users can obtain information through the question-and-answer platform integrated in the terminal. Optionally, the question-and-answer platform can also be installed in the user's terminal in the form of an application plug-in, and information acquisition can be achieved in the question-and-answer platform through the application plug-in. Therefore, when the user browses and obtains information on the question-and-answer platform, he can initiate an information query request. The information query request carries query information. The terminal responds to the information query request, searches and processes information based on the query information carried in the information query request, and obtains the first reply content corresponding to the information query request. Then, the first reply content is displayed on the first display page.
[0081] Optionally, the user may initiate an information query request by asking a question, or may initiate an information search request by searching for keywords. Whether asking a question or searching for keywords, both contain query information that can be used for querying, and the embodiments of the present disclosure do not limit this.
[0082] Step 304, determining auxiliary questions based on the query information, the query intent corresponding to the query information, and the first reply content, and displaying the auxiliary questions.
[0083] In implementation, if the query information in the information query request initiated by the user is relatively broad, in order to avoid multiple user interactions and the query results (reply content) obtained from the information query are of low accuracy. The question-and-answer platform integrated on the terminal will trigger the output mechanism of the auxiliary question. Therefore, the question-and-answer platform of the terminal uses a large model to perform demand analysis on the query information in the information query request to clarify the user's query intention. In addition, since the terminal searches and processes information based on the information query request and has obtained the first reply content corresponding to the information query request, the terminal can generate auxiliary questions based on the query information, query intention and the first reply content corresponding to the information query request analyzed in the information query request, and display the auxiliary questions on the first display page of the terminal, so as to complete the user's conversation in the question-and-answer platform through the auxiliary questions, so as to reduce user interaction operations.
[0084] Step 306, in response to the triggering operation on the auxiliary question, display the second reply content corresponding to the auxiliary question.
[0085] During implementation, multiple groups of auxiliary questions are displayed on the first display page of the terminal. The user can select a certain auxiliary question among the displayed auxiliary questions to trigger it, which indicates that the user wants to ask further questions based on the auxiliary question. The terminal then responds to the triggering operation on the auxiliary question and inputs the auxiliary question into the question-and-answer platform. The question-and-answer platform continues to search and query information based on the auxiliary question, obtains the second reply content corresponding to the auxiliary question, and displays the second reply content corresponding to the auxiliary question on the first display page, thereby completing the information query and information display of the content that the user is interested in.
[0086] In the above information query method, in response to the information query request, the first reply content is displayed; the information query request carries query information; based on the query information, the query intent corresponding to the query information, and the first reply content, an auxiliary question is determined and displayed; in response to the triggering operation of the auxiliary question, the second reply content corresponding to the auxiliary question is displayed. With this method, in response to the user's information query request, not only the first reply content is given, but also the auxiliary question is further generated and displayed based on the query information, query intent, and the first reply content in the user's information query request. Through the auxiliary question, the user's query intent can be clarified and the information query session can be supplemented, thereby reducing the user interaction cost and improving the information query efficiency.
[0087] In an exemplary embodiment, Figure 4 As shown, the specific processing process of the step of displaying auxiliary questions in step 304 includes:
[0088] Step 402: In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
[0089] In implementation, the question-and-answer platform of the terminal can output a single set of auxiliary questions based on the auxiliary question control, or can output multiple sets of auxiliary questions. The specific number of auxiliary questions can be determined based on a comprehensive evaluation of the query information, query intent, and the user's query needs represented by the first reply content in the user's information query request. After determining the auxiliary questions, the terminal will display the single set or multiple sets of auxiliary questions in the first display page based on a preset arrangement. For example, Figure 5 As shown, in the first display page, below the displayed first reply content (obtained based on the user's information query request), a set of auxiliary questions are displayed through an auxiliary question control. The auxiliary questions include a target question and guidance information corresponding to the target question, so as to complete the query information in the information search request initiated by the user through the auxiliary questions. Figure 6 As shown, in the first display page, below the displayed first reply content, two groups of auxiliary questions are displayed through the auxiliary question control. Each group of auxiliary questions includes a target question and guidance information corresponding to the target question.
[0090] In this embodiment, a single group or multiple groups of auxiliary questions are displayed in a preset arrangement so that users can see the auxiliary questions more intuitively and clearly. Through the auxiliary questions, the query information in the information search request initiated by the user is completed, the user's query intention is clarified, user interaction operations are reduced, and information query efficiency is improved.
[0091] In an exemplary embodiment, each group of auxiliary questions includes a target question and guidance information associated with the target question, wherein the target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0092] In this embodiment, Figure 7 As shown, auxiliary questions are displayed in the first display page, and each group of auxiliary questions includes a target question and guidance information associated with the target question. The guidance information is displayed in the form of options. Optionally, each target question can be associated with one guidance option or multiple guidance options, that is, the guidance information representing the target question and the target question association includes a one-to-one association relationship and / or a one-to-many association relationship.
[0093] When there are multiple guidance information for the target question, the terminal can pre-configure a selection mechanism for the guidance information, and determine whether to select a single or multiple guidance information through the selection mechanism. Therefore, when the user triggers the auxiliary question, based on the selection mechanism pre-configured by the terminal, a single or multiple guidance information can be selected from the multiple guidance information. Figure 6 In the two sets of auxiliary questions shown in Figure 1, the guidance information corresponding to the target question in each set of auxiliary questions is a single-select mechanism, that is, the user can only select one of the multiple guidance information corresponding to the target question. Figure 7 As shown, Figure 7 The set of auxiliary questions displayed on the first display page is a multiple-selection mechanism. The target question in the auxiliary question corresponds to multiple guide information. The user can choose to trigger multiple guide information (3 guide information). In response to the triggering operation of the guide information, the terminal displays which of the multiple guide information is selected in a preset annotation form on the first display page.
[0094] In an exemplary embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions, and hypothetical questions.
[0095] In this embodiment, the terminal generates auxiliary questions based on the query information, the query intent corresponding to the query information, and the first reply content. The auxiliary questions are based on the different dimensions of the information considered by the terminal, and may include at least one of guiding questions, clarifying questions, comparative questions, and hypothetical questions. For example, for the question initially sent by the user, auxiliary questions such as clarifying questions and guiding questions are generated for the question. Or, for the first reply content given to the user's question, comparative questions and hypothetical questions are given. Through these auxiliary questions of different dimensions and natures, the user's information query request is completed to reduce the user interaction cost.
[0096] In an exemplary embodiment, Figure 8As shown, after the terminal determines the auxiliary question, the terminal can display the auxiliary question below the question-answer dialogue (information query request (e.g., search keyword) and first reply content) contained in the first display page in the form of an auxiliary question control. Since there are many types of auxiliary questions, and the auxiliary questions of different natures are mainly reflected in the guidance information contained in the auxiliary question, when displaying the auxiliary question, the terminal will display the guidance information of the target question in different ways. The specific processing process of displaying the auxiliary question in step 302 includes steps 802 to 804, in which:
[0097] Step 802: for each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through a preset display effect.
[0098] Among them, the preset display effects include one or more of a slider, a date selector, and a timing effect.
[0099] In implementation, the terminal only displays the target question in the first display page in text form, and displays the guidance information associated with the target question by presetting different display effects. For example, for a guiding question, if the guiding question is used to guide the user to select a number, date, duration, etc., the target question is displayed in the first display page in the form of a slider, a date selector, a timing effect, etc. Fig. 9 Contains guidance information that displays different values in the form of a slider. Fig.10 The date selector includes a time range corresponding to the date selector, that is, the time range to be reflected by the guidance information corresponding to the target question. Furthermore, the date selector can be used to select a preset time period, that is, to trigger the guidance information. Fig.11 and Fig.12 There are two timing effects, through which the timing effects reflect the guidance information of the timing characteristics. Therefore, the display mode of the guidance information can be set based on the specific content and characteristics of the guidance information, and the embodiment of the present disclosure does not limit the display mode of the guidance information.
[0100] Step 804: Display the target question in text form, and display guidance information associated with the target question in single-choice options or multiple-choice options.
[0101] In implementation, in addition to displaying the guidance information by means of preset display effects in the above step 802, the guidance information corresponding to the target question can also be displayed only in the form of options. Specifically, in the first display page, the terminal displays the target question in the auxiliary question in the form of text, and displays the guidance information associated with the target question in the form of single-choice options or multiple-choice options below the target question, and uses the guidance information as multiple optional situations of the target question.
[0102] For example, when the guide information is only numerical information, in addition to being displayed in the form of the above-mentioned slider effect, the guide information can be displayed in the form of setting single-choice options or multiple-choice options. Fig.13 As shown, in the first display page, for the target question in the auxiliary questions, multiple numerical options are displayed below the target question to reflect multiple guiding information corresponding to the target question.
[0103] In an exemplary embodiment, Fig.14 As shown, the auxiliary question includes the target question and the guidance information associated with the target question. In step 306, in response to the triggering operation of the auxiliary question, the specific processing process of displaying the second reply content corresponding to the auxiliary question includes:
[0104] Step 1402: In response to a triggering operation on target guidance information in the guidance information, the target guidance information is displayed in the question and answer area.
[0105] In implementation, an auxiliary question control is displayed in the first display page of the terminal, and the auxiliary question control displays a target question and multiple guide information associated with the target question. The user can select the target guide information from the multiple guide information to trigger, so that the terminal responds to the triggering operation of the target guide information in the guide information and displays the target guide information in the question and answer area of the first display page, that is, to conduct a further question and answer dialogue.
[0106] Step 1404: perform information query based on the target guidance information, and display the second reply content corresponding to the target guidance information.
[0107] In implementation, after the target guidance information is input into the question and answer area, the terminal performs information query and information analysis based on the target guidance information to obtain the second reply content corresponding to the target guidance information, thereby displaying the second reply content corresponding to the target guidance information in the first display page.
[0108] In an exemplary embodiment, Fig.15 As shown, for the trigger operation performed by the user on the target guidance information, the present disclosure sets a plurality of different interaction forms, and the following introduces the different interaction forms. The specific processing process of displaying the target guidance information in the question and answer area in response to the trigger operation on the target guidance information in the guidance information in step 1402 includes:
[0109] Step 1501, in response to a click operation on a trigger option corresponding to target guidance information, the target guidance information is displayed in a question and answer area of a first display page, and the trigger option corresponding to the target guidance information is grayed out.
[0110] In implementation, when a user performs a click operation on a trigger option of the target guidance information, the terminal displays the target guidance information in the question-and-answer area of the first display page in response to the click operation on the trigger option corresponding to the target guidance information, and grays out the trigger option corresponding to the target guidance information. Fig.16 As shown, in Fig.16 In the first display page displayed, the auxiliary question control contains a target question and 5 guide information corresponding to the target question. After the user triggers the target guide information, the target guide information is input into the question and answer area. At the same time, the trigger option corresponding to the selected target guide information is grayed out so that it can no longer be triggered. The auxiliary question control is still retained, and the user can still select the trigger option corresponding to other guide information in addition to the grayed-out target guide information in the guide information, and continue to query and obtain information related to the auxiliary question.
[0111] Alternatively, step 1502, in response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question and answer area of the first display page, and the guidance information to which the originally displayed target guidance information belongs is hidden.
[0112] In implementation, when the user performs a click operation on a trigger option for target guidance information, the terminal responds to the click operation on the trigger option corresponding to the target guidance information, displays the target guidance information in the question and answer area of the first display page, and at the same time, hides the guidance information to which the originally displayed target guidance information belongs, that is, hides the auxiliary question control, that is, the user can no longer trigger the auxiliary question.
[0113] In an exemplary embodiment, Fig.17 As shown, the target guidance information matches the positioning link. After step 1501, the method further includes:
[0114] Step 1701, in response to a triggering operation on a positioning link, positioning the question and answer area in the first display page to a position containing auxiliary questions to which target guidance information belongs.
[0115] In implementation, after the target guidance information is output in the question and answer area of the first display page, a positioning link is also matched below the target guidance information. The positioning link is used to view the auxiliary question to which the target guidance information belongs. Specifically, if the user performs a trigger operation on the target guidance information in a certain auxiliary question control, if he still wants to view the auxiliary question to which the target guidance information belongs, he can locate the position of the auxiliary question control to which the target guidance information belongs, based on the positioning link below the target guidance information displayed in the question and answer area, so that the user can quickly view it.
[0116] In an exemplary embodiment, Fig.18 As shown, the specific process of determining the auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content in step 304 and displaying the auxiliary question includes:
[0117] Step 1801, split the query information and perform intent recognition processing to obtain the query intent.
[0118] In practice, a large language model is pre-integrated in the question-and-answer platform in the terminal. When a user triggers an information query request, the terminal responds to the information query request and uses the natural language capabilities in the large language model to split and identify the query information carried in the information query request to obtain the query intent.
[0119] After obtaining the query intent, the terminal may also perform information search and information acquisition based on the query information and the query intent, and generate a first reply content based on the obtained material information, and the first reply content may be displayed to the user first.
[0120] Step 1802, based on the query information, query intent and first reply content, generate candidate auxiliary questions respectively.
[0121] In implementation, the terminal generates candidate auxiliary questions based on the query information, query intent, and first reply content in the signaling query request. Specifically, the terminal generates candidate auxiliary questions from three dimensions based on the query information, query intent, and first reply content. For example, based on the query information in the signaling query request, a clarifying question is generated to clarify the user's query information. Based on the query intent, a hypothetical question is generated to predict the subsequent development stage. Based on the first reply content, a guiding question is generated to guide the user.
[0122] Step 1803: Based on a preset priority screening strategy, screen out auxiliary questions from the candidate auxiliary questions.
[0123] In implementation, the terminal screens auxiliary questions from the candidate auxiliary questions based on a preset priority screening strategy. Specifically, the formulation of the priority screening strategy is based on the user's information query preference setting, so that the terminal sorts the generated multiple different types of candidate auxiliary questions through the priority screening strategy to obtain a candidate auxiliary question sorting sequence. Then, a preset number of candidate auxiliary questions with higher priorities are screened as auxiliary questions in the candidate auxiliary question sorting sequence. Optionally, the preset number of screened auxiliary questions can be a single group or multiple groups, which is not limited in the embodiments of the present disclosure.
[0124] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0125] Based on the same inventive concept, the embodiment of the present application also provides an information query device for implementing the above-mentioned information query method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more information query device embodiments provided below can refer to the limitations on the information query method above, and will not be repeated here.
[0126] In an exemplary embodiment, Fig.19 As shown, an information query device is provided, including: a first display module 1901, a second display module 1902 and a third display module 1903, wherein:
[0127] The first display module 1901 is used to display the first reply content in response to the information query request; the information query request carries the query information;
[0128] A second display module 1902 is used to determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question;
[0129] The third display module 1903 is used to display the second reply content corresponding to the auxiliary question in response to the triggering operation of the auxiliary question.
[0130] In one embodiment, the second display module 1902 is specifically configured to display a single group or multiple groups of auxiliary questions based on a preset arrangement in the first display page.
[0131] In one embodiment, each group of auxiliary questions includes a target question and guidance information associated with the target question;
[0132] The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0133] In one embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions and hypothetical questions.
[0134] In one embodiment, the second display module 1902 is specifically used to display the target question in text form for each group of auxiliary questions, and to display the guidance information associated with the target question through a preset display effect; the preset display effect includes one or more of a slider, a date selector, and a timing effect;
[0135] Alternatively, the target question is displayed in text form, and the guidance information associated with the target question is displayed through single-choice options or multiple-choice options.
[0136] In one embodiment, the auxiliary question includes a target question and guidance information associated with the target question; the third display module 1903 is specifically configured to display the target guidance information in the question and answer area in response to a triggering operation on the target guidance information in the guidance information;
[0137] An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
[0138] In one embodiment, the third display module 1903 is specifically used to display the target guidance information in the question and answer area of the first display page in response to a click operation on the trigger option corresponding to the target guidance information, and gray out the trigger option corresponding to the target guidance information; or
[0139] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question and answer area of the first display page, and the guidance information to which the target guidance information originally displayed belongs is hidden.
[0140] In one of the embodiments, the target guidance information matches the positioning link, and the device further comprises:
[0141] A positioning module is used to position the question and answer area in the first display page to a position containing the auxiliary questions to which the target guidance information belongs in response to a triggering operation on the positioning link.
[0142] In one embodiment, the device further comprises:
[0143] A processing module, used to split and identify the query information to obtain the query intent;
[0144] A generation module, configured to generate candidate auxiliary questions based on the query information, the query intent, and the first reply content;
[0145] The screening module is used to screen the auxiliary questions from the candidate auxiliary questions based on a preset priority screening strategy.
[0146] Each module in the above information query device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0147] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 20 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an information query method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0148] Those skilled in the art will understand that Fig. 20 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0149] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0150] In response to the information query request, display the first reply content; the information query request carries the query information;
[0151] Determine auxiliary questions based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary questions;
[0152] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0153] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0154] In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
[0155] In one embodiment, each set of auxiliary questions includes a target question and guidance information associated with the target question;
[0156] The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0157] In one embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions, and hypothetical questions.
[0158] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0159] For each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through preset display effects; the preset display effects include one or more of a slider, a date selector, and a timing effect;
[0160] Alternatively, the target question is displayed in text form, and guidance information associated with the target question is displayed through single-select options or multiple-select options.
[0161] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0162] In response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area;
[0163] An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
[0164] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0165] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out; or,
[0166] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the guidance information to which the originally displayed target guidance information belongs is hidden.
[0167] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0168] In response to a triggering operation on the positioning link, the question and answer area in the first display page is positioned to a position containing the auxiliary question to which the target guidance information belongs.
[0169] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0170] Split and identify the query information to obtain the query intent;
[0171] Generate candidate auxiliary questions based on query information, query intent, and first reply content;
[0172] Based on the preset priority screening strategy, auxiliary questions are screened out from the candidate auxiliary questions.
[0173] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0174] In response to the information query request, display the first reply content; the information query request carries the query information;
[0175] Determine auxiliary questions based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary questions;
[0176] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0177] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0178] In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
[0179] In one embodiment, each set of auxiliary questions includes a target question and guidance information associated with the target question;
[0180] The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0181] In one embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions, and hypothetical questions.
[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0183] For each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through preset display effects; the preset display effects include one or more of a slider, a date selector, and a timing effect;
[0184] Alternatively, the target question is displayed in text form, and guidance information associated with the target question is displayed through single-select options or multiple-select options.
[0185] In one embodiment, the auxiliary question includes a target question and guidance information associated with the target question; when the computer program is executed by a processor, the following steps are also implemented:
[0186] In response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area;
[0187] An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0189] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out; or,
[0190] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the guidance information to which the originally displayed target guidance information belongs is hidden.
[0191] In one embodiment, the target guidance information matches the positioning link, and the computer program, when executed by the processor, further implements the following steps:
[0192] In response to a triggering operation on the positioning link, the question and answer area in the first display page is positioned to a position containing the auxiliary question to which the target guidance information belongs.
[0193] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0194] Split and identify the query information to obtain the query intent;
[0195] Generate candidate auxiliary questions based on query information, query intent, and first reply content;
[0196] Based on the preset priority screening strategy, auxiliary questions are screened out from the candidate auxiliary questions.
[0197] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0198] In response to the information query request, display the first reply content; the information query request carries the query information;
[0199] Determine auxiliary questions based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary questions;
[0200] In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
[0201] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0202] In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
[0203] In one embodiment, each set of auxiliary questions includes a target question and guidance information associated with the target question;
[0204] The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
[0205] In one embodiment, the auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions, and hypothetical questions.
[0206] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0207] For each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through preset display effects; the preset display effects include one or more of a slider, a date selector, and a timing effect;
[0208] Alternatively, the target question is displayed in text form, and guidance information associated with the target question is displayed through single-select options or multiple-select options.
[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0210] In response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area;
[0211] An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
[0212] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0213] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out; or,
[0214] In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the guidance information to which the originally displayed target guidance information belongs is hidden.
[0215] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0216] In response to a triggering operation on the positioning link, the question and answer area in the first display page is positioned to a position containing the auxiliary question to which the target guidance information belongs.
[0217] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0218] Split and identify the query information to obtain the query intent;
[0219] Generate candidate auxiliary questions based on query information, query intent, and first reply content;
[0220] Based on the preset priority screening strategy, auxiliary questions are screened out from the candidate auxiliary questions.
[0221] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0222] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0223] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0224] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An information query method, It is characterized in that The method comprises: In response to an information query request, displaying a first reply content; the information query request carries query information; Determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question; In response to a triggering operation on the auxiliary question, a second reply content corresponding to the auxiliary question is displayed.
2. The method according to claim 1, It is characterized in that The display assistance issues include: In the first display page, a single group or multiple groups of auxiliary questions are displayed based on a preset arrangement.
3. The method according to claim 2, It is characterized in that Each group of auxiliary questions includes a target question and guidance information associated with the target question; The target question and the guidance information associated with the target question include a one-to-one association relationship and / or a one-to-many association relationship.
4. The method according to claim 3, It is characterized in that The auxiliary questions include at least one of guiding questions, clarifying questions, comparative questions and hypothetical questions.
5. The method according to claim 3, It is characterized in that The display assistance issues include: For each group of auxiliary questions, the target question is displayed in text form, and the guidance information associated with the target question is displayed through a preset display effect; the preset display effect includes one or more of a slider, a date selector, and a timing effect; Alternatively, the target question is displayed in text form, and the guidance information associated with the target question is displayed through single-choice options or multiple-choice options.
6. The method according to claim 1, It is characterized in that The auxiliary question includes a target question and guidance information associated with the target question; The displaying of the second reply content corresponding to the auxiliary question in response to the triggering operation on the auxiliary question includes: In response to a triggering operation on target guidance information in the guidance information, displaying the target guidance information in the question and answer area; An information query is performed based on the target guidance information, and a second reply content corresponding to the target guidance information is displayed.
7. The method according to claim 6, It is characterized in that The step of displaying the target guidance information in the question and answer area in response to a triggering operation on the target guidance information in the guidance information includes: In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question-and-answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out; or, In response to a click operation on a trigger option corresponding to the target guidance information, the target guidance information is displayed in the question and answer area of the first display page, and the guidance information to which the target guidance information originally displayed belongs is hidden.
8. The method according to claim 7, It is characterized in that The target guidance information matches the positioning link, the target guidance information is displayed in the question and answer area of the first display page, and the trigger option corresponding to the target guidance information is grayed out, the method further includes: In response to a triggering operation on the positioning link, the question and answer area in the first display page is positioned to a position containing the auxiliary questions to which the target guidance information belongs.
9. The method according to claim 1, It is characterized in that Before determining the auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and displaying the auxiliary question, the method further includes: Splitting and identifying the intent of the query information to obtain the query intent; Based on the query information, the query intent, and the first reply content, respectively generate candidate auxiliary questions; Based on a preset priority screening strategy, auxiliary questions are screened out from the candidate auxiliary questions.
10. An information query device, It is characterized in that The device comprises: A first display module, configured to display a first reply content in response to an information query request; the information query request carries query information; A second display module, configured to determine an auxiliary question based on the query information, the query intent corresponding to the query information, and the first reply content, and display the auxiliary question; The third display module is used to display the second reply content corresponding to the auxiliary question in response to the triggering operation of the auxiliary question.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
