Display method and device, electronic equipment and storage medium

By performing scenario classification of problem messages and directly displaying popular science replies in the artificial intelligence question-and-answer system, multiple rounds of follow-up questions caused by popular science problems in the existing system are solved, improving the response efficiency and problem-solving probability.

CN120030155APending Publication Date: 2025-05-23BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311553000.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When dealing with popular scientific questions, existing artificial intelligence question-and-answer systems often lead to multiple rounds of follow-up questions due to keyword matching, which is less efficient.

Method used

By performing scenario classification of problem messages, if it is determined to be a popular science message, the reply message will be displayed directly on the dialogue page; at the same time, the query message is displayed to achieve interaction with the user, and avoid the situation where popular science messages cannot solve the problem.

Benefits of technology

It effectively avoids multiple rounds of follow-up questions for popular science questions, improves the efficiency of answering questions messages, and increases the probability that the problem is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030155A_ABST
    Figure CN120030155A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display method and device, electronic equipment and a storage medium. The method comprises the following steps: displaying a dialogue page, wherein a problem message is displayed on the dialogue page; displaying a science popularization message for replying the question message in the dialogue page, wherein the science popularization message is a science popularization message determined after scene classification is performed on the question message; and displaying an inquiry message for replying the problem message in the dialogue page, wherein the inquiry message is a message for inquiring the problem message. According to the technical scheme, the problem messages are subjected to scene classification, and when the problem messages are popular science messages, the popular science messages replying the problem messages are directly displayed in the dialogue page, so that multiple rounds of asking for popular science problems are avoided, and the response efficiency for the problem messages is improved. The interaction with the user is realized through the inquiry message, the situation that the problem message cannot be solved by the science popularization message is avoided, and the probability that the problem message is solved is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to computer technology, and more particularly to a display method, device, electronic device, and storage medium. Background Art

[0002] With the continuous development of artificial intelligence technology, large language models can be used to capture the context of user input questions and provide intelligent responses. Existing artificial intelligence (AI) question-answering systems usually rely on keyword matching to determine the intent of user questions. For popular science questions, unnecessary multiple rounds of questions may be asked before giving answers, resulting in low response efficiency. Summary of the invention

[0003] The present disclosure provides a display method, device, electronic device and storage medium to improve the efficiency of responding to question messages.

[0004] In a first aspect, an embodiment of the present disclosure provides a display method, including:

[0005] Displaying a conversation page, wherein a question message is displayed on the conversation page;

[0006] Displaying a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after classifying the question message by scenario;

[0007] An inquiry message in reply to the question message is displayed in the conversation page, wherein the inquiry message is a message inquiring about the question message.

[0008] In a second aspect, the present disclosure also provides a display method, including:

[0009] Displaying a conversation page, wherein a question message is displayed on the conversation page;

[0010] In the selection area of ​​the conversation page, a popular science message replying to the question message is displayed;

[0011] In response to a sending operation of the popular science message in the to-be-selected area, the popular science message is displayed in a conversation message on the conversation page, and the popular science message is transmitted.

[0012] In a third aspect, an embodiment of the present disclosure further provides a display device, including:

[0013] A first display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page;

[0014] A second display module is used to display a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after scene classification of the question message;

[0015] The third display module is used to display an inquiry message in reply to the question message in the conversation page, and the inquiry message is a message for inquiring about the question message.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a display device, including:

[0017] A fourth display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page;

[0018] A fifth display module, used for displaying a popular science message in reply to the question message in the selected area of ​​the conversation page;

[0019] The sixth display module is used to display the popular science message in the dialogue message of the dialogue page in response to the sending operation of the popular science message in the selected area, and transmit the popular science message.

[0020] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0021] one or more processing devices;

[0022] a storage device for storing one or more programs,

[0023] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in the first aspect.

[0024] In a sixth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0025] one or more processing devices;

[0026] a storage device for storing one or more programs,

[0027] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in the second aspect.

[0028] In a seventh aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the method as described in the first aspect, or to execute the method as described in the second aspect.

[0029] The disclosed embodiments provide a display method, device, electronic device and storage medium, the method comprising: displaying a conversation page, a question message being displayed on the conversation page; displaying a popular science message in reply to the question message in the conversation page, the popular science message being a popular science message determined after scene classification of the question message; and displaying an inquiry message in reply to the question message in the conversation page, the inquiry message being a message inquiring about the question message. The above technical scheme, by scene classification of the question message, directly displays the popular science message in reply to the question message in the conversation page when the question message is a popular science message, thereby avoiding multiple rounds of follow-up questions on popular science questions and improving the efficiency of answering question messages. Interaction with users is achieved through inquiry messages, avoiding situations where popular science messages cannot solve problem messages and increasing the probability of problem messages being solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0031] Figure 1 is a flow chart of a display method provided by an embodiment of the present disclosure;

[0032] Figure 2 is a flowchart of another display method provided by an embodiment of the present disclosure;

[0033] Figure 3 is a schematic diagram of a conversation page provided by an embodiment of the present disclosure;

[0034] Figure 4 is a schematic diagram of training a classification model provided by an embodiment of the present disclosure;

[0035] Figure 5 is a schematic diagram of another dialogue page provided by an embodiment of the present disclosure;

[0036] Figure 6 is a flowchart of another display method provided by an embodiment of the present disclosure;

[0037] Figure 7 is a flowchart of another display method provided by an embodiment of the present disclosure;

