Interaction method and device and electronic equipment

By receiving search information and displaying the reply information generated by the smart assistant in the conversation card, and integrating search and intelligent reply functions, the problem of low information acquisition efficiency and accuracy in the prior art is solved, and the user experience is improved.

CN119003708AActive Publication Date: 2024-11-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311154275.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2024-11-22
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

In the prior art, search engines and intelligent question-and-answer robots operate independently, and users need to initiate searches and ask questions to them separately, resulting in low efficiency and accuracy of information acquisition, and a lot of noise information, affecting the user experience.

Method used

By receiving search information, we obtain the reply information generated by the smart assistant based on search information and search results, and display it in the conversation card, integrating the search function and intelligent reply function to improve the matching and readability of the reply information.

Benefits of technology

It realizes the provision of reply information that matches user intentions, improves the efficiency and accuracy of information acquisition, reduces the impact of noise information, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003708A_ABST
    Figure CN119003708A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an interaction method and device and electronic equipment, and the method comprises the steps: receiving first search information input by a user in a first page, and obtaining at least one search result corresponding to the first search information; in response to the fact that question-answer type reply information needs to be generated according to the first search information, transmitting the search result to an intelligent assistant, and obtaining first reply information generated by the intelligent assistant based on the at least one search result; and displaying a dialogue card in the first page, and displaying the first reply information in the dialogue card in a streaming manner. The search function and the intelligent reply function are integrated, and the reply information matched with the intention of the user is provided for the user based on the input search information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer and artificial intelligence technology, and more particularly to an interaction method, device, and electronic device. Background Art

[0002] Usually, a user can obtain multiple search results through searching. The user can browse multiple search results and obtain useful information from them.

[0003] In addition, users can also initiate conversations with intelligent robots and interact with them. Summary of the invention

[0004] Embodiments of the present disclosure provide an interaction method, device, and electronic device.

[0005] In a first aspect, an embodiment of the present disclosure provides an interaction method, which includes: receiving first search information, obtaining at least one search result corresponding to the first search information; obtaining first reply information generated by an intelligent assistant based on the first search information and / or the at least one search result; and displaying a conversation card, and displaying the first reply information in the conversation card.

[0006] In a second aspect, an embodiment of the present disclosure provides an interactive device, comprising: a receiving unit, configured to receive first search information, and obtain at least one search result corresponding to the first search information; a generating unit, configured to obtain first reply information generated by an intelligent assistant based on the first search information and / or the at least one search result; and a display unit, configured to display a dialogue card, and display the first reply information in the dialogue card.

[0007] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the first aspect as well as various methods that may be involved in the first aspect.

[0008] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the first aspect and various possible methods involved in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the first aspect as well as various methods that may be involved in the first aspect.

[0010] The interactive method, device and electronic device provided in this embodiment receive first search information to obtain at least one search result corresponding to the first search information; obtain first reply information generated by an intelligent assistant based on the first search information and / or the at least one search result; display a conversation card, and display the first reply information in the conversation card, thereby realizing the integration of search function and intelligent reply function to provide users with reply information matching the user's intention based on the input search information.

[0011] Furthermore, in some optional implementations, when the intelligent assistant generates reply information based on the search results and the first search information, it can further refine, summarize, and process the search results based on the search intent of the first search information, so that the reply information generated by the intelligent assistant is more readable and the user can obtain information more efficiently. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0013] Figure 1 Schematic flow of the interactive method provided by the present disclosure Figure 1 ;

[0014] Figure 2 This is a schematic diagram of an application scenario;

[0015] Figure 3 This is another application scenario diagram;

[0016] Figure 4 Schematic flow of the interactive method provided by the present disclosure Figure 2 ;

[0017] Figure 5 This is a schematic diagram of an application scenario;

[0018] Figure 6 Schematic flow of the interactive method provided by the present disclosure Figure 3 ;

[0019] Figure 7 This is a schematic diagram of an application scenario;

[0020] Figure 8 A structural block diagram of the interactive device provided by the present disclosure;

[0021] Fig. 9A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0023] The essence of a search engine is to retrieve the most valuable information for users from available network resources based on user requests. For complex sentences with multiple keywords entered by users, the search engine does not know which information the user needs and will give many answers at the same time, requiring users to screen them one by one.

[0024] Intelligent question-answering robots (such as smart assistants) are based on natural language processing and deep learning. They can communicate with people in real time, accurately locate the knowledge visitors need to ask questions, and provide personalized information services to users through interaction with users. Intelligent question-answering robots can segment, search, match and score a sentence, identify the user's intention, and give a question-and-answer response.

