Method and device for session interaction, equipment and storage medium
By configuring a digital assistant to replace users' interactions with other users, the problem of insufficient user interaction flexibility is solved, the automatic reply function is realized, and the assistance efficiency is improved.
Patent Information
- Application Number
- CN202311553252.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-11-20
AI Technical Summary
The prior art is difficult to improve the flexibility of interaction between users and digital assistants, especially when users are inconvenient to reply, there is a lack of an automatic reply mechanism to improve assistance efficiency.
By receiving user configuration operations, the digital assistant is configured to replace the user's interaction with other users, and displays an interaction portal in the interface associated with the user, allowing other users to interact with the digital assistant to realize the automatic reply function.
It improves the assistance efficiency of digital assistants and can automatically respond to questions when users are inconvenient to reply, enhancing the flexibility and efficiency of user interaction.
Smart Images

Figure CN119002741A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for conversation interaction. Background Art
[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. Applications that provide services can be deployed in terminal devices. Terminal devices or applications can provide users with digital assistant functions to assist users in using terminal devices or applications. How to improve the flexibility of interaction between users and digital assistants is a technical issue that needs to be explored at present. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for conversation interaction is provided. The method includes: receiving a configuration operation from a first user, the configuration operation being used to configure a first digital assistant to interact with a second user on behalf of the first user; and in response to the configuration operation taking effect, displaying an interaction entrance of the first digital assistant in an interface associated with the first user, so that the second user can interact with the first digital assistant.
[0004] In a first aspect of the present disclosure, a method for conversation interaction is provided. The method includes: displaying an interaction portal of a first digital assistant in an interface associated with a first user; in response to receiving a trigger operation on the interaction portal from a second user, displaying a conversation interface between the second user and the first digital assistant; and performing interaction between the first digital assistant and the second user in the conversation interface.
[0005] In a third aspect of the present disclosure, a device for conversation interaction is provided. The device includes: a configuration operation receiving module configured to receive a configuration operation from a first user, the configuration operation being used to configure a first digital assistant to interact with a second user instead of the first user; and an interaction entry display module configured to display an interaction entry of the first digital assistant in an interface associated with the first user in response to the configuration operation taking effect, so that the second user can interact with the first digital assistant.
[0006] In a fourth aspect of the present disclosure, a device for conversation interaction is provided. The device includes: an interaction portal display module configured to display an interaction portal of a first digital assistant in an interface associated with a first user; a conversation interface display module configured to display a conversation interface between the second user and the first digital assistant in response to receiving a trigger operation on the interaction portal from a second user; and an execution module configured to execute the interaction between the first digital assistant and the second user in the conversation interface.
[0007] In a fifth aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect and / or the second aspect.
[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect and / or the second aspect.
[0009] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0012] FIG. 2A to FIG. 2D A schematic diagram of an example interface for configuration operations according to some embodiments of the present disclosure is shown.
[0013] FIG. 3A to FIG. 3D A schematic diagram showing an example interface for configuration operations according to other embodiments of the present disclosure;
[0014] 4A to 4D A schematic diagram showing an example interface of a validation indication according to some embodiments of the present disclosure;
[0015] FIG. 5A to FIG. 5D A schematic diagram showing an example interface involving a deactivation control according to some embodiments of the present disclosure is shown;
[0016] FIG. 6A to FIG. 6C A schematic diagram showing an example interface involving a deactivation control according to some other embodiments of the present disclosure;
[0017] FIG. 7A to FIG. 7C A schematic diagram showing an example interface including an interactive portal according to some embodiments of the present disclosure is shown;
[0018] Figure 8 A flowchart showing an example process for conversation interaction according to some embodiments of the present disclosure is shown;
[0019] Fig. 9 A flowchart showing an example process for conversation interaction according to other embodiments of the present disclosure is shown;
[0020] Fig.10 A schematic structural block diagram of an apparatus for conversation interaction according to some embodiments of the present disclosure is shown;
[0021] Fig.11 A schematic structural block diagram showing an apparatus for conversation interaction according to other embodiments of the present disclosure; and
[0022] Fig.12 A block diagram of an electronic device capable of implementing one or more embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0023] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0024] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0025] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0026] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0027] It is understandable 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 relevant provisions.
[0028] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0029] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0030] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0031] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part 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 be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0032] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multiple layers of processing units. In this article, "model" may also be referred to as "machine learning model", "machine learning network" or "network", which are used interchangeably in this article. A model may also include different types of processing units or networks. Example Environment
[0033] Figure 1A schematic diagram of an example environment 100 in which an embodiment of the present disclosure can be implemented is shown. In the example environment 100, an office suite 120 is installed in a terminal device 110. A user 140 can interact with the office suite 120 via the terminal device 110 and / or an attached device of the terminal device 110. The office suite 120 can provide the user 140 with the integration of multiple applications or components. These applications can be used as application modules in the office suite 120. The applications integrated in the office suite 120 are sometimes also referred to as "office applications", "office components", "collaborative office platforms", etc. As an example, the applications integrated in the office suite 120 may include, but are not limited to, one or more of the following: a chat application (also referred to as an instant messaging (IM) application), a document application, an audio and video conferencing application, an email application, a calendar application, a schedule application, a task application, and an objective and key result (OKR) application.
[0034] In some embodiments, the office suite 120 can be downloaded as an application and installed on the terminal device 110. In some embodiments, the office suite 120 can also be accessed through other methods, such as through a web page.
[0035] exist Figure 1 In the environment 100, if the office suite 120 is started, the terminal device 110 can present an interface 150 of the office suite 120 to the user 140. The interface 150 is sometimes also referred to as a client interface. The interface 150 may include various interfaces that the office suite 120 can provide, such as a conversation interface for presenting chat content, a video conference interface, a file sharing interface, and the like.
[0036] In some embodiments, the terminal device 110 communicates with the server 130 to provide services for the office suite 120. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.
[0037] It should be understood that the structure and function of each element in the environment 100 are described for exemplary purposes only, and do not imply any limitation on the scope of the present disclosure. For example, the embodiments of the present disclosure can be applied to any suitable one or more applications, and are not limited to office suites.
[0038] As briefly mentioned above, a digital assistant can be provided to the user to help the user complete the target task using a terminal device or application. In an embodiment of the present disclosure, a digital assistant is configured for user 140. The digital assistant can be implemented in any suitable form. In some embodiments, the digital assistant of user 140 can interact with it as a contact of user 140. Such a digital assistant can also correspond uniquely to user 140. In other words, the digital assistant of user 140 can be specific to or exclusive to user 140. If user 140 is an individual or person, such a digital assistant can be regarded as a personal digital assistant. It can be understood that in the embodiment of the present disclosure, the digital assistant is based on the authorization of user 140 to access the data to which permission is granted.
[0039] It should be understood that “uniquely corresponds” or similar expressions in the present disclosure are not intended to limit the digital assistant to be updated accordingly based on the interaction process between the user 140 and the digital assistant.
[0040] In an embodiment of the present disclosure, a digital assistant is used to interact with a user. An interaction window between a user and a digital assistant may be presented in a client interface. As an intelligent assistant, the digital assistant has intelligent dialogue and information processing capabilities. In the interaction window, the user inputs an interactive message, and the digital assistant provides a reply message in response to the user input. The client interface for providing a digital assistant may correspond to a single-function application or a multi-function collaboration platform, such as an office suite or other collaboration platform capable of integrating multiple components.
[0041] The interaction window between the user and the digital assistant may include a conversation window, in which the interaction between the user and the digital assistant may be presented in the form of conversation messages. Alternatively or additionally, the interaction window between the user and the digital assistant may also include a non-conversation window, such as a window in floating window mode, in which the user may trigger the digital assistant to perform corresponding operations by inputting instructions, selecting shortcut instructions, etc.
[0042] In some embodiments, after waking up the digital assistant through a preset application, the user 140 interacts with the digital assistant through a main session. The interaction window corresponding to the main session may be referred to as a main session window. As an example, the preset application may be an IM application in an office suite. In other examples, the preset application may also be other applications or components.
[0043] In some embodiments, the digital assistant can also be awakened and interacted with through other applications other than the preset application. After waking up the digital assistant through these non-preset applications, the user and the digital assistant can interact through a sub-session. The interaction window corresponding to the sub-session can be called a sub-session window. For example, the user can wake up the digital assistant through a page in the document application, and then interact with the digital assistant through a sub-session.
[0044] As briefly described above, terminal devices or applications can provide users with digital assistant functions to assist users in using terminal devices or applications. However, the flexibility of interaction between users and digital assistants is a technical issue that needs to be explored at present.
[0045] The embodiments of the present disclosure propose an improved scheme for conversation interaction. According to various embodiments of the present disclosure, a first user can provide a configuration operation, which is used to configure a first digital assistant to interact with a second user instead of the first user. When the configuration operation takes effect, the interaction entrance of the first digital assistant is displayed in the interface associated with the first user for the second user to interact with the first digital assistant. Therefore, in this way, the digital assistant can help the user interact with other users, for example, automatically reply to other users' questions within the scope authorized by the user. In this way, the digital assistant can help the user answer some questions, such as when it is inconvenient for the user to reply. Thereby, the efficiency of the digital assistant in assisting the user can be advantageously improved.
[0046] Some example embodiments of the present disclosure will be described below with reference to the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are only examples, and various page designs may exist in practice. The various graphic elements in 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 exist. The embodiments of the present disclosure are not limited in this respect.
[0047] In some embodiments, in order to enable the digital assistant to interact with other users (also referred to as the second user) on behalf of the first user, the terminal device 110 first receives a configuration operation from the first user. The configuration operation is used to configure the first digital assistant to interact with the second user on behalf of the first user. In this article, the digital assistant interacting with other users on behalf of the user is also referred to as an automatic reply task.
[0048] In some embodiments, the configuration operation may include: selecting the data source required for the first digital assistant to interact with the second user. For example, the data source may be a document, a file, or a topic, etc. Alternatively or additionally, in some embodiments, the configuration operation may also be: setting a guide to display the first user's settings to the second user. The guide is used to inform the second user that the first digital assistant can help the first user to reply, so that the second user can interact with the first digital assistant. The configuration operation may also include other suitable operations, such as setting the time information (for example, periodic) for the first digital assistant to interact with the second user instead of the first user, setting the scope of the second user (that is, setting which users the first digital assistant can interact with instead of the first user), etc.
[0049] In some embodiments, the terminal device 110 may receive a configuration operation from the first user through a conversation interface between the first user and the first digital assistant. Such a conversation interface may be used, for example, for a main conversation or a sub-conversation between the first user and the first digital assistant. FIG. 2A to FIG. 2D An example in which the terminal device 110 receives a configuration operation by the user 140 is described. FIG. 2A to FIG. 2D A schematic diagram of an example interface for configuring operations according to some embodiments of the present disclosure is shown. Figure 2A As shown in schematic diagram 201 , the terminal device 110 may receive a configuration operation from a first user through a conversation interface 210 .
[0050] The terminal device 110 presents the first message from the first digital assistant in the conversation interface 210, such as Figure 2B The first message 220 in the schematic diagram is shown. The terminal device 110 provides a configuration control 224 in the first message 220. For example, the configuration control 224 supports the first user to configure which data source or data sources (e.g., documents) the first digital assistant can use to reply. The first user clicks the configuration control 224, and the terminal device 110 can receive the configuration operation of the first user through the configuration control 224.
[0051] In such Figure 2B As shown in the schematic diagram 202, the terminal device 110 also supports the first user to configure the guide words 226 to the visitor (ie, the second user) on the configuration page. When the second user clicks the session entrance, the terminal device 110 presents the guide words sent from the first assistant to the second user, such as "Contact A's digital assistant is online and can give you answers."
[0052] In one example, the first user can search or paste a document link by clicking the configuration control 224. The terminal device 110 can receive the document searched or pasted by the first user through the configuration control 224. Figure 2CAs shown in the schematic diagram 203 , the terminal device 110 receives the document searched or pasted by the first user through the configuration control 224 , and displays it in the conversation window 210 , such as the element 224 - 1 representing “XX document” and the element 224 - 2 representing “XXX document”.
[0053] After the terminal device 110 receives the document searched or pasted by the first user through the configuration control 224 and displays it in the conversation window 210, the terminal device 110 receives the first user clicking to start the automatic reply. Figure 2C In the example, after the first user completes the configuration operation on the configuration page, he clicks the "Enable automatic reply" control 230. That is, the terminal device 110 receives the confirmation of the configuration operation, so that the configuration operation takes effect. Accordingly, the terminal device 110 can display the reply message from the first digital assistant. Figure 2D As shown in schematic diagram 204 , the terminal device 110 displays a reply message 240 from the first digital assistant.
[0054] In some embodiments, the display of the first message may be triggered by a preset shortcut command. Specifically, the terminal device 110 may display the second message from the first digital assistant in the conversation window 210, such as Figure 2A The second message 214 in the schematic diagram 201 shown. The second message 214 may include one or more preset shortcut instructions 218. The functions included in the preset shortcut instructions 218 may be, for example: the first digital assistant helps the first user to start a new day, the first digital assistant helps the first user to create, the first digital assistant helps the first user to search for questions and answers, and so on. For example, the first digital assistant helps the first user to start a new day. The function can be: summarize the document, the first digital assistant helps the first user to automatically reply to the single chat message, and so on. The function of the first digital assistant helping the first user to create can be: the first digital assistant helps the first user to generate XX, and so on. The function of the first digital assistant helping the first user to search for questions and answers can be: the first digital assistant helps the first user to search for XXX, and so on. When the first user clicks the preset shortcut instruction 218-1, the terminal device 110 will display the first message 220.
[0055] The above describes an example of receiving a configuration operation through a conversation interface between the first user and the first digital assistant. Alternatively or additionally, in some examples, the terminal device 110 may receive a configuration operation from the first user through the user personal homepage of the first user. FIG. 3A to FIG. 3D It is described that the terminal device 110 receives the configuration operation of the user 140 through the user personal homepage of the first user. FIG. 3A to FIG. 3D 1 is a schematic diagram showing an example interface for configuring operations according to some embodiments of the present disclosure. FIG. 3A to FIG. 3D , but this is only exemplary.
[0056] In some embodiments, the terminal device 110 may also receive a configuration operation from the first user through the first user's personal homepage, such as Figure 3A As shown in schematic diagram 301 , the terminal device 110 receives a configuration operation from a first user (named “Contact A”) through the personal homepage 310 of the first user.
[0057] Alternatively or additionally, in some embodiments, the terminal device 110 may receive a configuration operation from the first user through the digital assistant personal homepage. Figure 5B In the schematic diagram 502 shown, the terminal device 110 receives a configuration operation from the first user through the personal homepage 510 of the first digital assistant. Figure 5B An exemplary embodiment of the personal homepage 510 of the first digital assistant is described. In the embodiment of the present disclosure, the digital assistant can act as a certain user in the office suite 120, so the personal homepage of the digital assistant is similar to the personal homepage of the user, and the present disclosure does not limit this.
[0058] continue FIG. 3A to FIG. 3D The terminal device 110 displays a configuration entry on the user's personal homepage 310 or the digital assistant's personal homepage. The configuration entry is an entry for configuring the first digital assistant to replace the first user to interact with the second user. Figure 3A As shown in schematic diagram 301 , the terminal device 110 displays a configuration entry 312 in a personal homepage 310 of a first user.
[0059] The configuration entry 312 can be triggered by the user, that is, when the first user clicks the configuration entry 312, the terminal device 110 displays the configuration interface. The configuration interface is an interface used by the first user to configure the first digital assistant to replace the first user to interact with the second user. Figure 3B As shown in schematic diagram 302 , the first user clicks on configuration entry 312 , and the terminal device 110 displays configuration interface 314 .
[0060] Configuration interface 314 may include an example of the first digital assistant interacting with the second user on behalf of the first user, such as Figure 3B As shown in Example 316. For example, in Example 316, the first user receives a message from the second user "I want to know XX, who should I contact", and the first digital assistant replies on behalf of the first user "OK, I will answer you on behalf of the first user, you can contact user C". Through such examples, the first user can better understand the interaction that the first digital assistant can perform on behalf of the first user.
[0061] The configuration interface 314 may also include a configuration control 224. The first user can search or paste a document link by clicking the configuration control 224. The terminal device 110 may receive the document searched or pasted by the first user through the configuration control 224. The terminal device 110 may receive the document searched or pasted by the first user as a data source through the configuration control 224. Figure 3C As shown in schematic diagram 303 , the terminal device 110 receives the document searched or pasted by the first user through the configuration control 224 , and displays it in the configuration interface 314 , such as element 324 - 1 for “XX document” and element 324 - 2 for “XXX document”.
[0062] In some examples, when the configuration operation is effective, the terminal device 110 displays an indication that the configuration operation is effective. 4A to 4D The terminal device 110 is described to display an indication that the configuration operation is effective. 4A to 4D A schematic diagram of an example interface of a validation indication according to some embodiments of the present disclosure is shown. 4A to 4D , but this is only exemplary.
[0063] In some embodiments, when the configuration operation takes effect, the terminal device 110 may display text describing the first digital assistant's interaction with the second user on behalf of the first user in the conversation interface between the first user and the first digital assistant. Figure 4A In the schematic diagram 401, the terminal device 110 displays a description text 410 of "help you automatically reply...". Figure 4D As shown in the schematic diagram, the terminal device 110 displays the description text 440 of "Automatic reply is turned on". Figure 3D As shown in schematic diagram 304 , the terminal device 110 displays a description text 340 of “Terminal reply is enabled” in the personal homepage 310 of the first user.
[0064] In some examples, when the configuration operation takes effect, the terminal device 110 may display an icon in the conversation interface between the first user and the first digital assistant, such an icon indicating that the first digital assistant is interacting with the second user on behalf of the first user. Figure 4B As shown in the schematic diagram 402, the terminal device 110 displays an "icon" 420. Figure 4C As shown in schematic diagram 403 , the terminal device 110 displays an “icon” 430 .
[0065] In some examples, when the configuration operation is effective, the terminal device 110 may display an icon and a description text in the conversation interface between the first user and the first digital assistant. Figure 4DAs shown in schematic diagram 404 , the terminal device 110 displays an “icon” plus a description text 440 of “auto-reply is turned on”.
[0066] In some examples, when the configuration operation is in effect, the terminal device 110 displays a deactivation control. FIG. 5A to FIG. 6C The terminal device 110 is described to display a deactivation control. FIG. 5A to FIG. 6C Schematic diagram of an example interface according to some embodiments of the present disclosure is shown. In the following, for the convenience of discussion, the terminal device 110 is used to describe FIG. 5A to FIG. 6C , but this is only exemplary.
[0067] In some embodiments, when the configuration operation is effective, the terminal device 110 displays a deactivation control in the user personal homepage of the first user or the assistant personal homepage of the first digital assistant. When the first user clicks the deactivation control, the terminal device 110 will disable the function of the first digital assistant to interact with the second user on behalf of the first user.
[0068] like Figure 5A As shown in the schematic diagram 501, when the configuration operation takes effect, if the user clicks the icon 502 of the digital assistant, the terminal device 110 can display the assistant personal homepage 510 of the first digital assistant, such as Figure 5B In the assistant personal homepage 510, an entry 511 and a deactivation control 512 for the configuration page are provided. If the user triggers the entry 511, the terminal device 110 can display the configuration page, such as Figure 5D If the user triggers the deactivation control 512, the terminal device 110 can stop the active reply task of the first digital assistant. At the same time, the terminal device 110 can stop displaying the text "Automatic reply is turned on" in the personal homepage of the digital assistant, such as Figure 5C shown.
[0069] like Fig. 6A As shown in the schematic diagram 601, when the configuration operation is effective, the terminal device 110 displays the text "Auto-reply is turned on", the entry 611 for the configuration page and the deactivation control 612 in the user personal homepage 610 of the first user. If the user triggers the entry 611, the terminal device 110 can display the configuration page, such as Figure 6B If the user triggers the deactivation control 612, the terminal device 110 may stop the first digital assistant's active reply task. At the same time, the terminal device 110 may stop displaying the text "Automatic reply is turned on" in the first user's user personal homepage 610, such as Figure 6C shown.
[0070] In some embodiments, when the configuration operation takes effect, the terminal device 110 displays the interaction entrance of the first digital assistant in the interface associated with the first user. The interaction entrance is used for the first digital assistant to interact with the second user on behalf of the first user. The interface associated with the first user includes but is not limited to: the interface 710 for the first user to interact with the second user in a conversation, and the user personal homepage 310 of the first user.
[0071] Reference below FIG. 7A to FIG. 7C Describe an example. FIG. 7A to FIG. 7C Schematic diagram of an example interface including an interactive portal according to some embodiments of the present disclosure is shown. In the following, for ease of discussion, 7A to 7B are described from the perspective of the terminal device 110. Figure 7C , but this is only exemplary.
[0072] like Fig. 7A In the schematic diagram 701 shown, the terminal device 110 displays an interaction entrance 712 for the first digital assistant to interact with the second user on behalf of the first user in the conversation interface 710 between the first user and the second user. For example, when the second user wants to interact with the first user, the second user can click the interaction entrance 712 in the interface 710 for the interaction between the first user and the second user.
[0073] like Figure 7C As shown in schematic diagram 703, the terminal device 110 displays an interaction entry 730 for the first digital assistant to interact with the second user on behalf of the first user in the user personal homepage 720 of the first user. For example, when the second user interacts with the first user, in the user personal homepage 310 of the first user, the second user can click the interaction entry 730.
[0074] In some embodiments, after the second user clicks the interaction entrance, the terminal device 110 displays a conversation interface in which the first digital assistant interacts with the second user on behalf of the first user. Figure 7B As shown in schematic diagram 702, the terminal device 110 displays a conversation interface 720 in which the first digital assistant interacts with the second digital assistant on behalf of the first user.
[0075] The terminal device 110 displays the conversation interface 720, and performs the interaction between the first digital assistant and the second user in the conversation interface 720. For example, the terminal device 110 receives a message from the second user "Who can I contact regarding XX document?", and the terminal device 110 displays the reply of the first digital assistant "You can contact user C".
[0076] In some embodiments, the terminal device 110 can show the first user the interaction information between the first digital assistant and the second user when the first user replaces the first user. In this way, the first user can know the interaction content between the first digital assistant and the second user.
[0077] As an example, the terminal device 110 can display a message from the first digital assistant in the conversation interface between the first user and the first digital assistant. In the message, the interaction information between the first digital assistant and the second user is presented. For example, the first digital assistant can merge the information that the second user interacts with it and forward it to the main conversation between the first user and the first digital assistant.
[0078] As another example, the terminal device 110 may display multiple messages generated during the interaction between the first digital assistant and the second user in an aggregated form in the conversation interface between the first user and the first digital assistant. For example, the terminal device 110 may present a message card in the main conversation between the first user and the first digital assistant, in which multiple interaction messages are displayed in an aggregated manner.
[0079] As another example, the terminal device 110 may display multiple messages generated during the interaction between the first digital assistant and the second user in the conversation interface between the first user and the second user. For example, multiple messages interacted between the second user and the first digital assistant may be displayed in the conversation window between the first user and the second user.
[0080] In the above description, a single chat session between a first user and a second user is taken as an example, but it should be understood that the conversation interface between the first user and the second user can also be used for a group chat session including the first user and the second user. In addition, the above description is given by taking various processes and operations implemented at the terminal device 110 as an example. It should be understood that some operations described with reference to the terminal device 110 may require the assistance of the server 130. It should be noted that the operations performed by the terminal device 110 may be specifically performed by relevant applications and / or digital assistants installed on the terminal device 110. Example Process
[0081] Figure 8 FIG. 8 is a flowchart of a process 800 for conversation interaction according to some embodiments of the present disclosure. The process 800 may be implemented at the terminal device 110 and / or the digital assistant on the terminal device 110. Figure 1 Process 800 is described.
[0082] In box 810, the terminal device 110 receives a configuration operation from a first user, and the configuration operation is used to configure a first digital assistant to interact with a second user on behalf of the first user.
[0083] In box 820, in response to the configuration operation taking effect, the terminal device 110 displays the interaction entrance of the first digital assistant in the interface associated with the first user, so that the second user can interact with the first digital assistant.
[0084] In some embodiments, receiving a configuration operation from the first user includes receiving a configuration operation via at least one of: a conversation interface between the first user and the first digital assistant, a user personal homepage of the first user, or an assistant personal homepage of the first digital assistant.
[0085] In some embodiments, receiving a configuration operation via a conversation interface includes: displaying a first message from a first digital assistant in the conversation interface, wherein a configuration control is provided in the first message; and receiving the configuration operation via the configuration control.
[0086] In some embodiments, displaying a first message from a first digital assistant includes: displaying a second message from the first digital assistant in a conversation interface, wherein a preset shortcut instruction is provided in the second message; and displaying the first message in response to the preset shortcut instruction being triggered.
[0087] In some embodiments, receiving a configuration operation via a user's personal homepage or an assistant's personal homepage includes: displaying a configuration entry in the user's personal homepage or an assistant's personal homepage for configuring the first digital assistant to replace the first user in interacting with the second user; in response to the configuration entry being triggered, displaying a configuration interface for configuring the first digital assistant to replace the first user in interacting with the second user; and receiving the configuration operation in the configuration interface.
[0088] In some embodiments, the configuration interface also shows an example of the first digital assistant interacting on behalf of the first user.
[0089] In some embodiments, displaying the interaction portal of the first digital assistant in an interface associated with the first user includes displaying the interaction portal in at least one of the following: a conversation interface between the second user and the first user, or a personal homepage of the first user.
[0090] In some embodiments, process 800 also includes presenting to the first user information related to the interaction between the first digital assistant and the second user.
[0091] In some embodiments, displaying information related to the interaction between the first digital assistant and the second user includes at least one of the following: displaying a message from the first digital assistant in a conversation interface between the first user and the first digital assistant, the message including a record of the interaction, displaying multiple messages generated in the interaction in an aggregated form in the conversation interface between the first user and the first digital assistant, or displaying multiple messages generated in the interaction in a conversation interface between the first user and the second user.
[0092] In some embodiments, process 800 also includes: when the configuration operation takes effect, displaying at least one of the following in the conversation interface between the first user and the first digital assistant: text describing that the first digital assistant interacts on behalf of the first user, or an icon indicating that the first digital assistant interacts on behalf of the first user.
[0093] In some embodiments, the configuration operation includes the following: selecting a data source for the first digital assistant to use to interact with the second user, or setting a guide statement to be displayed to the second user.
[0094] In some embodiments, process 800 also includes: when the configuration operation is effective, displaying a deactivation control in the user personal homepage of the first user or the assistant personal homepage of the first digital assistant; and in response to the deactivation control being triggered, disabling the first digital assistant from interacting with the second user on behalf of the first user.
[0095] Fig. 9 FIG. 9 is a flowchart of a process 900 for session interaction according to some embodiments of the present disclosure. The process 900 may be implemented at the terminal device 110. Figure 1 Process 900 is described.
[0096] In box 910, the terminal device 110 displays the interaction entrance of the first digital assistant in the interface associated with the first user.
[0097] In box 920, in response to receiving a trigger operation on the interaction portal from the second user, the terminal device 110 displays a conversation interface between the second user and the first digital assistant.
[0098] In box 930, the terminal device 110 executes the interaction between the first digital assistant and the second user in the conversation interface.
[0099] In some embodiments, the interface associated with the first user includes at least one of the following: a conversation interface between the first user and the second user, or a user personal homepage of the first user.
[0100] In some embodiments, process 900 also includes: presenting to the first user information related to the interaction between the first digital assistant and the second user.
[0101] In some embodiments, displaying information related to the interaction between the first digital assistant and the second user includes at least one of the following: displaying a message from the first digital assistant in a conversation interface between the first user and the first digital assistant, the message including a record of the interaction, displaying multiple messages generated in the interaction in an aggregated form in the conversation interface between the first user and the first digital assistant, or displaying multiple messages generated in the interaction in a conversation interface between the first user and the second user. Example devices and equipment
[0102] Fig.10A schematic structural block diagram of an apparatus 1000 for information interaction according to some embodiments of the present disclosure is shown. The apparatus 1000 may be implemented as or included in a terminal device 110. Each module / component in the apparatus 1000 may be implemented by hardware, software, firmware, or any combination thereof.
[0103] As shown in the figure, the device 1000 includes a configuration operation receiving module 1010, which is configured to receive a configuration operation from a first user, and the configuration operation is used to configure the first digital assistant to interact with the second user instead of the first user. The device 1000 also includes an interaction entry display module 1020, which is configured to display the interaction entry of the first digital assistant in an interface associated with the first user in response to the configuration operation taking effect, so that the second user can interact with the first digital assistant.
[0104] In some embodiments, the configuration operation receiving module 1010 is further configured to: receive the configuration operation from the first user includes receiving the configuration operation via at least one of the following: a conversation interface between the first user and the first digital assistant, the user personal homepage of the first user, or the assistant personal homepage of the first digital assistant.
[0105] In some embodiments, the configuration operation receiving module 1010 is further configured to: display a first message from a first digital assistant in a conversation interface, wherein a configuration control is provided in the first message; and receive a configuration operation via the configuration control.
[0106] In some embodiments, the interactive entry display module 1020 is also configured to: display a first message from the first digital assistant, including: displaying a second message from the first digital assistant in the conversation interface, wherein a preset shortcut instruction is provided in the second message; and displaying the first message in response to the preset shortcut instruction being triggered.
[0107] In some embodiments, the interaction portal display module 1020 is also configured to: display a configuration portal for configuring the first digital assistant to replace the first user to interact with the second user in the user's personal homepage or the assistant's personal homepage; in response to the configuration portal being triggered, display a configuration interface for configuring the first digital assistant to replace the first user to interact with the second user; and receive configuration operations in the configuration interface.
[0108] In some embodiments, the configuration interface also shows an example of the first digital assistant interacting on behalf of the first user.
[0109] In some embodiments, the interaction portal display module 1020 is also configured to display the interaction portal of the first digital assistant in an interface associated with the first user, including displaying the interaction portal in at least one of the following: a conversation interface between the second user and the first user, or a personal homepage of the first user.
[0110] In some embodiments, the interaction entry display module 1020 is also configured to display information related to the interaction between the first digital assistant and the second user to the first user.
[0111] In some embodiments, the interaction entry display module 1020 is also configured to display information related to the interaction between the first digital assistant and the second user, including at least one of the following: displaying a message from the first digital assistant in the conversation interface between the first user and the first digital assistant, the message including a record of the interaction, displaying multiple messages generated in the interaction in an aggregated form in the conversation interface between the first user and the first digital assistant, or displaying multiple messages generated in the interaction in the conversation interface between the first user and the second user.
[0112] In some embodiments, device 1000 also includes: an effectiveness indication display module, configured to display at least one of the following in the conversation interface between the first user and the first digital assistant when the configuration operation takes effect: text describing that the first digital assistant replaces the first user to interact, or an icon indicating that the first digital assistant replaces the first user to interact.
[0113] In some embodiments, the configuration operation includes the following: selecting a data source for the first digital assistant to use to interact with the second user, or setting a guide statement to be displayed to the second user.
[0114] In some embodiments, the device 1000 also includes: a deactivation module, configured to display a deactivation control in the user personal homepage of the first user or the assistant personal homepage of the first digital assistant when the configuration operation takes effect; and in response to the deactivation control being triggered, disabling the first digital assistant from interacting with the second user on behalf of the first user.
[0115] Fig.11 A schematic structural block diagram of an apparatus 1100 for information interaction according to some embodiments of the present disclosure is shown. The apparatus 1100 may be implemented as or included in a terminal device 110. Each module / component in the apparatus 1100 may be implemented by hardware, software, firmware, or any combination thereof.
[0116] The device 1100 includes an interaction portal display module 1105, which is configured to display the interaction portal of the first digital assistant in an interface associated with the first user. The device 1100 also includes a conversation interface display module 1110, which is configured to display the conversation interface between the second user and the first digital assistant in response to receiving a trigger operation on the interaction portal from the second user. The device 1100 also includes an execution module 1120, which is configured to execute the interaction between the first digital assistant and the second user in the conversation interface.
[0117] In some embodiments, the interface associated with the first user includes at least one of the following: a conversation interface between the first user and the second user, or a user personal homepage of the first user.
[0118] In some embodiments, the conversation interface presentation module 1110 is further configured to present information related to the interaction between the first digital assistant and the second user to the first user.
[0119] In some embodiments, the conversation interface display module 1110 is also configured to perform at least one of the following: displaying a message from the first digital assistant in the conversation interface between the first user and the first digital assistant, the message including a record of the interaction, displaying multiple messages generated in the interaction in an aggregated form in the conversation interface between the first user and the first digital assistant, or displaying multiple messages generated in the interaction in the conversation interface between the first user and the second user.
[0120] Fig.12 1 shows a block diagram of an electronic device 1200 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.12 The electronic device 1200 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.12 The electronic device 1200 shown can be used to implement Figure 1 The terminal device 110 or Fig.10 The device 1000 shown, Fig.11 The device 1100 is shown.
[0121] like Fig.12 As shown, the electronic device 1200 is in the form of a general electronic device. The components of the electronic device 1200 may include, but are not limited to, one or more processors or processing units 1210, a memory 1220, a storage device 1230, one or more communication units 1240, one or more input devices 1250, and one or more output devices 1260. The processing unit 1210 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1220. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1200.
[0122] The electronic device 1200 typically includes a plurality of computer storage media. Such media may be any accessible media accessible to the electronic device 1200, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1220 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1230 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1200.
[0123] The electronic device 1200 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.12 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1220 may include a computer program product 1225 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0124] The communication unit 1240 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1200 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1200 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0125] The input device 1250 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1260 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1200 may also communicate with one or more external devices (not shown) through the communication unit 1240 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 1200, or communicate with any device that allows the electronic device 1200 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0126] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0127] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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 device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in 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 so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0130] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0131] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A conversation interaction method, comprising: Receiving a configuration operation from a first user, the configuration operation being used to configure a first digital assistant to interact with a second user on behalf of the first user; as well as In response to the configuration operation taking effect, an interaction entrance of the first digital assistant is displayed in an interface associated with the first user so that the second user can interact with the first digital assistant.
2. The method of claim 1, wherein receiving a configuration operation from the first user comprises receiving the configuration operation via at least one of: a conversation interface between the first user and the first digital assistant, the first user's personal homepage, or The assistant personal homepage of the first digital assistant.
3. The method of claim 2, wherein receiving the configuration operation via the session interface comprises: In the conversation interface, displaying a first message from the first digital assistant, wherein the first message includes a configuration control; as well as The configuration operation is received via the configuration control.
4. The method of claim 3, wherein presenting the first message from the first digital assistant comprises: In the conversation interface, displaying a second message from the first digital assistant, wherein the second message provides a preset shortcut command; as well as In response to the preset shortcut instruction being triggered, the first message is displayed.
5. The method according to claim 2, wherein receiving the configuration operation via the user personal homepage or the assistant personal homepage comprises: Displaying, in the user's personal homepage or the assistant's personal homepage, a configuration entry for configuring the first digital assistant to interact with the second user on behalf of the first user; In response to the configuration entry being triggered, displaying a configuration interface for configuring the first digital assistant to interact with the second user instead of the first user; as well as The configuration operation is received in the configuration interface.
6. The method according to claim 5, wherein the configuration interface also displays an example of the first digital assistant replacing the first user interaction.
7. The method of claim 1, wherein presenting the interaction portal of the first digital assistant in an interface associated with the first user comprises presenting the interaction portal in at least one of the following: a conversation interface between the second user and the first user, or The personal homepage of the first user.
8. The method according to claim 1, further comprising: Presenting information related to the interaction of the first digital assistant with the second user to the first user.
9. The method of claim 8, wherein presenting information related to the interaction between the first digital assistant and the second user comprises at least one of the following: In a conversation interface between the first user and the first digital assistant, a message from the first digital assistant is displayed, the message including a record of the interaction. In the conversation interface between the first user and the first digital assistant, multiple messages generated in the interaction are displayed in an aggregated form, or In a conversation interface between the first user and the second user, multiple messages generated in the interaction are displayed.
10. The method according to claim 1, further comprising: When the configuration operation takes effect, at least one of the following items is displayed in the conversation interface between the first user and the first digital assistant: text describing the first digital assistant's interaction with the first user, or An icon indicating that the first digital assistant is interacting on behalf of the first user.
11. The method of claim 1 , wherein the configuring operation comprises the following: selecting a data source for the first digital assistant to use in interacting with the second user, or Set a guideline to be displayed to the second user.
12. The method according to claim 1, further comprising: In the case where the configuration operation is effective, displaying a deactivation control in the user personal homepage of the first user or the assistant personal homepage of the first digital assistant; as well as In response to the deactivation control being triggered, the first digital assistant is disabled from interacting with the second user on behalf of the first user.
13. A conversation interaction method, comprising: Displaying an interactive entrance of the first digital assistant in an interface associated with the first user; In response to receiving a trigger operation on the interaction portal from a second user, displaying a conversation interface between the second user and the first digital assistant; as well as Execute interaction between the first digital assistant and the second user in the conversation interface.
14. The method of claim 13, wherein the interface associated with the first user comprises at least one of the following: a conversation interface between the first user and the second user, or A user personal homepage of the first user.
15. The method according to claim 13, further comprising: Presenting information related to the interaction of the first digital assistant with the second user to the first user.
16. The method of claim 15, wherein presenting information related to the interaction between the first digital assistant and the second user comprises at least one of the following: In a conversation interface between the first user and the first digital assistant, a message from the first digital assistant is displayed, the message including a record of the interaction. In the conversation interface between the first user and the first digital assistant, multiple messages generated in the interaction are displayed in an aggregated form, or In a conversation interface between the first user and the second user, multiple messages generated in the interaction are displayed.
17. A device for conversation interaction, comprising: a configuration operation receiving module, configured to receive a configuration operation from a first user, wherein the configuration operation is used to configure the first digital assistant to interact with a second user on behalf of the first user; as well as The interactive entrance display module is configured to display the interactive entrance of the first digital assistant in the interface associated with the first user in response to the configuration operation taking effect, so that the second user can interact with the first digital assistant.
18. A device for conversation interaction, comprising: an interaction portal display module, configured to display an interaction portal of the first digital assistant in an interface associated with the first user; a conversation interface display module, configured to display a conversation interface between the second user and the first digital assistant in response to receiving a trigger operation on the interaction portal from the second user; as well as An execution module is configured to execute the interaction between the first digital assistant and the second user in the conversation interface.
19. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform a method according to any one of claims 1 to 12 and / or claims 13 to 16.
20. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 12 and / or claims 13 to 16.
Citation Information
Patent Citations
Computer messaging bot creation
CN109313665A
Instant messaging session control method and device and electronic equipment
CN110022258A
Intelligent customer service method and device, equipment and readable storage medium
CN110362667A
Shared experiences
CN110462659A
Question and answer method and system combining RPA and AI, computing device and storage medium
CN111897937A
Cited By
Information processing method and device, equipment and storage medium
CN120296266A