[0038] Figure 8 is a schematic diagram of another dialogue page provided by an embodiment of the present disclosure;

[0039] Fig. 9is a flowchart of another display method provided by an embodiment of the present disclosure;

[0040] Fig.10 is a structural schematic diagram of a display device provided by an embodiment of the present disclosure;

[0041] Fig.11 is a structural schematic diagram of another display device provided by an embodiment of the present disclosure;

[0042] Fig.12 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;

[0043] Fig.13 A schematic diagram of the structure of another electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0044] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0045] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0046] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0047] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0048] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0049] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0050] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0051] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0052] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0053] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0054] It is understandable that the problem messages involved in this technical solution (including but not limited to the message itself, the acquisition or use of the message) should comply with the requirements of relevant laws, regulations and relevant provisions.

[0055] Figure 1 This is a flow chart of a display method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a message replying to a question message is displayed at the sending end of the question message. The method can be executed by a display device, which can be implemented in the form of software and / or hardware and integrated in an electronic device. Optionally, the electronic device can be a mobile terminal or a PC terminal, etc.

[0056] like Figure 1 As shown, the method includes:

[0057] S110: Display a dialog page, wherein a question message is displayed on the dialog page.

[0058] The conversation page may be a page where the current user and the other party who can perform question-and-answer conversations have a conversation, wherein the current user may be regarded as the sender of the question message, and the other party who can perform question-and-answer conversations may be regarded as the receiver of the question message.

[0059] Among them, the other party that can realize question and answer can be a model for intelligent question and answer, such as a large language model, through which the context of the message sent by the current user in the conversation page can be captured and an intelligent response can be provided; it can also be other users who ask and answer questions with the current user.

[0060] The question message may be a message input by the current user through the conversation page. Exemplarily, there may be an input box for the question message in the conversation page, and in response to the current user inputting the question message in the input box, the question message input by the current user may be displayed on the conversation page.

[0061] There is no limitation on the form of question messages, such as text messages, voice messages or picture messages. There is no limitation on the type of question messages, such as questions related to knowledge popularization, or messages that require multiple rounds of question-answering interactions.

[0062] S120. Displaying a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after classifying the question message by scenario.

[0063] When the conversation page is a page for the current user to converse with the model used for intelligent question and answer, the question message displayed in the conversation page can be input into the classification model to classify the scenario of the question message, and then determine whether the question message is a message in a popular science knowledge inquiry scenario, or a message in a suggested answer scenario.

[0064] Among them, the classification model can be a model that can classify the scenarios of question messages, and the classification model can be a model pre-trained according to messages corresponding to different scenario classifications. Different scenario classifications include popular science knowledge inquiry scenarios and suggested answer scenarios. Popular science knowledge inquiry scenarios are scenarios where popular science knowledge needs to be directly given in response to question messages. Suggested answer scenarios are scenarios where the final answer result needs to be given after multiple rounds of dialogue for question messages.

[0065] When the classification model determines that the question message is a message in the popular science knowledge inquiry scenario, the popular science model can be triggered by the classification model, and the popular science model can be used to directly output the popular science message that replies to the question message to the conversation page. Among them, the popular science model can be a model for answering question messages in the popular science knowledge inquiry scenario, and the popular science model can be pre-trained, which is not limited here. The popular science message can be a message that replies to the question message in the popular science knowledge inquiry scenario. The display form of the popular science message in the conversation page is not limited, such as the popular science message can be displayed in the form of a popular science card, and the content displayed in the popular science card is the reply to the question message.

[0066] When the conversation page is a page where the current user is conversing with other users, for the question message displayed in the conversation page, the popular science message transmitted by the terminal of the other user in reply to the question message can be obtained, and the obtained popular science message can be displayed in the conversation page. Specifically, if the terminal of the other user determines that the question message is a message in the popular science knowledge inquiry scenario through the classification model, the popular science model can be triggered through the classification model, and the popular science message in reply to the question message can be directly output to the terminal of the other user through the popular science model. The terminal of the other user can transmit the popular science message to the terminal of the current user in response to the trigger of the other user, so that the popular science message is displayed in the conversation page of the current user.

[0067] S130: Displaying an inquiry message in reply to the question message in the conversation page, wherein the inquiry message is a message inquiring about the question message.

[0068] When the conversation page is a page for the current user to converse with the model for intelligent question and answer, after the popular science message in reply to the question message is displayed in the conversation page, the inquiry message in reply to the question message can be automatically displayed in the conversation page.

[0069] Specifically, after displaying the popular science message in reply to the question message in the conversation page, the question message can be input into the answer model, and the inquiry message in reply to the question message can be output to the conversation page through the answer model. Among them, the answer model can be a model for multiple rounds of follow-up questions after the popular science response in the popular science knowledge inquiry scenario, and the answer model can be pre-trained, which is not limited here. The inquiry message can be a message that inquires about the question message. The display form of the inquiry message in the conversation page is not limited, such as it can be displayed in text form, and the text content corresponding to the inquiry message is the follow-up question to the question message.

[0070] In actual applications, after the inquiry message for replying to the question message is displayed on the conversation page, the current user can respond to the inquiry message through the input box in the conversation page. Furthermore, the response model can also ask again based on the content of the current user's response. After multiple rounds of conversations, the response model gives the final response to the question message.