[0025] Usually, search engines and intelligent question-answering robots are two independently running applications. Users can initiate searches on search engines to obtain multiple pieces of information, and ask questions to intelligent assistants to obtain a question-answering reply. In some application scenarios, users need to input search information and obtain reply information provided by intelligent assistants based on the search information.

[0026] The solution provided by the present disclosure combines the search function with the intelligent reply function, and the intelligent assistant determines the first reply information based on the search information and / or search results, and displays it in the conversation card. By integrating the search function and the intelligent reply function, the input search information provides the user with reply information that matches the user's intention. In addition, when the intelligent assistant generates reply information based on the search results and the first search information, the search information is determined based on the above search results, which improves the efficiency and accuracy of generating reply information.

[0027] Please refer to Figure 1 , which shows a schematic flow chart of the interactive method provided by the present disclosure Figure 1 .like Figure 1 As shown, the method includes:

[0028] S101: Receive first search information, and obtain at least one search result corresponding to the first search information.

[0029] The execution subject of this embodiment may be a client running in a terminal device. It may also be a server that provides services for the client. The client may be an application client or a web client. The client supports a search function.

[0030] The client display interface may provide a search entry, and the user may enter the first search information in the search entry.

[0031] The first search information here may be search information inputted by text, voice, etc. The first search information includes text, characters, or pictures, etc.

[0032] After receiving the first search information, the execution subject of the above-mentioned interaction method can search locally or in other electronic devices.

[0033] For example, the first search information is matched with the local text library. At least one search result matching the first search information is determined according to the matching degree. In an exemplary manner, if part of the content in a document matches the search information, the part of the content is used as the search result.

[0034] For another example, the execution entity may use the first search information to search in a network to obtain at least one search result from the Internet.

[0035] S102: Obtain first reply information generated by the intelligent assistant based on the first search information and / or at least one search result.

[0036] After obtaining the at least one search result, the execution subject sends the at least one search result and the at least one search result to the intelligent assistant. The intelligent assistant processes the first search information and / or the at least one search result to generate the first reply information. In an application scenario, the intelligent assistant can be integrated into the client in which the user inputs the first search information.

[0037] In some application scenarios, the intelligent assistant can analyze and process the first search information to generate a first reply message. In these application scenarios, if it is determined that the at least one search result has little relevance to the first search information, the intelligent assistant can generate the first reply message only based on the first search information. Schematically, the first search information is "project plan writing template", and the search results include online document writing templates. The intelligent assistant can deem that the search results have little relevance to the first search information. The intelligent assistant can generate the first reply information based on the first search information, for example, by inputting the first search information into a natural language processing model, and the natural language processing model generates the first reply information, for example, generating a project plan writing template. After generating the first reply information, the natural language processing model can send the first reply information to the intelligent assistant.

[0038] In some application scenarios, the intelligent assistant may process the first search information and at least one search result to obtain the first reply information. As an implementation method, the intelligent assistant sends the first search information and at least one search result to a natural language processing model. The natural language processing model analyzes and processes the at least one search result and the first search information, and generates the first reply information corresponding to the first search information according to the at least one search result. The natural language processing model may feed back the first reply information to the execution subject through the intelligent assistant.

[0039] In some embodiments, the above step S102 includes: in response to determining that question-and-answer reply information needs to be generated based on the first search information, obtaining first reply information generated by the intelligent assistant based on the first search information and at least one search result.

[0040] In these embodiments, the execution entity may determine whether it is necessary to generate question-and-answer reply information based on the first search information.

[0041] The question-and-answer reply information here refers to generating a unique reply message similar to the form of a conversation between people.

[0042] In some application scenarios, the above-mentioned execution entity can determine whether the search information needs to generate question-and-answer reply information according to preset rules. For example, when the length of the search information is less than the preset text length, it is determined that the search information does not need to generate question-and-answer reply information. Alternatively, when question words appear in the search information and the length of the search information is greater than the preset text length, it can be determined that the search information needs to generate question-and-answer reply information. The above-mentioned question words include: "what", "how", "how", "how", etc.

[0043] The above-mentioned execution entity can call the above-mentioned intelligent assistant through a preset interface.

[0044] After calling the above-mentioned intelligent assistant, the above-mentioned execution entity can send the above-mentioned at least one search result and the first search information to the intelligent assistant, so that the intelligent assistant can generate a first reply information based on the first search information and / or at least one search result.

[0045] The intelligent assistant can send the first reply information to the above-mentioned execution entity.

[0046] S103: Displaying a conversation card, and displaying the first reply information in the conversation card.

[0047] The execution subject may display a dialogue card. After receiving the first reply information fed back by the intelligent assistant, the first reply information may be displayed. For example, the first reply information may be displayed in a streaming manner. The streaming display of the first reply information may include: displaying the first reply information corresponding to the first search information word by word until the first reply information is fully displayed.

