Method, apparatus, device, and storage medium for information interaction
The described methods and apparatuses enable flexible plug-in selection in digital assistant applications, enhancing user interaction and task performance by allowing plug-in selection based on context and historical interactions.
Patent Information
- Application Number
- JP2024122624
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-28
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing digital assistant applications lack flexibility in plug-in selection based on scene, conversation window, or topic, limiting user interaction and task performance.
Implementing methods and apparatuses that allow for the display of interaction windows with plug-in selection controls, enabling users to select or query plug-ins based on the current topic or context, and supporting intelligent plug-in selection based on historical interactions and application type.
Enhances user interaction flexibility by allowing dynamic plug-in selection, improving task performance and adaptability to user needs in digital assistant applications.
Smart Images

Figure 2024138149000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE Exemplary embodiments of the present invention relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for information interaction. [Background technology]
[0002] With the rapid development of Internet technology, the Internet has already become an important platform for people to obtain and share content, and users can access the Internet through terminal devices and enjoy various Internet services. The terminal device presents corresponding content through the user interface of the application to realize interaction with the user and provide services to the user. Therefore, the interaction interface of various applications is an important means to improve the user experience. With the development of information technology, various terminal devices provide various services to people in work, life, etc. For example, the terminal device may be deployed with an application to provide the service. The terminal device or application can assist the user in using the terminal device or application by providing the user with a digital assistant-type function. How to improve the flexibility of the interaction between the user and the digital assistant is a technical problem currently being considered. Summary of the Invention
[0003] A first aspect of the present invention provides a method of information interaction. The method includes displaying a first interaction window between a first user and a digital assistant in response to an operation of invoking a digital assistant on a first page, and displaying one or more plug-ins selected by default in the first interaction window, where the one or more plug-ins selected by default have a first association relationship with the first page, and each plug-in is configured to perform a corresponding function.
[0004] A second aspect of the present invention provides a method of information interaction. The method includes displaying a main conversation window between the first user and the digital assistant in response to an operation of invoking a main conversation window in which the first user and the digital assistant interact, and displaying a plug-in selection control in the main conversation window to select a plug-in to be used in the main conversation window, and displaying a first conversation window between the first user and the digital assistant in response to an operation of invoking the digital assistant on the first page, and displaying a plug-in selection control in the first conversation window to select a plug-in to be used in the first conversation window.
[0005] A third aspect of the present invention provides a method of information interaction. The method includes, in response to an operation to start a first topic in a conversation window between a first user and a digital assistant, displaying a first plug-in selection control related to the first topic in the conversation window to select a plug-in to be used in the first topic interaction, and in response to an operation to start a second topic in the conversation window, displaying a second plug-in selection control related to the second topic to select a plug-in to be used in the second topic interaction.
[0006] A fourth aspect of the present invention provides a method of information interaction. The method includes presenting interface elements related to plugins in a topic in an interaction window between a first user and a digital assistant, and using the interface elements to select or query plugins used in the corresponding topic, each plugin being configured to perform a corresponding function, and performing a task requested by the first user based on the plugin selected in the current topic during the interaction of the current topic between the first user and the digital assistant in the interaction window.
[0007] A fifth aspect of the present invention provides an apparatus for information interaction. The apparatus includes a first interaction window display module for displaying a first interaction window between a first user and a digital assistant in response to an operation of invoking a digital assistant on a first page, and a plug-in display module for displaying one or more plug-ins selected by default in the first interaction window, where the one or more plug-ins selected by default have a first association relationship with the first page, and each plug-in is configured to perform a corresponding function.
[0008] A sixth aspect of the present invention provides an apparatus for information interaction. The apparatus includes a main conversation window display module for displaying a main conversation window between a first user and a digital assistant in response to an operation of invoking a main conversation window in which a first user and a digital assistant interact, and a plug-in selection control in the main conversation window to select a plug-in to be used in the main conversation window, and a first dialogue window display module for displaying a first dialogue window between a first user and a digital assistant in response to an operation of invoking a digital assistant on a first page, and a plug-in selection control in the first dialogue window to select a plug-in to be used in the first dialogue window.
[0009] A seventh aspect of the present invention provides an apparatus for information interaction. The apparatus includes a first plug-in selection control display module for displaying a first plug-in selection control related to the first topic in the conversation window in response to an operation of starting a first topic in a conversation window between a first user and a digital assistant, to select a plug-in to be used in the conversation of the first topic, and a second plug-in selection control display module for displaying a second plug-in selection control related to the second topic in response to an operation of starting a second topic in the conversation window to select a plug-in to be used in the conversation of the second topic.
[0010] An eighth aspect of the present invention provides an apparatus for information interaction. The apparatus includes an interface element presentation module that presents interface elements related to plugins in a topic in an interaction window between a first user and a digital assistant, and uses the interface elements to select or query plugins used in the corresponding topic, each plugin being configured to perform a corresponding function, and a task execution module for performing a task requested by the first user based on the plugin selected in the current topic during the interaction of the current topic between the first user and the digital assistant in the interaction window.
[0011] A ninth aspect of the present invention provides an electronic device comprising 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 that, when executed by the at least one processing unit, cause the device to perform a method of the first aspect, the method of the second aspect, the method of the third aspect or the method of the fourth aspect.
[0012] A tenth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to realize the method of the first aspect, the method of the second aspect, the method of the third aspect or the method of the fourth aspect.
[0013] It should be understood that the contents described in the summary of the present invention are not intended to limit the main or important features of the embodiments of the present invention, and are not intended to limit the scope of the present invention. Other features of the present invention will be easily understood from the following description. [Brief description of the drawings]
[0014] The above and other features, advantages, and aspects of the embodiments of the present invention will become more apparent upon reference to the following detailed description in conjunction with the drawings, in which like or similar reference numerals refer to like or similar elements, and in which: [Figure 1] 1 shows a schematic diagram of an exemplary environment in which embodiments of the present invention may be implemented; [Figure 2A] 2 shows a schematic diagram of an exemplary interface of a dialogue window according to some embodiments of the present invention; [Figure 2B] 2 shows a schematic diagram of an exemplary interface of a dialogue window according to some embodiments of the present invention; [Figure 2C] 2 shows a schematic diagram of an exemplary interface of a dialogue window according to some embodiments of the present invention; [Figure 3A] 1 shows a schematic diagram of an exemplary interface for topic dialogue according to some embodiments of the present invention; [Figure 3B] 1 shows a schematic diagram of an exemplary interface for topic dialogue according to some embodiments of the present invention; [Figure 4A] 1A-1C show schematic diagrams of several example plug-in panel interactions according to some embodiments of the present invention; [Figure 4B] 1A-1C show schematic diagrams of several example plug-in panel interactions according to some embodiments of the present invention; [Figure 4C] 1A-1C show schematic diagrams of several example plug-in panel interactions according to some embodiments of the present invention; [Figure 4D] 1A-1C show schematic diagrams of several example plug-in panel interactions according to some embodiments of the present invention; [Figure 5A] 1 shows schematic diagrams of several example interactive operations for modifying a plug-in according to some embodiments of the present invention; [Figure 5B] 1 shows schematic diagrams of several example interactive operations for modifying a plug-in according to some embodiments of the present invention; [Figure 6A] 1 shows a schematic diagram of several examples of default plug-in selections for topics according to some embodiments of the present invention. [Figure 6B]1 shows a schematic diagram of several examples of default plug-in selections for topics according to some embodiments of the present invention. [Figure 6C] 1 shows a schematic diagram of several examples of default plug-in selections for topics according to some embodiments of the present invention. [Figure 7A] 1A-1C show schematic diagrams of several examples of reply presentations of a digital assistant in some embodiments of the present invention. [Figure 7B] 1A-1C show schematic diagrams of several examples of reply presentations of a digital assistant in some embodiments of the present invention. [Figure 7C] 1A-1C show schematic diagrams of several examples of reply presentations of a digital assistant in some embodiments of the present invention. [Figure 7D] 1A-1C show schematic diagrams of several examples of reply presentations of a digital assistant in some embodiments of the present invention. [Figure 7E] 1A-1C show schematic diagrams of several examples of reply presentations of a digital assistant in some embodiments of the present invention. [Figure 8] FIG. 2 shows a schematic diagram of an example illustrating the use of a plug-in according to some embodiments of the present invention. [Figure 9A] 1 shows schematic diagrams of several examples of plug-in interactions according to some embodiments of the present invention; [Figure 9B] 1 shows schematic diagrams of several examples of plug-in interactions according to some embodiments of the present invention; [Figure 10A] FIG. 2 shows a schematic diagram of an example of a current conversation stream belonging to a current topic in some embodiments according to the present invention. [Figure 10B] FIG. 2 shows a schematic diagram of an example of a current conversation stream belonging to a current topic in some embodiments according to the present invention. [Figure 11A] FIG. 2 shows another schematic diagram of a current conversation stream belonging to a current topic in some embodiments according to the present invention. [Figure 11B] FIG. 2 shows another schematic diagram of a current conversation stream belonging to a current topic in some embodiments according to the present invention. [Figure 12A]1 shows a flowchart of several processes of information interaction according to some embodiments of the present invention. [Figure 12B] 1 shows a flowchart of several processes of information interaction according to some embodiments of the present invention. [Figure 12C] 1 shows a flowchart of several processes of information interaction according to some embodiments of the present invention. [Figure 12D] 1 shows a flowchart of several processes of information interaction according to some embodiments of the present invention. [Figure 13A] 1 shows a block diagram of multiple devices for information interaction in some embodiments according to the present invention; [Figure 13B] 1 shows a block diagram of multiple devices for information interaction in some embodiments according to the present invention; [Figure 13C] 1 shows a block diagram of multiple devices for information interaction in some embodiments according to the present invention; [Figure 13D] 1 shows a block diagram of multiple devices for information interaction in some embodiments according to the present invention; [Figure 14] 1 shows a block diagram of an electronic device in which several embodiments of the present invention can be implemented; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, the embodiments of the present invention will be described in more detail with reference to the drawings. Although the drawings show specific embodiments of the present invention, it should be understood that the present invention can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather, these embodiments are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes and are not used to limit the protection scope of the present invention.
[0016] In describing embodiments of the present invention, the term "comprising" and similar terms are intended to be open-ended inclusions, including, but not limited to. The term "based on" is to be understood to mean "based at least in part on." The term "an embodiment" or "the embodiment" is to be understood to mean "at least one embodiment." The term "some embodiments" is to be understood to mean "at least some embodiments." The following specification may contain explicit and implicit definitions below.
[0017] In this specification, unless expressly stated, performing a step "in response to A" does not mean performing the step immediately after "A", but may include one or more intermediate steps.
[0018] It is understood that any data related to the technical solution (including but not limited to the data itself, the acquisition of the data, or the use of the data) should comply with the corresponding laws and regulations and related specified requirements.
[0019] Before using the technical solutions disclosed in each embodiment of the present invention, the type, scope of use, and usage scenario of information related to the present invention should be notified to relevant users in an appropriate manner in accordance with relevant laws and regulations, and the consent of the relevant users should be obtained. Here, it is understood that the relevant users may include any type of right holder, such as individuals, companies, organizations, etc.
[0020] For example, in response to receiving an unsolicited request from a user, presenting information is sent to the relevant user to explicitly present to the user that the requested operation requires the acquisition and use of the user's personal information, so that the user can independently choose whether or not to provide the 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 invention, based on the presenting information.
[0021] As an optional, but non-limiting implementation, the method of transmitting the presentation to the user in response to receiving the user's unsolicited request may be, for example, by utilizing a pop-up window in which the presentation may be displayed in the form of text and which may further include a selection control for the user to "agree" or "not agree" to providing the personal information to the electronic device.
[0022] It will be appreciated that the above-described notification and user authorization process is merely a general outline and is not intended to limit the implementation of the present invention, and other methods that comply with relevant laws and regulations may be applied to the implementation of the present invention.
[0023] 1 shows a schematic diagram of an exemplary environment 100 in which an embodiment of the present invention may be implemented. In the exemplary environment 100, a terminal device 110 has an application 120 installed thereon. A user 140 may interact with the application 120 via the terminal device 110 and / or an accessory device of the terminal device 110.
[0024] In some embodiments, application 120 may be downloaded and installed on terminal device 110. In some embodiments, application 120 may be accessed through other forms, such as a netpage. In environment 100 of FIG. 1, when application 120 is launched, terminal device 110 may present an interface 150 of application 120. Interface 150 may include various types of user interfaces that application 120 may provide. Interface 150 may also be referred to as a client interface.
[0025] The application 120 includes, but is not limited to, one or more of a chat application (also called an instant communication application), a document application, an audio / video conferencing application, an email application, a task application, an objectives and key results (OKR) application, and the like. The application 120 supports the use of plug-ins. Such plug-ins include, but are not limited to, one or more of a search plug-in, a contact plug-in, a message plug-in, a document plug-in, a form plug-in, an email plug-in, a calendar plug-in, a scheduling plug-in, a task plug-in, and the like. In some embodiments, the application 120 may include a multi-functional collaboration platform, for example, an office collaboration platform (also called an office suite) can facilitate people's activities of office work, communication, and the like by providing the integration of various types of applications or components. In the multi-functional collaboration platform, people can launch different applications or components as needed to complete corresponding information processing, sharing, communication, and the like.
[0026] In some embodiments, the terminal device 110 communicates with the server 130 to provide services to the application 120. The terminal device 110 may be any kind of mobile, fixed 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 game device, or any combination thereof, accessories and peripherals of these devices, or any combination thereof. In some embodiments, the terminal device 110 may also support any kind of interface to a user (e.g., "wearable" circuitry, etc.). The application 130 may be various kinds of computing systems / servers that can provide computing capabilities, including, but not limited to, mainframes, edge computing nodes, computing devices in a cloud environment, etc.
[0027] It should be understood that the structure and function of each element in environment 100 is described for illustrative purposes only and does not imply any limitation to the scope of the invention.
[0028] As briefly mentioned above, a digital assistant can assist a user in using a terminal device or application. Some applications can provide integration capabilities for different plug-ins. In addition to freely interacting with a digital assistant, a user can use natural language commands to have the digital assistant use different plug-ins to perform business-related operations for some more complex applications, such as creating documents, scheduling invitations, and creating tasks. However, the plug-in interaction capabilities provided by these applications lack flexibility. For example, some applications cannot select plug-ins based on a scene, a conversation window, a topic, etc. Another few applications cannot provide a function to search or query plug-ins.
[0029] Some embodiments of the present invention provide an improved solution for information interaction. In an embodiment of the present invention, in a dialogue window between a first user and a digital assistant, interface elements related to plug-ins in a topic are presented, and plug-ins used in the corresponding topic can be selected or queried using the interface elements, where each plug-in is configured to perform a corresponding function, and in the dialogue window, during the dialogue of the current topic between the first user and the digital assistant, a task requested by the first user is performed based on the plug-in selected in the current topic. Thus, in the dialogue window with the digital assistant, a plug-in can be selected, queried, or used to perform a task. According to this method, it is possible to realize a diversified interaction operation with the plug-in.
[0030] Some embodiments of the present invention provide an improved solution for information interaction. In an embodiment of the present invention, in response to an operation of invoking a digital assistant on a first page, a first interaction window between a first user and a digital assistant is displayed, and one or more plug-ins selected by default are displayed in the first interaction window, where the one or more plug-ins selected by default have a first association relationship with the first page, and each plug-in is configured to perform a corresponding function. Thus, a plug-in can be selected for the user by default in the interaction window. According to the method, intelligent selection of a plug-in based on a scene can be realized.
[0031] Some embodiments of the present invention provide an improved solution for information interaction. In an embodiment of the present invention, in response to an operation of invoking a main conversation window in which a first user and a digital assistant interact, a main conversation window between the first user and the digital assistant is displayed, and in the main conversation window, a plug-in selection control for selecting a plug-in to be used in the main conversation window is displayed, and in response to an operation of invoking a digital assistant on the first page, a first conversation window between the first user and the digital assistant is displayed, and in the first conversation window, a plug-in selection control for selecting a plug-in to be used in the first conversation window is displayed. Therefore, it is possible to support the selection of plug-ins in the main conversation window and the sub-conversation window. According to this method, it is possible to realize flexible plug-in selection according to the needs of the user.
[0032] Some embodiments of the present invention provide an improved solution for information dialogue. In an embodiment of the present invention, in response to an operation to start a first topic in a conversation window between a first user and a digital assistant, a first plug-in selection control related to the first topic is displayed in the conversation window to select a plug-in to be used in the conversation of the first topic, and in response to an operation to start a second topic in the conversation window, a second plug-in selection control related to the second topic is displayed to select a plug-in to be used in the conversation of the second topic. Therefore, each time a topic is started, any plug-in can be reselected. According to this method, flexible plug-in selection based on the topic can be realized.
[0033] In the following, some exemplary embodiments of the invention are explained in detail with reference to examples of the drawings.
[0034] Exemplary dialogue window As described above, in an embodiment of the present invention, the digital assistant is used to interact with the user. A dialogue window between the user and the digital assistant can be presented in the client interface. The dialogue window between the user and the digital assistant may include a conversation window, and the dialogue between the user and the digital assistant in the conversation window may be presented in the form of a conversation message. Alternatively or additionally, the dialogue window between the user and the digital assistant may further include other types of windows, such as a window in a floating window mode, in which the user can trigger the digital assistant to perform a corresponding operation by inputting an instruction or selecting a shortcut instruction. As an intelligent assistant, the digital assistant has intelligent dialogue and information processing capabilities. In the dialogue window, the user inputs a dialogue message, and the digital assistant provides a reply message in response to the user's input. The client interface for providing the digital assistant may correspond to a single-function application or may correspond to a multi-function collaboration platform of an office suite or other collaboration platform that can integrate multiple components.
[0035] In some embodiments, multiple interaction modes between the user and the digital assistant may be provided, and multiple interaction modes can be flexibly switched between. When a specific interaction mode is triggered, the corresponding interaction area is presented to facilitate the interaction between the user and the digital assistant. Since the interaction forms between the user and the digital assistant in different interaction modes are different, it can be flexibly adapted to the interaction needs in different application scenarios.
[0036] In some embodiments, the digital assistant may be included as a user's contact in the contact list of the current user of the office suite or in the feed stream of the chat component. In some embodiments, the user has a correspondence relationship with the digital assistant. For example, the first digital assistant may correspond to the first user, the second digital assistant may correspond to the second user, and so on. In some embodiments, the first digital assistant may be uniquely associated with the first user, the second digital assistant may be uniquely associated with the second user, and so on. That is, the first digital assistant of the first user may be specific or exclusive to the first user. For example, in the process of the first digital assistant providing assistance or services to the first user, the first digital assistant may utilize historical interaction information with the first user, such as accessible data authorized by the first user, current interaction context with the first user, and so on. When the first user is an individual or individual, the first digital assistant may be considered as a personal digital assistant. It should be understood that in the embodiments of the present invention, the first digital assistant accesses authorized data according to the authorization of the first user. It should be understood that the term "uniquely corresponding" or similar expressions in the present invention are not intended to limit the first digital assistant to being correspondingly updated based on the interaction process between the first user and the first digital assistant.
[0037] In some embodiments, information processing services specific to the user can be provided based on historical interaction information between the user and the digital assistant and / or a data range specific to the user. In some embodiments, the historical interaction information of the first user who interacts with the first digital assistant in multiple interaction modes is all stored in association with the first user. In this way, in one interaction mode (any one or one specified interaction mode) of the multiple interaction modes, the first digital assistant can provide a service to the first user based on the historical interaction information stored in association with the first user.
[0038] The digital assistant can be called or woken up in an appropriate form (e.g., a shortcut, a button, or a voice) to present an interaction window with the user. In some embodiments, the digital assistant may be included in the current user's contacts of the application as a user's contact, or in the feed stream of a chat application. The digital assistant can be selected to open an interaction window with the digital assistant. The interaction window may include interface elements for information interaction, such as an input box, a message list, a message bubble, etc. In some other embodiments, the digital assistant may be awakened through a portal control or menu provided on the page, or by entering a predetermined command. In some embodiments described below, for ease of discussion, an example in which the interaction window between the user and the digital assistant is a conversation window will be mainly described.
[0039] 2A-2C show schematic diagrams of an example client interface 201 of a dialogue window of some embodiments according to the present invention. The client interface 201 may be implemented in a terminal device 110. In the following, the examples of FIGS. 2A-2C are described with reference to FIG.
[0040] In some embodiments, the terminal device 110, in response to a user (also referred to as a first user) awakening the digital assistant through a predetermined operation (e.g., selecting a digital assistant from a contact list), displays a conversation window (also referred to as a main conversation window) through which the first user and the digital assistant interact, and a plug-in selection control. Such a plug-in selection control allows the first user to select a plug-in to be used in the main conversation window.
[0041] In some embodiments, as shown in FIG. 2A, a main conversation window between the digital assistant (shown in the drawing as "XX Assistant") and the user is presented in area 210 of interface 201. The digital assistant may be considered one of the user's contacts and presented in the feed stream of an instant communication application. The instant communication application is presented in area 230 of interface 201, and the feed stream is presented in area 220 of interface 201. The user enters the main conversation window by selecting the digital assistant in the instant communication application. The main conversation window includes a plug-in selection control 222. The user can select the plug-in to be used in the conversation window via the click plug-in selection control 222.
[0042] In some embodiments, the terminal device 110 displays a sub-conversation window (also called a first conversation window) in which the first user and the digital assistant interact in response to the user awakening the digital assistant on a first page (e.g., a page of a viewed document) by a predetermined operation (e.g., triggering a predetermined control, inputting a predetermined command, or waking up by voice). Such a sub-conversation window includes a plug-in selection control. Such a plug-in selection control allows the user to select and use a plug-in in the sub-conversation window.
[0043] In some embodiments, the dialogue window is presented in relation to the target content. For example, as shown in FIG. 2B, the user selects a document application in region 230 and queries the target content in the document in region 220. During the query, the user may awaken the digital assistant, for example by triggering a predetermined control or menu in 220, or may also awaken the digital assistant by voice. In response to such an operation, the terminal device 110 presents a sub-conversation window between the user and the digital assistant in region 210 of the interface 201. Please note that in FIG. 2B and other drawings, the region 210 including the sub-conversation window and the region 220 including the target content are described as an example in which they are arranged side by side. In other embodiments, they may be arranged in other forms as necessary. For example, in the client interface, the region 210 may be presented on the left side and the region 220 may be presented on the right side. Also, for example, the region 210 and the region 220 may be arranged in a form that is further divided vertically. The sub-conversation window includes a plug-in selection control 222. The user can select the plug-in to be used in the conversation window by clicking on the plug-in selection control 222 .
[0044] In some embodiments, the application in which the main conversation window is located is a different application from the application in which the sub-conversation window is located. For example, the application in which the main conversation window is located may be an instant communication application for communication between the user, other users, and the digital assistant. For example, the application that can invoke the sub-conversation window may be an application other than the instant communication application, such as a document application, a form application, a calendar application, a scheduling application, a meeting application, a project management application, or a customer relationship management (CRM) application.
[0045] In some embodiments, the terminal device 110 can trigger the digital assistant to present a dialogue window in the area displaying the target content of the first page. Specifically, as shown in FIG. 2C, after selecting a portion of the content 214 of the target document in the area 220, a menu (not shown) including a portal control of the digital assistant can be displayed by right-clicking. By triggering the portal control, the dialogue window shown in FIG. 2C can be presented. In this example, the dialogue window is also called a floating window dialogue window or a floating window conversation window and is presented in a floating window style. Of course, in addition to the form of a right click, the floating window dialogue window can be triggered in various other suitable forms, and the embodiment of the present invention is not limited to these. In the floating window dialogue window, a plug-in selection control 222 may be displayed. The user can select a plug-in to be used in the conversation window by clicking the plug-in selection control 222.
[0046] In some embodiments, the terminal device 110 displays a dialogue window between the user and the digital assistant (also referred to as a first dialogue window) in response to an operation of invoking the digital assistant on the first page. Such a first dialogue window may include a sub-conversation window and a floating window dialogue window. The trigger operations for displaying the sub-conversation window and the floating window dialogue window may be the same or different. For example, when a user uses a document application to browse document content and then invokes the digital assistant by voice, the terminal device 110 displays a sub-conversation window in an area to the side of the area displaying the document content. Also, for example, when a user uses a document application to browse document content and then invokes the digital assistant by selecting a paragraph of text, the terminal device 110 displays a floating window dialogue window in the area displaying the document content.
[0047] In some embodiments, the terminal device 110 can synchronize the dialogue message in the first dialogue window into the main dialogue window in which the user and the digital assistant dialogue. For example, for a dialogue message in a sub-conversation window of a user in a document application, when the user switches to an instant communication application, the terminal device 110 can synchronize the dialogue message in the sub-conversation window into the main conversation window. According to this method, it is possible to enable both the user and the digital assistant to understand the context information.
[0048] It should be understood that the figures illustrate examples of documents and target content. In other embodiments, the target content may further include any other suitable content that the platform can process, including, but not limited to, audio, video, images, email, calendar, scheduling, tasks, etc. Any of these contents may awaken the digital assistant to present a conversation window.
[0049] 2A to 2C show several examples of a conversation window between an activating user and a digital assistant. It should be understood that the conversation window can be activated in other forms. Note that the various specific information, icons, etc. shown in FIGS. 2A to 2C are merely illustrative and do not limit the scope of the embodiments of the present invention.
[0050] Example Topical Dialogue In some embodiments, the terminal device 110 displays the selected plug-in by default in the dialogue window, and can recommend a plug-in by default based on the scenario, which is more responsive to the needs of the user and allows the user to perform the task efficiently.
[0051] When the default selected plug-in is not displayed in the main conversation window, the plug-in selection control 222 displays a "Plugin Selection" display, as shown in FIG 2A. In some embodiments, when at least one plug-in is selected in the corresponding topic, the terminal device 110 displays an identification of the selected plug-in in an interface element associated with the plug-in in the corresponding topic. For example, when the default selected plug-in is displayed in the conversation window, the plug-in selection control 222 displays an identification of the selected plug-in, such as a bubble icon, as shown in FIG 2B and FIG 2C.
[0052] In some embodiments, when the digital assistant is awakened on the first page, the plug-in selected by default has an association relationship (also referred to as the first association relationship) with the first page, and each plug-in is configured to perform a corresponding function (e.g., the search plug-in is used to obtain messages and data matching a search keyword, and the document plug-in is used to perform tasks related to documents, such as creating a document). In some embodiments, the first association relationship may further include an association relationship between a history topic of the user on the first page and the digital assistant. For example, when the user starts a new topic in the application corresponding to the first page, the plug-in selected by default may include one or more plug-ins inherited from the history topic. In some embodiments, such a first association relationship may include an association relationship between the business type of the application in which the first window is located. For example, in the case of a document application, the document plug-in is a plug-in that has a first association relationship with the document application. Further, for example, in the case of a document application, the plug-in that has the first association relationship may further include a "search plug-in", because the "search plug-in" can be utilized to search document content to assist the user in processing the target document. Additionally or alternatively, such a first related relationship may further include a related relationship between the content presented on the first page. For example, when a meeting notice is included in the target document presented on the first page and the digital assistant is awakened on the first page, the default selected plug-in may include a "scheduling plug-in", so that the "scheduling plug-in" can be used to easily add the meeting notice to the corresponding scheduling reminder. Additionally or alternatively, such a first related relationship may further include a related relationship between a part of the content selected from the content presented on the first page.For example, after a user selects some foreign language statements from the Chinese document presented on the first page and the digital assistant is awakened, the default selected plug-in may include a "translation plug-in", so that the selected foreign language statements can be easily translated using the "translation plug-in". It should be understood that the relevant relationship between the application, the page content, and the selected content is shown for the purpose of interpretation and explanation only. In actual application, the specific types, numbers, etc. of plug-ins to be selected by default in different scenes can be set according to specific needs.
[0053] When the plug-in selected by default is insufficient to meet the user's needs, or when the user adds a new need, the terminal device 110 further supports the user to autonomously select a plug-in. In some embodiments, the terminal device 110 can display the plug-in selected by the user in the dialogue window in response to the user's plug-in selection operation. For example, as shown in FIG. 2B, the terminal device 110 displays the "Message Plug-in" selected by default in the dialogue window (e.g., displays it in a bubble style). In response to the user clicking the plug-in selection control 222 to select the "Form Plug-in", the terminal device 110 displays it to the right of the "Message Plug-in" (e.g., displays it in a form style, not shown).
[0054] In the conversation window, the user can enter a message using an input box or other suitable form (e.g., voice), and the digital assistant can provide a reply message based on the entered message in combination with related knowledge. Messages in the conversation window are generally conversation messages. Such conversation messages may be considered as part of a topic.
[0055] In this specification, a "topic" corresponds to a particular context of a dialogue. During each topic dialogue, the dialogue information between the user and the digital assistant is considered contextual information and is used to assist in determining the digital assistant's subsequent conversational messages. In some embodiments, a topic is further referred to as a subject and presented as a subject.
[0056] In some embodiments, interface elements related to plugins in a topic are presented in a conversation window between a user and a digital assistant. FIG. 3A and FIG. 3B show schematic diagrams of an exemplary interface 301 of a topic dialogue of some embodiments according to the present invention. The main conversation window contains conversation messages between a user and a digital assistant. The current topic is related to a particular document. In the example of FIG. 3A, interface elements related to plugins in the current topic include interface element 302 and interface element 308 (interface elements 302, 308 may be referred to as first interface elements). A user can use the first interface element to select or query a plugin to be used in the topic.
[0057] In some embodiments, the conversation window includes an interface element related to a plug-in used for the current topic, such as an interface element 302. In response to a user's click operation on the interface element 302, the terminal device 110 presents a page for selecting a plug-in. For example, as shown in FIG. 3A, such an interface element 302 may be considered to correspond to the plug-in selection control 222 described with respect to FIGS. 2A-2C above. In response to a user's click operation on the left sub-interface element 304 or sub-interface element 306 in the interface element 302, the terminal device 110 may present an interface element for selecting another plug-in. Also, for example, the terminal device 110 may present a default or already selected plug-in (in the drawing, a bubble-style "message plug-in" is shown) in the sub-interface element 304.
[0058] In some embodiments, the conversation window includes an interface element for creating a topic, such as interface element 308. In response to a user's click operation on interface element 308, terminal device 110 clears the main conversation window and starts a new topic as shown in FIG. 3B, thereby splitting the context in the previous topic so that the user and the digital assistant can easily continue to interact in the new context.
[0059] In some embodiments, by starting a new topic, the user can reselect the plug-in to be used in the new topic. After the new topic is started, the conversation window further includes a selection of plug-ins related to the plug-ins in the new topic. For example, as shown in FIG. 3B, the main conversation window includes an interface element 312. The interface element 312 may be considered to correspond to the plug-in selection control 222 described with respect to FIGS. 2A-2C above. For example, the terminal device 110 may present an interface element for selecting another plug-in in response to a user clicking the left sub-interface element 314 or sub-interface element 316 in the interface element 312. In the conversation window of FIG. 3B, the user can interact with the digital assistant in the new topic. The selected plug-in may also be used to perform a task requested by the user.
[0060] In some embodiments, the conversation window between the user and the digital assistant may further include an interface element (sometimes referred to as a second interface element) for querying the plug-ins used in the history topic. For example, the user can scroll through the message list to query the conversation messages in the history topic and the plug-ins used in the history topic. The interface element for querying the plug-ins used in the history topic is similar to the interface element 302 shown in FIG. 3A, but is presented in an area corresponding to the history topic in the conversation window. In some embodiments, the interface element for querying the plug-ins used in the history topic includes a plug-in selection control related to the history topic, but the plug-in selection control allows the user to query the plug-ins used in the history topic and does not allow the user to change the selected plug-in. As an example, a plug-in selection control 902 related to the history topic is shown in FIG. 9A described below, and the plug-in selection control 902 is presented near the dividing line of the corresponding history topic.
[0061] As described above, a user can start multiple topics in a conversation window of a given digital assistant as needed. Each time a new topic is started, the user can reselect the plug-in to be used in the new topic. In some embodiments, the terminal device 110 exhibits a first plug-in selection control associated with the first topic in response to an operation of starting a first topic in a conversation window between the user and the digital assistant to select a plug-in to be used in the first topic interaction. In addition, the terminal device 110 further exhibits a second plug-in selection control associated with the second topic in response to an operation of starting a second topic in the conversation window to select a plug-in to be used in the second topic interaction.
[0062] In some embodiments, a first plug-in selection control associated with a first topic is displayed near the dividing line between the first topic and the previous topic, and a second plug-in selection control associated with a second topic is displayed near the dividing line between the first topic and the second topic. For example, a user can open multiple topics in a conversation window and select a plug-in to use multiple times. Each time a new topic is started, a new topic dividing line is displayed in each conversation window. Below the new topic dividing line, interface elements (e.g., a capsule selector style plug-in selection control) are presented for selecting and querying plug-ins.
[0063] In some embodiments, the terminal device 110 can present a dividing line (also called a divider line or a first plug-in selection control) between the first topic and the second topic.
[0064] In some embodiments, the terminal device 110 presents the dividing line at the top in response to a new topic being created. For example, after a user creates a new topic, the terminal device 110 clears the main conversation window and presents the new topic dividing line 310 at the top, as shown in FIG. 3B. In some embodiments, the terminal device 110 cancels the presentation of the dividing line at the top in response to at least some dialogue information related to the history topic being presented in the dialogue window.
[0065] As shown in FIG. 3B, after a new topic is created, the main conversation window is cleared and the new topic dividing line 310 is siphoned up. When the user enters and sends a conversation message for the new topic in the conversation window, the cleared screen effect is not restored. The user can scroll through the message list to view the conversation messages in the history topic. When viewing the conversation messages in the history topic, the siphoned up effect of the current topic dividing line 310 is released. In some embodiments, the history topic dividing line is not siphoned up when it appears in the conversation window.
[0066] Example dialogue for selecting / querying plugins In response to a user's triggering operation on a first interface element related to a current topic or a second interface element related to a history topic, the terminal device 110 can present an interface element for selecting another plug-in, such as a plug-in selection panel related to the corresponding topic. Such a plug-in selection panel includes a plug-in list. Additionally or alternatively, such an interface element may further include a plug-in selection control, which can trigger the presentation of the plug-in selection panel.
[0067] In some embodiments, the plug-in selection control of the plug-in selection panel related to the current topic (also referred to as the first plug-in selection control) is presented at the top in the conversation window. With continued reference to FIG. 2A, the plug-in selection control 222 is presented at the top below the new topic dividing line and above the plug-in selection panel 224. In this manner, the associative relationship between both and the current topic is shown.
[0068] In the following, an example of triggering the plug-in selection panel through a plug-in selection control is given, and interactive operations of the plug-in panel are described with reference to FIGS. 4A to 4D.
[0069] 4A-4D are schematic diagrams illustrating several example plug-in panel interactions of some embodiments according to the present invention. As shown in FIG. 4A-4D, a plug-in selection panel 402 is presented below a plug-in selection control 422. The plug-in selection panel 402 includes a plug-in selection list 404. Such plug-in selection list 404 includes "search plug-in", "contact plug-in", "message plug-in", "document plug-in", "form plug-in", "calendar plug-in", etc. Additionally or alternatively, the plug-in selection list supports sorting of plug-ins by user usage preferences. For example, the more frequently searched or used a plug-in is, the higher it is displayed.
[0070] 4A, these plug-ins have corresponding check boxes populated. Identification of the selected plug-in is presented in the interface element that corresponds to the current plug-in selection control 422. For example, after the "Search Plug-in" is selected, a magnifying glass style icon is presented in the corresponding location.
[0071] In some embodiments, the terminal device 110 provides a corresponding detailed information panel in response to a detailed information inquiry request for a plug-in (also referred to as a first plug-in) in the plug-in list. Such detailed information panel includes at least a description of the function of the plug-in. As shown in FIG. 4A, the plug-in selection panel 402 further includes a detailed information panel 406. Based on a user's predetermined operation (e.g., a click operation) on "search plug-in", the plug-in is highlighted and a description of the function of the plug-in is displayed in the detailed information panel 406.
[0072] In some embodiments, the plug-in selection panel provides a plug-in search function for searching for a plug-in from the plug-in list. As shown in Fig. 4A, the plug-in selection panel 402 includes a search box 408. When a user enters the search term "search" in the search box 408, search results such as "search plug-ins", "contact search", "document search", "form search", etc. are presented in the search list 404. Additionally or alternatively, the plug-in selection panel provides a fuzzy search function.
[0073] In some embodiments, the plug-in selection panel provides a plug-in secondary search function for re-searching plug-ins from the plug-in list. In the example of FIG. 4A, the user inputs the search term "search" in the search box 408 and selects "search plug-in" from the search results. The "search plug-in" is presented in an interface element corresponding to the plug-in selection control 422. In the example of FIG. 4B, the user re-inputs the search term document in the search box 408, and a search result such as a plurality of "document plug-ins" is presented in the search list 404. Based on a predetermined user operation (e.g., a click operation) on the first "document plug-in," the plug-in is highlighted, and a description of the function of the plug-in is displayed in the detailed information panel 406. When the user selects the "document plug-in," identification information of the plug-in is presented in an interface element corresponding to the plug-in selection control 422. For example, a paper-style icon is presented adjacent to the magnifying glass-style icon.
[0074] In some embodiments, more than a predetermined number of plugins may be selected, such as two, three, or any other suitable number. For example, as shown in FIG. 4C, after selecting "Search Plugin" and "Document Plugin," the check boxes are grayed out and the mouse is given a non-selectable effect.
[0075] In some embodiments, the plug-in selection panel includes a prompt message. For example, the search box 408 displays a prompt message "Select up to two plug-ins to create one topic" by default. Also, for example, the search box 408 displays a prompt message "No such plug-ins" if the search box 408 is unable to provide search results related to the search terms entered by the user.
[0076] Above, the interaction of the plug-in selection panel has been described through several embodiments. By performing interactive operations on such a plug-in selection panel, a plug-in can be selected based on the user's needs. In some embodiments, the terminal device 110 can control whether the plug-in selected in the current topic is changed. For example, the plug-in selected and used in the history topic is no longer changed, but the plug-in selected in the new topic can be changed. In the following, the interactive operation of changing the plug-in will be described with reference to FIG. 5A and FIG. 5B.
[0077] In some embodiments, the terminal device 110 disables the change of the selected plug-in in the current topic in response to at least one conversation message being received in the current topic. That is, if there is already one or more conversations in the newly started topic, the user cannot change the plug-in used in the ongoing topic. As shown in FIG. 5A, the user creates a new topic and selects a plug-in from the plug-in selection panel 502. If the current message list is empty, the terminal device 110 supports the user's reselection of the plug-in. As shown in FIG. 5B, after the user creates a new topic and selects a plug-in from the plug-in selection panel 502, the terminal device 110 presents the identification information of the selected plug-in in the interface element corresponding to the plug-in selection control 522. If a conversation message is received in the current message list, as shown in FIG. 5B, the terminal device 110 does not support the user's change of the selected plug-in. Additionally or alternatively, the terminal device 110 presents the plug-in inquiry panel 502 in response to a predetermined operation (e.g., a click operation) of the user on the plug-in selection control 522. Additionally or alternatively, the terminal device 110 may present a prompt message to alert the user that it does not support changing the selected plugin, such as "At this time, I cannot change the plugin of an ongoing topic. Please create a new topic and use the new plugin."
[0078] In some embodiments, the interaction between the user and the digital assistant in the topic of the interaction window is determined based on at least the target content and the selectable plug-in target content in the topic of the interaction window. For example, in a document application, selectable plug-ins are determined according to the content in the document and presented to the user in the plug-in panel. Thus, plug-ins that are more relevant to the target content can be selected first. According to this method, the efficiency of the interaction can be improved.
[0079] 6A-6C are schematic diagrams illustrating several examples of default plug-in selection for topics in some embodiments of the present invention. In some embodiments, at least one plug-in is selected by default to be used in the first topic in a dialogue window. As shown in FIG. 6A, when the "search plug-in" is selected by default in the first topic in a sub-conversation window, the identification information of the "search plug-in" is presented in the interface element corresponding to the plug-in selection control 622.
[0080] In some embodiments, when a new topic is triggered in the dialogue window, at least one plug-in is selected by default and used for the new topic. As shown in FIG. 6B, the current topic is presented in the sub-conversation window. In response to the user's click operation on the interface element 602, the terminal device 110 clears the sub-conversation window and presents the default selected plug-in on top as shown in FIG. 6A. In this way, the plug-in selected by default is determined by the user's personal usage preferences. For example, if the user frequently uses the "search plug-in", the "search plug-in" may be presented by default when creating a new topic. According to this method, the dialogue form can be more adapted to the user's needs.
[0081] In some embodiments, the terminal device 110 loads a default plug-in according to an application or a target content in an application in response to a user creating a new topic in a sub-conversation window, and supports free editing by the user. For example, when a meeting notice related to the target content is presented in a document application, a "Calendar plug-in" can be loaded. The user may change the plug-in selected by default to a desired plug-in, for example, as shown in FIG. 6C, the terminal device 110 presents a plug-in selection panel 604 in response to a user clicking operation on a plug-in selection control 622. The user can select a desired plug-in, such as a "Message plug-in", in the plug-in selection panel 604.
[0082] In some embodiments, in response to a new topic being created in a floating window dialogue window, the terminal device 110 loads a default plug-in according to the application or the target content in the application, and does not support free editing by the user.
[0083] Identification of the plug-in in the conversation The task requested by the user may be executed by the selected plug-in. To clarify to the user the functionality of the plug-in or which plug-in is currently executing the task, in some embodiments, the digital assistant responds in a dialogue window (also called a first reply). Such a reply includes the result of the task execution and the identification of the plug-in used to execute the task.
[0084] 7A to 7E are schematic diagrams of several examples of responses of a digital assistant according to some embodiments of the present invention. As shown in FIG. 7A, a user requests the execution of a search task, such as "Please help me find documents created by Zhang San." The results of the execution of the search task are presented in the digital assistant's conversation message, and identification information 702 corresponding to the "search plug-in" for executing the search task is also presented.
[0085] As shown in FIG. 7B, the user requests the execution of a task, such as identifying the reason why "I did not receive the approval push." The result of the execution of the task is presented in the digital assistant's conversation message, and identification information 704 corresponding to the "search plug-in" for performing the task and identification information 706 corresponding to the "approval plug-in" are also presented.
[0086] As shown in FIG. 7C, the user requests a task to perform the generation of a sales report, such as "Please help me generate documents related to the sales report." The result of the execution of the task is presented in the digital assistant's conversation message, and identification information 708 corresponding to a "document plugin" for performing the task is also presented.
[0087] In the example of FIG. 7A-FIG. 7B, the identification information corresponding to the plug-in is presented in the conversation message and is presented at the top. In the example of FIG. 7D, the user requests a task to execute a conference reservation, such as "Please help me to reserve a conference." The execution result of the task is presented in the conversation message of the digital assistant, and the identification information 710 corresponding to the "Calendar plug-in" for executing the task is presented at the top of the conversation message. In some cases, when the execution of a task requires a long time, in order to reduce the user's waiting anxiety, the identification information corresponding to the plug-in used to execute the task is first presented, and the conversation message is presented below the identification information after the task execution result is obtained.
[0088] In some cases, a user requests the execution of a task involving multiple subtasks, such as "Search for documents related to AI and send them to me, then compile them and put them into a new document." The result of the execution of a first subtask in the task is presented in a first conversation message of the digital assistant, along with identification information 712 corresponding to a "search plugin" for executing the subtask. Then, the result of the execution of a second subtask in the task is presented in a second conversation message of the digital assistant, along with identification information 714 corresponding to a "document plugin" for executing the subtask.
[0089] In some cases, considering the number of plug-ins involved and the linear workflow of task execution, the currently used plug-ins are revealed one by one in sequence. When a plug-in is revealed, only the identification information corresponding to the plug-in may be displayed, or more information corresponding to the plug-in, such as function information, may be displayed.
[0090] In some embodiments, during the generation of the first reply, the use status of the plug-in is presented in the dialogue window. Such a use status of the plug-in refers to the plug-in being used. FIG. 8 shows a schematic diagram of an example of presenting the use status of the plug-in in some embodiments according to the present invention. In the example of FIG. 8, the user requests the execution of a task, such as "Show all my emails". The digital assistant first presents a first conversation message 802, for example, indicating by an ellipsis that it is searching for a corresponding plug-in. Then, the digital assistant presents a second conversation message 804. The second conversation message 804 presents identification information corresponding to the "search plug-in" to indicate that the execution of the first subtask corresponding to the task has been started using the "search plug-in". Then, the digital assistant presents a third conversation message 806. The third conversation message 806 includes identification information corresponding to the "document plug-in" to indicate that the execution of the second subtask corresponding to the task has been started using the "document plug-in". Finally, the digital assistant presents a fourth conversation message 808 to present the execution result of the task and the identification information of the plug-in used.
[0091] Other exemplary interactions 9A and 9B show schematic diagrams of several example plug-in interactions of some embodiments according to the present invention. In the example of FIG. 9A, a plug-in selection control 902 related to a history topic is presented in a lightweight style, such as removing the capsule selector style border. In response to a user's click operation on the plug-in selection control 902, the terminal device 110 presents a plug-in query panel 904. If there is no plug-in selected, only the presented information is presented in the plug-in query panel 904. If there is a plug-in selected, the corresponding plug-in and presented information are presented in the plug-in query panel 904.
[0092] In the example of Fig. 9B, the plug-in selection control 906 in the new topic is presented in the style of a capsule selector. In response to a user's click operation on the plug-in selection control 906, the terminal device 110 presents a plug-in inquiry panel 908. If there is no plug-in selected, only the presented information is presented in the plug-in inquiry panel 908. If there is a plug-in selected, the corresponding plug-in and the presented information are presented in the plug-in inquiry panel 908.
[0093] In some embodiments, if the current dialogue stream belongs to the current topic, the plug-in selection control is attached to the top of the dialogue window.
[0094] 10A and 10B are schematic diagrams of an example in which the current conversation stream belongs to the current topic in some embodiments according to the present invention. The example in FIG. 10A corresponds to a case where there is no plug-in selected in the interface element corresponding to the plug-in selection control 1002, and the example in FIG. 10B corresponds to a case where a plug-in selected in the interface element corresponding to the plug-in selection control 1002 is displayed. In the example in FIG. 10A, when the current conversation stream belongs to the current topic and the history conversation stream and the current conversation stream are simultaneously presented when scrolling the message list, the plug-in selection control 1002 is fixed near the topic division line. When only the current conversation stream is presented, the plug-in selection control 1002 is snapped to the top of the conversation window.
[0095] 11A and 11B show schematic diagrams of another example in which the current conversation stream belongs to the current topic in some embodiments according to the present invention. The example in Fig. 11A corresponds to a case where there is no plug-in selected in the interface element corresponding to the plug-in selection control 1102, and the example in Fig. 11B corresponds to a case where a plug-in selected in the interface element corresponding to the plug-in selection control 1102 is displayed. In the example in Fig. 11A and 11B, when the current conversation stream belongs to the current topic and only the current conversation stream is visible when scrolling the message list, the plug-in selection control 1102 is always attached to the top of the conversation window.
[0096] In some embodiments, if the current conversation stream does not belong to the current topic, the plug-in selection control reverts to the conversation stream. For example, when scrolling through a message list, if only the historical conversation stream is presented, the plug-in selection control is anchored near the topic divider and follows the scroll.
[0097] In summary, according to each embodiment of the present invention, during a dialogue between a user and a digital assistant, it is supported for the user to select and use a plug-in in a dialogue window (e.g., a main conversation window, a sub-conversation window, a floating window dialogue window, etc.). In the sub-conversation window, a plug-in selected by default based on the context of the application is recommended to the user, and the user is further supported to change the plug-in selected by default. Furthermore, it is supported for the user to open a new topic in the same conversation window and select the plug-in to be used multiple times. A plug-in selection panel is further provided to allow the user to search for plug-ins. According to this method, flexible selection of plug-ins based on the scene, the user's needs, and the topic can be realized, and various interaction operations with plug-ins can be realized.
[0098] Although some embodiments of the present invention have been described above in conjunction with specific examples in the drawings, it should be understood that these specific examples are not intended to limit the scope of the embodiments of the present invention. The described embodiments can be further realized by various other modifications.
[0099] Example Process 12A illustrates a flow chart of a process 1200A for information interaction according to some embodiments of the present invention. Process 1200A may be implemented in terminal device 110. For ease of discussion, process 1200A will be described with reference to environment 100 of FIG.
[0100] In box 1210A, the terminal device 110 displays a first dialogue window between the first user and the digital assistant in response to an operation to awaken the digital assistant on the first page. In box 1220A, one or more plug-ins selected by default are displayed in the first dialogue window. Here, the one or more plug-ins selected by default have a first association relationship with the first page, and each plug-in is configured to perform a corresponding function.
[0101] In some embodiments, the terminal device 110 displays a main conversation window between the first user and the digital assistant in response to an operation that invokes a main conversation window in which the first user and the digital assistant interact. Here, the application in which the main conversation window is located is a different application from the application in which the first window is located.
[0102] In some embodiments, method 1200A further includes one or more of: displaying a plug-in selection control in the main conversation window; and synchronizing a dialogue message in the first dialogue window into the main conversation window in which the first user and the digital assistant interact.
[0103] In some embodiments, the terminal device 110 displays the user-selected plug-in in a first dialog window in response to the user's plug-in selection operation.
[0104] In some embodiments, the first association relationship includes one or more of an association relationship between the business type of the application in which the first window is located, an association relationship between the content presented on the first page, an association relationship between a selected portion of the content presented on the first page, and an association relationship between the history topics of the first user and the digital assistant on the first page.
[0105] 12B illustrates a flow chart of a process 1200B for information interaction according to some embodiments of the present invention. Process 1200B may be implemented in terminal device 110. For ease of discussion, process 1200B will be described with reference to environment 100 of FIG.
[0106] In box 1210B, in response to an operation of invoking a main conversation window in which the first user and the digital assistant interact, the terminal device 110 displays a main conversation window between the first user and the digital assistant, and displays a plug-in selection control in the main conversation window to select a plug-in to be used in the main conversation window. In box 1220B, in response to an operation of invoking the digital assistant on the first page, the terminal device 110 displays a first conversation window between the first user and the digital assistant, and also displays a plug-in selection control in the first conversation window to select a plug-in to be used in the first conversation window.
[0107] 12C illustrates a flow chart of a process 1200C for information interaction according to some embodiments of the present invention. Process 1200C may be implemented in terminal device 110. For ease of discussion, process 1200C will be described with reference to environment 100 of FIG.
[0108] In box 1210C, in response to an operation to start a first topic in a conversation window between the first user and the digital assistant, the terminal device 110 displays a first plug-in selection control associated with the first topic in the conversation window to select a plug-in to be used in the first topic interaction. In box 1220C, in response to an operation to start a second topic in the conversation window, a second plug-in selection control associated with the second topic is displayed to select a plug-in to be used in the second topic interaction.
[0109] In some embodiments, a first plug-in selection control related to a first topic is displayed near the dividing line between the first topic and a previous topic, and a second plug-in selection control related to a second topic is displayed near the dividing line between the first topic and the second topic.
[0110] 12D illustrates a flow chart of a process 1200D for information interaction according to some embodiments of the present invention. Process 1200D may be implemented in terminal device 110. For ease of discussion, process 1200D will be described with reference to environment 100 of FIG.
[0111] In box 1210D, the terminal device 110 presents interface elements related to plugins in the topic in the dialogue window between the first user and the digital assistant, and the interface elements are used to select or query the plugins used in the corresponding topic, where each plugin is configured to perform a corresponding function. In box 1220D, in the dialogue window, during the current topic dialogue between the first user and the digital assistant, a task requested by the first user is performed based on the plugin selected in the current topic.
[0112] In some embodiments, in response to an operation to start a current topic in a dialogue window, the terminal device 110 presents a first interface element associated with a plug-in in the current topic, and the plug-in to be used in the current topic can be selected by the first interface element.
[0113] In some embodiments, in the dialogue window, the plug-ins used in the history topic are queryable by a second interface element associated with the plug-in in the history topic.
[0114] In some embodiments, the terminal device 110 disables changes to the selected plug-in in the current topic in response to at least one conversation message being received in the current topic.
[0115] In some embodiments, interface elements associated with plugins in a topic include at least one of a plugin selection panel associated with a corresponding topic, the plugin selection panel including a list of plugins, or a plugin selection control for triggering presentation of the plugin selection panel.
[0116] In some embodiments, a first plug-in selection control for a plug-in selection panel related to the current topic is presented at the top in the dialogue window.
[0117] In some embodiments, the terminal device 110 cancels the top presentation for the first plug-in selection control in response to at least some dialogue information related to the history topic being presented in the dialogue window.
[0118] In some embodiments, a plugin search function is provided in the plugin selection panel to search for a plugin from the plugin list.
[0119] In some embodiments, in response to a detailed information query request for a first plug-in in the plug-in list, the terminal device 110 provides a detailed information panel for the first plug-in, where the detailed information panel includes at least a description of the functionality of the first plug-in.
[0120] In some embodiments, the dialogue window is presented in association with the target content, and the interaction between the first user and the digital assistant in the topic of the dialogue window is determined based on at least the target content and on the selectable plug-in target content in the topic of the dialogue window.
[0121] In some embodiments, when a new topic is triggered in a dialogue window, at least one plug-in is selected by default to be used for the new topic.
[0122] In some embodiments, when at least one plug-in is selected in the corresponding topic, interface elements associated with the plug-ins in the corresponding topic include identification information of one or more of the at least one plug-in.
[0123] In some embodiments, the terminal device 110 presents a first reply of the digital assistant in a dialogue window, where the first reply includes the result of the execution of the task and the identification information of the plug-in used to execute the task.
[0124] In some embodiments, the terminal device 110, in the process of generating the first reply, presents a usage status of the plugin in a dialogue window, where the usage status of the plugin refers to the plugin being used.
[0125] Exemplary Apparatus and Devices 13A shows a block diagram of a schematic structure of an apparatus 1300A for information interaction according to some embodiments of the present invention. The apparatus 600a can be realized as or included in the terminal device 110. Each module / component in the apparatus 1300A can be realized by hardware, software, firmware, or any combination thereof.
[0126] The device 1300A includes a first dialogue window display module 1310A for displaying a first dialogue window between a first user and the digital assistant in response to an operation to invoke a digital assistant on a first page. The device 1300A further includes a plugin display module 1320A for displaying one or more plugins selected by default in the first dialogue window. Here, the one or more plugins selected by default have a first association relationship with the first page, and each plugin is configured to perform a corresponding function.
[0127] In some embodiments, device 1300A further includes a main conversation window display module for displaying a main conversation window between the first user and the digital assistant in response to an operation to invoke a main conversation window in which the first user and the digital assistant interact. Here, the application in which the main conversation window is located is a different application from the application in which the first window is located.
[0128] In some embodiments, the device 1300A further comprises a plug-in selection control display module for displaying a plug-in selection control in the main conversation window, and / or a dialogue message in the first dialogue window for synchronizing the dialogue message in the main conversation window in which the first user and the digital assistant interact. A dialogue message synchronization module is further provided.
[0129] In some embodiments, the apparatus 1300A further comprises a user-selected plug-in display module for displaying a user-selected plug-in in the first dialogue window in response to a user's plug-in selection operation.
[0130] In some embodiments, the first association relationship includes one or more of an association relationship between a business type of the application in which the first window is located, an association relationship between content presented on the first page, an association relationship between a selected portion of the content presented on the first page, and an association relationship between a history topic of the first user and the digital assistant on the first page.
[0131] 13B shows a block diagram of a schematic structure of an apparatus 1300B for information interaction according to some embodiments of the present invention. The apparatus 1300B can be realized as or included in the terminal device 110. Each module / component in the apparatus 1300B can be realized by hardware, software, firmware, or any combination thereof.
[0132] The device 1300B is provided with a main conversation window display module 1310B for displaying a main conversation window between the first user and the digital assistant in response to an operation of invoking a main conversation window in which the first user and the digital assistant interact, and displaying a plug-in selection control in the main conversation window to select a plug-in to be used in the main conversation window. The device 1300B further includes a first dialogue window display module 1320B for displaying a first dialogue window between the first user and the digital assistant in response to an operation of invoking the digital assistant on the first page, and displaying a plug-in selection control in the first dialogue window to select a plug-in to be used in the first dialogue window.
[0133] 13C shows a block diagram of a schematic structure of an apparatus 1300C for information interaction according to some embodiments of the present invention. The apparatus 1300C can be realized as or included in the terminal device 110. Each module / component in the apparatus 1300C can be realized by hardware, software, firmware, or any combination thereof.
[0134] The device 1300C includes a first plug-in selection control display module 1310C for displaying a first plug-in selection control related to the first topic in the conversation window in response to an operation of starting a first topic in a conversation window between a first user and a digital assistant to select a plug-in to be used in the dialogue of the first topic. The device 1300C further includes a second plug-in selection control display module 1320C for displaying a second plug-in selection control related to the second topic in response to an operation of starting a second topic in the conversation window to select a plug-in to be used in the dialogue of the second topic.
[0135] In some embodiments, a first plug-in selection control related to the first topic is displayed near the dividing line between the first topic and a previous topic, and a second plug-in selection control related to the second topic is displayed near the dividing line between the first topic and the second topic.
[0136] FIG. 1300D shows a block diagram of a schematic structure of an apparatus 1300D for information interaction according to some embodiments of the present invention. The apparatus 1300D can be realized as or included in the terminal device 110. Each module / component in the apparatus 1300D can be realized by hardware, software, firmware, or any combination thereof.
[0137] The device 1300D includes an interface element presenting module 1310D that presents interface elements related to plugins in a topic in a dialogue window between a first user and a digital assistant, and that allows plugins used in the corresponding topic to be selected or queried using the interface elements, each plugin being configured to perform a corresponding function. The device 1300D further includes a task execution module 1320D for performing a task requested by the first user based on the plugin selected in the current topic during the dialogue of the current topic between the first user and the digital assistant in the dialogue window.
[0138] In some embodiments, the interface element presentation module 1310D further presents a first interface element associated with a plug-in in the current topic in response to an operation to start the current topic in the dialogue window, the first interface element enabling a plug-in to be used in the current topic to be selected.
[0139] In some embodiments, in the dialogue window, plug-ins used in a history topic are queryable by a second interface element associated with a plug-in in the history topic.
[0140] In some embodiments, the device 1300D further comprises a change disabling module for disabling changes of a selected plug-in in the current topic in response to at least one conversation message being received in the current topic.
[0141] In some embodiments, the interface elements associated with plugins in a topic include at least one of a plugin selection panel associated with a corresponding topic, the plugin selection panel including a list of plugins, or a plugin selection control for triggering presentation of the plugin selection panel.
[0142] In some embodiments, a first plug-in selection control for a plug-in selection panel related to the current topic is presented at the top in the dialogue window.
[0143] In some embodiments, the device 1300D further comprises a top presentation cancel module for canceling top presentation for the first plug-in selection control in response to at least some dialogue information related to the history topic being presented in the dialogue window.
[0144] In some embodiments, the plugin selection panel provides a plugin search function for searching for a plugin from the plugin list.
[0145] In some embodiments, the device 1300D further comprises a detailed information panel providing module for providing a detailed information panel for a first plug-in in the plug-in list in response to a detailed information query request for the first plug-in, the detailed information panel including at least a description of the functionality of the first plug-in.
[0146] In some embodiments, the dialogue window is presented in association with target content, the dialogue between the first user and the digital assistant in the topic of the dialogue window is contextualized to at least the target content, and the selectable plug-ins in the topic of the dialogue window are determined based on the target content.
[0147] In some embodiments, when a new topic is triggered in the dialogue window, at least one plug-in is selected by default to be used for the new topic.
[0148] In some embodiments, when at least one plug-in is selected in a corresponding topic, interface elements associated with the plug-ins in the corresponding topic include identification information of one or more of the at least one plug-in.
[0149] In some embodiments, device 1300D further includes a first reply presentation module for presenting a first reply of the digital assistant in the dialogue window, the first reply including a result of execution of the task and an identification of a plug-in used to execute the task.
[0150] In some embodiments, the device 1300D further comprises a plugin usage status presentation module for presenting a plugin usage status in the dialogue window during the first reply generation process, the plugin usage status indicating a plugin that is being used.
[0151] It should be understood that one or more steps in the above method may be performed by a suitable electronic device or combination of electronic devices, which may comprise, for example, the server 130, the terminal device 110, and / or a combination of the server 130 and the terminal device 110 in FIG.
[0152] 14 illustrates a block diagram of an electronic device 1400 capable of implementing one or more embodiments of the present invention. It should be understood that the electronic device 1400 illustrated in FIG. 14 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 1400 illustrated in FIG. 14 may be used to implement the terminal device 110 of FIG. 1.
[0153] As shown in Fig. 14, the electronic device 1400 is in the form of a general-purpose electronic device. The components of the electronic device 1400 may include, but are not limited to, one or more processors or processing units 1410, memory 1420, storage device 1430, one or more communication units 1440, one or more input devices 1450, and one or more output devices 1460. The processing unit 1410 may be a real or virtual processor and may perform various processes based on a program stored in the memory 1420. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel, thereby improving the parallel processing capabilities of the electronic device 1400.
[0154] The electronic device 1400 typically includes a number of computer storage media. Such media may be any obtainable media accessible by the electronic device 1400, including but not limited to volatile and nonvolatile media, removable and non-removable media. The memory 1420 may be volatile memory (e.g., registers, high speed 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. The storage device 1430 may be removable or non-removable media and may include machine-readable media, such as a flash memory drive, a magnetic disk, or any other media that may be used to store information and / or data and may be accessible within the electronic device 1400.
[0155] The electronic device 1400 may further include other removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 14, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a path (not shown) by one or more data media interfaces. The memory 1420 may include a computer program product 1425 having one or more program modules, which are configured to perform various methods or operations of various embodiments of the invention.
[0156] The communication unit 1440 provides for communication with other computing devices over a communication medium. Additionally, the functionality of the components of the electronic device 1400 may be implemented as a single computing cluster or multiple computing machines that can communicate over a communication connection. Thus, the electronic device 1400 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or other network nodes.
[0157] The input device(s) 1450 may be one or more input devices such as a mouse, a keyboard, a trackball, etc. The output device(s) 1460 may be one or more output devices such as a display, a speaker, a printer, etc. The electronic device 1400 may further communicate, as necessary, with one or more external devices (not shown) such as a storage device, a display device, etc. via a communication unit 1440, one or more devices that allow a user to interact with the electronic device 1400, or any device (e.g., a netbook card, a modem, etc.) that allows the electronic device 1400 to communicate with one or more other computing devices. Such communication may be performed via an input / output (I / O) interface (not shown).
[0158] An exemplary implementation according to the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being executed by a processor to implement the above-mentioned method.An exemplary implementation according to the present invention further provides a computer program product, the computer program product including computer-executable instructions being tangibly stored on a non-transitory computer-readable medium, the computer-executable instructions being executed by a processor to implement the above-mentioned method.
[0159] Aspects of the present invention have been described herein with reference to flowcharts and / or block diagrams of methods, apparatus, devices and computer program products implemented by the present invention. It will be understood that each box in the flowcharts and / or block diagrams, and combinations of boxes in the flowcharts and / or block diagrams, may be implemented by computer readable program instructions.
[0160] These computer readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to generate a machine that, when executed by a processing unit of the computer or other programmable data processing apparatus, generates an apparatus for implementing the functions / operations specified in one or more boxes in the flowcharts and / or block diagrams. These computer readable program instructions may be stored on a computer readable storage medium such that the instructions cause the computer, programmable data processing apparatus, and / or other device to operate in a particular manner such that the computer readable medium on which the instructions are stored constitutes an article of manufacture containing instructions that implement each aspect of the functions / operations specified in one or more boxes in the flowcharts and / or block diagrams.
[0161] Loading the computer-readable program instructions into a computer, other programmable data processing apparatus, or other device causes the computer, other programmable data processing apparatus, or other device to perform a series of operational steps to produce a computer-implemented process, such that the instructions executing on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in one or more boxes in the flowcharts and / or block diagrams.
[0162] The flowcharts and block diagrams in the figures illustrate possible architectures, functions, and operations of the systems, methods, and computer program products of various implementations according to the present invention. In this regard, each box in the flowcharts or block diagrams may represent a module, program segment, or part of instructions, which includes one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions depicted in the boxes may occur in a different order than depicted in the figures. For example, two consecutive boxes may in fact be executed substantially in parallel, or may be executed in a reverse order depending on the functions involved. It should also be noted that each box in the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, may be implemented by a special-purpose hardware-based system that performs the specified functions or operations, or by a combination of special-purpose hardware and computer instructions.
[0163] Although each implementation of the present invention has been described above, the above description is illustrative, not exhaustive, and is not limited to each disclosed implementation. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of each described implementation. The selection of terms used in this specification is intended to best interpret the principles, practical applications, or improvements to the technology in the marketplace of each implementation, or to allow those skilled in the art to understand each implementation disclosed in this specification.
Claims
1. In response to an operation to invoke a digital assistant on a first page, displaying a first interaction window between a first user and the digital assistant; displaying one or more plug-ins selected by default in the first dialog window; the one or more default selected plug-ins have a first association relationship with the first page, and each plug-in is configured to perform a corresponding function. Methods of information dialogue.
2. In response to an operation of invoking a main conversation window in which the first user and the digital assistant interact, the first user further includes displaying a main conversation window between the first user and the digital assistant; the application in which the main conversation window is located is a different application than the application in which the first window is located; The method of claim 1.
3. The method comprises: displaying a plug-in selection control in said main conversation window; Synchronizing a dialogue message in the first dialogue window into a main dialogue window in which the first user and the digital assistant interact, further including one or more of; The method of claim 2.
4. and displaying the plug-in selected by the user in the first dialogue window in response to the user's plug-in selection operation. The method of claim 1.
5. The first association relationship is an association relationship between the business type of the application in which the first window is located; an association relationship between the content presented on the first page; an association relationship between a selected portion of the content presented on the first page; An association relationship between the first user on the first page and a history topic of the digital assistant; The method of claim 1.
6. In response to an operation of starting a first topic in a conversation window between a first user and a digital assistant, displaying a first plug-in selection control related to the first topic in the conversation window to select a plug-in to be used in the dialogue of the first topic; presenting a second plug-in selection control associated with the second topic in response to an operation to start a second topic in the conversation window, for selecting a plug-in to be used in a dialogue of the second topic; Methods of information dialogue.
7. a first plug-in selection control associated with the first topic is displayed near a dividing line between the first topic and a previous topic; and a second plug-in selection control associated with the second topic is displayed near a dividing line between the first topic and the second topic; The method according to claim 6.
8. In the dialogue window between the first user and the digital assistant, interface elements related to plugins in the topic are presented, and the plugins used in the corresponding topic can be selected or queried using the interface elements, and each plugin is configured to perform a corresponding function; In the dialogue window, during a current topic dialogue between the first user and the digital assistant, performing a task requested by the first user based on a plug-in selected in the current topic; Methods of information dialogue.
9. Presenting interface elements related to a plugin in a topic presenting a first interface element related to a plug-in in the current topic in response to an operation to start the current topic in the dialogue window, the first interface element enabling a plug-in to be used in the current topic to be selected. The method of claim 8.
10. In the dialogue window, the plug-ins used in the history topic are queryable by a second interface element related to the plug-ins in the history topic; The method of claim 8.
11. and disabling changes to a selected plug-in in the current topic in response to at least one conversation message being received in the current topic. The method of claim 8.
12. The interface elements related to the plugin in the topic are: a plugin selection panel related to the corresponding topic, the plugin selection panel including a list of plugins; or a plug-in selection control for triggering the presentation of the plug-in selection panel; 10. The method of claim 9.
13. a first plug-in selection control for a plug-in selection panel related to the current topic is presented at the top in the dialogue window; The method of claim 12.
14. providing a plug-in search function in the plug-in selection panel for searching for a plug-in from the plug-in list; The method of claim 12.
15. providing a detailed information panel for a first plug-in in response to a detailed information inquiry request for the first plug-in in the plug-in list, the detailed information panel including at least a description of a function of the first plug-in; The method of claim 12.
16. The dialogue window is presented in association with target content, and the dialogue between the first user and the digital assistant in the topic of the dialogue window is contextualized to at least the target content, and the selectable plug-ins in the topic of the dialogue window are determined based on the target content. The method of claim 8.
17. when at least one plug-in is selected in a corresponding topic, interface elements associated with the plug-ins in the corresponding topic include identification information of one or more of the at least one plug-in; The method of claim 8.
18. Presenting a first reply of the digital assistant in the dialogue window, the first reply further including a result of execution of the task and an identification of a plug-in used to execute the task; The method of claim 8.
19. 1. An electronic device comprising: At least one processing unit; at least one memory coupled to said at least one processing unit and configured to store instructions for execution by said at least one processing unit, said instructions, when executed by said at least one processing unit, causing said electronic device to perform the method according to any one of claims 1 to 5, the method according to claim 6 or the method according to any one of claims 8 to 18, Electronic devices.
20. A computer program is stored, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5, the method according to claim 6, or the method according to any one of claims 8 to 18 is realized. A computer-readable storage medium.
Citation Information
Patent Citations
Dynamic addition method of software
JP2010055640A
Systems and methods for presenting contextual actions
JP2011524042A
Processing unstructured messages
JP2018500670A
Digital assistant extensibility for third-party applications
JP2018523193A
Providing personal assistant services via messaging
JP2018530026A