[0071] It should be noted that in the embodiments of the present disclosure, the classification model, the popular science model, and the answer model can all be regarded as models for intelligent question and answer. The classification model, the popular science model, and the answer model can be one model or three models, which are not limited here. In the case where the classification model, the popular science model, and the answer model can be one model, the classification model, the popular science model, and the answer model can be considered as sub-models that implement different functions. The classification model can be connected to the popular science model and the answer model respectively. After the classification model obtains the classification result, the corresponding model can be triggered to reply to the question message.

[0072] When the conversation page is a page where the current user is talking to other users, after displaying the popular science message in reply to the question message in the conversation page, the inquiry message in reply to the question message transmitted by the terminal of the other user can be obtained, and the obtained inquiry message can be displayed in the conversation page. Specifically, the terminal of the other user can transmit the inquiry message to the terminal of the current user in response to the operation of the other user inputting the inquiry message, so that the inquiry message is displayed in the conversation page of the current user.

[0073] This operation displays an inquiry message after displaying the popular science message. Even if the scene classification of the problem message is wrong, the problem message can be accurately responded to by replying to the inquiry message, thereby relaxing the accuracy requirement for scene classification. In addition, after the scene classification of the problem message is correct, the inquiry message is used to interact with the user, avoiding the situation where the popular science message cannot solve the problem message. The display of the inquiry message increases the probability of the problem message being solved.

[0074] The disclosed embodiments provide a display method, device, electronic device and storage medium, the method comprising: displaying a conversation page, a question message being displayed on the conversation page; displaying a popular science message in reply to the question message in the conversation page, the popular science message being a popular science message determined after scene classification of the question message; and displaying an inquiry message in reply to the question message in the conversation page, the inquiry message being a message inquiring about the question message. The above technical scheme, by scene classification of the question message, directly displays the popular science message in reply to the question message in the conversation page when the question message is a popular science message, thereby avoiding multiple rounds of follow-up questions on popular science questions and improving the efficiency of answering question messages. Interaction with users is achieved through inquiry messages, avoiding situations where popular science messages cannot solve problem messages and increasing the probability of problem messages being solved.

[0075] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0076] Figure 2 is a flow chart of another display method provided by an embodiment of the present disclosure. This embodiment is based on the above embodiment, and further refines the display of popular science messages in reply to the question message in the conversation page, and further refines the display of inquiry messages in reply to the question message in the conversation page. Figure 2 As shown, the method includes:

[0077] S210: Display a dialog page, wherein a problem message is displayed on the dialog page.

[0078] S220: Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario.

[0079] S230: When the target scenario is a popular science knowledge inquiry scenario, output a popular science message that replies to the question message to the dialogue page through a popular science model.

[0080] S240, inputting the question message into the response model, and outputting the inquiry message for replying the question and answer message to the dialogue page through the response model.

[0081] It should be noted that the above steps S210 to S240 can be understood as a situation where the dialogue page is a page for the current user to dialogue with the model for conducting intelligent question and answer.

[0082] Figure 3 is a schematic diagram of a conversation page provided by an embodiment of the present disclosure, such as Figure 3As shown, a question message 1 is displayed on the conversation page, and the question message 1 may be a message input by the current user through the input box of the conversation page.

[0083] For question message 1 displayed on the dialogue page, question message 1 can be input into the classification model to classify the scenario of question message 1, and then determine the target scenario to which question message 1 belongs. The target scenario is the question-answering scenario related to the question message. The target scenario includes a popular science knowledge inquiry scenario or a suggested answer scenario. The popular science knowledge inquiry scenario is a scenario where popular science knowledge needs to be directly given for the question message, and the suggested answer scenario is a scenario where the final answer result needs to be given after multiple rounds of dialogue for the question message.

[0084] When the target scenario to which question message 1 belongs is determined to be a popular science knowledge inquiry scenario through the classification model, indicating that popular science knowledge needs to be directly given for question message 1, the popular science model can be triggered through the classification model, and the popular science model can be used to directly output the popular science message 2 that replies to the question message to the conversation page. Among them, the popular science message 2 can be displayed in the form of a popular science card in the conversation page, and the popular science card can be folded or expanded for display. The content 3 displayed in the popular science card is the reply to the question message. In addition, in the popular science card (i.e., the popular science message 2), the question message and the popular science logo entered by the current user can also be displayed at position 4. The popular science logo is used to indicate that the current message is a popular science message that replies to the question message in the popular science knowledge inquiry scenario.

[0085] After displaying the popular science message 2 in reply to the question message 1 in the dialogue page, the question message 1 can be input into the answer model, and the inquiry message 5 in reply to the question message 1 can be output to the dialogue page through the answer model. Among them, the answer model can be a model for multiple rounds of follow-up questions after the popular science response in the popular science knowledge inquiry scenario. After displaying the inquiry message 5 in reply to the question message 1, the current user can respond to the inquiry message 5 through the input box in the dialogue page. Furthermore, the answer model can also ask again according to the content of the current user's response, until after multiple rounds of dialogue, the answer model gives the result of the final answer to the question message.

[0086] The technical solution of the disclosed embodiment outputs an inquiry message after generating a popular science message corresponding to a question message. This can ensure that whether the classification model is accurate or inaccurate, multiple rounds of questioning can be performed through the answer model to give a final answer to the question message. At the same time, the output of the popular science message also realizes a quick answer to the question message, thereby improving the efficiency of answering the question message.

[0087] In one embodiment, after determining the target scenario to which the problem message belongs through the classification model, the method further includes:

[0088] When the target scenario is a suggested answer scenario, the answer model outputs an inquiry message that replies to the question message.