[0048] Please combine Figure 2 and Figure 3 , Figure 2 A schematic diagram of an application scenario. Figure 3 This is another application scenario diagram. Figure 2 As shown, the user enters the first search information in the search window of the interface 201 displaying the search window. Schematically, the first search information entered is as follows Figure 2 The execution subject determines whether the user intends to obtain multiple search results or needs question-and-answer reply information based on the first search information. When the execution subject determines that the user intends to need question-and-answer reply information based on the first search information, the dialogue card 301 can be displayed in the interface 201, such as Figure 3 After the execution subject obtains the first reply information from the intelligent assistant, the first reply information can be displayed in the dialogue card 301. Figure 3 The first reply information 303 is displayed. The letter "X" in the figure can represent any text, letter or symbol.

[0049] like Figure 3 As shown, the above-mentioned dialogue card 301 includes the following contents: reply information source 302 (such as Figure 3 ), the body content 303 of the first reply information, the referenced content 304 of the first reply information (which may be the content referenced by the smart assistant to generate the above-mentioned first reply information), the first control 305 (used to open the conversation interaction area), the feedback entrance 306 (including the first feedback control and the second feedback control), the stop / start control (such as Figure 3The body content 303 is the detailed content of the first reply information. The reference content may include: "text 1", "text 2", "text 3", etc. The first control 305 is used to open the conversation interaction area.

[0050] Through the above description of the source of the first reply information, the user can understand the source of the first reply information, for example, from an assistant.

[0051] By displaying the main content of the first reply message, the user can understand the specific content of the first reply message.

[0052] The displayed referenced content may be associated with a link to a referenced content details page, and the user may perform a trigger operation on the referenced content associated with the link, thereby opening the referenced content details page through the link.

[0053] The feedback entry can be used to provide feedback on whether the displayed first reply information meets the user's requirements. Specifically, the feedback entry can include a first feedback control indicating that the first reply information meets the user's requirements, and a second feedback control indicating that the first reply information does not meet the user's requirements.

[0054] During the process from receiving the first search information input by the user to determining that question-and-answer reply information is needed to the completion of displaying the first reply information, a dialogue card 301 may be displayed, and a stop control 307 indicating to stop generating the first reply information may be displayed in the dialogue card 301.

[0055] When the user has input the first search information, but the first reply information is not displayed in the dialog card, the user can trigger the stop control 307. After receiving the trigger operation on the stop control 307, the execution subject can send an instruction to the intelligent assistant to stop generating reply information. After receiving the instruction, the intelligent assistant stops generating the first reply information.

[0056] If the execution subject receives a trigger operation of the stop control 307 by the user during the process of displaying the first reply information, the execution subject may keep displaying the first reply information that has been displayed, and stop displaying the remaining first reply information that has not been displayed. If the remaining first reply information has not been generated by the intelligent assistant, an instruction to stop generating the remaining first reply information is sent to the intelligent assistant. After receiving the instruction, the intelligent assistant stops generating the remaining first reply information.

[0057] After the first reply message stops being displayed or the first reply message has been displayed, the execution subject may display a start control in the conversation card for starting to regenerate the reply message. The user may perform a trigger operation on the start control. After receiving the trigger operation, the execution subject may send an instruction to the intelligent assistant to regenerate the first reply message.

[0058] In some embodiments, information of the at least one search result is also displayed.

[0059] In these embodiments, the execution entity may also display information of the at least one search result in a display interface of the client. The displayed search result information includes an identifier of the search result, partial content of the search result and / or a link to the search result.

[0060] like Figure 3 In the above-mentioned dialog card 301, the information of the at least one search result may be displayed below the above-mentioned dialog card 301. The information of the at least one search result may include, for example, the information of search result 1, the information of search result 2, and the information of search result 3. Taking the information of search result 1 as an example, the information of search result 1 may include, for example, the identifier of search result 1 and part of the content of the search result. The identifier of the search result and / or the above-mentioned part of the content may also be associated with a link to the details page of search result 1.

[0061] By displaying at least one search result below the conversation card, the user can understand which search results there are, making it easier for the user to browse the search results.

[0062] The above-mentioned dialogue card 301 is set at the top of the client display interface. The above-mentioned first reply information can be displayed in a streaming manner in the above-mentioned dialogue card. As the content of the first reply information gradually increases, the upper frame of the dialogue card remains unchanged, and the lower frame moves downward, so that the height of the dialogue card increases with the increase of the answer content.

[0063] When the user scrolls the first page upwards by sliding, the conversation card scrolls upwards along with the sliding operation. While scrolling, the conversation card may be gradually covered by the toolbar of the client display interface.

[0064] In the related art, when the intelligent assistant generates reply information to the interactive information initiated by the user, it is determined by the intelligent assistant through reasoning from a large amount of information. The large amount of information may include noise information, so the above scheme is less efficient in generating reply information.

[0065] In this embodiment, first search information is received, at least one search result corresponding to the first search information is obtained; first reply information generated by the intelligent assistant based on the first search information and / or at least one search result is obtained; a conversation card is displayed, and the first reply information is displayed in the conversation card. By integrating the search function and the intelligent reply function, the user is provided with reply information matching the user's intention based on the input search information.

[0066] In addition, when the intelligent assistant generates reply information based on the search results and the first search information, the reply information is determined based on the above search results. Since the above search results usually have a certain degree of match with the first search information, the search results are used as the information source for generating the first reply information, and the noise is relatively small. In addition, the number of the above search results is usually not too large. Compared with the way in which the intelligent assistant determines the reply information through reasoning from a large amount of information containing noise, when the reply information is generated based on the search results and the first search information in this embodiment, the reply information can be determined based on a small number of information that has a certain degree of match with the first search information. When generating the reply information based on the search results and the first search information, the search results can be further refined, summarized, and processed according to the search intent of the first search information, so that the reply information generated by the intelligent assistant is more readable and the user obtains information more efficiently.

[0067] Please refer to Figure 4 , which shows a schematic flow chart of the interactive method provided by the present disclosure Figure 2 .like Figure 4 As shown, the method includes:

[0068] S401: Receive first search information, and obtain at least one search result corresponding to the first search information.

[0069] S402: Obtain first reply information generated by the intelligent assistant based on the first search information and / or at least one search result.

[0070] S403: Display the conversation card, and display the first reply information in the conversation card.

[0071] The specific implementation of steps S401 to S403 can refer to Figure 1 The description of steps S101 to S103 in the illustrated embodiment is not repeated here.

[0072] In this embodiment, the execution subject of the interactive method can be a client or a server.

[0073] S404: In response to receiving a conversation request for having a conversation with the intelligent assistant, displaying a conversation interaction area.

[0074] The user can send the above session request to the execution subject through various methods. The above execution subject displays the session interaction area after receiving the above session request. In one example, the user can send the above session request to the execution subject by voice awakening.

[0075] In some embodiments, a first control for conducting a conversation with an intelligent assistant is displayed in a conversation card; in response to receiving a conversation request for conducting a conversation with the intelligent assistant, a conversation interaction area is displayed, including:

[0076] In response to receiving a trigger operation performed on the first control, a session interaction area is displayed.

[0077] In these embodiments, the user may perform a trigger operation on the first control, thereby sending a session request to the execution subject for conducting a session with the intelligent assistant. After receiving the session request, the execution subject may display a session interaction area. The session interaction area is used for the user to conduct a session with the intelligent assistant.

[0078] S405: Displaying historical information in the conversation interaction area, wherein the historical information includes the first search information and the first reply information.

[0079] The conversation interaction area may include a message stream display area. The message stream display area displays historical information, including historical search information including the first search information, and historical reply information corresponding to the search information including the first reply information.

[0080] In some embodiments, the conversation interaction area is displayed on a side of an interface including a search window, wherein the search window is used to input the first search information.

[0081] In these embodiments, the interface for displaying the search window may include a search window, and may also include an area for displaying search results and an area for displaying conversation cards.

[0082] Specifically, the first control may be associated with a paging container, and when the user performs a trigger operation on the first control, a conversation interaction area may be generated based on the paging container. The execution subject may display the generated conversation interaction area on one side of the interface.

[0083] The width of the conversation interaction area may be smaller than the width of the interface.

[0084] In these embodiments, by displaying the conversation interaction area on one side of the above interface, the user can browse the information of the above interface and the interaction messages generated between the user and the intelligent assistant.

[0085] The contact ID may be displayed in the conversation interaction area, where the contact ID may be the ID of the smart assistant.

[0086] The conversation interaction area may include a message flow display area and a message input area.

[0087] Messages generated between the smart assistant and the user can be displayed in the message flow display area according to the order of generation time.

[0088] The message flow display area can record the first search information entered in the search window and the first reply information displayed in the conversation card.

[0089] The first reply information is generated by the smart assistant, so it can be regarded as the reply information sent by the smart assistant to the user to the first search information. Therefore, the first search information sent by the user and the first reply information sent by the smart assistant can be displayed in sequence in the message flow display area.

[0090] In some embodiments, the interaction method further comprises the following steps:

[0091] First, first interaction information input by a user in a conversation interaction area is received, and the first interaction information is displayed in a message flow display area of ​​the conversation interaction area.

[0092] Secondly, the second reply information of the first interaction information generated by the intelligent assistant is displayed in the message flow display area of ​​the conversation interaction area.

[0093] The first interaction information is related to or unrelated to the first search information.

[0094] In some application scenarios, the user can further communicate on the above-mentioned first search information and the first reply information, and the user can send the first interaction information related to the first search information to the intelligent assistant in the conversation interaction area.

[0095] In some application scenarios, the user can communicate with the intelligent assistant about content unrelated to the first search information, and the user can initiate the first interaction information unrelated to the first search information to the intelligent assistant in the conversation interaction area.

[0096] The first interaction information may include multiple pieces of interaction information input by the user. The second reply information may include multiple pieces of reply information generated by the intelligent assistant according to the interaction message.

[0097] Please combine Figure 3 and Figure 5 , Figure 5 A schematic diagram of an application scenario. Figure 3The first control 305 is displayed in the conversation card in the interface 501. After receiving the trigger operation performed on the first control 305, the conversation interaction area 502 can be displayed on one side of the interface 501. The search window, conversation card and search results can be displayed in the interface 501. The message flow display area 503 of the conversation interaction area 502 displays the message content of the information exchange between the intelligent assistant and the user.

[0098] When the user performs a trigger operation on the first control 305, the execution subject may display a conversation interaction area 502 for the user to freely talk with the intelligent assistant according to the trigger operation performed on the first control 305. The conversation interaction area 502 may be displayed on one side of the interface 501. In the conversation interaction area 502, the interaction record between the user and the intelligent assistant may be displayed. For example, the first search information entered by the user in the search window, and the first reply information output by the intelligent assistant displayed in the conversation card. The user may browse multiple messages generated between the user and the intelligent assistant in the conversation interaction area.

[0099] The above-mentioned conversation card and the conversation interaction area are independent of each other. While the conversation card is displayed, the user can start a new conversation with the intelligent assistant in the conversation interaction area. The above-mentioned intelligent assistant can generate and display reply information corresponding to the new interaction information input by the user in the conversation interaction area, thereby conducting multiple rounds of conversations between the user and the intelligent assistant.

[0100] Illustratively, the first search information entered by the user in the search window of the interface 501 may be, for example, "How to write a summary document for project B", and the intelligent assistant generates a first reply message. The execution subject displays the first reply message in the dialogue card of the interface 501. When the user triggers the first control and displays the conversation interaction area, the message flow display area of ​​the conversation interaction area may display the first search information sent by the user to the intelligent assistant, and the first reply message sent by the intelligent assistant.

[0101] The user can enter new interaction information in the message input area 504 of the conversation interaction area 502. The new interaction information sent by the user to the intelligent assistant in the conversation interaction area is related to or unrelated to the first search information. For example, the user enters new interaction information related to the first search information, "What about the summary document of project C?" The new interaction information is related to the first search information. For another example, the user enters new interaction information, "What about the weather tomorrow?" The new interaction information is unrelated to the first search information.

[0102] This allows users to initiate unrestricted chats with the smart assistant in the conversation interaction area.

[0103] In some embodiments, the interaction method further includes: when displaying the message flow between the user and the intelligent assistant in the conversation interaction area, receiving second search information initiated by the user in the conversation interaction area.

[0104] In these embodiments, when the message flow between the user and the intelligent assistant is displayed in the conversation interaction area, if the user still has a search requirement, the user can continue to initiate a new search in the interface where the search window is located. For example, enter the second search information in the search window.

[0105] When the conversation card and the conversation interaction area are displayed at the same time, in addition to using the conversation interaction area to have a conversation with the smart assistant, the user can also re-enter the search information in the interface where the search window is located to initiate another search. If it is determined that the search information entered again still needs to be answered by the smart assistant, the reply information corresponding to the search information entered again is displayed in the conversation card. In this way, the user can implement different next operations in the same application display window.

[0106] In some embodiments, when the third reply information corresponding to the second search information generated by the intelligent assistant is obtained, the third reply information is displayed in the dialogue card; and the third reply information input by the intelligent assistant is displayed in the message flow of the conversation interaction area.

[0107] In these embodiments, since the conversation interaction area has been displayed, the conversation interaction area can display all message contents generated between the intelligent assistant and the user. The second search information can be a conversation message sent by the user to the intelligent assistant, and the third reply information can be a reply message replied by the intelligent assistant based on the second search information. Therefore, the second search information and the third reply message can be displayed in the message flow display area of ​​the conversation interaction area.

[0108] In these embodiments, by displaying the second search information and the third reply information in the conversation interaction area, the conversation between the user and the intelligent assistant can carry all the search information and the reply information of the search information, thereby facilitating the management of messages generated between the user and the intelligent assistant.

[0109] and Figure 1 Compared with the illustrated embodiment, this embodiment describes displaying relevant content of the conversation interaction area for the user to have a conversation with the intelligent assistant on one side of the first page according to the trigger operation of the first control in the conversation card, thereby supporting different next operations in the same application window, and providing support for the user to browse the first reply information in the search interface and have a free conversation with the intelligent assistant at the same time.

[0110] Please refer to Figure 6 , which shows a schematic flow chart of the interactive method provided by the present disclosure Figure 3 .like Figure 6 As shown, the method includes:

[0111] S601: Receive first search information, and obtain at least one search result corresponding to the first search information.

[0112] S602: Obtain first reply information generated by the intelligent assistant based on the first search information and / or at least one search result.

[0113] S603: Display the conversation card, and display the first reply information in the conversation card.

[0114] The specific implementation of steps S601 to S603 can refer to Figure 1 The description of steps S101 to S103 in the illustrated embodiment is not repeated here.

[0115] In this embodiment, the execution subject of the interactive method may be a client. In addition, the execution subject may also be a server that provides services for the client.

[0116] S604: Display the obtained recommended interaction information in the conversation card.

[0117] The recommended interaction information may be determined by the execution subject according to one or more of the first search information, at least one search result and the first reply information. That is, the recommended interaction information is related to one or more of the search information, at least one search result and the first reply information.

[0118] By displaying the recommended interaction information in the dialogue card, if the recommended interaction information matches the user's intention, the user can directly trigger the above recommended interaction information, thereby sending the above recommended interaction information to the smart assistant, which can save the user the operation of entering the interaction information.

[0119] S605: In response to receiving a trigger operation performed by the user on the recommended interaction information, if it is detected that the conversation interaction area is not displayed, the conversation interaction area is displayed on one side of the conversation card; the conversation interaction area is used for the user to have a conversation with the intelligent assistant.

[0120] The first search information input in step S601 and the first reply information corresponding to the first search information are displayed in the message flow display area in the conversation interaction area.

[0121] In this embodiment, the above detection that the conversation interaction area is not displayed can be regarded as the free conversation between the user and the above intelligent assistant is not activated.

[0122] In this embodiment, when a trigger operation performed by the user on the recommended interaction information is received, a conversation interaction area may be displayed in which the user and the intelligent assistant can have a free conversation.

[0123] The contact ID may be displayed in the conversation interaction area, where the contact ID may be the ID of the intelligent assistant.

[0124] The conversation interaction area may include a message flow display area and a message input area.

[0125] Messages between the smart assistant and the user can be displayed in the message flow display area according to the order of generation time.

[0126] S606: Display the target recommended interaction information indicated by the triggering operation as a message sent by the user in the message stream display area of ​​the conversation interaction area.

[0127] S607: Obtain fourth reply information corresponding to the target recommended interaction information, and display it in the message stream display area as a message sent by the intelligent assistant.

[0128] Since the user triggers a recommended interaction information using the above trigger operation in the conversation card, the recommended interaction information can be the target recommended interaction information. The above target recommended interaction information can be regarded as the conversation message that the user is going to have with the intelligent assistant.

[0129] The intelligent assistant can determine the fourth reply information corresponding to the recommended interaction information based on the target recommended interaction information and the historical message content recorded in the conversation interaction area. When the execution subject receives the fourth reply information, it can display the fourth reply information as a message sent by the intelligent assistant in the message stream display area.

[0130] In these embodiments, the user does not need to input a new conversation message, and directly sends the above target recommendation interaction information to the intelligent assistant as the conversation message input by the user, which can improve the efficiency of information interaction between the user and the intelligent assistant.

[0131] In some embodiments, the interaction method further comprises:

[0132] If it is detected that the conversation interaction area has been displayed, the target recommended interaction information is displayed as a message to be sent by the user in the message flow display area of ​​the conversation interaction area.

[0133] In these embodiments, the conversation interaction area is already displayed before the user performs a trigger operation on the target recommendation interaction information. Therefore, after the user performs a trigger operation on the target recommendation interaction information, there is no need to regenerate the conversation interaction area. The target recommendation interaction information is displayed in the message stream display area of ​​the original conversation interaction area in the order and manner of the message stream display. Therefore, the conversation interaction area can record a relatively comprehensive record of the interaction between the intelligent assistant and the user.

[0134] Please refer to Figure 7 , which shows a schematic diagram of an application scenario. Figure 7 As shown, a first card 702 is displayed in an interface 701 displaying a search window. The first card 702 displays the first search information and the first reply information generated by the intelligent assistant according to the first search information. The above-mentioned dialogue card 702 may also display recommended interaction information 703, which may be determined based on one or more of the first search information, at least one search result, and the first reply information. Figure 7 As shown, the recommended interaction information includes recommended interaction information 1 and recommended interaction information 2. The user can click on the recommended interaction information 1, and the recommended interaction information 1 is the target recommended interaction information. After the user clicks on the recommended interaction information 1, if the conversation interaction area is not currently displayed, the execution subject displays the conversation interaction area, for example, displays the conversation interaction area on one side of the interface 701. The conversation between the user and the intelligent assistant is realized in the conversation interaction area. The first search information, the first reply information, the target recommended information, and the second reply information can be displayed in the message flow display area of ​​the conversation interaction area.

[0135] If the conversation interaction area has been displayed before the user performs a trigger operation on the target recommended interaction information, the target recommended interaction information triggered by the above user is displayed in the message stream display area of ​​the conversation interaction area, and the second reply information sent to the intelligent assistant is displayed in the message stream display area.

[0136] and Figure 1 Compared with the illustrated embodiment, this embodiment describes that the conversation card includes recommended interaction information. The user triggers further conversation between the user and the intelligent assistant in the conversation interaction area by operating the recommended interaction information, thereby improving the efficiency of information interaction between the user and the intelligent assistant.

[0137] Corresponding to the above Figure 1 The interactive method of the illustrated embodiment, Figure 8 This is a structural block diagram of an interactive device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 8 , the device 80 includes a receiving unit 801, a generating unit 802 and a display unit 803. Among them,

[0138] The receiving unit 801 is configured to receive first search information and obtain at least one search result corresponding to the first search information;

[0139] A generating unit 802 is configured to obtain first reply information generated by the intelligent assistant based on the first search information and / or at least one search result;

[0140] The display unit 803 is used to display the dialogue card and display the first reply information in the dialogue card.

[0141] In one embodiment of the present disclosure, information of at least one search result is also displayed.

[0142] In one embodiment of the present disclosure, the display unit 803 is further used to:

[0143] In response to receiving a conversation request for a conversation with the intelligent assistant, displaying a conversation interaction area;

[0144] The historical information is displayed in the conversation interaction area, wherein the historical information includes the first search information and the first reply information.

[0145] In one embodiment of the present disclosure, the conversation interaction area is displayed on a side of an interface including a search window, wherein the search window is used to input first search information.

[0146] In one embodiment of the present disclosure, a first control for conducting a conversation with an intelligent assistant is displayed in a conversation card, and the display unit 803 is further used to:

[0147] In response to receiving a trigger operation performed on the first control, a session interaction area is displayed.

[0148] In one embodiment of the present disclosure, the display unit 803 is further configured to: receive first interaction information input by a user in a conversation interaction area, and display the first interaction information in a message flow display area of ​​the conversation interaction area;

[0149] The second reply information of the first interaction information generated by the intelligent assistant is displayed in the message flow display area of ​​the conversation interaction area.

[0150] In one embodiment of the present disclosure, the first interaction information is related to or unrelated to the first search information.

[0151] In one embodiment of the present disclosure, the receiving unit 801 is further configured to:

[0152] When the message flow between the user and the intelligent assistant is displayed in the conversation interaction area, second search information initiated by the user is received.

[0153] In one embodiment of the present disclosure, the display unit 803 is further used to:

[0154] When obtaining third reply information corresponding to the second search information generated by the intelligent assistant, displaying the third reply information in the conversation card; and

[0155] The third reply information input by the intelligent assistant is displayed in the message flow of the conversation interaction area.

[0156] In one embodiment of the present disclosure, the display unit 803 is further used to:

[0157] The obtained recommended interaction information is displayed in the conversation card.

[0158] In one embodiment of the present disclosure, the display unit 803 is further used to:

[0159] In response to receiving a trigger operation performed by a user on the recommended interaction information, if it is detected that the conversation interaction area is not displayed, displaying the conversation interaction area on one side of the conversation card; the conversation interaction area is used for the user to have a conversation with the intelligent assistant;

[0160] Displaying the target recommended interaction information indicating the triggering operation as a message sent by the user in the message stream display area of ​​the conversation interaction area;

[0161] The fourth reply information corresponding to the target recommended interaction information is obtained and displayed in the message stream display area as a message sent by the intelligent assistant.

[0162] In one embodiment of the present disclosure, the display unit 803 is further used to:

[0163] If it is detected that the conversation interaction area has been displayed, the target recommended interaction information is displayed as a message to be sent by the user in the message flow display area of ​​the conversation interaction area.

[0164] In one embodiment of the present disclosure, the recommended interaction information is related to one or more of the search information, the search result, and the first reply information.

[0165] In one embodiment of the present disclosure, the generating unit 802 is further configured to:

[0166] In response to determining that question-and-answer reply information needs to be generated based on the first search information, first reply information generated by the intelligent assistant based on the first search information and at least one search result is obtained.

[0167] In order to implement the above embodiment, the embodiment of the present disclosure also provides an electronic device.

[0168] refer to Fig. 9, which shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure, and the electronic device 900 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 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.

[0169] like Fig. 9 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0170] Typically, the following devices may be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 The electronic device 900 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.

