Method and apparatus for session interaction, and device and storage medium
By acquiring and utilizing configuration information to create target sessions, the problem of lack of configuration information in user interactions with multiple digital assistants is solved, thus improving interaction efficiency.
Patent Information
- Application Number
- PCT/CN2024/109602
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2026-02-05
AI Technical Summary
In existing technologies, the lack of configuration information in user interactions with multiple digital assistants leads to low interaction efficiency.
By detecting the triggering operation to create a target session, the system obtains configuration information that indicates that the interactions in the target session are associated with common characteristics of multiple target digital assistants, and responds to the creation request to create the target session.
It improves the efficiency of user interaction with multiple digital assistants and makes it convenient for digital assistants to interact with each other or with the user in a conversation according to their functions.
Smart Images

Figure CN2024109602_05022026_PF_FP_ABST
Abstract
Description
Methods, apparatus, devices, and storage media for conversational interaction Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and in particular to methods, apparatuses, devices, and computer-readable storage media for session interaction. Background Technology
[0002] With the development of information technology, various terminal devices can provide people with a variety of services in work and life. Applications providing these services can be deployed on these terminal devices. Terminal devices or applications can provide users with digital assistant functions to assist them in using the devices or applications. How to improve the flexibility of user interaction with digital assistants is a technical issue that needs to be explored.
[0003] Summary of the Invention
[0004] In a first aspect of this disclosure, a session interaction method is provided. The method includes: obtaining setting information for a target session based on detecting a triggering operation for creating a target session, wherein members of the target session include multiple target digital assistants, and the setting information indicates that interactions in the target session are associated with common features of the multiple target digital assistants; and creating the target session based on the setting information in response to detecting a creation request for the target session.
[0005] In a second aspect of this disclosure, an apparatus for session interaction is provided. The apparatus includes: an information acquisition device configured to acquire setting information for a target session based on detecting a trigger operation for creating a target session, wherein members of the target session include multiple target digital assistants, and the setting information indicates that interactions in the target session are associated with common features of the multiple target digital assistants; and a session creation module configured to create a target session based on the setting information in response to detecting a creation request for the target session.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0008] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0010] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figures 2A to 2J illustrate schematic diagrams of example interfaces for session interaction according to some embodiments of the present disclosure;
[0012] Figures 3A and 3B show schematic diagrams of example interfaces for adjusting setting information according to some embodiments of the present disclosure;
[0013] Figures 4A to 4D illustrate schematic diagrams of example interfaces for conversational interaction based on an assistant recommendation interface according to some embodiments of the present disclosure;
[0014] Figure 5 illustrates a flowchart of a session interaction process according to some embodiments of the present disclosure;
[0015] Figure 6 shows a block diagram of an apparatus for session interaction according to some embodiments of the present disclosure; and
[0016] Figure 7 shows a block diagram of an apparatus capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0017] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0018] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0019] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0020] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0021] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0023] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0024] In this document, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
[0025] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0026] As used in this paper, the term "model" refers to a system that learns the relationship between inputs and outputs from training data, enabling it to generate corresponding outputs for a given input after training. Model generation can be based on machine learning techniques. Deep learning is a machine learning algorithm that uses multiple layers of processing units to process inputs and provide corresponding outputs. In this paper, "model" may also be referred to as a "machine learning model," a "machine learning network," or simply a "network," and these terms are used interchangeably. A model can also include different types of processing units or networks.
[0027] As briefly mentioned earlier, people are increasingly collaborating with language model robots, expanding their capabilities by engaging in dialogue with digital assistants. Currently, users can interact with digital assistants in conversations with a single assistant (e.g., one-on-one chat). Users can also interact with digital assistants in conversations with multiple assistants (e.g., group chat). While in conversations with single and / or multiple assistants, messages can be replied to by assistants matching the user's intent, none of these conversations have any configuration information.
[0028] In view of this, embodiments of the present disclosure propose an improved scheme for session interaction. According to various embodiments of the present disclosure, if a triggering operation for creating a target session is detected, setting information for the target session is obtained. The members of the target session include multiple target digital assistants, and the setting information indicates that the interactions in the target session are associated with common features of the multiple target digital assistants. If a creation request for the target session is detected, the target session is created according to the setting information. Thus, it is possible to create sessions with setting information so that the digital assistants in the session can interact with each other or with the user according to the indicated functions, thereby improving the efficiency of interactions related to digital assistants.
[0029] Example Environment
[0030] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In this example environment 100, an application 120 is installed on a terminal device 110. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110.
[0031] In some embodiments, application 120 can be any suitable application that can provide query services. In environment 100 of FIG1, if application 120 is active, terminal device 110 can display page 150 of application 120. Page 150 may include various types of pages that application 120 can provide, such as information interaction pages, query pages, search pages, search result display pages, etc.
[0032] In some embodiments, terminal device 110 communicates with server 130 to provide services to application 120. Terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 110 can also support any type of user-facing interface (such as "wearable" circuitry). Server 130 can be various types of computing systems / servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.
[0033] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0034] The following description continues with reference to the accompanying drawings, which will now include some exemplary embodiments of this disclosure. It should be understood that the pages shown in the drawings are merely examples, and various page designs are possible in practice. The various graphic elements on the page may have different arrangements and different visual representations, one or more elements may be omitted or replaced, and one or more other elements may also be present. The embodiments of this disclosure are not limited in this respect. Furthermore, in the following description, exemplary embodiments will be primarily described with respect to terminal device 110. It should be understood that the actions described with respect to terminal device 110 may be performed by application 120 on terminal device 110, or may be performed by application 120 in conjunction with its server (e.g., server 130).
[0035] The process of using this disclosure for session interaction is described below with reference to Figures 2A to 2J. Figures 2A to 2J show schematic diagrams of example interfaces 200A to 200J for session interaction according to some embodiments of this disclosure.
[0036] In some embodiments, if the terminal device 110 detects a triggering operation to create a target session, it acquires configuration information for the target session. The members of the target session include multiple target digital assistants. In some embodiments, the configuration information of the target session indicates that interactions within the target session are associated with common characteristics of the multiple target digital assistants. In other words, the configuration information is used to specify that the topics of interactions performed in the target session are related to the common characteristics of these target digital assistants. For example, if these target digital assistants are related to music, the configuration information may indicate that topics related to music are discussed in the target session.
[0037] In some examples, the target session that user 140 needs to create may be a session that includes at least one digital assistant, such as a group chat session. In other examples, the target session that user 140 needs to create may be a session that includes one digital assistant, such as a one-on-one chat session. As shown in Figure 2A, user 140 can click the "Create Session" control 211 to create the target session. In some embodiments, the user can also click other "Create Session" controls to create the target session. The following will describe in detail, with reference to Figures 2G to 2J, the user clicking other "Create Session" controls to create the target session.
[0038] In some embodiments, user 140 can distribute target sessions with configuration information that they have created, meaning other users can search for target sessions with configuration information created by user 140. In some embodiments, user 140 can create their own target sessions based on sessions with configuration information distributed by other users. It is understood that user 140 can further modify the sessions distributed by other users and the corresponding configuration information. The following will describe in detail how users distribute their created target sessions and how they create target sessions based on sessions distributed by other users.
[0039] In some embodiments, if the terminal device 110 receives a trigger operation for creating a target session, the terminal device 110 may also present a session configuration area for the target session. The session configuration area includes at least one of the following: a first sub-area for selecting one or more target digital assistants, a second sub-area for presenting the title of the target session, or a third sub-area for presenting setting information.
[0040] As shown in the example interface 200B in Figure 2B, if the terminal device 110 detects that the user 140 clicks the "Create Session" control 211, then the session configuration area 221 is displayed. The session configuration area 221 may include a sub-area 224 for selecting one or more assistants, a sub-area 222 for displaying the title of the target session, and a sub-area 223 for displaying the setting information of the target session.
[0041] It is understood that the session configuration area 221 may include sub-areas 223 and 222 to create a target session with configuration information and one or more selected assistants as members. The session configuration area 221 may also include sub-areas 224, 223, and 222 to create a target session with a title and configuration information and one or more selected assistants as members. Additionally, the session configuration area 221 may also include sub-areas 224 and 222 to create a target session with a title and one or more selected assistants as members. The following description uses the example of the session configuration area 221 including sub-areas 224, 223, and 222 to illustrate the scheme for session interaction disclosed herein. However, this is merely exemplary, and this disclosure does not limit it.
[0042] The process of generating the title of the target session is described below with reference to Figures 2B to 2D.
[0043] In some embodiments, terminal device 110 presents the title of a target session in a second sub-region. In some embodiments, the title presented by terminal device 110 is generated based on corresponding configuration information of one or more target digital assistants. In some embodiments, terminal device 110 detects subsequent user actions if it detects a selection of one or more target digital assistants. If terminal device 110 does not detect subsequent user actions after a predetermined period of time, it presents the title of the target session.
[0044] As shown in the example interfaces 200B to 200D (Figures 2B to 2D), user 140 can select assistant A, assistant B, assistant C, or assistant D from at least one assistant presented in sub-area 224. After user 140 selects one or more assistants, if terminal device 110 does not detect any subsequent user action from user 140 after a predetermined time period (e.g., XXX seconds), it presents its automatically generated title 241, "Name A". During the automatic generation of title 241, terminal device 110 presents a prompt message 232, "Title generation in progress," in sub-area 222.
[0045] In some embodiments, the title 241 automatically generated by the terminal device 110 is generated based on the configuration information of Assistant A, Assistant B, Assistant C, and Assistant D selected by the user 140. In some embodiments, the user 140 can modify the title 241 generated by the terminal device 110 at any time. In some examples, the user 140 can also modify the title 241 at any time even if the terminal device 110 has not generated it.
[0046] In some embodiments, the members of the target session also include the target user who initiated the triggering operation to create the target session. In some embodiments, in the first sub-region, the state of the target user, or one or more target digital assistants, is indicated as selected. In some examples, when the target user initiates the creation of the target session, the terminal device 110 sets the state of the target user, or one or more digital assistants associated with the target user, to the selected state.
[0047] In some embodiments, if the triggering operation is associated with the target user's settings interface, the terminal device 110 presents the target user's information at a predetermined position in the first sub-area. In some examples, if the target user initiates the creation of the target session from its corresponding settings interface, the terminal device 110 presents the target user's information at a predetermined position in the first sub-area. As shown in the example interfaces 200I to 200J of Figures 2I to 2J, if the terminal device 110 detects that user A clicks the "Add Friend or Assistant" control 292 in its corresponding settings interface 291, then the terminal device 110 presents user A's information at the top position 2101 in the sub-area 224. In some examples, the terminal device 110 sets user A's status to a selected state, that is, the selection control 2102 corresponding to user A is in an unclickable state.
[0048] Accordingly, if the triggering operation is associated with the settings interface of a first digital assistant among one or more target digital assistants, the terminal device 110 presents the information of the first digital assistant at a predetermined location. In some examples, if the target user initiates the creation of a target session from the settings interface of the first digital assistant associated with it, the terminal device 110 presents the information of the first digital assistant at a predetermined location in a first sub-area. As shown in example interfaces 200G to 200H in Figures 2G to 2H, if the terminal device 110 detects that the target user clicks the "Add Friend or Assistant" control 272 in the settings interface 271 of the XX assistant, the terminal device 110 presents the information of the XX assistant at the top position 281 in the sub-area 224. In some examples, the terminal device 110 sets the status of the XX assistant to the selected state, that is, the selection control 282 corresponding to the XX assistant is in an unclickable state.
[0049] The following description will continue with reference to Figures 2D to 2E to describe the configuration information of the target session obtained by the terminal device.
[0050] In some embodiments, the terminal device 110 generates at least a portion of the setting information based on the session information of the target session. In some embodiments, the session information of the target session may include at least one of the following: the corresponding configuration information of the target digital assistant, the title of the target session, or the interaction history of the target session.
[0051] In some examples, terminal device 110 can generate at least a portion of the target session's configuration information based on the target session's title (which may be user-inputted or automatically generated). In some examples, after the target session's title exists, terminal device 110 can generate at least a portion of the target session's configuration information based on the corresponding configuration information of one or more target digital assistants selected by user 140. In some examples, terminal device 110 can also generate at least a portion of the target session's configuration information based on the most recently occurring interaction messages in the target session.
[0052] As shown in the example interfaces 200D to 200E of Figures 2D to 2E, if title 241 is displayed in area 222, the "Auto-Generate" control 242 corresponding to the setting information of the target session will be activated. After the "Auto-Generate" control 242 is activated, the terminal device 110 can generate at least a portion of the setting information 251 according to the corresponding configuration information of Assistant A, Assistant B, Assistant C, and Assistant D selected by the user 140, and display the setting information 251 in sub-area 223. In some examples, if the terminal device 110 detects that the user 140 clicks the "Auto-Generate" control 242, it will display at least a portion of the setting information 251 generated according to the corresponding configuration information of Assistant A, Assistant B, Assistant C, and Assistant D selected by the user 140, and display the setting information 251 in sub-area 223.
[0053] In some embodiments, terminal device 110 may determine at least a portion of the configuration information based on user input indicating the interaction topic in the target session. In other words, terminal device 110 may also receive user input that includes at least a portion of the configuration information. In some examples, user 140 may configure the configuration information for the target session. After terminal device 110 generates the configuration information for the target session, user 140 may also adjust the configuration information generated by terminal device 110.
[0054] In some embodiments, if the terminal device 110 acquires setting information, it presents an adjustment control for the setting information. Then, if the terminal device 110 detects a trigger on the adjustment control, it updates the setting information. Figures 3A and 3B illustrate schematic diagrams of example interfaces 300A to 300B for adjusting setting information according to some embodiments of the present disclosure. As shown in the example interfaces 200E and 300A to 300B of Figures 2E and 3A to 3B, after the terminal device 110 acquires the setting information, the "auto-generated" control 242 will switch to the adjustment control 311. If the terminal device 110 detects that the user 140 clicks the adjustment control 311, it can refine the generated setting information 251 (e.g., automatically beautify, extend, enrich, etc.) to update the setting information 251 to 321.
[0055] In some examples, user 140 can also directly input user input in sub-area 223 to adjust the settings information already generated by terminal device 110. User 140 can click the "Complete" control 322 to confirm the settings information for the target session. In some examples, sub-area 223 can display a predetermined number of characters (e.g., XX characters) of settings information. The number of characters in the settings information is set to adapt to the model's compliance capability. In some embodiments, terminal device 110 can also obtain predetermined information for the target session based on the user's actions in the assistant recommendation interface. A detailed description will follow below with reference to Figures 4A to 4C.
[0056] In some embodiments, if the terminal device 110 detects a request to create a target session, it creates the target session according to the setting information. As shown in the example interface 200E of FIG2E, if the terminal device 110 detects that the user 140 clicks the "Create Session" control 252, it creates the target session according to the setting information it has obtained.
[0057] In some examples, after user 140 selects an assistant such as Assistant A, Assistant B, Assistant C, Assistant D, etc., terminal device 110 determines the title and settings of the target session based on the corresponding configuration information of Assistant A, Assistant B, Assistant C, Assistant D, etc. Then, terminal device 110 creates the target session based on the obtained title and settings information. Accordingly, the members of the target session include Assistant A, Assistant B, Assistant C, Assistant D, etc.
[0058] In some embodiments, after creating a target session, user 140 can view the settings page corresponding to the target session. As shown in the example interface 200F of Figure 2F, after user 140 creates a target session titled "Name A", they can view the settings page 261 corresponding to the target session titled "Name A". The settings page 261 may include recommended information related to the target session titled "Name A", such as the title "Name A", description information 262, etc.
[0059] In some embodiments, during the creation of a target session by a user, terminal device 110 also presents an enable control for distributing the target session. If terminal device 110 detects a user triggering the enable control, it receives a distribution instruction to publish the target session. As shown in FIG2E, if terminal device 110 detects that user 140 clicks the enable control 253, it publishes the target session titled "Name A".
[0060] In some embodiments, terminal device 110 presents recommendation information for a target session in the assistant recommendation interface according to a distribution instruction for the target session. It is understood that if user 140 chooses to publish a target session they created, the recommendation information for that target session can be presented in the assistant recommendation interface.
[0061] In some embodiments, the terminal device 110 presents corresponding recommendation information for multiple sessions, including the target session, in the assistant recommendation interface. The corresponding information for multiple sessions can be presented in the assistant recommendation interface based on grouping of the multiple sessions. In some examples, the terminal device 110 presents recommendation information for multiple sessions that have been published in the assistant recommendation interface. Multiple sessions can be grouped, and then recommendation information for each group of sessions can be presented in the assistant recommendation interface.
[0062] Distributed sessions can be grouped according to various suitable criteria. In some embodiments, the grouping of multiple sessions can be determined based on the degree of overlap of the digital assistants included in the multiple sessions. For example, session A includes AA assistant, BB assistant, CC assistant, etc., and session B includes AA assistant, CC assistant, etc. If it can be determined that the digital assistants included in session A and session B have a high degree of overlap, then session A and session B can be identified as a group.
[0063] In some embodiments, the grouping of multiple sessions can be determined based on the relevance of their respective configuration information. For example, if the semantic relevance of the configuration information of session A to that of session D is high (e.g., above a threshold), then sessions A and D can be identified as a group.
[0064] In some embodiments, multiple sessions can be grouped based on their creation source. For example, if session A is a secondary creation by a creator based on session XX, and session C is a secondary creation by another creator also based on session XX, then sessions A and C can be identified as a group.
[0065] In some examples, all published group chats require the initiator to enable the enable control. Disabling the enable control immediately renders the session unpublishable. For compliant sessions, re-enabling the enable control automatically restores them to a publishable state. If a session is disbanded or closed for security reasons, it also becomes unpublishable. In some embodiments, users can enable the enable control to consent to the publication of the session. Administrators will subsequently analyze and filter whether group chats consented to by users can be published.
[0066] The following description, with reference to Figures 4A to 4C, describes how terminal device 110 obtains pre-defined information for a target session based on user actions in the assistant recommendation interface. Figures 4A to 4D illustrate schematic diagrams of example interfaces 400A to 400C for session interaction based on the assistant recommendation interface according to some embodiments of the present disclosure.
[0067] In some embodiments, the terminal device 110 presents recommendation information related to a created first session in an assistant recommendation interface. Members of the first session include one or more target digital assistants. In some embodiments, the recommendation information includes descriptive information about the first session generated based on its settings and title. In some examples, the recommendation information includes descriptive information about the first session, generated by the terminal device 110 based on the settings and title of the first session. If the title and / or settings of the first session are updated, the descriptive information is also updated. In some embodiments, the recommendation information may further include the title of the first session, the settings of the first session, or information about members belonging to the first session.
[0068] As shown in Figures 4A and 4B, if user 140 chooses to publish a session titled "Name A" that they created, terminal device 110 can display the session titled "Name A" in the "Popular" list 412 and / or "Session" list 421 included in the assistant recommendation interface 411. In some embodiments, terminal device 110 can display relevant recommendation information 413 for the session titled "Name A" in the "Popular" list 412 and / or "Session" list 421. The recommendation information 413 may include descriptive information 262 about the session titled "Name A", the number of members in the session titled "Name A", the identification information of the session titled "Name A", the setting information of the session titled "Name A", etc.
[0069] In some embodiments, if the terminal device 110 detects a preset operation for the first session, it determines the configuration information of the target session based on the configuration information of the first session. As shown in the example interface 400A of FIG4A, the user 140 can click anywhere in area 414 where the session titled "Name A" is located to create a target session with the same configuration information as the session titled "Name A". It is understood that the user 140 can create a completely new session according to the configuration of the session titled "Name A".
[0070] As shown in Figures 4A and 2B, after user 140 clicks on any location in area 414 where the session titled "Name A" is located, terminal device 110 can display session configuration area 221. Session configuration area 221 may include sub-areas 224 for selecting one or more assistants, sub-areas 222 for displaying the title of the target session, and sub-areas 223 for displaying the settings information of the target session. At this time, the title displayed by terminal device 110 in sub-area 222 can be "Name A," and the settings information displayed in sub-area 223 is the settings information corresponding to the session titled "Name A."
[0071] Understandably, creating a session from the assistant's recommended interface simply uses the settings and title of an existing session selected by user 140. The members of the newly created target session are not the same as those of the existing session selected by user 140. For example, if user A uses group X created by user B to create a new group XX, then group XX can have the same name and settings as group X, but the members will be different. In some embodiments, user 140 can further edit all content in the session configuration area 221 to create the target session.
[0072] In some embodiments, the assistant recommendation interface also presents an add control for the first session. In some embodiments, if the terminal device 110 detects that the user 140 clicks the add control, it determines the setting information of the target session based on the setting information of the first session, and then creates the target session. As shown in FIG4A, the terminal device 110 also presents an add control 415 for the session titled "Name A" in the assistant recommendation interface 411. If the terminal device 110 detects that the user 140 clicks the add control 415, it determines the setting information of the target session based on the setting information of the session titled "Name A", and then creates the target session.
[0073] In some embodiments, if the terminal device 110 detects a preset operation, it presents guidance information for the target session on the creation guidance interface. Then, the terminal device 110 receives the user operation via the creation guidance interface and creates the target session based on the setting information of the target session.
[0074] As shown in the example interfaces 400A to 400C (Figures 4A to 4C), if user 140 clicks on the non-add control 415 corresponding to the session titled "Name A", user 140 can directly enter the session titled "Name A". For example, user 140 can view the greeting interaction information 432 of the session titled "Name A" on the creation guide interface 431. When user 140 sends content or modifies the information related to the session titled "Name A", the terminal device 110 creates the target session according to the target session's settings.
[0075] In some embodiments, terminal device 110 receives a query request for a digital assistant via an assistant recommendation interface. If a first session matches the query request, at least recommended information related to the first session is presented. As shown in example interface 400D of FIG4D, user 140 can enter a query request in the search box 441 included in the assistant recommendation interface 411. Based on the user 140's query request, terminal device 110 presents recommended information for at least one target session matching the user 140's query request, and / or information for at least one digital assistant, on the assistant recommendation interface 411. In some embodiments, the user can perform a search based on the session title, session settings, session description, member information included in the session, etc.
[0076] In summary, based on the user's selection of at least one digital assistant, a session associated with the corresponding configuration information of at least one digital assistant can be created, thereby improving the convenience of user interaction with the digital assistant.
[0077] Example process
[0078] Figure 5 shows a flowchart of a process 500 for session interaction according to some embodiments of the present disclosure. Process 500 can be implemented at terminal device 110. Process 500 is described below with reference to Figure 1.
[0079] In box 510, terminal device 110 obtains setting information for the target session based on the detection of a trigger operation for creating the target session. The members of the target session include multiple target digital assistants, and the setting information indicates that the interactions in the target session are associated with common features of the multiple target digital assistants.
[0080] In box 520, terminal device 110 creates a target session based on configuration information in response to detecting a creation request for the target session.
[0081] In some embodiments, obtaining configuration information for a target session includes at least one of the following: generating at least a portion of the configuration information based on session information of the target session, or determining at least a portion of the configuration information based on user input indicating the interaction topics in the target session.
[0082] In some embodiments, the session information includes at least one of the following: the corresponding configuration information of multiple target digital assistants, the title of the target session, or the interaction history in the target session.
[0083] In some embodiments, process 500 further includes: in response to obtaining setting information, presenting an adjustment control for the setting information; and in response to detecting a trigger on the adjustment control, updating the setting information.
[0084] In some embodiments, process 500 further includes: in response to a triggering operation, presenting a session configuration area for a target session, the session configuration area including at least one of the following: a first sub-area for selecting one or more target digital assistants, a second sub-area for presenting the title of the target session, or a third sub-area for presenting setting information.
[0085] In some embodiments, process 500 further includes: in a second sub-region, presenting a title of a target session, wherein the presented title is generated based on corresponding configuration information of one or more target digital assistants.
[0086] In some embodiments, presenting the title of the target session includes: detecting subsequent user action in response to receiving a selection of one or more target digital assistants; and presenting the title of the target session in response to no subsequent user action being detected after a predetermined period of time.
[0087] In some embodiments, the members of the target session also include the target user who initiated the triggering action, and in the first sub-region, the status of at least one of the following is indicated as selected: the target user, or one or more target digital assistants.
[0088] In some embodiments, process 500 further includes: in response to a triggering operation associated with the settings interface of a target user, presenting the target user's information at a predetermined location in a first sub-region; and in response to a triggering operation associated with the settings interface of a first digital assistant among one or more target digital assistants, presenting the first digital assistant's information at a predetermined location.
[0089] In some embodiments, obtaining setting information for a target session includes: presenting recommendation information related to a first session that has been created in an assistant recommendation interface, wherein the members of the first session include one or more target digital assistants; and determining setting information for the target session based on the setting information of the first session, based on the detected preset operation for the first session.
[0090] In some embodiments, the recommendation information includes a description of the first session generated based on the settings and title of the first session.
[0091] In some embodiments, the assistant recommendation interface also presents an add control for the first session, and the preset operation includes triggering the add control.
[0092] In some embodiments, creating a target session includes: in response to a preset operation, presenting guidance information for the target session in a creation guidance interface; and in response to receiving a user operation via the creation guidance interface, creating a target session based on the setting information of the target session.
[0093] In some embodiments, recommended information related to a first session that has been created is presented: a query request for a digital assistant is received via an assistant recommendation interface; and in response to a match between the first session and the query request, at least recommended information related to the first session is presented.
[0094] In some embodiments, the recommended information includes at least one of the following: the title of the first session, the settings of the first session, or information about the members of the first session.
[0095] In some embodiments, process 500 further includes: presenting recommendation information for the target session in the assistant recommendation interface based on the distribution instruction for the target session.
[0096] In some embodiments, the assistant recommendation interface presents corresponding recommendation information for multiple sessions, including the target session, and the corresponding recommendation information for the multiple sessions is presented in the assistant recommendation interface according to the grouping of the multiple sessions.
[0097] In some embodiments, the grouping of multiple sessions is determined based on at least one of the following: the degree of overlap of the digital assistants included in the multiple sessions, the relevance of the corresponding setting information of the multiple sessions, or the creation source of the multiple sessions.
[0098] In some embodiments, the distribution instruction is received as follows: an enable control for distributing a target session is presented; and the distribution instruction is received in response to a triggering operation on the enable control.
[0099] Example devices and equipment
[0100] Figure 6 shows a schematic structural block diagram of a device 600 for session interaction according to certain embodiments of the present disclosure. Device 600 may be implemented as or included in terminal device 110. The various modules / components in device 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0101] As shown in the figure, device 600 includes an information acquisition module 610, configured to acquire setting information for a target session based on the detection of a trigger operation for creating a target session. The target session includes multiple target digital assistants, and the setting information indicates that interactions within the target session are associated with common characteristics of the multiple target digital assistants. Device 600 also includes a session creation module 620, configured to create a target session based on the setting information in response to the detection of a creation request for the target session.
[0102] In some embodiments, the information acquisition module 610 is further configured to generate at least a portion of the setting information based on the session information of the target session, or to determine at least a portion of the setting information based on user input indicating the interaction topic in the target session.
[0103] In some embodiments, the session information includes at least one of the following: the corresponding configuration information of multiple target digital assistants, the title of the target session, or the interaction history in the target session.
[0104] In some embodiments, the device 600 further includes an information update module configured to, in response to obtaining setting information, present an adjustment control for the setting information; and in response to detecting a trigger on the adjustment control, update the setting information.
[0105] In some embodiments, the device 600 further includes a region presentation module configured to present a session configuration region for a target session in response to a trigger operation. The session configuration region includes at least one of the following: a first sub-region for selecting one or more target digital assistants, a second sub-region for presenting the title of the target session, or a third sub-region for presenting setting information.
[0106] In some embodiments, the device 600 further includes a title presentation module configured to present a title of a target session in a second sub-region, wherein the presented title is generated based on corresponding configuration information of one or more target digital assistants.
[0107] In some embodiments, the title presentation module is further configured to detect subsequent user actions in response to receiving a selection of one or more target digital assistants; and to present a title of the target session in response to no subsequent user actions being detected after a predetermined period of time.
[0108] In some embodiments, the members of the target session also include the target user who initiated the triggering action, and in the first sub-region, the status of at least one of the following is indicated as selected: the target user, or one or more target digital assistants.
[0109] In some embodiments, the device 600 further includes an information presentation module configured to, in response to a trigger operation and associated with the settings interface of a target user, present the target user's information at a predetermined location in a first sub-region; and, in response to a trigger operation and associated with the settings interface of a first digital assistant among one or more target digital assistants, present the first digital assistant's information at a predetermined location.
[0110] In some embodiments, the information acquisition module 610 is further configured to present recommendation information related to a first session that has been created in an assistant recommendation interface, wherein the members of the first session include one or more target digital assistants; and to determine the setting information of a target session based on the setting information of the first session, based on the detection of a preset operation for the first session.
[0111] In some embodiments, the recommendation information includes a description of the first session generated based on the settings and title of the first session.
[0112] In some embodiments, the assistant recommendation interface also presents an add control for the first session, and the preset operation includes triggering the add control.
[0113] In some embodiments, the session creation module 620 is further configured to, in response to a preset operation, present guidance information for the target session in the creation guidance interface; and, in response to receiving a user operation via the creation guidance interface, create the target session based on the setting information of the target session.
[0114] In some embodiments, the information presentation module is further configured to receive a query request for the digital assistant via an assistant recommendation interface; and in response to a first session matching the query request, to present at least the recommendation information related to the first session.
[0115] In some embodiments, the recommended information includes at least one of the following: the title of the first session, the settings of the first session, or information about the members of the first session.
[0116] In some embodiments, the device 600 further includes a recommendation information presentation module configured to present recommendation information for a target session in an assistant recommendation interface based on a distribution instruction for the target session.
[0117] In some embodiments, the assistant recommendation interface presents corresponding recommendation information for multiple sessions, including the target session, and the corresponding recommendation information for the multiple sessions is presented in the assistant recommendation interface according to the grouping of the multiple sessions.
[0118] In some embodiments, the grouping of multiple sessions is determined based on at least one of the following: the degree of overlap of the digital assistants included in the multiple sessions, the relevance of the corresponding setting information of the multiple sessions, or the creation source of the multiple sessions.
[0119] In some embodiments, the distribution instruction is received as follows: an enable control for distributing a target session is presented; and the distribution instruction is received in response to a triggering operation on the enable control.
[0120] Figure 7 illustrates a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 700 shown in Figure 7 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 700 shown in Figure 7 can be used to implement the terminal device 110 or server 130 of Figure 1.
[0121] As shown in Figure 7, the electronic device 700 is in the form of a general-purpose electronic device. Components of the electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage devices 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in the memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
[0122] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.
[0123] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0124] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0125] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0126] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0127] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0128] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0129] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0130] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0131] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A conversational interaction method, comprising: Based on the detection of a triggering operation for creating a target session, setting information for the target session is obtained. The members of the target session include multiple target digital assistants, and the setting information indicates that the interactions in the target session are associated with common features of the multiple target digital assistants. as well as In response to detecting a creation request for the target session, the target session is created based on the configuration information.
2. The method according to claim 1, wherein obtaining the setting information for the target session includes at least one of the following: Based on the session information of the target session, at least a portion of the set information is generated, or At least a portion of the setting information is determined based on user input indicating the interactive topic in the target session.
3. The method of claim 2, wherein the session information includes at least one of the following: The corresponding configuration information of the multiple target digital assistants, The title of the target session, or The interaction history in the target session.
4. The method according to claim 1, further comprising: In response to obtaining the setting information, an adjustment control for the setting information is presented; as well as In response to detecting a trigger on the adjustment control, the setting information is updated.
5. The method according to claim 1, further comprising: In response to the triggering operation, a session configuration area for the target session is presented, the session configuration area including at least one of the following: Used to select a first sub-region of the one or more target digital assistants. A second sub-area used to present the title of the target session, or The third sub-region is used to display the specified information.
6. The method according to claim 5, further comprising: In the second sub-area, the title of the target session is presented, wherein the presented title is generated based on the corresponding configuration information of the one or more target digital assistants.
7. The method of claim 6, wherein presenting the title of the target session comprises: In response to receiving a selection of one or more target digital assistants, subsequent user actions are detected; as well as If no subsequent user action is detected after a predetermined period of time, the title of the target session is displayed.
8. The method of claim 3, wherein the member of the target session further includes the target user who initiated the triggering operation, and in the first sub-region, at least one of the following states is indicated as selected: The target user, or The one or more target digital assistants.
9. The method according to claim 3, further comprising: In response to the triggering operation being associated with the target user's settings interface, the target user's information is presented at a predetermined location in the first sub-area; as well as In response to the triggering operation being associated with the settings interface of the first digital assistant among the one or more target digital assistants, information of the first digital assistant is presented at the predetermined location.
10. The method of claim 1, wherein obtaining the setting information for the target session includes: The assistant recommendation interface displays recommendation information related to the first session that has been created, where the members of the first session include the one or more target digital assistants. as well as Based on the detected preset operation for the first session, and based on the setting information of the first session, the setting information of the target session is determined.
11. The method of claim 10, wherein the recommendation information includes description information of the first session generated based on the settings information and title of the first session.
12. The method of claim 10, wherein the assistant recommendation interface further presents an add control for the first session, and the preset operation includes triggering the add control.
13. The method of claim 10, wherein creating the target session comprises: In response to the preset operation, guidance information for the target session is presented in the creation guidance interface; as well as In response to receiving a user operation via the creation guide interface, the target session is created based on the setting information of the target session.
14. The method of claim 10, wherein recommendation information related to the first session that has been created is presented: Receive query requests for the digital assistant via the assistant recommendation interface; and In response to a match between the first session and the query request, at least the recommendation information related to the first session is presented.
15. The method of claim 10, wherein the recommendation information comprises at least one of the following: The title of the first session, The settings information of the first session, or Information about members belonging to the first session.
16. The method according to claim 1, further comprising: Based on the distribution instruction for the target session, recommendation information for the target session is presented in the assistant recommendation interface.
17. The method of claim 16, wherein the assistant recommendation interface presents corresponding recommendation information for multiple sessions, the multiple sessions including the target session, and the corresponding recommendation information for the multiple sessions is presented in the assistant recommendation interface according to the grouping of the multiple sessions.
18. The method of claim 17, wherein the grouping of the plurality of sessions is determined based on at least one of the following: The degree of overlap of the digital assistants included in the multiple sessions, The relevance of the corresponding settings information of the multiple sessions, or The sources of creation for the multiple sessions.
19. The method of claim 16, wherein the distribution instruction is received as follows: Present an enable control for distributing the target session; and The distribution instruction is received in response to the triggering operation of the enabled control.
20. An apparatus for conversational interaction, comprising: The information acquisition module is configured to acquire setting information for the target session based on the detection of a trigger operation for creating a target session, wherein the members of the target session include one or more target digital assistants, and the setting information indicates that the interactions in the target session are associated with common features of the multiple target digital assistants; as well as The session creation module is configured to create the target session based on the setting information in response to detecting a creation request for the target session.
21. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 19.
22. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 19.
Citation Information
Patent Citations
Multi-role intelligent chatting method and system
CN105975622A
Chat method based on virtual chat role and related device
CN113987148A
Processing method for generating AI with simulated personality based on preset cue word data
CN116860924A
Session method, system, device and equipment for human-computer interaction and storage medium
CN117196038A
Method and device for carrying out session with virtual character and electronic equipment
CN118192868A