[0089] When the target scenario is a suggested answer scenario, it means that the model needs to conduct multiple rounds of dialogue on the question message before giving the final answer result, ensuring that the model can obtain enough information to provide more accurate conclusions.

[0090] Therefore, the response model can be triggered by the classification model, and the query message of the response message can be output to the dialogue page through the response model. Among them, the response model can be a model for conducting multiple rounds of dialogue with the current user in the suggestion response scenario.

[0091] After the inquiry message for replying to the question message is displayed on the conversation page, the current user can respond to the inquiry message through the input box in the conversation page. Furthermore, the response model can also ask again according to the content of the current user's response. After multiple rounds of conversations, the response model gives the final response to the question message.

[0092] In one embodiment, the training of the classification model includes the following operations:

[0093] Obtain the classification results of the classification model on the problem sample data in the problem sample set;

[0094] Using the problem sample data that is misclassified in the classification result as negative samples of the classification model;

[0095] The classification model is trained by the negative samples.

[0096] The question sample set may be a set for storing question sample data and corresponding classification results. The question sample data may be sample data for training a classification model, for example, different question messages. Each question sample data may have a pre-set classification result, and the classification result of the question sample data may be a popular science knowledge inquiry scenario or a suggested answer scenario, which may be set according to actual application needs.

[0097] Figure 4 is a schematic diagram of a training of a classification model provided by an embodiment of the present disclosure, such as Figure 4As shown, when the problem sample data is input to the classification model, the classification model can identify the intent of the input problem sample data, that is, the classification model can judge the classification of the problem sample data and return the classification result; at this time, the recall rate and accuracy of the classification result can be manually evaluated, and the misclassified problem sample data can be directed to the classification model as a negative sample of the classification model; the classification model is trained with a problem sample set containing negative samples. The classification model is continuously optimized in the above manner to make the output result of the classification model more accurate. Among them, the misclassified problem sample data can be data whose classification result output by the classification model does not match the classification result actually corresponding to the problem sample data, and the misclassified problem sample data is a negative sample.

[0098] In one embodiment, displaying a popular science message in reply to the question message in the conversation page includes:

[0099] Obtaining a popular science message transmitted by a receiving end of the question message in reply to the question message;

[0100] The popular science message is displayed in the conversation page.

[0101] Figure 5 is a schematic diagram of another dialog page provided by an embodiment of the present disclosure. Figure 5 The dialogue page shown may be a page where the current user conducts a dialogue with other users (i.e., the recipients of the question message). Figure 5 As shown, the conversation page displays a question message 1 input by the current user (i.e., user 1). For the question message 1 displayed in the conversation page, a popular science message 2 transmitted by a terminal of another user (i.e., user 2) in reply to the question message can be obtained, and the obtained popular science message 2 is displayed in the conversation page in the form of a popular science card.

[0102] Specifically, if the terminal of other users determines through a classification model that the question message is a message in a popular science knowledge inquiry scenario, the popular science model can be used to output the popular science message that replies to the question message in the form of a popular science card to the terminal of other users. The terminals of other users can transmit the popular science message in the form of a popular science card to the terminal of the current user in response to the trigger of other users, so that the popular science message is displayed on the conversation page of the current user.

[0103] In one embodiment, displaying a popular science message in reply to the question message in the conversation page includes:

[0104] The popular science message in reply to the question message is displayed in the conversation page in an expanded state or a collapsed state.

[0105] like Figure 3As shown, in the conversation page, the popular science message 2 replying to the question message 1 can be displayed in the form of a popular science card. The expanded state can be the state in which the popular science card is expanded and displayed, and the collapsed state can be the state in which the popular science card is collapsed and displayed.

[0106] Exemplarily, when the popular science card is displayed in an expanded state, a collapse control may be displayed in the popular science card, and by responding to the current user triggering the collapse control, the popular science card can be displayed in a collapsed state. Correspondingly, when the popular science card is displayed in a collapsed state, an expand control may be displayed in the popular science card, and by responding to the current user triggering the expand control, the popular science card can be displayed in an expanded state. The collapse control may be a control that triggers the popular science card to be displayed in a collapsed state. The expand control may be a control that triggers the popular science card to be displayed in an expanded state.

[0107] In one embodiment, after displaying the popular science message in reply to the question message in the conversation page, the method further includes:

[0108] In response to a follow-up operation on the popular science message, a popular science answer message is displayed.

[0109] The follow-up question operation may be an operation of asking a follow-up question about the popular science message. The response message may be a popular science message that responds to the follow-up question operation about the popular science message.

[0110] In response to the follow-up question operation on the popular science message, the way of displaying the popular science answer message is not limited. For example, in response to the current user's click on the popular science message (such as clicking on any position of the popular science card), the display can be jumped to a new dialogue page, and the new dialogue page displays the popular science message; in response to the current user's input of the follow-up question message in the new dialogue page, the follow-up question message is displayed, and the answer message to the follow-up question message is output to the new dialogue page through the popular science model. Among them, the current user's click on the popular science message and the operation of inputting the follow-up question message can be regarded as a follow-up question operation on the popular science message. The follow-up question message can be a message input through the follow-up question operation to ask a question about the popular science message.

[0111] In actual applications, in a new conversation page, the current user can have one or more rounds of conversations with the popular science model, so that the current user can learn more popular science messages related to the popular science messages.

[0112] In one embodiment, the method further comprises:

[0113] In response to the conversion operation of the conversation type on the conversation page, an online page is displayed, where the online page is a page for conducting an online conversation.