[0171] 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 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 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0172] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. 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 of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which (computer-executable instructions) 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. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The 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 for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

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

[0174] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0175] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including 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 an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via 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).

[0176] 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.

[0177] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, a receiving unit may also be described as "a unit that receives first search information and obtains at least one search result corresponding to the first search information".

[0178] 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.

[0179] 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.

[0180] 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.

[0181] 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.

[0182] 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. An interactive method, comprising: Receiving first search information, and obtaining at least one search result corresponding to the first search information; Obtaining first reply information generated by the intelligent assistant based on the first search information and / or the at least one search result; Display a conversation card, and display the first reply information in the conversation card.

2. The method according to claim 1, characterized in that Information of the at least one search result is also displayed.

3. The method according to claim 1, characterized in that The method further comprises: In response to receiving a conversation request for a conversation with the intelligent assistant, displaying a conversation interaction area; The historical information is displayed in the conversation interaction area, wherein the historical information includes the first search information and the first reply information.

4. The method according to claim 3, characterized in that The conversation interaction area is displayed on one side of an interface including a search window, wherein the search window is used to input first search information.

5. The method according to claim 3, characterized in that: The conversation card displays a first control for conducting a conversation with the intelligent assistant; The method of displaying a conversation interaction area in response to receiving a conversation request for having a conversation with the intelligent assistant includes: In response to receiving a trigger operation performed on the first control, the session interaction area is displayed.

