Conversation method and electronic equipment
By entering the independent conversation interface in the main session interface of the electronic device, users can obtain intelligent conversation services more focused, solving the problem that smart voice assistants are difficult to maintain focus on the same field, and improving usage efficiency and user experience.
Patent Information
- Application Number
- CN202411405935.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2024-08-20
- Publication Date
- 2025-01-14
AI Technical Summary
It is difficult for the smart voice assistant of electronic devices to maintain focus on the same field during multiple rounds of conversations, resulting in users needing to find information in history, affecting usage efficiency.
Provide a dialogue method. By entering questions in the main session interface to enter the independent session interface, users can enjoy more focused services, find historical messages to realize information classification and improve usage efficiency. The method includes displaying multiple smart assistants on the main session interface, the user can select smart conversation services for specific scenarios, and recommend relevant assistants through history.
It improves the efficiency and user experience of smart voice assistants, enables users to obtain the services they need more accurately, reduces interference with irrelevant information in conversations, and enhances the user's interactive experience.
Smart Images

Figure CN119311361A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202411149797.1, and the original application date is August 20, 2024. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of display technology, and in particular, to a dialogue method and an electronic device. Background Art
[0003] In the conversation interface of the smart voice assistant of an electronic device, the conversation content is usually easily interrupted by the multi-round mechanism. For example, the user's current question is about travel. In the next conversation, the user can ask about education, and the conversation about travel is interrupted. It is difficult for the smart voice assistant to focus on the same field to provide answers to users. If the user needs to query the historical questions and answers in a certain field, he needs to search in the historical records, which affects the efficiency of the use of the smart voice assistant. Summary of the invention
[0004] The present application provides a conversation method and an electronic device, which can improve the efficiency of using a smart assistant.
[0005] In a first aspect, a conversation method is provided, the method comprising: displaying an interface of a main conversation in a first application, the main conversation being a conversation between a user and a first intelligent assistant provided by the first application; in response to a first operation of the user in the interface of the main conversation, displaying an interface of at least one independent conversation in the first application, the at least one independent conversation comprising a first independent conversation, the first independent conversation being a conversation between the user and a second intelligent assistant, the second intelligent assistant being an intelligent conversation service invoked by the first application for a first scenario.
[0006] In the embodiments provided by the present application, in a first application, a user enters an interface of a first independent conversation from a main conversation interface through a first operation. The interface of the first independent conversation is a conversation interface of an intelligent dialogue service called by the first application for a first scenario. In this way, the user can enjoy more focused services in the interface of the first independent conversation, for example, asking questions to the second intelligent assistant for the first scenario. In addition, the user can search for historical messages of the first independent conversation in the first independent conversation interface, which is conducive to information classification, thereby improving the use efficiency of the first application, such as a smart voice assistant, and enhancing the user experience.
[0007] In combination with the first aspect, in certain implementations of the first aspect, the second intelligent assistant is an intelligent dialogue service invoked by the first application for the first scenario, including: the second intelligent assistant provides an intelligent dialogue service for the first application for the first scenario, or the second intelligent assistant provides an intelligent dialogue service for the second application for the first scenario, and the first application is different from the second application.
[0008] In combination with the first aspect, in some implementations of the first aspect, the first operation includes: the user inputs a question in the interface of the main session, and the question is related to the first scenario.
[0009] In the embodiment provided by the present application, by entering a question in the main conversation interface to enter the independent conversation interface, it is possible to provide relevant intelligent conversation services based on the issues that the user is concerned about, thereby further improving the user's experience of using the first application.
[0010] In combination with the first aspect, in certain implementations of the first aspect, after the answer provided by the second intelligent assistant to the question is displayed in the interface of the main session, the user performs a second operation on the answer, and in response to the second operation, the dialog interface of the first independent session is displayed in the first application.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the second operation includes: the user clicks on the content indication area of the answer or the indication area of the second intelligent assistant.
[0012] In combination with the first aspect, in certain implementations of the first aspect, the first operation includes: entering the name of the second intelligent assistant in the interface of the main session.
[0013] In the embodiments provided in the present application, by entering the name of the smart assistant to enter the corresponding independent conversation interface, the services required by the user can be provided to the user more accurately, further improving the user experience.
[0014] In combination with the first aspect, in certain implementations of the first aspect, the first operation also includes: inputting questions to be asked to the second intelligent assistant in the interface of the main conversation.
[0015] In the embodiments provided by the present application, by entering the name of the smart assistant and questions to be asked to the smart assistant to enter the corresponding independent conversation interface, the services required by the user can be provided to the user more accurately, further improving the user experience, and it is convenient to provide the answer to the question to the user while providing the independent conversation interface, thereby improving the use efficiency of the first application.
[0016] In combination with the first aspect, in certain implementations of the first aspect, the first intelligent assistant recommends multiple intelligent assistants in the interface of the main session, the second intelligent assistant is included in the multiple intelligent assistants, and the first operation includes: selecting the second intelligent assistant recommended by the first intelligent assistant.
[0017] In the embodiment provided in the present application, multiple intelligent assistants are directly displayed in the main conversation interface, which can more intuitively present to the user the intelligent conversation services that can be provided by the first application, so that the user can make a selection, thereby further improving the user experience.
[0018] In combination with the first aspect, in some implementations of the first aspect, the recommendation is determined based on the historical records of the main session and / or the historical records of the independent session.
[0019] In the embodiments provided in the present application, the name of the smart assistant presented to the user is determined based on the historical records of the main session and / or the historical records of the independent session, so that the recommended smart assistant can better meet the user's expectations.
[0020] In combination with the first aspect, in certain implementations of the first aspect, the first intelligent assistant provides multiple scenario suggestions in the interface of the main session, and the multiple scenario suggestions include questions about the first scenario; the first operation includes: the user selects the question about the first scenario.
[0021] In the embodiment provided by the present application, multiple scenario suggestions are directly presented to the user in the first application, and these include questions about the first scenario. The user can enter the corresponding independent conversation interface by selecting the question, and can provide the user with corresponding intelligent dialogue services based on the questions the user wants to provide, and the user does not need to manually input the questions he wants to ask, which makes the operation more convenient.
[0022] In combination with the first aspect, in some implementations of the first aspect, the scenario suggestion is determined based on the historical record of the main session and / or the historical record of the independent session.
[0023] In the embodiment provided in the present application, the scenario suggestion is determined based on the historical record of the main session and / or the historical record of the independent session, so that the recommended scenario suggestion can be closer to the question that the user wants to know.
[0024] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: displaying an interface of a suggestion card in the first application, the first smart assistant recommending multiple smart assistants in the interface of the suggestion card, and the second smart assistant being included in the multiple smart assistants; in response to the user selecting the second smart assistant, displaying an interface of the first independent session.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: displaying an interface of a suggestion card in the first application, the first intelligent assistant providing multiple scenario suggestions on the interface of the suggestion card, the multiple scenario suggestions including questions about the first scenario; in response to the user selecting a question about the first scenario, displaying an interface of the first independent session.
[0026] In the embodiment provided in the present application, the user can also select the smart assistant recommended in the suggestion card of the first application to enter the corresponding independent conversation interface, providing users with multiple ways to enter independent conversations, further improving the use efficiency of the first application.
[0027] In combination with the first aspect, in certain implementations of the first aspect, the answer of the first intelligent assistant in the main conversation is related to the historical record of the first independent conversation.
[0028] In the embodiment provided by the present application, the answer of the first intelligent assistant in the main conversation is related to the historical record of the first independent conversation, which can improve the pertinence and accuracy of the answer provided by the first intelligent assistant, so that the answer provided by the first intelligent assistant is more in line with user expectations.
[0029] In combination with the first aspect, in certain implementations of the first aspect, the answer of the second intelligent assistant in the first independent conversation is related to the historical record of the main conversation.
[0030] In the embodiment provided by the present application, the answers of the second intelligent assistant in the first independent conversation are related to the historical records of the main conversation, which can improve the pertinence and accuracy of the answers provided by the second intelligent assistant, so that the answers provided by the second intelligent assistant are more in line with user expectations.
[0031] In combination with the first aspect, in certain implementations of the first aspect, the at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the answers of the second intelligent assistant in the first independent session are related to the historical records of the second independent session.
[0032] In the embodiment provided by the present application, the answer of the second intelligent assistant in the first independent conversation is related to the historical record of the second independent conversation, which can improve the pertinence and accuracy of the answer provided by the second intelligent assistant, so that the answer provided by the second intelligent assistant is more in line with user expectations.
[0033] In combination with the first aspect, in certain implementations of the first aspect, the at least one independent session also includes a second independent session, the second independent session is a session between the user and a third intelligent assistant, the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the first independent session and the second independent session are displayed simultaneously in the first application.
[0034] In combination with the first aspect, in certain implementations of the first aspect, the at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the first independent session and the second independent session are switched and displayed in the first application through a third operation of the user.
[0035] In combination with the first aspect, in some implementations of the first aspect, a history record of the first independent session can be viewed in the interface of the first independent session.
[0036] In combination with the first aspect, in certain implementations of the first aspect, the second interface includes at least one of the following: a welcome message, an icon or name of the second intelligent assistant, an icon or name of the service provider of the second intelligent assistant, a function introduction of the first independent session, and an exit control of the first independent session.
[0037] In a second aspect, a conversation device is provided, comprising: a processing module for displaying an interface of a main conversation in a first application, the main conversation being a conversation between a user and a first intelligent assistant provided by the first application; the processing module is also for displaying an interface of at least one independent conversation in the first application in response to a first operation of the user in the interface of the main conversation, the at least one independent conversation comprising a first independent conversation, the first independent conversation being a conversation between the user and a second intelligent assistant, the second intelligent assistant being an intelligent conversation service invoked by the first application for a first scenario.
[0038] In combination with the second aspect, in certain implementations of the second aspect, the second intelligent assistant is an intelligent dialogue service invoked by the first application for the first scenario, including: the second intelligent assistant provides an intelligent dialogue service for the first application for the first scenario, or the second intelligent assistant provides an intelligent dialogue service for the second application for the first scenario, and the first application is different from the second application.
[0039] In combination with the second aspect, in some implementations of the second aspect, the first operation includes: the user inputs a question in the interface of the main session, and the question is related to the first scenario.
[0040] In combination with the second aspect, in certain implementations of the second aspect, the processing module is also used to, after the answer provided by the second intelligent assistant to the question is displayed in the interface of the main session, the user performs a second operation on the answer, and in response to the second operation, the dialog box interface of the first independent session is displayed in the first application.
[0041] In combination with the second aspect, in certain implementations of the second aspect, the second operation includes: the user clicks on the content indication area of the answer or the indication area of the second intelligent assistant.
[0042] In combination with the second aspect, in certain implementations of the second aspect, the first operation includes: entering the name of the second intelligent assistant in the interface of the main session.
[0043] In combination with the second aspect, in certain implementations of the second aspect, the first operation also includes: inputting questions to be asked to the second intelligent assistant in the interface of the main conversation.
[0044] In combination with the second aspect, in certain implementations of the second aspect, the first intelligent assistant recommends multiple intelligent assistants in the interface of the main session, the second intelligent assistant is included in the multiple intelligent assistants, and the first operation includes: selecting the second intelligent assistant recommended by the first intelligent assistant.
[0045] In combination with the second aspect, in some implementations of the second aspect, the recommendation is determined based on the historical records of the main session and / or the historical records of the independent session.
[0046] In combination with the second aspect, in certain implementations of the second aspect, the first intelligent assistant provides multiple scenario suggestions in the interface of the main session, and the multiple scenario suggestions include questions about the first scenario; the first operation includes: the user selects the question about the first scenario.
[0047] In combination with the second aspect, in certain implementations of the second aspect, the processing module is also used to display an interface of a suggestion card in the first application, the first intelligent assistant recommends multiple intelligent assistants in the interface of the suggestion card, and the second intelligent assistant is included in the multiple intelligent assistants; in response to the user selecting the second intelligent assistant, the interface of the first independent session is displayed.
[0048] In combination with the second aspect, in certain implementations of the second aspect, the processing module is also used to display an interface of a suggestion card in the first application, the first intelligent assistant provides multiple scenario suggestions on the interface of the suggestion card, and the multiple scenario suggestions include questions about the first scenario; in response to the user selecting a question about the first scenario, the interface of the first independent session is displayed.
[0049] In combination with the second aspect, in certain implementations of the second aspect, the answer of the first intelligent assistant in the main conversation is related to the historical record of the first independent conversation.
[0050] In combination with the second aspect, in certain implementations of the second aspect, the answer of the second intelligent assistant in the first independent conversation is related to the historical record of the main conversation.
[0051] In combination with the second aspect, in certain implementations of the second aspect, the at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the answers of the second intelligent assistant in the first independent session are related to the historical records of the second independent session.
[0052] In combination with the second aspect, in certain implementations of the second aspect, the at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the first independent session and the second independent session are displayed simultaneously in the first application.
[0053] In combination with the second aspect, in certain implementations of the second aspect, the at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for the second scenario, and the first independent session and the second independent session are switched and displayed in the first application through the user's third operation.
[0054] In conjunction with the second aspect, in certain implementations of the second aspect, a history record of the first independent session can be viewed in the interface of the first independent session.
[0055] In combination with the second aspect, in certain implementations of the second aspect, the interface of the first independent session includes at least one of the following: a welcome message, an icon or name of the second intelligent assistant, an icon or name of the service provider of the second intelligent assistant, an introduction to the functions of the first independent session, and an exit control of the first independent session.
[0056] In a third aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to execute the program instructions stored in the memory to implement the method as described in the first aspect or any possible implementation method of the first aspect.
[0057] In a fourth aspect, a chip system is provided, comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the method described in the first aspect or any possible implementation method of the first aspect is implemented.
[0058] In a fifth aspect, a computer program product is provided, wherein the computer program product stores program instructions, and when the program instructions are run on a computer, the method described in the first aspect or any possible implementation of the first aspect is executed.
[0059] In a sixth aspect, a readable storage medium is provided, wherein the readable storage medium stores program instructions, and when the program instructions are executed on a computer, the method described in the first aspect or any possible implementation method of the first aspect is executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0061] Figure 2 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0062] Figure 3 is a schematic diagram of a dialogue method provided in an embodiment of the present application;
[0063] Figures 4 to 12 is a schematic diagram of a user interaction interface provided by an embodiment of the present application;
[0064] Fig.13 is a schematic structural block diagram of the system architecture provided in the embodiment of the present application;
[0065] Fig.14 is a schematic structural block diagram of a dialogue device provided in an embodiment of the present application;
[0066] Fig.15 It is a schematic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0068] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0069] In various embodiments of the present application, the first, second, etc. are only used to indicate that multiple objects are different. For example, the first smart assistant and the second smart assistant are only used to indicate different smart assistants. They should not have any impact on the smart assistants themselves and their number, etc. The first, second, etc. mentioned above should not impose any limitations on the embodiments of the present application.
[0070] The terms "include", "comprising", "having" and variations thereof all mean "including but not limited to", unless specifically emphasized otherwise.
[0071] For example, Figure 1 The figure is a schematic diagram of the hardware structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195.
[0072] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0073] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 100 in processing data or executing instructions.
[0074] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device.
[0075] It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic illustration and does not constitute a structural limitation on the electronic device 100 .
[0076] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the wearable device through the power management module 141.
[0077] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
[0078] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0079] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
[0080] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0081] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0082] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0083] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. The display screen 194 of the electronic device 100 can be a flexible screen.
[0084] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor, etc. The ISP is used to process the data fed back by the camera 193.
[0085] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
[0086] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.
[0087] The video codec is used to compress or decompress digital video. The electronic device 100 may support one or more video codecs.
[0088] NPU is a neural-network (NN) computing processor. It can quickly process input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn.
[0089] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0090] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the electronic device 100 to perform the methods provided in some embodiments of the present application, as well as various applications and data processing, etc. by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the electronic device 100 to perform the methods provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor 110. The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0091] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc. The touch sensor 180K may be integrated into the display screen 194 so that the display screen has a touch function and displays corresponding functions or images in response to a touch operation. The display screen 194 may also be referred to as a touch screen.
[0092] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the system runtime and system library, and the kernel layer. The application layer can include a series of application packages.
[0093] like Figure 2As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0094] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0095] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0096] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0097] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0098] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0099] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0100] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0101] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0102] The system runtime includes the core library and the virtual machine. The system runtime is responsible for the scheduling and management of the system. The system can be Hongmeng system, Android system, Windows system or Linux system, etc., and this application does not limit this.
[0103] The core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the system.
[0104] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0105] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0106] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0107] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0108] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0109] A 2D graphics engine is a drawing engine for 2D drawings.
[0110] The kernel layer is the layer between hardware and software. The kernel layer includes display driver, THP driver, camera driver, audio driver, and sensor driver. THP driver is used to realize the driver of the communication interface between the touch screen and the system on chip (SoC) and the control of the touch screen timing, such as the control of the serial peripheral interface (SPI) and universal serial bus (USB) interface.
[0111] Figure 3 It is a flowchart of a dialogue method provided in an embodiment of the present application. The method may include steps S310 to S320.
[0112] S310, displaying an interface of a main conversation in a first application, where the main conversation is a conversation between a user and a first intelligent assistant provided by the first application.
[0113] S320, in response to a first operation of the user in the interface of the main session, displaying the interface of at least one independent session in the first application, the at least one independent session including a first independent session, the first independent session being a session between the user and a second intelligent assistant, the second intelligent assistant being an intelligent dialogue service invoked by the first application for the first scenario.
[0114] Exemplarily, the first application may be a smart voice assistant application, the first application may be an application that comes with the electronic device, or the first application may be a third-party application downloaded by the user, for example, a third-party application that can provide knowledge questions and answers. The first intelligent assistant may be a functional part of the first application itself for providing intelligent dialogue services to the user, and the conversation between the first intelligent assistant and the user may be managed by the first application.
[0115] The second intelligent assistant is different from the first intelligent assistant, and the second intelligent assistant can be an intelligent dialogue service called by the first application. In a possible example, the second intelligent assistant can be an intelligent dialogue service provided by the first application for the first scenario. The second intelligent assistant can be a service with built-in configuration in the first application, and the second intelligent assistant can be configured in the first application in the form of an intelligent agent. Multiple agents can be configured in the first application, and the multiple agents can be service assistants for different scenarios, and the different scenarios can include, for example, knowledge questions and answers, travel services, shopping, writing, etc. When the multiple agents are for knowledge question and answer scenarios, the multiple agents can be used to answer questions about different topics raised by users. The multiple services may also include different services related to the same scenario. Multiple agents can be configured with knowledge content for the corresponding scenario to provide users with knowledge questions and answers related to the scenario or provide services related to the scenario. The first application can call the services configured in the first application to provide users with corresponding services.
[0116] In another possible example, the second intelligent assistant may be an intelligent dialogue service provided by a second application for the first scenario, and the second application is different from the first application. The second application may be a third-party application configured in the electronic device, and the first application may be configured with an application programming interface (API), which may be used for the first application to interact with other third-party applications, and the first application may call the second application through the API, and the second intelligent assistant of the second application may provide corresponding services to the user and be presented in the interface of the first application.
[0117] In a possible implementation, the first operation may include: a user inputting a question in the interface of the main session, where the question is related to the first scenario. That is, in response to the user inputting a question related to the first scenario in the interface of the main session, the interface of the main session may display the interface of at least one independent session.
[0118] For example, Figure 4 As shown in (a) in the figure, the first application may be the intelligent voice assistant Xiao E, and the interface 410 may be the conversation interface between the user and the first intelligent assistant of the Xiao E application, that is, the main conversation interface. The user may click the voice ball control 413 to input the question content by voice input and ask Xiao E a question, or the user may click the keyboard control 412 to input the question content by text input, or the user may click the extension control 414 to select a photo or file as the input content and extract the text content in the photo or file as the question content.
[0119] Figure 4 In the example shown, the user asks Xiao E "What is the use of ChatGPT?" Based on the question, Xiao E provides the user with an answer to the question, which may include the answer content "ChatGPT can understand the user's query" and the name of the assistant who provides the answer content "Knowledge Question and Answer Assistant A" 411. The "Knowledge Question and Answer Assistant A" may be a service for the knowledge question and answer scenario, and the "Knowledge Question and Answer Assistant A" may be the above-mentioned second intelligent assistant. The answer may also include a prompt content "The following answer is provided by Knowledge Question and Answer Assistant A", which may be displayed above the answer content. The assistant name may be displayed below the question answer content, and the user may click on the assistant name "Knowledge Question and Answer Assistant A" 411 to enter the conversation interface of the "Knowledge Question and Answer Assistant A", or the dialog box interface of the first independent conversation, to view the specific answer content provided by the "Knowledge Question and Answer Assistant A", and the position corresponding to the assistant name may be referred to as the indication area of the second intelligent assistant. In the conversation interface of the "Knowledge Question and Answer Assistant A", the user may enter a new question and ask the "Knowledge Question and Answer Assistant A" a question.
[0120] In this example, the assistant name "Knowledge Question Answering Assistant A" can be displayed as highlighted to distinguish it from other content on the interface. The XiaoE application determines the application scenario to which the question belongs based on the user's question content, and calls the corresponding type of service based on the determined application scenario to provide the user with an answer to the question.
[0121] In addition to providing the user with the answer to the question and the name of the assistant who answered the question, Xiao E can also provide the user with the reference source of the answer content, which can include relevant links of the answer content. The user can click the expansion control 416 of the reference source to view the relevant links. The answer content can be integrated by the second intelligent assistant based on the knowledge content in the relevant links. The answer content and the relevant content in the reference source can be the knowledge content configured in the second intelligent assistant.
[0122] In some embodiments, the user can also enter the conversation interface of the "knowledge quiz assistant A" by clicking on the answer content provided by the "knowledge quiz assistant A" in the main conversation interface. When the answer content provided by the "knowledge quiz assistant A" is long, an expansion control 415 can be provided after the answer content. The user can also enter the conversation interface of the "knowledge quiz assistant A" and view the specific content of the answer by clicking on the expansion control 415. The answer content and the expansion control 415 of the answer content can be called the content indication area of the answer.
[0123] The operation in which the user clicks on the answer content, the expansion control 415 of the answer content, or the assistant name can also be referred to as the second operation.
[0124] The conversation interface of the XiaoE application can be called the main conversation interface, and the conversation between the user and the XiaoE application can be called the main conversation. The conversation interface of the "Knowledge Question and Answer Assistant A" can be called an independent conversation interface, and the conversation between the user and the "Knowledge Question and Answer Assistant A" can be called an independent conversation. In other words, the independent conversation and the main conversation can be conversations between users and different objects, the independent conversation can be a conversation for a specific scene, and the independent conversation can be generated by the XiaoE application calling the service corresponding to a specific topic. On the main conversation interface, at least one independent conversation can be selected, retrieved, displayed, exited, or chat record management can be performed.
[0125] In the present application, the second intelligent assistant may also be called an agent, a service, etc. The present application does not limit the name of the second intelligent assistant.
[0126] Based on the content of the user's question, the XiaoE application can provide the user with an answer given by an intelligent assistant, or can provide answers given by multiple intelligent assistants. Figure 4In the interface 420 shown in (b) of the figure, according to the content of the question, Xiao E can provide not only the answer provided by "Knowledge Question Answering Assistant A", but also the answer provided by "Knowledge Question Answering Assistant B". "Knowledge Question Answering Assistant A" and "Knowledge Question Answering Assistant B" can be different intelligent assistants for the same scenario. The user can select the answer content he wants to view, or further enter the independent conversation interface of the intelligent assistant. The way for the user to enter the independent conversation interface of the intelligent assistant can be the same as above. Figure 4 The method described in (a) is similar to that in the figure. For example, you can click on the name control 421A or 421B of "Knowledge Question and Answer Assistant A" or "Knowledge Question and Answer Assistant B" to enter the corresponding independent conversation interface, or you can click on the content of the answer to enter the corresponding independent conversation interface, or you can click on the expansion control 425A or 425B of the answer content to enter the corresponding independent conversation interface.
[0127] The main conversation interface can be a full-screen interface or a half-screen interface. The user can wake up the voice assistant by using the wake-up word in any scenario. For example, when the electronic device is displayed as a desktop, the user says the wake-up word "Xiao E Xiao E", or when the user wakes up Xiao E by pressing and holding the power button or other shortcuts, the electronic device can display the conversation interface of the Xiao E application on the desktop in a half-screen display mode, and enter the questions to be asked on the interface by voice or text input, such as Figure 4 In response to the user clicking on the assistant name "Knowledge Question and Answer Assistant A" 431, the answer content or the expansion control 432 of the answer content, the display interface can jump to the conversation interface of the intelligent dialogue service and display the conversation interface of the service in full screen. When the scene in which the user activates the voice assistant is in the lock screen state, the user can be prompted to unlock first, and after the unlocking is completed, the conversation interface of the service is displayed.
[0128] The conversation interface of the Xiao E application can also be entered by clicking on the Xiao E application. For example, the desktop of the electronic device may include an icon of the Xiao E application. The user can click on the icon of the Xiao E application to enter the conversation interface of the Xiao E application and ask questions to Xiao E (not shown in the figure).
[0129] The main session interface may only display the answer to the current question by the "Knowledge Question and Answer Assistant A", or may display the historical messages in the "Knowledge Question and Answer Assistant A". Figure 4In the main conversation interface 440 shown in (d), in response to a question input by the user, the independent conversation interface 441 of the "Knowledge Question and Answer Assistant A" can be directly displayed in the interface of the main conversation, and the independent conversation interface 441 can be displayed in a local area of the main conversation interface 440, for example, it can be displayed below the question input by the user. The independent conversation interface 441 can include the answer of "Knowledge Question and Answer Assistant A" to the current question "What is chatGPT", and can also include historical questions such as "What is AI" and answers to historical questions. When the independent conversation interface 441 is displayed in a local area in the main conversation interface 440, if the answer content is long and the number of words exceeds the preset value, or the number of lines of the answer content exceeds the preset value, the answer content can be displayed in a folded manner. Part of the content of the answer content. In the independent conversation interface 441, the user can also slide the message content up and down to view the historical messages between the user and the "Knowledge Question and Answer Assistant A". Similar to the above Figure 4 Similarly to the examples described in (a) to (c) in the above, the independent conversation interface 441 may also include an expansion control 442. In response to the user clicking on the expansion control 442, the independent conversation interface 441 may display the complete answer of the "Knowledge Question and Answer Assistant A" to the question, or, in response to the user clicking on the expansion control 442, the independent conversation interface 441 may be displayed in the first application in a full-screen display mode. Alternatively, the user may also click on the answer content in the independent conversation interface 441 to display the independent conversation interface in a full-screen display mode. Alternatively, the user may also click on the name 443 of "Knowledge Question and Answer Assistant A" to display the independent conversation interface 441 in a full-screen display mode. When the independent conversation interface 441 is displayed in a full-screen display mode, the answer of "Knowledge Question and Answer Assistant A" to the question may be fully displayed in the independent conversation interface 441.
[0130] The above-mentioned first operation can be the above-mentioned click operation, and the first operation can also be a double-click or long press operation, which is not limited in this application.
[0131] In one possible implementation, the first operation may include inputting a name of the second intelligent assistant. That is, in response to the user inputting the name of the second intelligent assistant, an independent conversation interface of the second intelligent assistant may be displayed in the first application.
[0132] For example, Figure 5As shown in (a) of the figure, interface 510 may be the main conversation interface of the XiaoE application. The user may click keyboard control 511 to enable the keyboard and enter the name of the second intelligent assistant through text input. For example, in response to the user clicking keyboard control 511, the conversation interface may pop up a keyboard. In addition, candidate items may be displayed below the text input box. The candidate items may include a list of intelligent conversation services, that is, may include one or more assistant names, for example, may include Figure 5 In the interface 520 shown in (b), there are intelligent assistants for different application scenarios, such as "Knowledge Question and Answer Assistant A", "Travel Assistant" and "Conference Assistant", where "Knowledge Question and Answer Assistant A" can be an intelligent dialogue service related to knowledge questions and answers, "Travel Assistant" can be an intelligent dialogue service related to travel, and "Conference Assistant" can be an intelligent dialogue service related to the Huawei Developer Conference (HDC). Multiple different intelligent dialogue services can be recommended for the same application scenario. For example, in the knowledge question and answer service scenario, two different intelligent dialogue services, "Knowledge Question and Answer Assistant A" and "Knowledge Question and Answer Assistant B" (not shown in the figure), can be recommended.
[0133] Optionally, the candidate list may display the names of all intelligent dialogue services configured by the XiaoE application. When the number of intelligent dialogue services exceeds the display range of one screen, the user can slide up and down in the candidate list to view the intelligent dialogue services that are not exposed in the current display state, and the user can select the required intelligent dialogue service in the candidate list. Alternatively, the candidate list may only display the names of the intelligent dialogue services used in the historical conversation messages of the XiaoE application, for example, including the intelligent dialogue services that have answered user questions in the main conversation interface of the XiaoE application, or including the intelligent dialogue services that the user has entered in the independent conversation interface.
[0134] For another example, in response to the user activating the keyboard and clicking the text input box 521, the intelligent dialogue service list is displayed. Figure 5 In the interface 530 shown in (c), in response to the user enabling the keyboard and entering "@" in the text input box 531, the smart dialogue service list is displayed. This application does not limit the operation of calling up the smart dialogue service list.
[0135] In some embodiments, the intelligent assistant included in the intelligent dialogue service list may be determined by the first application based on the historical records of the main session and / or the historical records of the independent session.
[0136] Exemplarily, the smart assistants in the smart dialogue service list may be smart assistants included in the historical records of the first application, or the smart assistants in the smart dialogue service list may be smart assistants whose independent conversation interfaces the user has entered.
[0137] When the intelligent dialogue service list includes multiple intelligent dialogue services, the multiple intelligent dialogue services can be provided by the first application according to the historical usage time of each intelligent assistant. Figure 5 Among the intelligent dialogue services shown in (b) or (c), "Knowledge Question and Answer Assistant A" may be the most recently used intelligent dialogue service, while the last used time of "Travel Assistant" may be before the last used time of "Knowledge Question and Answer Assistant A", the last used time of "Meeting Assistant" may be before the last used time of "Travel Assistant", and so on.
[0138] When the intelligent dialogue service list includes multiple intelligent dialogue services, the multiple intelligent dialogue services can also be provided by the first application according to the historical access frequency of each intelligent assistant. Figure 5 Among the intelligent dialogue services shown in (b) or (c), "Knowledge Question and Answer Assistant A" may be the intelligent dialogue service with the highest historical visit frequency, the historical visit frequency of "Travel Assistant" may be less than the historical visit frequency of "Knowledge Question and Answer Assistant A", the historical visit frequency of "Meeting Assistant" may be less than the historical visit frequency of "Travel Assistant", and so on.
[0139] When the user calls out the intelligent dialogue service list by activating the keyboard, the order of each intelligent dialogue service in the called out intelligent dialogue service list can be updated according to information such as historical usage time or historical access frequency of each intelligent dialogue service.
[0140] It should be understood that when the intelligent dialogue service list includes multiple intelligent dialogue services, the multiple intelligent dialogue services can also be arranged in other orders. For example, the multiple intelligent dialogue services can be recommended by the XiaoE application based on historical message content within a certain period.
[0141] In some embodiments, the number of intelligent dialogue services included in the intelligent dialogue service list may be less than or equal to 12, for example, 10, 8, 5, 3, etc.
[0142] Furthermore, the user can select the required intelligent dialogue service from the candidate items, and the selected intelligent dialogue service name can be automatically filled in the text input box.
[0143] As an example, Figure 6 In the interface 610 and the interface 620 shown in (a) and (b) of FIG. 1 , after the user selects the required intelligent dialogue service, he can directly click the send control 611. In response to the user inputting the name of the "knowledge question and answer assistant A", the main conversation interface can display the independent conversation interface 621 of the "knowledge question and answer assistant A", and the independent conversation interface 621 can be used together with the above-mentioned Figure 4The independent conversation interface 441 described in (d) is similar to that described in (d) and will not be described again. In the case where the user does not input a question to ask the "knowledge question answering assistant A", the conversation content displayed in the independent conversation interface 621 may be a historical conversation record.
[0144] As another example, Figure 6 In the interface 630 and the interface 640 shown in (c) and (d), after the user selects the required intelligent dialogue service, such as "Knowledge Question and Answer Assistant A", he can further enter the content to be asked to "Knowledge Question and Answer Assistant A" in the input box. In response to the user clicking the send control 631, the content in the text input box is sent to the conversation interface. In other words, the first operation can be for the user to enter the name of the second intelligent assistant and the question to be asked to the second intelligent assistant. Accordingly, the "Knowledge Question and Answer Assistant A" can provide the user with the answer corresponding to the question. Figure 6 The interface shown in (d) can be used with Figure 4 The user can click on the name 642 of "Knowledge Question Answering Assistant A" in the interface 640 to enter the independent conversation interface of "Knowledge Question Answering Assistant A", or the user can click on the specific content of the answer to enter the independent conversation interface of "Knowledge Question Answering Assistant A", or the user can click on the expansion control 641 of the answer content to enter the independent conversation interface of "Knowledge Question Answering Assistant A". In this example, in response to the user inputting the name of "Knowledge Question Answering Assistant A" and the question to be asked to "Knowledge Question Answering Assistant A", the interface of the main conversation can also be similar to Figure 6 The interface shown in (b) is not limited in this application.
[0145] It should be understood that Figure 5 The candidate items shown include the names of the intelligent dialogue services, and may also display both the names of the intelligent dialogue services and the icons of each intelligent dialogue service. Users can click on the name of the intelligent dialogue service to select the intelligent dialogue service, or click on the intelligent dialogue service icon to select the intelligent dialogue service. This application does not limit this.
[0146] In one possible implementation, the first intelligent assistant can recommend multiple intelligent assistants in the interface of the main session, and the second intelligent assistant is included in the multiple intelligent assistants. The first operation may include: selecting the second intelligent assistant recommended by the first intelligent assistant.
[0147] For example, Figure 7 The interface 710 shown in (a) in FIG. 7 can be the main conversation interface. The conversation interface 710 can directly display the intelligent conversation service recommended by Xiao E to the user without going through Figure 5The list of intelligent dialogue services is displayed in the manner of waking up the keyboard as shown, and the interface 710 includes, for example, "Knowledge Question and Answer Assistant A" 711, "Knowledge Question and Answer Assistant B" 712, etc. The recommended intelligent dialogue service can be displayed at the bottom of the conversation interface 710, and the user can slide each intelligent dialogue service left and right to slide out the intelligent dialogue service that is not displayed on the screen. The user can select the required intelligent dialogue service. In response to the user clicking on the name of the intelligent dialogue service, the interface can jump to the independent conversation interface corresponding to the intelligent dialogue service. The list of intelligent dialogue service names can also be displayed in the middle area of the interface 710 in a top-to-bottom arrangement, for example, it can be displayed below the illustrated conversation bubble "Want to talk to Xiao E about something", such as Figure 7 As shown in interface 720 in (b), this application does not limit the display location of the list of intelligent dialogue service names.
[0148] and Figure 5 Similar to the list of intelligent dialogue services described in Figure 7 The smart conversation services included in the smart conversation service list described can be determined by the XiaoE application based on the history records of the main conversation and / or the history records of the independent conversation. For example, the smart assistants included in the smart conversation service list can be the smart assistants included in the historical messages of the main conversation, or the smart assistants included in the smart conversation service list can be the smart assistants whose independent conversation interfaces the user has entered. Furthermore, the smart assistants included in the smart conversation service list can be displayed by the XiaoE application based on the last access time, for example, Figure 7 In (a), the last time the intelligent dialogue services were used is getting longer and longer from the current time in the order from left to right. Figure 7 In (b), the last time the intelligent dialogue services were used is increasingly distant from the current time in descending order. Or, Figure 7 The intelligent dialogue services included in the described intelligent dialogue service list may be displayed according to historical access frequencies, for example, Figure 7 In (a), the historical access frequencies of the intelligent dialogue services arranged from left to right are decreasing. Figure 7 In (b), the historical access frequencies of the intelligent dialogue services arranged from top to bottom are decreasing.
[0149] It should be understood that the intelligent dialogue service list may also include the icon of the service, and this application does not limit this.
[0150] In one possible implementation, the first intelligent assistant may provide multiple scenario suggestions in the interface of the main session, and the multiple scenario suggestions may include questions about the first scenario. The first operation may include: the user selects a question about the first scenario.
[0151] For example, Figure 8 The interface 810 shown may be the main conversation interface of Xiao E, which may display questions recommended by Xiao E to the user, and the questions recommended by Xiao E may be associated with the intelligent service assistant supported by the Xiao E application. For example, "How to write a high-scoring composition" 811 may be associated with the writing-related service "Composition Tutoring Assistant", "HDC Conference Introduction" 812 may be associated with the HDC-related service "Conference Assistant", and "What is the use of chatGPT" 813 may be associated with the knowledge question-and-answer related service "Knowledge Question and Answer Assistant A". When the recommended questions include questions that the user wants to ask, the user can directly click on the corresponding question to ask the question. The recommended questions may include questions for different scenarios, or different questions for the same scenario.
[0152] In some embodiments, the multiple scenario suggestions recommended by the Xiao E application can be determined by the Xiao E application based on the historical records of the main session and / or the historical records of the independent session. For example, the questions included in the multiple scenario suggestions can be questions recommended based on the user's recent questions in the main session interface. If the user has recently searched for AI-related topics when using Xiao E, the multiple scenario suggestions may include questions related to the AI topic content of the question. Alternatively, the questions included in the multiple scenario suggestions can be questions recommended based on the frequency of questions asked by the user in the main session interface. If the questions asked by the user are mostly about AI topics, questions can be recommended based on the content of questions asked more frequently. Similarly, the questions included in the multiple scenario suggestions can also be questions recommended based on the user's recent questions in the independent session interface, or they can also be questions recommended based on the content of questions asked more frequently by the user in the independent session interface.
[0153] In one example, in response to a user clicking on the recommended question, the user may be directly redirected to an independent conversation interface of the intelligent dialogue service corresponding to the question, where the question selected by the user and the answer to the question may be displayed.
[0154] In another example, in response to the user clicking on the recommended question, the question can also be displayed on Xiao E's main conversation interface, and the answer to the question and the name of the corresponding intelligent conversation assistant can be displayed on Xiao E's conversation interface. For example, after the user clicks "What is the use of chatGPT" 813, the interface that jumps to can be similar to Figure 4 In the interface 410 shown in (a) of FIG. 1 , in response to the user clicking on the name of the intelligent dialogue service, the answer content, or the expansion control of the answer content, the independent conversation interface of the intelligent dialogue service is entered, or the jumped interface can also be similar to Figure 4 The interface shown in (d).
[0155] In a possible implementation, the user may also enter the independent conversation interface through the suggestion card interface.
[0156] As an example, the first application may display an interface of a suggestion card, the first smart assistant may recommend multiple smart assistants in the interface of the suggestion card, the second smart assistant may be included in the multiple smart assistants, and in response to the user selecting the second smart assistant, the interface of the first independent session is displayed.
[0157] like Fig. 9 The interface 910 shown in (a) in the figure may be the desktop of the electronic device, on which the interface of the suggestion card 911 of Little E may be displayed, and the suggestion card 911 may be called, for example, "Little E Suggestion". The suggestion card 911 may display the names of multiple smart assistants recommended by the first smart assistant of Little E application, for example, including the illustrated "Knowledge Question and Answer Assistant A" 912, "Knowledge Question and Answer Assistant B" 913, and "Travel Assistant" 914. The user may directly select the name of the smart assistant in the suggestion card 911 to enter the corresponding independent conversation interface.
[0158] With the above Figure 7 Similar to the described example, the intelligent assistant recommended in the suggestion card 911 can also be determined based on the history of the main conversation and / or the history of the independent conversation.
[0159] As another example, the first intelligent assistant may provide multiple scenario suggestions in the interface of the suggestion card, where the multiple scenario suggestions include questions about the first scenario, and in response to the user selecting the question about the first scenario, the interface of the first independent conversation is displayed.
[0160] like Fig. 9 The interface 920 shown in (b) is Fig. 9 Similarly to the example shown in (a) in FIG, the suggestion card 921 may display questions recommended to the user, and the recommended questions may be associated with the intelligent service assistant supported by Xiao E. In response to the user clicking on the recommended question 922, 923 or 924, the user may be redirected to the independent conversation interface of the intelligent dialogue service corresponding to the question. Alternatively, in response to the user clicking on the recommended question 922, 923 or 924, the user may be redirected to the main conversation interface of Xiao E, and the answer to the question and the name of the intelligent dialogue service may be displayed on the conversation interface of Xiao E.
[0161] In response to the user clicking on the blank area of "Little E Suggestions", that is, other areas except for the recommended questions, the user can enter the conversation interface of Little E, for example, the user can jump to Figure 5 The interface shown in (a).
[0162] With the above Figure 8 Similar to the described example, the questions recommended in the suggestion card 921 may also be determined based on the history of the main conversation and / or the history of the independent conversation.
[0163] In some embodiments, when the current display interface is the main session interface of the first application, the user can exit the main session interface, return to the interface of the suggestion card 911 or the suggestion card 921, and enter the independent session interface through the options in the suggestion card 911 or the suggestion card 921. For example, the user can start from the bottom edge of the screen and swipe upward to return to the desktop of the electronic device and enter the interface of the suggestion card 911 or the suggestion card 921.
[0164] Xiao E's suggestion card can be displayed in the form of a window on the desktop, or it can be displayed in full screen in the Xiao E application. This application does not limit this.
[0165] The conversation method provided in the embodiment of the present application provides an independent conversation entrance for users in the main conversation interface. Users can enter the independent conversation entrance to enjoy more focused services or conversations to solve problems on the topic of concern. Users can view historical messages about specific topics in the corresponding independent conversation, which can improve the user experience of the smart voice assistant, improve the efficiency of the smart voice assistant, and is conducive to user retention and the growth of user activity. For developers, they can establish private domain service experience and data through independent conversations, and convey brand subject cognition through assistant images.
[0166] Combination of the above Figures 4 to 9 The method of entering an independent session from a main session provided by this application is introduced, and the independent session interface is introduced below. Fig.10 The interface shown is the interface of the second intelligent assistant independent conversation. In response to the user clicking Figure 4 (a) to (c) Figure 6 The name of the intelligent dialogue service, the answer content, or the expansion control of the answer content shown in (d) in the figure, or in response to the user clicking Figure 7 to Figure 9 The recommended intelligent dialogue service or recommended question in the display interface can jump to the Fig.10 The independent conversation interface 1010 shown in (a) may be a full-screen independent conversation interface. When the independent conversation interface is displayed in a partial display in the main conversation interface, the user may also enter the full-screen independent conversation interface by clicking on the answer content, the expansion control of the answer content, or the name of the smart assistant in the partial display of the independent conversation interface. For example, you may click Figure 4 (d) Figure 6The answer in (b), the expansion control of the answer, or the name of the smart assistant to enter Fig.10 The independent conversation interface shown in (a) in FIG. The local independent conversation interface and the full-screen independent conversation interface are both independent conversation interfaces. When the independent conversation interface is displayed in a local display mode, the user can view historical messages in the independent conversation interface. When the independent conversation interface is displayed in a full-screen mode, the user can view historical messages in the independent conversation interface and ask questions to the intelligent assistant corresponding to the independent conversation in the independent conversation interface.
[0167] Exemplarily, the second intelligent assistant independent session interface 1010 may include an icon 1012 of the second intelligent assistant and the name of the second intelligent assistant “Conference Assistant”. The icon 1012 and the name of the second intelligent assistant may be displayed in the top function area 1011 of the independent session interface 1010 to prompt the user that the current interface is an independent session interface about the “Conference Assistant”.
[0168] Optionally, the conversation interface 1010 may also include a welcome message, which may be displayed in the guide bubble 1013. The welcome message may be, for example, the illustrated “Hello, I am a conference assistant”. The welcome message may appear when the user opens the independent conversation interface for the first time, or the welcome message may appear each time the user opens the independent conversation interface. The welcome message may be part of the historical message of the independent conversation, that is, the welcome message may be stored together with the conversation content of the conversation interface of the second intelligent assistant in the server corresponding to the second intelligent assistant. The number of characters in the welcome message may be related to the device type. For example, when the display device is a tablet computer, the number of characters in the corresponding welcome message may be more than the number of characters in the corresponding welcome message when the display device is a mobile phone.
[0169] Optionally, the guide bubble 1013 may also include a function introduction of the independent session, such as the illustrated “You can ask me about technology / AI / chip-related content”. In some embodiments, the function introduction may also be displayed in the top function area of the independent session, such as Fig.10 In the interface 1020 shown in (b), the top function area 1021 may include an expansion control 1022. In response to the user clicking the expansion control 1022, a function introduction of the independent session may be displayed.
[0170] Optionally, continue to see Fig.10In the interface shown in (a) of FIG. 1 , the independent conversation interface 1010 may also include a question list 1014, which may include questions recommended to the user. The user may directly click on the questions displayed in the question list to ask questions quickly without having to manually enter the question content. The question list 1014 may be displayed in the user's Figure 7 The question list 1014 may appear when the user enters the independent conversation interface in the manner shown. When the user obtains the entry channel of the independent conversation by inputting specific questions, the question list 1014 may not be displayed in the independent conversation interface. The number of questions included in the question list 1014 may be 3 as shown in the figure, or may be 1, 2 or more, etc. The number of questions included in the question list 1014 may be related to the type of display device. For example, when the display device is a tablet, the corresponding number of questions may be more than the corresponding number of questions when the display device is a mobile phone. The questions in the intelligent dialogue service list may be obtained by the electronic device from the cloud, or may be determined by the electronic device based on the historical messages of the independent conversation and presented in the conversation interface.
[0171] Exemplarily, the number of characters in the recommended question may be less than or equal to 20, including the number of punctuation marks. When the number of characters in the recommended question exceeds the number of characters that can be displayed in one line of the electronic device, the remaining characters may be displayed in the form of ellipsis.
[0172] When the user clicks on any question in the question list 1014, the question is displayed in the independent conversation interface in the form of a question, and accordingly, the guide bubble 1013 can be removed from the independent conversation interface, such as Fig.10 Alternatively, when there is no question that the user wants to ask in the recommended questions, the user can also input the question by voice or text input, and in response to the user inputting the question, the guide bubble can be removed from the independent conversation interface.
[0173] In the independent conversation interface, there is no need to display "The following answer is provided by XXX" before the answer content provided to the user, nor is there any need to display the name of the intelligent dialogue service that provides the answer to the question below the answer content.
[0174] Alternatively, if Fig.10 As shown in FIG. 1 , the top function area may also include an “Exit” control. In response to the user clicking the “Exit” control, the user may exit the independent session and return to the main session interface of Little E. Alternatively, the user may start from the left or right edge of the screen and swipe right or left, as shown in FIG. Fig.10As shown in (d) in the figure, the independent conversation interface is exited and returned to the main conversation interface of Xiao E. Alternatively, the user can also actively trigger the conversation content of the independent conversation interface to exit the interface of the independent conversation. For example, the user can enter "Conversation End" in the interface of the independent conversation to exit the current conversation interface. After returning to the main conversation interface of Xiao E, the bottom of Xiao E's conversation interface can display "Conversation with the conference assistant has ended" (not shown in the figure).
[0175] The content displayed on the interface of the independent conversation may be risk-controlled content. For example, the icon, name, function introduction, recommended questions and answers of the intelligent dialogue service corresponding to the independent conversation may all be risk-controlled content, so that the displayed content complies with legal provisions and moral constraints.
[0176] In some embodiments, the content of the independent session and the content of the main session can be stored separately. For example, the content of the main session can be stored in the server of the independent session service provider (such as the XiaoE application), and the content of the independent session can be stored in the server of the intelligent dialogue service (such as a third-party application).
[0177] The interface of an independent conversation can display multiple rounds of conversation history. After entering the independent conversation interface, the user can slide to view the historical message records within the scope of the independent conversation, but cannot see the historical messages of other independent conversations.
[0178] Multiple independent sessions can be managed in the main session application, and users can view multiple independent sessions based on multiple intelligent dialogue services by swiping left and right. Fig.11 As shown, the Fig.11 The interface 1110 shown in (a) may be an independent conversation interface of the "conference assistant". Fig.11 The interface 1120 shown in (b) may be an independent session interface of the "composition tutoring assistant". The "conference assistant" and the "composition tutoring assistant" may be intelligent service assistants that can be called by the application of the main session, for example, Figure 4 or Figures 5-6 The method described is displayed in the intelligent dialogue service of the main dialogue interface, or can be used by the user through Figures 7 to 9 The described method enters the intelligent dialogue service of the independent conversation interface. In response to the left swipe operation on the interface 1110, the interface 1120 can be switched. The user can also swipe right on the interface 1120 to switch to the interface 1110, and the user can further swipe left and right to view other independent conversation interfaces. The swipe operation of the switching service can be a swipe operation starting from the middle area of the interface. In this example, the left and right swipe operation of the user can be called the third operation.
[0179] Alternatively, users can click Fig.11 The name of the intelligent dialogue service in (a) is "Conference Assistant". A drop-down box may be displayed below the name of the intelligent dialogue service. The drop-down box may display the intelligent dialogue services that have been called in the main conversation history, so that the user can select the independent conversation interface that he wants to switch to, such as Fig.11 Interface 1130 shown in (c) in FIG. 1130. In this example, the operation of the user clicking the name of the intelligent dialogue service and selecting the intelligent dialogue service in the drop-down box may be referred to as the third operation.
[0180] In some embodiments, multiple independent sessions may also be displayed simultaneously in the first application. Fig.11 As shown in (d) of Figure 4 (d) and Figure 6 Similarly, the main conversation interface can display multiple independent conversation interfaces at the same time, and the interfaces of multiple independent conversations can be displayed in the main conversation interface in a partial display manner. When the user enters the corresponding dialog interface of the independent conversation or the independent conversation interface displayed in full screen, or the user calls out the intelligent service assistant corresponding to the independent conversation in the main conversation interface to provide an answer, the main conversation interface can display the one or more independent conversation interfaces. For example, when the user is Fig.11 When the interface described in (a) to (c) returns to the main session interface, the main session interface can display the independent session interface of the intelligent conversation assistant that was recently exited, or, as described above Figure 4 (d) or Figure 6 In the example described in (b), in response to the user inputting a question or the name of the intelligent assistant in the main session interface, the main session interface may also display the interface of the corresponding independent session. The content displayed in the interface of the one or more independent sessions may be the same as Fig.11 The display content of the independent conversation interface displayed in full screen mode described in (a) to (c) is similar, and the user can slide up and down in the area corresponding to the independent conversation interface to reveal the content such as the above-mentioned top function area.
[0181] The next time the user enters the independent conversation interface, he can slide to find the target independent conversation interface in the main conversation interface, and click the answer content, the expansion control of the answer content, or the assistant name in the independent conversation interface to display the independent conversation interface in full screen.
[0182] It should be understood that Fig.11 In the example shown in (d) of FIG. 1 , the user can also enter the dialog interface of the independent session by clicking anywhere in the independent session interface, so that the independent session interface is displayed in full screen mode. For example, the user can also click a question in the independent session interface or a blank area in the independent session interface to make the independent session interface appear in full screen mode. Fig.11The method described in (a) to (c) is displayed.
[0183] In some embodiments, in response to inputting a second round of questions in the independent conversation in the independent conversation interface, answers to the second round of questions are displayed, and the answers to the second round of questions may be answers generated based on the content of the first round of questions and the content of the second round of questions.
[0184] like Fig.12 In the interface 1210 shown, the user first inputs the first round of questions "What is the weather in Beijing on June 20?", and the "Travel Assistant" answers "It will be sunny in Beijing on June 20." Further, the user inputs the second round of questions "What about Shanghai?", and the "Travel Assistant" answers "It will be sunny in Shanghai on June 20." In this example, the second round of questions does not include content such as weather and date, and the second intelligent assistant of the "Travel Assistant" can determine what the user wants to ask in the second round of questions based on the historical conversation content, and provide corresponding answers to improve the accuracy of the answers.
[0185] Generating an answer to a current question based on the content of historical questions in an independent session and the content of the current question can improve the pertinence and accuracy of the answer provided by the independent session and better meet user expectations.
[0186] In some embodiments, the answer of the first intelligent assistant in the main session may be related to the historical record of the first independent session. The answer of the first intelligent assistant in the main session may refer to the answer to the question in the main session interface. The answer of the first intelligent assistant in the main session may be the answer provided by the first intelligent assistant itself, or the answer provided by the second intelligent assistant retrieved by the first application. Exemplarily, the user asks the second intelligent assistant "What is the weather in Beijing on June 20" in the session interface of "Weather Assistant". After returning to the interface of the main session, the user enters the question "What about Shanghai" in the interface of the main session. According to the historical messages in the first independent session, the interface of the main session may display the answer "It will be sunny in Shanghai on June 20". The answer of the first intelligent assistant in the main session is related to the historical record of the first independent session, which can make the answer in the main session more in line with user expectations and make the answer to the question more accurate.
[0187] In some embodiments, the answer of the second intelligent assistant in the first independent session can be related to the historical record of the main session. Exemplarily, in the historical message of the main session, the user asked the question "What is the weather in Shanghai on June 20th", and the "Weather Assistant" provided the answer to the user. When the user enters the interface of the first independent session, for example, when entering the independent session interface with the "Travel Assistant", the user enters the question "Query the ticket from Beijing to Shanghai" to the "Travel Assistant", then the "Travel Assistant" can provide the user with ticket information from Beijing to Shanghai on June 20th, and the answer provided by the "Travel Assistant" to the user can be provided by the "Travel Assistant" according to the question raised by the user in the main session. The answer of the second intelligent assistant in the first independent session is related to the historical record of the main session, which can improve the accuracy of the answer in the first independent session.
[0188] In some embodiments, the conversation contents between different independent conversations are associated. For example, the answers to the user's questions in independent conversation B can be generated based on the historical messages of the previous independent conversation A. Independent conversation A is provided by the intelligent conversation service A that can be called by the application of the main conversation, and independent conversation B is provided by the intelligent conversation service B that can be called by the application of the main conversation. The application scenarios for the two can be the same or different. For example, the user asks "What is the weather in Shanghai on June 20" in the independent conversation interface of "Weather Assistant", and "Weather Assistant" provides the user with the weather answer. Then, the user returns to the main conversation interface of the Xiao E application to query questions related to the ticket booking service, and "Travel Assistant" provides the user with ticket information. For example, the user enters "Beijing to Shanghai tickets", "Travel Assistant" can provide the user with Beijing to Shanghai ticket information, and the "Travel Assistant" can provide the user with Beijing to Shanghai ticket information on June 20 based on the historical messages in the independent conversation of "Weather Assistant".
[0189] Providing answers in the current independent conversation based on historical messages of other independent conversations or historical messages of the main conversation can make the provided answers more in line with user expectations, reduce the need for users to ask further detailed questions, and further improve the efficiency of using the intelligent voice assistant.
[0190] It should be noted that the above Figures 4 to 12 The interface shown is only used as an example to introduce the dialogue method provided in the embodiment of the present application, and should not limit the specific display content and display position of the electronic device interface.
[0191] Combination of the above Figures 3 to 12 The dialogue method provided in the embodiment of the present application is introduced. Figures 13 to 15 The system architecture, dialogue device and electronic device provided in the embodiments of the present application are introduced.
[0192] like Fig.13As shown, the system architecture may include a terminal, a development front end, and a nine-question framework. The development front end may be used to establish the above-mentioned first service. For example, the development front end may be used to generate and optimize a model to establish the intelligent dialogue service, and save information corresponding to the intelligent dialogue service. The terminal may be used to call and run the intelligent dialogue service. The nine-question framework is a software architecture for interacting with the terminal based on a large model. The nine-question framework may be used to call the resources of the intelligent dialogue service so that the intelligent dialogue service can run on the terminal side and can interact with the first application.
[0193] like Fig.14 As shown, the dialogue device 1400 may include a processing module 1410, which may be used to perform the processing operations in the above method embodiment, such as displaying a main dialogue interface, an independent dialogue interface, providing corresponding answers according to user questions, etc. The dialogue device 1400 may also include an acquisition module 1420, which may be used to acquire input operations acting on the interface, such as acquiring a first operation, a second operation, and a third operation, etc.
[0194] Fig.15 is a schematic structural block diagram of an electronic device provided by the present application, such as Fig.15 As shown, the electronic device 1500 may include: at least one processor 1510, and the processor 1510 is used to execute instructions stored in the memory to control the display device 1500 to execute the dialogue method described in the above method embodiment.
[0195] Optionally, the device 1500 further includes a memory 1520 for storing instructions, and the processor 1510 may be coupled to the memory 1520 .
[0196] In some embodiments, the processor 1510 and the memory 1520 may be combined into one processing device, and the processor 1510 is used to execute the program code stored in the memory 1520 to implement the above functions. In specific implementation, the memory 1520 may also be integrated into the processor 1510, or independent of the processor 1510.
[0197] The electronic device may be a mobile phone, a tablet computer, a laptop computer, a smart screen, a wearable device, etc. The embodiment of the present application does not limit the type of the electronic device.
[0198] The embodiment of the present application further provides a computer program product, which stores program instructions. When the program instructions are run on a computer, the method described in the above method embodiment is executed.
[0199] The embodiment of the present application further provides a readable storage medium, which stores program instructions. When the program instructions are executed on a computer, the method described in the above method embodiment is executed.
[0200] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0201] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0202] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0203] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0204] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0205] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0206] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A conversation method, applied to an electronic device, characterized in that: include: Displaying an interface of a main session in a first application, where the main session is a session between a user and a first intelligent assistant provided by the first application; In response to a first operation performed by a user on a first scenario in the interface of the main session, an interface of at least one independent session is displayed in the first application, wherein the at least one independent session includes a first independent session, wherein the first independent session is a session between the user and a second intelligent assistant, and the second intelligent assistant is an intelligent dialogue service invoked by the first application for the first scenario.
2. The method according to claim 1, characterized in that: The second intelligent assistant is an intelligent dialogue service called by the first application for the first scenario, including: The second intelligent assistant is an intelligent dialogue service provided by the first application for the first scenario, or, The second intelligent assistant is an intelligent dialogue service provided by a second application for the first scenario, and the first application is different from the second application.
3. The method according to claim 1 or 2, characterized in that: The first operation includes: The user inputs a question in the interface of the main session, where the question is related to the first scenario.
4. The method according to claim 3, characterized in that The method further comprises: After the answer provided by the second intelligent assistant to the question is displayed in the interface of the main session, the user performs a second operation on the answer, and in response to the second operation, a dialog box interface of the first independent session is displayed in the first application.
5. The method according to claim 4, characterized in that The second operation includes: The user clicks on the content indication area of the answer or the indication area of the second intelligent assistant.
6. The method according to claim 1 or 2, characterized in that: The first operation includes: inputting the name of the second intelligent assistant in the interface of the main session.
7. The method according to claim 6, characterized in that The first operation also includes: inputting questions to be asked to the second intelligent assistant in the interface of the main conversation.
8. The method according to claim 1 or 2, characterized in that: The first intelligent assistant recommends multiple intelligent assistants in the interface of the main session, and the second intelligent assistant is included in the multiple intelligent assistants; The first operation includes: selecting the second smart assistant recommended by the first smart assistant.
9. The method according to claim 8, characterized in that The recommendation is determined based on the history of the main session and / or the history of the independent session.
10. The method according to claim 1 or 2, characterized in that: The first intelligent assistant provides a plurality of scenario suggestions in the interface of the main session, wherein the plurality of scenario suggestions include questions about the first scenario; The first operation includes: the user selecting the question about the first scenario.
11. The method according to claim 10, characterized in that The scene suggestion is determined based on the history of the main session and / or the history of the independent session.
12. The method according to any one of claims 1 to 11, characterized in that The method further comprises: Displaying an interface of a suggestion card in the first application, wherein the first intelligent assistant recommends multiple intelligent assistants on the interface of the suggestion card, and the second intelligent assistant is included in the multiple intelligent assistants; In response to the user selecting the second intelligent assistant, the interface of the first independent conversation is displayed.
13. The method according to any one of claims 1 to 11, characterized in that The method further comprises: Displaying an interface of a suggestion card in the first application, wherein the first intelligent assistant provides a plurality of scenario suggestions on the interface of the suggestion card, wherein the plurality of scenario suggestions include questions about the first scenario; In response to a user selecting a question regarding the first scenario, an interface for the first independent conversation is displayed.
14. The method according to any one of claims 1 to 13, characterized in that The answer of the first intelligent assistant in the main conversation is related to the history of the first independent conversation.
15. The method according to any one of claims 1 to 14, characterized in that The answers of the second intelligent assistant in the first independent conversation are related to the history of the main conversation.
16. The method according to any one of claims 1 to 15, characterized in that The at least one independent session also includes a second independent session, wherein the second independent session is a session between the user and a third intelligent assistant, the third intelligent assistant is an intelligent dialogue service called by the first application for a second scenario, and the answer of the second intelligent assistant in the first independent session is related to the historical record of the second independent session.
17. The method according to any one of claims 1 to 16, characterized in that The at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for a second scenario, and the first independent session and the second independent session are displayed simultaneously in the first application.
18. The method according to any one of claims 1 to 17, characterized in that The at least one independent session also includes a second independent session, where the second independent session is a session between the user and a third intelligent assistant, where the third intelligent assistant is an intelligent dialogue service called by the first application for a second scenario, and the first independent session and the second independent session are switched and displayed in the first application through a third operation of the user.
19. The method according to any one of claims 1 to 18, characterized in that The history records of the first independent session can be viewed in the interface of the first independent session.
20. The method according to any one of claims 1 to 19, characterized in that The interface of the first independent session includes at least one of the following: Welcome message, icon or name of the second intelligent assistant, icon or name of the service provider of the second intelligent assistant, functional introduction of the first independent session, and exit control of the first independent session.
21. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to execute the program instructions stored in the memory to implement the method according to any one of claims 1 to 20.
22. A chip system, characterized in that: The method comprises a processor configured to read instructions stored in a memory, wherein when the processor executes the instructions, the method according to any one of claims 1 to 20 is implemented.
23. A computer program product, characterized in that The computer program product stores program instructions, and when the program instructions are run on a computer, the method according to any one of claims 1 to 20 is executed.
24. A readable storage medium, characterized in that: The readable storage medium stores program instructions, and when the program instructions are executed on a computer, the method according to any one of claims 1 to 20 is executed.
Citation Information
Patent Citations
Information interaction method and terminal based on voice assistants
CN108847229A
Interaction assistant recommendation method, intelligent terminal and computer readable storage medium
CN116304284A
Voice interaction method and device
CN116564304A
Assistant recommendation method and device, client and storage medium
CN117971090A
Cited By
Information interaction method and device, electronic equipment and computer readable medium
CN120560768A
Dialogue method and electronic device
WO2025260825A1
Conversation content display method and apparatus, terminal, and computer program product
WO2026200937A1