[0114] The conversion operation of the conversation type may be an operation of converting the conversation type. The conversation type may include the type of conversation between the current user and the model for performing intelligent question and answering, and may also include the type of conversation between the current user and other users (ie, online conversation).

[0115] A conversion control may be displayed in the conversation page, and the conversion control may be a control for triggering the conversion of the conversation type, such as a control for triggering the conversion of the conversation type to an online conversation. When the conversation page is a page where the current user is conversing with a model for conducting intelligent question and answer, the online page is displayed in response to the current user clicking the conversion control in the conversation page (i.e., the conversion operation of the conversation type). The online page may be a page where the current user can conduct an online conversation with other users.

[0116] In one embodiment, a display method provided by an embodiment of the present disclosure is exemplarily described:

[0117] Figure 6 is a flow chart of another display method provided by an embodiment of the present disclosure, such as Figure 6 As shown, the following steps are included:

[0118] The current user sends a question message;

[0119] The classification model determines the target scenario, that is, the classification model is used to determine the target scenario to which the problem message belongs;

[0120] When the target scenario is a popular science knowledge inquiry scenario, the popular science model is triggered to output a popular science message; the answer model is triggered to output an inquiry message; or when the target scenario is a suggested answer scenario, the answer model is triggered to output an inquiry message;

[0121] The current user has multiple rounds of conversations with the response model;

[0122] The response model gives the result of the final response to the question message.

[0123] The technical solution of the disclosed embodiment can make the popular science knowledge inquiry scenario and the suggestion answer scenario compatible. The question message for the popular science knowledge inquiry scenario can avoid unnecessary multiple inquiries affecting the user experience. The question message for the suggestion answer scenario can give a conclusion after multiple rounds of questioning to avoid directly giving inaccurate answers. By classifying the scenarios of the question messages through the classification model and then performing corresponding processing, the final conclusion given for the question messages can be closer to the actual needs, while ensuring the efficiency of the answer.

[0124] Figure 7This is a flow chart of another display method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a popular science message in reply to a question message is displayed at the receiving end of the question message, and the popular science message is transmitted to the sending end of the question message. The method can be executed by a display device, which can be implemented in the form of software and / or hardware and integrated in an electronic device. Optionally, the electronic device can be a mobile terminal or a PC terminal, etc.

[0125] like Figure 7 As shown, the method includes:

[0126] S710: Display a dialog page, where a question message is displayed.

[0127] The conversation page may be a page where other users (i.e., the receivers of the problem message) in the above embodiment talk to the current user (i.e., the sender of the problem message) in the above embodiment. The problem message displayed on the conversation page may be a message transmitted from the sender of the problem message to the receiver of the problem message and displayed at the receiver.

[0128] S720: Displaying a popular science message in reply to the question message in a selected area of ​​the conversation page.

[0129] The selected area of ​​the dialogue page may be an area where it is to be selected whether to transmit the popular science message in reply to the question message to the sender of the question message. In the dialogue page, the selected area may be displayed below the question message, and the shape of the selected area is not limited.

[0130] The receiving end of the question message can input the question message into the classification model. When the classification model determines that the question message is a message in the popular science knowledge inquiry scenario, the popular science model can be triggered through the classification model, and the popular science model can directly output the popular science message that replies to the question message, and display the popular science message in the selection area of ​​the dialogue page of the receiving end.

[0131] Figure 8 is a schematic diagram of another dialog page provided by an embodiment of the present disclosure, such as Figure 8 As shown, the conversation page is a page for a conversation between user 2 (i.e., the receiver of the question message) and user 1 (i.e., the sender of the question message). The conversation page displays a question message 6 corresponding to user 1, and also displays a selection area 7, in which a popular science message in reply to the question message 6 is displayed in the form of a popular science card.

[0132] S730: In response to the sending operation of the popular science message in the to-be-selected area, display the popular science message in the conversation message of the conversation page, and transmit the popular science message.

[0133] The operation of sending the popular science message may be an operation of transmitting the popular science message to the sending end of the question message.

[0134] like Figure 8 As shown, a send control 8 is also displayed in the selection area 7 of the conversation page. In response to the user 2 clicking the send control 8 (i.e., the send operation), the popular science message in the selection area 7 can be transmitted to the sender of the question message, so that the popular science message is displayed to the sender of the question message for the user 1 to view; at the same time, the display state of the current conversation page can be updated, such as canceling the display of the send control 8, and displaying the popular science message in the conversation message in the current conversation page. The conversation message can be a message of a conversation between the receiver of the question message and the sender of the question message.

[0135] In one embodiment, the second user may not click the send control 8, and the popular science message is then only a message that the second user can view.

[0136] In one embodiment, in the selection area of ​​the conversation page, a popular science message in reply to the question message is displayed, including:

[0137] Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario;

[0138] In the case where the target scenario is a popular science knowledge inquiry scenario, determining a popular science message to reply to the question message through a popular science model;

[0139] The popular science message is displayed in the selected area of ​​the conversation page.

[0140] When the classification model determines that the target scenario to which the question message belongs is a popular science knowledge inquiry scenario, indicating that popular science knowledge needs to be given directly in response to the question message, the popular science model can be triggered through the classification model, and the popular science model can be used to directly output the popular science message that replies to the question message to the selected area of ​​the conversation page, so that the user can choose in the selected area whether to transmit the popular science message that replies to the question message to the sender of the question message.