6. The method according to claim 3, characterized in that: The method further comprises: receiving first interaction information input by a user in a conversation interaction area, and displaying the first interaction information in a message stream display area of ​​the conversation interaction area; The second reply information of the first interaction information generated by the intelligent assistant is displayed in the message flow display area of ​​the conversation interaction area.

7. The method according to claim 6, characterized in that The first interaction information is related to or unrelated to the first search information.

8. The method according to claim 6, characterized in that The method comprises: When the message flow between the user and the intelligent assistant is displayed in the conversation interaction area, second search information initiated by the user is received.

9. The method according to claim 8, characterized in that The method further comprises: When obtaining third reply information corresponding to the second search information generated by the intelligent assistant, displaying the third reply information in the conversation card; and The third reply information input by the intelligent assistant is displayed in the message flow of the conversation interaction area.

10. The method according to claim 1, characterized in that The method further comprises: The obtained recommended interaction information is displayed in the conversation card.

11. The method according to claim 10, characterized in that The method further comprises: In response to receiving a trigger operation performed by a user on the recommended interaction information, if it is detected that the conversation interaction area is not displayed, displaying the conversation interaction area on one side of the conversation card; the conversation interaction area is used for the user to have a conversation with the intelligent assistant; Displaying the target recommended interaction information indicated by the trigger operation as a message sent by the user in the message stream display area of ​​the conversation interaction area; The fourth reply information corresponding to the target recommended interaction information is obtained and displayed in the message flow display area as a message sent by the intelligent assistant.

