Information interaction method and device, equipment and storage medium
By receiving and applying configuration information for shortcuts, the digital assistant's response type is indicated, solving the problem of the limited display of shortcut execution results and improving user experience and assistance efficiency.
Patent Information
- Application Number
- CN202311550557.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2024-11-22
AI Technical Summary
In existing technologies, the display of shortcut execution results of digital assistants is monotonous and cannot flexibly adapt to different types of execution results and user needs, resulting in insufficient user experience and assistance efficiency.
By receiving configuration information for shortcuts, the system indicates the response type for the digital assistant and provides execution results based on this configuration information. It ensures that the content type of the execution results is consistent with the configuration information and supports multiple information display modes such as message cards, text messages, and multimedia messages.
It achieves flexibility and adaptability in displaying the execution results of shortcuts, improving user experience and the assistance efficiency of digital assistants.
Smart Images

Figure CN119002739A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to information interaction methods, devices, apparatuses, and computer-readable storage media. Background Art
[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. For example, applications that provide services can be deployed in terminal devices. Terminal devices or their applications can provide assistant functions to users to assist users in using terminal devices or applications to complete tasks. How to make such assistant functions better serve users is a technical problem currently being explored. Summary of the invention
[0003] In a first aspect of the present disclosure, an information interaction method is provided. The method includes: receiving configuration information for a first shortcut command, the configuration information indicating a reply type of a first digital assistant to the first shortcut command; and providing a first user with an execution result of the first digital assistant executing the first shortcut command based on the configuration information, wherein the type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
[0004] In a second aspect of the present disclosure, a device for information interaction is provided. The device includes: a configuration information receiving module configured to receive configuration information for a first shortcut command, the configuration information indicating a reply type of the first digital assistant to the first shortcut command; and an execution result providing module configured to provide the first user with an execution result of the first digital assistant executing the first shortcut command based on the configuration information, wherein the type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
[0005] In a third aspect of the present disclosure, a computing device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device performs the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1A A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] Figure 1B An example schematic diagram of shortcut instructions in an interactive window in a conversation mode of some embodiments of the present disclosure;
[0011] Figure 1C An example schematic diagram of shortcut commands in an interactive window in a floating window mode of some embodiments of the present disclosure;
[0012] Figure 2 A schematic diagram showing an example configuration page for shortcut commands according to some embodiments of the present disclosure is shown;
[0013] Figure 3 shows an example configuration of output parameters of shortcut instructions according to some embodiments of the present disclosure;
[0014] Figure 4A A schematic diagram showing an example session window including shortcut commands according to some embodiments of the present disclosure is shown;
[0015] Figure 4B A schematic diagram showing an example session window showing the execution result of a shortcut command according to some embodiments of the present disclosure is shown;
[0016] Figure 5 A flowchart of a process for information interaction according to some embodiments of the present disclosure is shown;
[0017] Figure 6 A block diagram showing an apparatus for information interaction according to some embodiments of the present disclosure; and
[0018] Figure 7 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0020] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0021] In this article, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. In this article, "model" can also be referred to as "machine learning model", "machine learning network" or "network", and these terms are used interchangeably in this article. A model can also include different types of processing units or networks.
[0022] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0023] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0024] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.
[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0026] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0027] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0028] Figure 1A A schematic diagram of an example environment 100 in which an embodiment of the present disclosure can be implemented is shown. In the example environment 100, an office suite 120 is installed in a terminal device 110. A user 140 can interact with the office suite 120 via the terminal device 110 and / or an attached device of the terminal device 110. The office suite 120 can provide the user 140 with the integration of multiple components. These components can be used as component modules in the office suite 120. The components integrated in the office suite 120 are sometimes also referred to as "office applications", "office components", "collaborative office platforms", etc. As an example, the components integrated in the office suite 120 may include, but are not limited to, one or more of the following: a chat component (also referred to as an instant messaging (IM) component), a document component, an audio and video conference component, an email component, a calendar component, a schedule component, a task component, and an objective and key result (OKR) component.
[0029] In some embodiments, the office suite 120 can be downloaded as an application and installed on the terminal device 110. In some embodiments, the office suite 120 can also be accessed through other methods, such as through a web page.
[0030] exist Figure 1A In the environment 100, if the office suite 120 is started, the terminal device 110 can present an interface 150 of the office suite 120 to the user 140. The interface 150 is sometimes also referred to as a client interface. The interface 150 may include various interfaces that the office suite 120 can provide, such as a conversation interface for presenting chat content, a video conference interface, a file sharing interface, and the like.
[0031] In some embodiments, the terminal device 110 communicates with the server 130 to implement the provision of services of the office suite 120 .
[0032] The above-mentioned terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phone, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, personal communication system (PCS) equipment, personal navigation device, personal digital assistant (PDA), audio / video player, digital camera / camcorder, television receiver, radio broadcast receiver, e-book device, game device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.
[0033] It should be understood that the structure and function of each element in the environment 100 are described for exemplary purposes only, and do not imply any limitation on the scope of the present disclosure. For example, the embodiments of the present disclosure can be applied to any suitable one or more applications, and are not limited to office suites.
[0034] In some embodiments of the present disclosure, a digital assistant is configured for user 140. The digital assistant can be implemented in any suitable form. In some embodiments, the digital assistant of user 140 can interact with it as a contact of user 140. Such a digital assistant can correspond uniquely to user 140. In other words, the digital assistant of user 140 can be specific to or exclusive to user 140. For example, in the process of the digital assistant providing assistance or service to user 140, the digital assistant can use the historical interaction related information with user 140, the data authorized by user 140 that it can access, the current conversation content with the user, etc. If user 140 is an individual or an individual, such a digital assistant can be regarded as a personal digital assistant. It can be understood that in the embodiments of the present disclosure, the digital assistant is based on the authorized access to the data granted authority by user 140. Of course, in other embodiments of the present disclosure, the digital assistant may not be specific or exclusive to a certain user. This is only an example description and is not a limitation.
[0035] It should be understood that “uniquely corresponds” or similar expressions in the present disclosure are not intended to limit the digital assistant to be updated accordingly based on the interaction process between the user 140 and the digital assistant.
[0036] In some embodiments, the digital assistant can be implemented in a single component or application, such as an IM component. In some embodiments, the digital assistant can be implemented in multiple components. For example, these components can be different components of an office suite or a collaborative office platform. In some embodiments, the digital assistant can be directly implemented in the terminal device 110 without being attached to any application. In this embodiment, the digital assistant provides assistance to the user 140 in the form of a contact.
[0037] In some embodiments of the present disclosure, the digital assistant may be an application or device implemented based on machine learning technology. The user may send instructions to the digital assistant through voice, image, or natural language text, and the digital assistant may understand and respond to the voice, image, or natural language input by the user based on the machine learning model. The prompt is the input or input template of the model, which may be natural language and / or other modal data, used to guide or stimulate the model to complete specific processing to obtain the desired model output.
[0038] When users interact with digital assistants, in addition to entering commands (voice, images, or natural language text, etc.), they can also use shortcut commands provided by the system.
[0039] In some embodiments, the shortcut command can be a debugged prompt packaged and provided to the user in the form of a control (shortcut command button). The shortcut command supports the user's one-key trigger to input the packaged prompt into the model to obtain the corresponding output result. The shortcut command allows users to obtain relatively stable execution results at a low cost.
[0040] In some embodiments, shortcut commands may include three types: shortcut commands without parameters, shortcut commands with parameters, and generative or query shortcut commands (also referred to as query commands).
[0041] In some embodiments, after a shortcut command without parameters is selected, the digital assistant can directly execute the operation corresponding to the shortcut command. For example, a shortcut command without parameters can be to schedule a meeting or summarize a meeting. After a shortcut command with parameters is selected, an input box or a secondary menu can be further presented. After the user fills in the parameters in the input box, the digital assistant can execute the operation corresponding to the shortcut command. For example, the shortcut command with parameters is "Overview". After the user selects the shortcut command, the user is further prompted to enter the object to be summarized. For example: a secondary menu of "Write an overview about XXX" is presented, and the user can enter the object to be summarized, such as selecting a document. Inquiry shortcut commands can be generated by a preset model. For example, when the user is in the document reading mode, some inquiry shortcut commands can be generated, such as "Do you want to share this document?"
[0042] As an example, the execution method of the shortcut command includes generating a prompt word for a preset model, for example, generating the prompt word using a prompt word template for the preset model. The execution method can also be to call an application programming interface (API) of the preset model, for example, one or some shortcut commands are bound to the API of the corresponding preset model, and then when one or some shortcut commands are executed, the API can be called to make the preset model perform the corresponding operation.
[0043] After the digital assistant is awakened in the application, it can present a conversation mode interaction window or a floating window mode interaction window. As an example, Figure 1B and Figure 1C Schematic diagrams showing shortcut commands presented in the interactive windows of two modes.
[0044] As an example, refer to Figure 1B , the interface currently presented by the terminal device is the document application interface 170. In the interface 170, the digital assistant is awakened and presents an interactive window 180 of the conversation mode. In the interactive window 180 of the conversation mode, shortcut commands 181 are presented, such as the shortcut command "copy meeting notes" and the shortcut command "forward to the group". The interactive window of the conversation mode can also be called a conversation window.
[0045] As an example, refer to Figure 1C , the interface currently presented by the terminal device is the interface of the document application, in which the digital assistant is awakened and presents an interactive window 190 in a floating window mode. In the interactive window 190 in the floating window mode, shortcut commands 191 are presented, such as shortcut commands "abbreviation", shortcut commands "insert", shortcut commands "edit", shortcut commands "delete", etc.
[0046] In an embodiment of the present disclosure, a shortcut command management platform 160 may also be provided in the environment 100, which can manage the shortcut commands presented in the digital assistant. The management includes, for example, how to create shortcut commands for different applications, which shortcut commands can be presented in different application scenarios, when the shortcut commands can be presented, and how the shortcut commands are executed. Although the shortcut command management platform 160 is shown separately, it should be understood that this is merely exemplary. In some embodiments, the shortcut command management platform 160 can be integrated into the office suite 120 or implemented as an independent platform or device. In some embodiments, the shortcut command management platform 160 can be at least partially integrated in the server 130.
[0047] Conventionally, a single style is used to present the execution result of a shortcut command to the user. For example, text is usually used to display the execution result. However, the execution result of some shortcut commands may not be suitable for displaying using text, or using text may not be intuitive enough.
[0048] To this end, an embodiment of the present disclosure provides an improved scheme for information interaction, which allows a user or other relevant parties of a shortcut command to define the type of reply of a digital assistant to a shortcut command. In this scheme, configuration information for a first shortcut command is received, which indicates the type of reply of the first digital assistant to the first shortcut command. Based on the configuration information, the execution result of the first shortcut command executed by the first digital assistant is provided to the first user. The type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information. In this way, the execution results of the shortcut command can be flexibly improved. Such a flexible provision method can be adapted to different types of execution results and / or user needs of shortcut commands. This advantageously improves the efficiency of the digital assistant in assisting users and the user experience.
[0049] In order to more clearly describe the embodiments of the present disclosure, some example embodiments of the present disclosure will be described with reference to the accompanying drawings. In the following, the office suite is mainly used as an example scenario for description, but this is only exemplary and is not intended to limit the scope of the present disclosure. The digital assistant can be implemented in any other application or scenario, not limited to the office suite.
[0050] In an embodiment of the present disclosure, the shortcut command management platform 160 may support the definition of a shortcut command reply type. For example, the shortcut command management platform 160 may receive configuration information for one or more shortcut commands (also referred to as first shortcut commands for ease of description). The configuration information indicates the reply type of the first digital assistant to the first shortcut command. In some embodiments, the configuration information may also indicate other information, as described below.
[0051] The reply type may include any suitable type of information display mode. For example, the reply type may be a message card, which is a type of multimedia message. For another example, the reply type may be an offline file of a preset type, including but not limited to a PDF file, a WORD file, an EXCEL file, an audio file, an image file, a video file, etc. For another example, the reply type may be an online file of a preset type, such as an online document, an online form, a web link, etc.
[0052] The reply type may also be a text message. The reply type may be a combination of two or more of the above types.
[0053] In some embodiments, the configuration information may be received from a first application associated with the first shortcut command. For example, the first application may be an application that registers the first shortcut command with the shortcut command management platform 160, or may be an application that needs to use the first shortcut command.
[0054] Exemplarily, the shortcut command management platform 160 may provide a configuration page for configuring shortcut commands to the associated party of the first application (eg, the creator or operator of the first application). The associated party of the first application may input configuration information for the first shortcut command in the configuration page.
[0055] refer to Figure 2 Describe an example. Figure 2 An example configuration page 200 is shown. Configuration page 200 includes a configuration area 210 for input parameters and a configuration area 220 for output parameters. As mentioned above, for shortcut commands with parameters, the user who clicks the shortcut command needs to input the parameter value. The output parameter can be used to limit the display parameters of the execution result of the shortcut command. A control 230 for configuring the reply type is provided in configuration area 220. If control 230 is triggered, a drop-down menu 231 can be displayed. Through drop-down menu 231, the associated party of the application can choose whether to display the execution result to the user. In the case of displaying it to the user, a drop-down menu 232 can be further displayed. Through drop-down menu 232, the associated party can choose the type of reply to display the execution result to the user, for example Figure 2 "Text message" and "Multimedia message" are shown as examples.
[0056] In some embodiments, the first digital assistant's reply to the first shortcut command may include multiple messages, and the configuration information indicates the corresponding reply type of at least some of the multiple messages. For example, the multiple messages may correspond to multiple output parameters of the shortcut command. Figure 2 In the configuration page 200 shown, the associated party can add output parameters by triggering the control 235, that is, can set the number of reply messages and related configurations.
[0057] refer to Figure 3 Describe an example. Figure 3 300 is shown for the configuration area of the output parameters of the shortcut command. Figure 3 As shown, the shortcut command is configured with two output parameters, where the reply type for output parameter 1 is a text message, and the reply type for output parameter 2 is a multimedia message. That is, the digital assistant displays the first reply message of the shortcut command in text form, and the digital assistant displays the second reply message of the shortcut command in multimedia form.
[0058] The configuration information described above may be provided by an associated party of the first application, or provided by an associated party of the first digital assistant (for example, the creator or operator).
[0059] In some embodiments, user 140 may provide configuration information, that is, the user may customize the reply mode of the shortcut command. For example, the first user may configure the reply type of one or more shortcut commands in the personal homepage of the first digital assistant.
[0060] In some embodiments, the shortcut command management platform 160 may provide the user 140 with a setting control for the reply type of the shortcut command. For example, the first shortcut command may be displayed in the interaction interface between the first user and the first digital assistant. The interaction interface here may be an interaction window in a floating window mode or an interaction window in a conversation mode. If the first shortcut command is triggered, a setting control for the reply type of the first shortcut command may be displayed. The first user may provide configuration information via the setting control, for example, selecting the reply type to be used from various types such as text messages, message cards, files of preset types, multimedia files, etc. The setting control may be in any suitable form. The embodiments of the present disclosure are not limited in this respect.
[0061] In some embodiments, the first shortcut command may be a shortcut command with parameters. Accordingly, the reply type is received as a user input parameter of the first shortcut command. For example, after the first shortcut command is triggered, an input box or a secondary menu may be further displayed. The input box or the secondary menu includes options for the reply type. After the user fills in the reply type in the input box or selects the reply type through the secondary menu, the shortcut command management platform 160 may receive the reply type indicated by the user as at least part of the configuration information.
[0062] After obtaining the configuration information for the first shortcut command, the shortcut command management platform 160 can provide the first user with the execution result of the first digital assistant executing the first shortcut command based on the configuration information. The type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
[0063] The following is a combination of message cards with reply types Figure 4A and Figure 4B Describe an example. Figure 4A The conversation window 410 between the user and the digital assistant is shown. In the conversation window 410, a shortcut command 411 "summarize yesterday's message" is displayed. The reply type configured for the shortcut command 411 is a message card. The user triggers the shortcut command 411. Accordingly, the digital assistant executes the shortcut command 411. Figure 4B As shown, the digital assistant displays the execution result in the message card 420 in the conversation window 410.
[0064] In some embodiments, as mentioned above, the first digital assistant's reply to the first shortcut command may include multiple messages, and the configuration information indicates the corresponding reply type of at least some of the multiple messages. In this embodiment, at least a portion of the execution results can be displayed in the conversation interface according to the corresponding reply type of at least some of the multiple messages. For example, for Figure 3 In the example shown, in the conversation interface between the user and the digital assistant, the part corresponding to output parameter 1 is displayed as a text message, and the part corresponding to output parameter 2 is displayed as a multimedia message (e.g., a message card).
[0065] In some embodiments, if at least a portion of the execution result is displayed in a message card, the message card may be provided with one or more controls for performing operations related to the execution result. Figure 4B As shown, a control A 421, a control B 422, and a control C 423 are provided in the message card 420. These controls can be used to trigger any suitable operation related to the execution result, such as subscribing to the execution result, regenerating the execution result, supplementing the missing information, or confirming the execution result.
[0066] In some embodiments, if the reply type is a preset type, the displayed execution result may also be updated. The preset type may be, for example, a message card, a multimedia file, etc. Exemplarily, if the data source or condition for obtaining the execution result is updated, the displayed execution result may be updated accordingly. In this way, the user may be aware of the effects of the relevant changes.
[0067] Figure 5 A flowchart of a process 500 of information interaction according to some embodiments of the present disclosure is shown. The process 500 may be implemented in the shortcut command management platform 160, or the server 130, or the terminal device 110, or a combination thereof. The process 500 is described below with reference to the shortcut command management platform 160.
[0068] In block 510, the shortcut command management platform 160 receives configuration information for the first shortcut command. The configuration information indicates the type of reply of the first digital assistant to the first shortcut command.
[0069] In block 620, the shortcut command management platform 160 provides the first user with an execution result of the first shortcut command executed by the first digital assistant based on the configuration information. The type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
[0070] In some embodiments, receiving configuration information for the first shortcut instruction includes: receiving configuration information from a first application associated with the first shortcut instruction.
[0071] In some embodiments, receiving configuration information for the first shortcut command includes: displaying the first shortcut command in the interaction interface between the first user and the first digital assistant; displaying a setting control for the reply type in response to the first shortcut command being triggered; and receiving configuration information via the setting control.
[0072] In some embodiments, the first shortcut command is a shortcut command with parameters, and the reply type is received as a user input parameter of the first shortcut command.
[0073] In some embodiments, the first digital assistant's reply to the first shortcut command includes multiple messages, and the configuration information indicates the corresponding reply types of at least some of the multiple messages, and providing the execution result of the first shortcut command to the first user includes: in the conversation interface between the first user and the first digital assistant, according to the corresponding reply types of at least some of the multiple messages, displaying at least part of the execution results in at least some of the messages.
[0074] In some embodiments, the reply type includes at least one of the following: a message card; an offline file of a preset type; an online file of a preset type.
[0075] In some embodiments, providing the execution result includes: displaying a message card including at least a portion of the execution result in a conversation window between the first user and the first digital assistant, and providing one or more controls in the message card for performing operations related to the execution result.
[0076] In some embodiments, the reply type is a preset type, and process 500 further includes: in response to a condition associated with the first shortcut instruction being satisfied, updating the execution result.
[0077] In some embodiments, the condition related to the first shortcut instruction being satisfied includes: a data source or condition for obtaining the execution result of the first shortcut instruction being updated.
[0078] Figure 6 1 and 2 also show a flow chart of an apparatus 600 for information interaction according to some embodiments of the present disclosure. The apparatus 900 may be implemented as or included in the shortcut command management platform 160, or the server 130, or the terminal device 110, or a combination thereof. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0079] As shown in the figure, the device 600 includes a configuration information receiving module 610, which is configured to receive configuration information for the first shortcut command, and the configuration information indicates the type of reply of the first digital assistant to the first shortcut command. The device 600 also includes an execution result providing module 620, which is configured to provide the first user with the execution result of the first digital assistant executing the first shortcut command based on the configuration information, and the type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
[0080] In some embodiments, the configuration information receiving module 610 is further configured to: receive configuration information from a first application associated with the first shortcut instruction.
[0081] In some embodiments, the configuration information receiving module 610 is further configured to: display a first shortcut command in the interaction interface between the first user and the first digital assistant; display a setting control for the reply type in response to the first shortcut command being triggered; and receive configuration information via the setting control.
[0082] In some embodiments, the first shortcut command is a shortcut command with parameters, and the reply type is received as a user input parameter of the first shortcut command.
[0083] In some embodiments, the first digital assistant's reply to the first shortcut command includes multiple messages, and the configuration information indicates the corresponding reply type of at least some of the multiple messages, and the execution result providing module 620 is further configured to: in the conversation interface between the first user and the first digital assistant, according to the corresponding reply type of at least some of the multiple messages, display at least part of the execution results in at least some of the messages.
[0084] In some embodiments, the reply type includes at least one of the following: a message card; an offline file of a preset type; an online file of a preset type.
[0085] In some embodiments, the execution result providing module 620 is further configured to: display a message card including at least a portion of the execution result in the conversation window between the first user and the first digital assistant, and one or more controls are provided in the message card for performing operations related to the execution result.
[0086] In some embodiments, the reply type is a preset type, and the device 600 further includes a result updating module configured to update the execution result in response to a condition associated with the first shortcut instruction being satisfied.
[0087] In some embodiments, the condition related to the first shortcut instruction being satisfied includes: a data source or condition for obtaining the execution result of the first shortcut instruction being updated.
[0088] Figure 7 A block diagram of an electronic device 700 is shown in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 7 The electronic device 700 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown may be used to implement the terminal device 110 or the shortcut command management platform 160 or the server 130 of FIG. 1 .
[0089] like Figure 7 As shown, the electronic device 700 is in the form of a general electronic device. The components of the electronic device 700 may include, but are not limited to, one or more processors or processing units 710, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
[0090] The electronic device 700 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 700.
[0091] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 7 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0092] The communication unit 740 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0093] The input device 750 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 760 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 700 may also communicate with one or more external devices (not shown) through the communication unit 740 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 700, or communicate with any device that allows the electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0094] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0095] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0096] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0097] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0098] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0099] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. An information interaction method, comprising: Receiving configuration information for a first shortcut command, the configuration information indicating a reply type of the first digital assistant to the first shortcut command; as well as Based on the configuration information, the execution result of the first digital assistant executing the first shortcut instruction is provided to the first user, and the type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
2. The method according to claim 1, wherein receiving configuration information for the first shortcut instruction comprises: The configuration information is received from a first application associated with the first shortcut instruction.
3. The method according to claim 1, wherein receiving configuration information for the first shortcut instruction comprises: In an interaction interface between the first user and the first digital assistant, displaying the first shortcut command; In response to the first shortcut instruction being triggered, displaying a setting control for the reply type; and The configuration information is received via the settings control. The method according to claim 3 , wherein the first shortcut command is a shortcut command with parameters, and the reply type is received as a user input parameter of the first shortcut command.
5. The method according to claim 1, wherein the reply of the first digital assistant to the first shortcut instruction includes multiple messages, and the configuration information indicates the corresponding reply type of at least some of the multiple messages, and providing the first user with the execution result of the first shortcut instruction comprises: In the conversation interface between the first user and the first digital assistant, according to the corresponding reply types of at least some of the multiple messages, at least a part of the execution results are displayed in at least some of the messages.
6. The method according to claim 1, wherein the reply type comprises at least one of the following: Message Cards; Offline files of preset types; Online files of preset types.
7. The method according to claim 1, wherein providing the execution result comprises: In a conversation window between the first user and the first digital assistant, a message card including at least a portion of the execution result is displayed, and One or more controls are provided in the message card for performing operations related to the execution result.
8. The method according to claim 1, wherein the reply type is a preset type, and the method further comprises: In response to a condition associated with the first shortcut instruction being satisfied, updating the execution result.
9. The method according to claim 8, wherein: The condition related to the first shortcut command being satisfied includes: The data source or condition for obtaining the execution result of the first shortcut instruction is updated.
10. A device for information interaction, comprising: A configuration information receiving module, configured to receive configuration information for a first shortcut command, wherein the configuration information indicates a reply type of the first digital assistant to the first shortcut command; as well as An execution result providing module is configured to provide the first user with an execution result of the first digital assistant executing the first shortcut instruction based on the configuration information, and the type of at least part of the content in the execution result is consistent with the reply type indicated by the configuration information.
11. A computing device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.
12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Vehicle and method of controlling the same
CN105882572A
Message sending method and device, terminal and storage medium
CN112118168A
Session message processing method and device, computer equipment and storage medium
CN112202661A
Information processing method and device, electronic equipment and storage medium
CN116471249A
Automated summary of digital group conversations
US20190386949A1