[0141] The technical solution of the disclosed embodiment can provide a selection area for assisting the online conversation for the user at the receiving end of the question message when the question message in the online conversation is a popular science message. The selection area can enable the user to choose to directly transmit the popular science message provided by the popular science model to the sending end of the question message, thereby improving the efficiency of responding to the question message.

[0142] In one embodiment, a display method provided by an embodiment of the present disclosure is exemplarily described:

[0143] Fig. 9is a flow chart of another display method provided by an embodiment of the present disclosure, such as Fig. 9 As shown, the following steps are included:

[0144] The sender of the problem message sends the problem message;

[0145] The classification model determines whether it is a popular science question. If it is, the popular science message is output through the popular science model for reference; the receiver of the question message selects to transmit the popular science message to the sender of the question message based on the popular science message output by the popular science model; the sender of the question message receives the popular science message. Or the receiver of the question message replies to the question message, so that the sender of the question message receives the popular science message (i.e., the message replied by the receiver of the question message).

[0146] Fig.10 is a schematic diagram of the structure of a display device provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a message replying to a question message is displayed at the sending end of the question message. Fig.10 As shown, the device includes: a first display module 1010 , a second display module 1020 and a third display module 1030 .

[0147] A first display module 1010 is used to display a conversation page, wherein a problem message is displayed on the conversation page;

[0148] The second display module 1020 is used to display a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after scene classification of the question message;

[0149] The third display module 1030 is used to display an inquiry message in reply to the question message in the conversation page, where the inquiry message is a message inquiring about the question message.

[0150] The technical solution provided by the disclosed embodiment is to display a conversation page through a first display module, on which a question message is displayed; to display a popular science message in reply to the question message in the conversation page through a second display module, wherein the popular science message is a popular science message determined after scene classification of the question message; and to display an inquiry message in reply to the question message in the conversation page through a third display module, wherein the inquiry message is a message inquiring about the question message. This solution classifies the question message by scene, and when the question message is a popular science message, directly displays the popular science message in reply to the question message in the conversation page, thereby avoiding multiple rounds of questioning on popular science questions and improving the efficiency of answering question messages. Interaction with users is achieved through inquiry messages, avoiding the situation where popular science messages cannot solve problem messages, and increasing the probability of problem messages being solved.

[0151] In one embodiment, the second display module 1020 is specifically used for:

[0152] Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario;

[0153] In the case where the target scenario is a popular science knowledge inquiry scenario, a popular science message replying to the question message is output to the dialogue page through a popular science model.

[0154] In one embodiment, the apparatus further comprises:

[0155] The inquiry message output module is used to output an inquiry message replying to the question message through the answer model after the target scenario to which the question message belongs is determined through the classification model, if the target scenario is a suggested answer scenario.

[0156] In one embodiment, the training of the classification model includes the following operations:

[0157] Obtain the classification results of the classification model on the problem sample data in the problem sample set;

[0158] Using the problem sample data that is misclassified in the classification result as negative samples of the classification model;

[0159] The classification model is trained by using the negative samples.

[0160] In one embodiment, the second display module 1020 is specifically used for:

[0161] Obtaining a popular science message transmitted by a receiving end of the question message in reply to the question message;

[0162] The popular science message is displayed in the conversation page.

[0163] In one embodiment, the third display module 1030 is specifically used for:

[0164] The question message is input into the response model, and the query message for replying the question and answer message is output to the dialogue page through the response model.

[0165] In one embodiment, the second display module 1020 is specifically used for:

[0166] The popular science message in reply to the question message is displayed in the conversation page in an expanded state or a collapsed state.

[0167] In one embodiment, the apparatus further comprises:

[0168] The answer message display module is used to display a popular science answer message in response to a follow-up operation on the popular science message after displaying the popular science message in the conversation page.

[0169] In one embodiment, the apparatus further comprises:

[0170] The online page display module is used to display an online page in response to a conversion operation of a session type on the conversation page, wherein the online page is a page for conducting an online conversation.

[0171] The display device provided in the embodiment of the present disclosure can execute the display method provided in the embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.

[0172] Fig.11 is a schematic diagram of the structure of another display device provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a popular science message in reply to a question message is displayed at a receiving end of the question message, and the popular science message is transmitted to a sending end of the question message. Fig.11 As shown, the device includes: a fourth display module 1110 , a fifth display module 1120 and a sixth display module 1130 .

[0173] A fourth display module 1110 is used to display a conversation page, wherein a question message is displayed on the conversation page;

[0174] A fifth display module 1120 is used to display a popular science message in reply to the question message in the selected area of ​​the conversation page;

[0175] The sixth display module 1130 is used to display the popular science message in the dialogue message of the dialogue page in response to the sending operation of the popular science message in the selected area, and transmit the popular science message.

[0176] The technical solution provided by the embodiment of the present disclosure is to display a conversation page through the fourth display module, and the conversation page displays a question message; to display a popular science message in reply to the question message in the selected area of ​​the conversation page through the fifth display module; and to display the popular science message in the conversation message of the conversation page in response to the sending operation of the popular science message in the selected area through the sixth display module, and transmit the popular science message. This solution can provide a user at the receiving end of the question message with a selected area to assist in the online conversation when the question message in the online conversation is a popular science message. The selected area can enable the user to choose to directly transmit the popular science message provided by the popular science model to the sending end of the question message, thereby improving the efficiency of responding to the question message.

[0177] In one embodiment, the fifth display module 1120 is specifically used for:

[0178] Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario;