12. The method according to claim 11, characterized in that The method further comprises: If it is detected that the conversation interaction area has been displayed, the target recommended interaction information is displayed as a message to be sent by the user in a message flow display area of ​​the conversation interaction area.

13. The method according to claim 10, characterized in that The recommended interaction information is related to one or more of the search information, the search result and the first reply information.

14. The method according to any one of claims 1 to 13, characterized in that The obtaining of first reply information generated by the intelligent assistant based on the first search information and the at least one search result includes: In response to determining that question-and-answer reply information needs to be generated based on the first search information, first reply information generated by the intelligent assistant based on the first search information and the at least one search result is obtained.

15. An interactive device, comprising: A receiving unit, configured to receive first search information and obtain at least one search result corresponding to the first search information; A generating unit, configured to obtain first reply information generated by the intelligent assistant based on the first search information and / or the at least one search result; The display unit is used to display the dialogue card, and the first reply information is displayed in the dialogue card.

16. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the method according to any one of claims 1 to 14 is implemented.

Citation Information

Patent Citations

  • Intelligent question-answer method, device and system

    CN105989040A

  • Artificial intelligence-based interaction method and device

    CN107133345A

  • Information search method and device, computer equipment and storage medium

    CN116226500A

  • Video playing method and device, computer equipment and storage medium

    CN116489444A

  • Content retrieval method and device, equipment and medium

    CN116501960A