[0179] In the case where the target scenario is a popular science knowledge inquiry scenario, determining a popular science message to reply to the question message through a popular science model;

[0180] The popular science message is displayed in the selected area of ​​the conversation page.

[0181] The display device provided in the embodiment of the present disclosure can execute the display method provided in the embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.

[0182] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0183] Fig.12 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig.12 , which shows an electronic device (eg, Fig.12 A schematic diagram of the structure of a terminal device or server) 500.

[0184] An electronic device provided in an embodiment of the present disclosure includes:

[0185] one or more processing devices;

[0186] a storage device for storing one or more programs,

[0187] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the display method provided by the embodiment of the present disclosure.

[0188] The terminal devices in the embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Fig.12 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0189] like Fig.12As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0190] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.12 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0191] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0192] Fig.13 This is a schematic diagram of the structure of another electronic device provided by an embodiment of the present disclosure. Fig.13 , which shows an electronic device (eg, Fig.13 A schematic diagram of the structure of a terminal device or server in (a) 600.

[0193] An electronic device provided in an embodiment of the present disclosure includes:

[0194] one or more processing devices;

[0195] a storage device for storing one or more programs,

[0196] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the display method provided by the embodiment of the present disclosure.

[0197] The terminal devices in the embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Fig.13 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0198] like Fig.13 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An edit / output (I / O) interface 605 is also connected to the bus 604.

[0199] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.13 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0200] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above functions defined in the methods of the embodiments of the present disclosure are performed.

[0201] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

[0202] The electronic device provided in the embodiment of the present disclosure and the display method provided in the above embodiment belong to the same inventive concept. Technical details not described in detail in this embodiment can be referred to in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0203] The embodiment of the present disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the display method provided in the above embodiment is implemented.

[0204] It should be noted that the above computer-readable medium of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.

[0205] The computer storage medium can be a storage medium for computer-executable instructions, and the computer-executable instructions are used to perform the methods provided by the present disclosure when executed by a computer processor.

[0206] Computer readable storage media may be, for example, but not limited to: electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program used by or in combination with an instruction execution system, device, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0207] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0208] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0209] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a dialogue page, on which a question message is displayed; displays a popular science message in reply to the question message in the dialogue page, and the popular science message is a popular science message determined after scene classification of the question message; displays an inquiry message in reply to the question message in the dialogue page, and the inquiry message is a message inquiring about the question message.

[0210] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: displays a conversation page, on which a question message is displayed; displays a popular science message in reply to the question message in a selected area of ​​the conversation page; in response to a sending operation of the popular science message in the selected area, displays the popular science message in the conversation message of the conversation page, and transmits the popular science message.

[0211] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0212] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0213] The modules or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module or unit does not limit the unit itself in some cases.

[0214] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0215] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0216] According to one or more embodiments of the present disclosure, Example 1 provides a display method, including:

[0217] Displaying a conversation page, wherein a question message is displayed on the conversation page;

[0218] Displaying a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after classifying the question message by scenario;

[0219] An inquiry message in reply to the question message is displayed in the conversation page, wherein the inquiry message is a message inquiring about the question message.

[0220] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1,

[0221] Displaying a popular science message in response to the question message on the conversation page includes:

[0222] Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario;

[0223] In the case where the target scenario is a popular science knowledge inquiry scenario, a popular science message replying to the question message is output to the dialogue page through a popular science model.

[0224] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2,

[0225] After determining the target scenario to which the problem message belongs through the classification model, the method further includes:

[0226] When the target scenario is a suggested answer scenario, the answer model outputs an inquiry message that replies to the question message.

[0227] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 2 or Example 3,

[0228] The training of the classification model includes the following operations:

[0229] Obtain the classification results of the classification model on the problem sample data in the problem sample set;

[0230] Using the problem sample data that is misclassified in the classification result as negative samples of the classification model;

[0231] The classification model is trained by using the negative samples.

[0232] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 1,

[0233] Displaying a popular science message in response to the question message on the conversation page includes:

[0234] Obtaining a popular science message transmitted by a receiving end of the question message in reply to the question message;

[0235] The popular science message is displayed in the conversation page.

[0236] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 1,

[0237] Displaying an inquiry message in response to the question message in the conversation page includes:

[0238] The question message is input into the response model, and the query message for replying the question and answer message is output to the dialogue page through the response model.

[0239] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 1,

[0240] Displaying a popular science message in response to the question message on the conversation page includes:

[0241] The popular science message in reply to the question message is displayed in the conversation page in an expanded state or a collapsed state.

[0242] According to one or more embodiments of the present disclosure, Example 8 is based on the method described in Example 1,

[0243] After displaying the popular science message in reply to the question message in the conversation page, the method further includes:

[0244] In response to a follow-up operation on the popular science message, a popular science answer message is displayed.

[0245] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 1, further comprising:

[0246] In response to the conversion operation of the conversation type on the conversation page, an online page is displayed, where the online page is a page for conducting an online conversation.

[0247] According to one or more embodiments of the present disclosure, Example 10 provides a display method, including:

[0248] Displaying a conversation page, wherein a question message is displayed on the conversation page;

[0249] In the selection area of ​​the conversation page, a popular science message replying to the question message is displayed;

[0250] In response to a sending operation of the popular science message in the to-be-selected area, the popular science message is displayed in a conversation message on the conversation page, and the popular science message is transmitted.

[0251] According to one or more embodiments of the present disclosure, Example 11, according to the method described in Example 10, displays a popular science message in reply to the question message in the to-be-selected area of ​​the conversation page, including:

[0252] Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario;

[0253] In the case where the target scenario is a popular science knowledge inquiry scenario, determining a popular science message to reply to the question message through a popular science model;

[0254] The popular science message is displayed in the selected area of ​​the conversation page.

[0255] According to one or more embodiments of the present disclosure, Example 12 provides a display device, including:

[0256] A first display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page;

[0257] A second display module is used to display a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after scene classification of the question message;

[0258] The third display module is used to display an inquiry message in reply to the question message in the conversation page, and the inquiry message is a message for inquiring about the question message.

[0259] According to one or more embodiments of the present disclosure, Example 13 provides a display device, including:

[0260] A fourth display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page;

[0261] A fifth display module, used for displaying a popular science message in reply to the question message in the selected area of ​​the conversation page;

[0262] The sixth display module is used to display the popular science message in the dialogue message of the dialogue page in response to the sending operation of the popular science message in the selected area, and transmit the popular science message.

[0263] According to one or more embodiments of the present disclosure, Example 14 provides an electronic device, the electronic device comprising:

[0264] one or more processing devices;

[0265] a storage device for storing one or more programs,

[0266] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method described in any one of Examples 1 to 9.

[0267] According to one or more embodiments of the present disclosure, Example 15 provides an electronic device, the electronic device comprising:

[0268] one or more processing devices;

[0269] a storage device for storing one or more programs,

[0270] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in any one of Examples 10 and 11.

[0271] According to one or more embodiments of the present disclosure, Example 16 provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the method described in any one of Examples 1 to 11.

[0272] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0273] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0274] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A display method, It is characterized in that include: Displaying a conversation page, wherein a question message is displayed on the conversation page; Displaying a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after classifying the question message by scenario; An inquiry message in reply to the question message is displayed in the conversation page, wherein the inquiry message is a message inquiring about the question message.

2. The method according to claim 1, It is characterized in that Displaying a popular science message in response to the question message on the conversation page includes: Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario; In the case where the target scenario is a popular science knowledge inquiry scenario, a popular science message replying to the question message is output to the dialogue page through a popular science model.

3. The method according to claim 2, It is characterized in that After determining the target scenario to which the problem message belongs through the classification model, the method further includes: When the target scenario is a suggested answer scenario, the answer model outputs an inquiry message that replies to the question message.

4. The method according to any one of claims 2 or 3, It is characterized in that The training of the classification model includes the following operations: Obtain the classification results of the classification model on the problem sample data in the problem sample set; Using the problem sample data that is misclassified in the classification result as negative samples of the classification model; The classification model is trained by using the negative samples.

5. The method according to claim 1, It is characterized in that Displaying a popular science message in response to the question message on the conversation page includes: Obtaining a popular science message transmitted by a receiving end of the question message in reply to the question message; The popular science message is displayed in the conversation page.

6. The method according to claim 1, It is characterized in that Displaying an inquiry message in response to the question message in the conversation page includes: The question message is input into the response model, and the query message for replying the question and answer message is output to the dialogue page through the response model.

7. The method according to claim 1, It is characterized in that Displaying a popular science message in response to the question message on the conversation page includes: The popular science message in reply to the question message is displayed in the conversation page in an expanded state or a collapsed state.

8. The method according to claim 1, It is characterized in that After displaying the popular science message in reply to the question message in the conversation page, the method further includes: In response to a follow-up operation on the popular science message, a popular science answer message is displayed.

9. The method according to claim 1, It is characterized in that Also includes: In response to the conversion operation of the conversation type on the conversation page, an online page is displayed, where the online page is a page for conducting an online conversation.

10. A display method, It is characterized in that include: Displaying a conversation page, wherein a question message is displayed on the conversation page; In the selection area of ​​the conversation page, a popular science message replying to the question message is displayed; In response to a sending operation of the popular science message in the to-be-selected area, the popular science message is displayed in a conversation message on the conversation page, and the popular science message is transmitted.

11. The method according to claim 10, It is characterized in that In the selected area of ​​the conversation page, a popular science message in reply to the question message is displayed, including: Determine the target scenario to which the question message belongs through a classification model, wherein the target scenario includes a popular science knowledge inquiry scenario or a suggestion answer scenario; In the case where the target scenario is a popular science knowledge inquiry scenario, determining a popular science message to reply to the question message through a popular science model; The popular science message is displayed in the selected area of ​​the conversation page.

12. A display device, It is characterized in that include: A first display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page; A second display module is used to display a popular science message in reply to the question message in the conversation page, wherein the popular science message is a popular science message determined after scene classification of the question message; The third display module is used to display an inquiry message in reply to the question message in the conversation page, and the inquiry message is a message for inquiring about the question message.

13. A display device, It is characterized in that include: A fourth display module, used to display a dialogue page, wherein a problem message is displayed on the dialogue page; A fifth display module, used for displaying a popular science message in reply to the question message in the selected area of ​​the conversation page; The sixth display module is used to display the popular science message in the dialogue message of the dialogue page in response to the sending operation of the popular science message in the selected area, and transmit the popular science message.

14. An electronic device, It is characterized in that The electronic device comprises: one or more processing devices; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method according to any one of claims 1 to 9.

15. An electronic device, It is characterized in that The electronic device comprises: one or more processing devices; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method according to any one of claims 10-11.

16. A storage medium comprising computer executable instructions, which when executed by a computer processor are used to perform the method according to any one of claims 1 to 11.