Canceling an application action via user interaction with an automated assistant

JP7534451B2Active Publication Date: 2024-08-14GOOGLE LLC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022578717
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-25
Filing Date
2021-12-06
Publication Date
2024-08-14
Estimated Expiration
2041-12-06

Smart Images

  • Figure 0007534451000006
    Figure 0007534451000006
  • Figure 0007534451000005
    Figure 0007534451000005
  • Figure 0007534451000007
    Figure 0007534451000007
Patent Text Reader

Abstract

Implementations described herein relate to automated assistants that can perform actions to restore various applications to a previous state that the applications may have reached through some user input. A user may provide a voice utterance such as “Cancel” to have the automated assistant identify a specific application that the user wants to affect with the “Cancel” command. When the specific application is identified, the automated assistant may identify one or more actions recently performed using the specific application. In some implementations, the automated assistant may provide the user with various cancel options in response to the “Cancel” command. For example, the automated assistant may prompt the user to select one of a first cluster of actions and / or a second cluster of actions to be undone, where each cluster may refer to a different action.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Concerning canceling an application action via user interaction with an automated assistant. [Background technology]

[0002] Humans may engage in human-to-computer dialogue with interactive software applications referred to herein as "automated assistants" (also referred to as "digital agents," "chatbots," "conversational personal assistants," "intelligent assistants," "conversational agents," etc.). For example, a human (who may be referred to as a "user" when interacting with an automated assistant) may provide commands and / or requests by providing voice natural language input (i.e., spoken utterances), which may in some cases be converted to text and then processed, and / or by providing textual (e.g., typed) natural language, which may be processed.

[0003] In some cases, a user may interact with an application to perform certain actions, such as editing a document, playing music, searching the Internet, among other actions. Some applications may provide features that allow a user to undo actions performed by the application. For example, a user may manually interact with an application to revert the application from its current state to a previous state of the application. A user may employ an automated assistant to have the application perform certain actions to reach the current state, and each action may need to be manually undone in the application's interface to revert to the previous state. For example, when a user is interacting with an application through an assistant-enabled device (e.g., a standalone speaker device), reverting to a previous state in this manner may require the user to initialize the application on a different device (e.g., a laptop). This may waste power and other resources, such as network bandwidth, which may be increasingly consumed as additional devices are activated on a given network. Summary of the Invention [Means for solving the problem]

[0004] Implementations described herein relate to automated assistants that can perform undo operations for a variety of different applications and / or smart devices. The undo operations can reduce some operations that a user would otherwise manually perform on a computing device, thereby saving computational resources. For example, an automated assistant that performs undo operations can reduce the amount of time a user must spend manually interacting with an application through an application interface and / or the quality of input that the user must provide by interacting with the application, thereby reducing power consumption. Furthermore, employing an automated assistant with robust features for restoring application and / or smart device states can allow a user to more easily receive a desired output from an application and / or have the application perform a desired action without having to provide a large number of clarifying inputs. This additionally or alternatively saves processing bandwidth that may otherwise be consumed when a user exclusively relies on manual user input to achieve a particular application state.

[0005] In some implementations, the automated assistant may operate to enable a "cancel" command when one or more conditions are met, thereby limiting instances in which the "cancel" action is accidentally triggered. For example, the automated assistant may enable the cancel command when the automated assistant determines that, with prior permission from the user, the user has the application perform one or more actions to control the application and / or a device associated with the application. The application may be, but is not limited to, a document editing application, a music application, a text messaging application, an email application, a contact application, a calendar application, a reminder application, a smart device application associated with one or more smart devices (e.g., smart lighting, smart thermostats, smart appliances, smart TVs, smart speakers, and / or any other Internet of Things (IoT) devices) that are included within an ecosystem of smart devices associated with the user and that may be controlled by the automated assistant, and / or any other application accessible by the user's computing device and that also provides access to the automated assistant. Additionally, the user (or the automated assistant on behalf of the user) may interact with the application to transition the application and / or the device associated with the application through various states. For example, in an implementation where the application is a document editing application, adding, removing, or modifying text of the document may correspond to the application transitioning through various states. As another example, in an implementation where the application is a smart device application, changing the state of the corresponding smart device may correspond to the application and / or the smart device transitioning through various states.Also, in an implementation where the application is, for example, a calendar or reminder application, adding, removing, or modifying text of an entry may correspond to the application transitioning through various states.

[0006] For example, assume that a user is editing a document via a document editing application and performs various different edits on the draft document over the course of several hours. Assume further that the user determines, based on feedback received from a colleague, that the draft document should not include some of the recent edits, and in response, the user launches an automated assistant to undo those recent edits. In this example, the user may provide a spoken utterance, such as "cancel," to launch the automated assistant to initiate the undo action. In response to receiving the spoken utterance, the automated assistant may determine that the user launches the automated assistant to undo one or more actions performed on the document. Additionally, the automated assistant may identify one or more specific applications (e.g., document editing applications) to which the user may be referring and / or one or more actions (e.g., those recent edits) to which the user may be referring.

[0007] As another example, assume that a user provides a voice utterance including the command "Turn on kitchen lights and dim them to 50%" to transition a kitchen smart light from an "off" state to an "on" state, and then sets the intensity of the smart light to 50% intensity. Assume further that the user provides an additional voice utterance, such as "cancel" to initiate an action to activate an automated assistant and cancel. In response to receiving the additional voice utterance, the automated assistant may determine that the user is activating the automated assistant to cancel one or more actions being performed on the smart light. Additionally, the automated assistant may identify one or more specific applications (e.g., smart lighting applications) to which the user may be referring and / or one or more actions (e.g., turn on smart lights and / or dim smart lights) to which the user may be referring. In this example, the automated assistant may determine that "cancel" simply refers to canceling the "dim" of the smart light, and the automated assistant may restore the smart light to its previous intensity again. Additionally or alternatively, the automated assistant may determine that "cancel" refers to canceling both "turning on" the smart light and "dimming" the smart light. In this example, the automated assistant may restore the smart light to an "off" state again (and optionally without changing the intensity of the smart light). Further, in these examples, the automated assistant may generate a prompt to be provided for presentation to the user and may determine, based on user input received in response to the prompt, whether the user intends to perform a cancel action directed to turning on the light and / or dimming the light. In contrast, if the additional voice utterance specifies "cancel dimming," the automated assistant may restore the smart light to its previous intensity again and maintain the smart light in an "on" state without generating any prompt.Moreover, if an additional voice utterance specifies, for example, "cancel all of it," the automated assistant may revert the smart lights to the "off" state again without generating any prompts (and, optionally, without changing the intensity of the smart lights). Also, in contrast, if a command to turn the kitchen lights "on" and to "dim" the kitchen lights is received in a separate utterance, the automated assistant may undo the recent state change.

[0008] In some implementations, with prior permission from the user, the automated assistant may access an action log that includes data characterizing recent actions being performed by applications associated with the user and / or actions being performed by the automated assistant on behalf of applications (e.g., controlling one or more smart devices). The action log may be processed using heuristic processes and / or one or more trained machine learning models to identify specific actions and / or clusters of actions defined at various levels of granularity (e.g., undoing the inclusion of a particular word or phrase versus undoing the inclusion of a sentence or paragraph in an example document) that the user may be seeking to undo. For example, the action log may be processed to identify one or more recent actions that are most correlated to a "cancel" command issued by the user. In some versions of these implementations, the action log may be generated by the automated assistant based on data characterizing various interactions between the user and one or more applications and / or smart devices, as well as other contextual data that may be associated with those interactions. For example, the user may have provided the voice utterance "cancel" while the user was browsing an application within the foreground of a display interface of a computing device. This foreground position of the application may be characterized by contextual data that may be used by the automated assistant to determine that the user is likely requesting that only the most recent actions of the application in the action log be undone. Based on this determination, the automated assistant may identify one or more most recent actions performed using the application and cause one or more other actions to be performed to undo those most recent actions. As another example, the user may have provided the voice utterance "cancel" within a threshold duration in which one or more particular actions are performed.This temporal proximity of one or more specific actions and the actions to be undone may be characterized by contextual data that may be used by the automated assistant to determine that the user is likely requesting that one or more of the specific actions be undone. Based on this determination, the automated assistant may identify one or more of the specific actions and cause one or more other actions to be performed to undo those immediate actions. Additionally, the automated assistant may identify one or more immediate actions within an action performed using an application that are semantically related. For example, edits to a paragraph of a document or a portion of a document within a document editing application may be determined to be semantically related, and edits to those paragraphs or portions may be identified as a cluster of actions that the user may be requesting to be undone.

[0009] In some implementations, the automated assistant may provide the user with one or more options for the action to be cancelled by the automated assistant. Alternatively or additionally, the automated assistant may provide the user with one or more previous application states to select from to cancel some actions. For example, in response to a voice utterance "cancel," the automated assistant may cause two or more selectable graphical user interface (GUI) elements to be rendered in a display interface accessed by the user. The first selectable GUI element may include content reflecting a first previous state of the application, and the second selectable GUI element may include content reflecting a different, second previous state of the application. For example, the first selectable GUI element and the second selectable GUI element may each include a different rendering of a draft document that the user was editing via a document editing application prior to one or more recent edits made by the user to the draft document, a different state of the smart device that was recently modified via a corresponding smart device application, and a different day and / or time for a calendar entry or reminder that was recently modified via a calendar application or a reminder application, respectively. If the user identifies a particular state to which to return, the user may select a particular selectable GUI element that corresponds to that particular state, and in response, the automated assistant can cause the document editing application to modify the draft document so that the draft document reverts to the state that corresponds to the selected GUI element.

[0010] In some implementations, a user may request that the automated assistant perform a particular type of undo such that some actions are selected to be undone and other actions are not undone. The actions may be selected by the automated assistant according to the content of the input provided by the user and / or contextual data associated with the input. For example, a user may be editing a playlist of a music application by adding some songs to the playlist and removing other songs from the playlist. While the user continues to edit the playlist, the user may invoke the automated assistant by providing a voice utterance such as "Assistant, undo those additions." In response, the automated assistant may determine that some of the most recent actions performed by the user via the music application include adding, reordering, and / or removing songs from a playlist. The automated assistant may then select the most recent action of adding a song while bypassing the selection of any action for removing a song. The automated assistant may then perform one or more actions that cause the music application to "undo" the previous action of adding a song to a playlist associated with the user. In these and other ways, a user may rely on an automated assistant to identify specific actions that the user would like to have undone, without the user having to manually interact directly with the music application to effect such changes.

[0011] The above description has been provided as a summary of some implementations of the present disclosure. Further descriptions of those implementations, as well as other implementations, are described in more detail below. [Brief description of the drawings]

[0012] [Figure 1A] FIG. 13 illustrates a view in which a user launches an automated assistant to restore a separate application to its previous operating state. [Figure 1B]FIG. 13 illustrates a view in which a user launches an automated assistant to restore a separate application to its previous operating state. [Figure 1C] FIG. 13 illustrates a view in which a user launches an automated assistant to restore a separate application to its previous operating state. [Figure 2A] FIG. 13 illustrates a view in which a user employs an automated assistant to restore a third-party application to a previous operational state. [Figure 2B] FIG. 13 illustrates a view in which a user employs an automated assistant to restore a third-party application to a previous operational state. [Figure 2C] FIG. 13 illustrates a view in which a user employs an automated assistant to restore a third-party application to a previous operational state. [Figure 2D] FIG. 1 illustrates a user employing an automated assistant to restore a third-party application to a previous operating state. [Figure 2E] FIG. 13 illustrates a view in which a user employs an automated assistant to restore a third-party application to a previous operational state. [Diagram 3] FIG. 1 illustrates a system that provides an automated assistant that can perform actions to restore various applications to a previous state that the applications may have reached through previous user input. [Figure 4] FIG. 1 illustrates a method for having an automated assistant restore each application of one or more separate applications to a respective application state. [Diagram 5] FIG. 1 is a block diagram of an exemplary computer system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] 1A, 1B, and 1C show views 100, 120, and 140, respectively, in which a user 102 is invoking an automated assistant to restore a corresponding application to a previous operating state. Allowing a user 102 to invoke an automated assistant to perform such an action may reduce the number of direct interactions the user 102 would otherwise have with the corresponding application. As a result, some tasks may be performed more quickly on a particular computing device 104, and some computational resources, such as memory and processing bandwidth, may be conserved.

[0014] As an example, the user 102 may be interacting with a third party application, such as a third party audio application that allows the user 102 to edit audio data. The third party audio application may receive input from the user 102 through one or more interfaces of the computing device 104. For example, the computing device 104 may include a display interface 106 that may receive touch input from the hand 108 of the user 102. As used herein, the term first party refers to an entity that publishes and maintains an automated assistant, and the term third party refers to an entity that does not publish and maintain an automated assistant that is separate from the entity associated with the first party. Although these techniques are generally described herein with respect to third party applications, it should be understood that this is by way of example and not meant to be limiting, and that the techniques described herein may also be utilized with respect to first party applications.

[0015] While the user 102 is interacting with the third-party audio application, the third-party audio application may be in a first state 114. The third-party audio application may transition between states in response to one or more inputs (e.g., voice input, touch input, and / or typed input) from the user 102. For example, the user 102 may interact with the third-party audio application interface 110 to edit an audio file that the user 102 has opened. For example, assume that the user 102 applies a filter to reduce noise in the audio file and applies an equalizer to reduce the amplitude of some frequencies in the audio file. When the user 102 provides one or more of these inputs to the third-party audio application, the third-party audio application may represent a second state 124, as shown in the view 120 of FIG. 1B. In other words, the inputs from the user 102 cause the audio file to be modified, thereby causing the third-party audio application to represent a different state.

[0016] In some implementations, the user 102 may invoke the automated assistant via the computing device 104 (or a separate computing device in communication with the computing device 104 via a network (e.g., a local area network (LAN) such as Wi-Fi, Bluetooth, and / or a wide area network (WAN) such as the Internet)) to restore the third-party audio application from the second state 124 back to the first state 114. The user 102 may cause the automated assistant to initiate the performance of this "cancel" action by providing a voice utterance 122 such as "Assistant, cancel." In response to receiving the voice utterance 122, the automated assistant may identify one or more applications and / or one or more actions to which the user 102 may be referring. For example, in some implementations, the automated assistant may access log data that identifies actions performed by various applications associated with the user 102. In some implementations, action identifiers in the log data may be processed to identify clusters of actions to which the user 102 may be referring for various applications. For example, in response to the audio utterance 122, similarities between the actions may be identified to determine whether one or more of the actions should be "undone."

[0017] For example, characteristics such as the time of receipt of the corresponding input, the time of execution, the location of the corresponding device, the type of action, the application associated with the action, the data associated with the action, the frequency with which the type of action is performed (and optionally subsequently undone), the amount of time between the type of action being performed and the subsequent action (and optionally the subsequent action being the action to be undone), metadata associated with the previous action and / or the content interacted with during the previous action, features derived from the text contained within the document when the one or more actions are performed (e.g., embedding for one or more words or phrases, sentences, paragraphs, etc.), and / or any other characteristics of the action may be identified by the automated assistant. Alternatively or additionally, screen capture data may be generated with prior permission from the user to identify the state of one or more applications. One or more states associated with the log data may be stored such that a selected number of actions from the set of actions for reverting to a particular application state may be identified. In particular, one or more of these characteristics may be specific to a user of the computing device 104 or may be generalized to multiple users.

[0018] 1A-1C, in response to the voice utterance 122, the automated assistant may identify one or more other actions that the third-party audio application may perform to return to the first state 114. For example, the screen capture data and / or log data may indicate that the user 102 has caused the third-party audio application to perform filtering and equalization operations on the audio file. In some implementations, this determination may be based on a corresponding menu item (e.g., shown in FIG. 1B) being selected by the user 102 and / or the operating system of the computing device 104 providing the automated assistant (with prior permission from the user) with various details regarding the operations initiated by the user 102 who provided the voice utterance 122.

[0019] 2A, 2B, 2C, 2D, and 2E show views 200, 220, 240, 260, and 280, respectively, in which a user 202 employs an automated assistant to restore a third-party application to a previous operating state. The third-party application may be, for example, a third-party calendar application that allows the user 202 to perform various scheduling tasks. The third-party calendar application may be installed on or otherwise accessible via the computing device 204, which also provides access to the automated assistant. In these and other ways, the user 202 may control the third-party calendar application via the automated assistant and third-party calendar application interface 210.

[0020] For example, user 202 may use his / her hands 212 to interact with third-party calendar application interface 210 via touch input or typed input directed to display interface 206 to schedule various events for different days managed by the third-party calendar application. User 202 may tap a particular day, such as Monday, to add an event, such as a band rehearsal. In addition, user 202 may tap another day, such as Tuesday, to add another event, as shown in view 200 of FIG. 2A. By interacting with third-party calendar application interface 210, user 202 may cause user input to be communicated from the operating system of computing device 204 to the third-party calendar application. As a result, the user input may cause the third-party calendar application to perform one or more actions and / or change the operational state of the third-party calendar application. For example, in response to receiving one or more user inputs, such as selecting a drop-down menu to create a new event and entering text into several fields of the new event, third-party calendar application interface 210 may render new event 224.

[0021] In some implementations, the automated assistant can generate and / or access log data that characterizes one or more operations and / or one or more operation states of a third-party calendar application. For example, the log data can characterize a first application state in which a calendar rendered in the third-party calendar application interface 210 does not include any events. The log data can characterize a second application state in which a calendar rendered in the third-party calendar application interface 210 includes a single event for Monday on the calendar. Additionally, the log data can characterize a third application state in which the third-party calendar application interface 210 is rendering events for Monday and Tuesday, but the new event 224 for Tuesday has not been completed.

[0022] While the user interacts with the third-party calendar application interface 210, the user 202 may invoke the automated assistant to restore the third-party calendar application to a previous state. For example, the user 202 may provide a voice utterance 222 such as “Assistant, cancel.” Although the user 202 does not specify a particular state for the third-party calendar application to restore, the automated assistant may still either independently determine the operational state to which the user 202 seeks to revert or provide state options for the user 202 to select from. In some implementations, the computing device 204 and / or the separate computing device 244 may process input data 246 corresponding to the voice utterance 222. The input data 246 may be processed to identify one or more requests submitted by the user 202 to the automated assistant. For example, the automated assistant may determine that the voice utterance 222 corresponds to a request for the automated assistant to initiate a cancel operation in one or more applications (e.g., a third-party calendar application or another application accessible in the computing device 204 or in the separate computing device 244). Upon determining that the voice utterance 222 corresponds to a request for the automated assistant to initiate an action to be cancelled, the automated assistant may process the voice utterance 222 using an automatic speech recognition (ASR) model to generate recognized text. Additionally, the automated assistant may process the recognized text using a natural language understanding (NLU) model to identify an intent indicating a request for the automated assistant to initiate an action to be cancelled. Processing the voice utterance 222 to determine that it includes a request for the automated assistant to initiate an action to be cancelled is described in more detail herein (e.g., with respect to FIG. 3).

[0023] Based on this determination, the automated assistant may generate and / or identify state data 248 characterizing one or more applications and / or one or more states of a smart device associated with one or more of the applications that may be associated with the user 202. For example, application data associated with one or more applications being accessed by the user 202 may be processed to identify application states that have been recently modified by the user 202. Additionally or alternatively, contextual data characterizing various contextual features associated with the voice utterance 222 may be processed. In some implementations, the state data 248 may be generated via a heuristic process and / or using one or more trained machine learning models. For example, one or more trained machine learning models may be used when processing the application data, log data, and / or contextual data to identify correlations between requests from a user and one or more application states.

[0024] The state selection data 250 may be generated based on one or more application states that have been identified as correlating to a request for a cancel action. The state selection data 250 may, for example, identify a number of states in which the user 202 may be requesting the automated assistant to restore the application and / or smart device. For example, the state selection data 250 may include graphical data (e.g., visual content, natural language content) corresponding to an application interface for a third-party calendar application. The automated assistant may use the state selection data 250 to generate a prompt in the application interface of the computing device 204 to enable the user 202 to select a particular application state. In some implementations, the automated assistant may provide the state selection data to the third-party calendar application and / or the operating system of the computing device 204 to cause the interface of the computing device 204 to render state selection options to the user 202.

[0025] For example, as provided in the view 220 of FIG. 2D, the automated assistant may cause a first selectable element 262 and a second selectable element 264 to be rendered in the display interface 206 of the computing device 204. When the selectable elements are rendered in the display interface 206, the user 202 may perform an action 266 by selecting a particular selectable element from among at least the first selectable element 262 and the second selectable element 264 that corresponds to a desired application state to which the user 202 wishes to return the third-party calendar application. For example, the user 202 may use his / her hand 212 to tap the display interface 206 at a location corresponding to the second selectable element 264. In response, the automated assistant may cause the third-party calendar application to perform one or more actions to return to an application state in which Monday events and Tuesday events (e.g., from FIG. 2B) are no longer entered into the calendar. This application state may correspond to the image content of the second selectable element 264 provided in FIG. 2D, in which the portion 282 of the third-party calendar application interface 210 no longer shows Monday events and Tuesday events. Additionally, this may save computational resources and time that would otherwise be consumed if the user had to directly and subsequently enter instructions to a third-party calendar application to remove the event.

[0026] In some implementations, the automated assistant may generate graphical content that characterizes various application interfaces of various applications, and the graphical content may be stored in association with actions identified in the log data. In these and other ways, when a user requests an automated assistant to restore an application and / or a smart device to a previous state, a user selection of a GUI selectable element may correlate to one or more actions identified in the log data. The automated assistant may then identify one or more other actions to be performed by the application to undo the one or more actions and / or to restore the application and / or smart device to a previous state. In some implementations, once the user identifies one or more actions that caused the current state from which the automated assistant is requesting the application and / or smart device to restore, the automated assistant may request action data via the application programming interface. The action data may identify one or more other actions that will undo the one or more actions. Using this action data, the automated assistant may then request that the application and / or smart device perform one or more other actions.

[0027] FIG. 3 illustrates a system 300 that provides an automated assistant that may perform operations to restore various applications to a previous state that the applications and / or smart devices may have reached through a previous user input. The automated assistant 304 may operate as part of an assistant application provided in one or more computing devices, such as the computing device 302 and / or a server device. A user may interact with the automated assistant 304 through an assistant interface 320, which may be a microphone, a camera, a touch screen display, a user interface, and / or any other device capable of providing an interface between a user and an application and / or a smart device; for example, a user may initialize the automated assistant 304 by providing verbal, textual, and / or touch input to the assistant interface 320 to cause the automated assistant 304 to initialize one or more actions (e.g., providing data, controlling a peripheral device, accessing an agent, generating input and / or output, etc.). Alternatively, the automated assistant 304 may be initialized based on processing the context data 336 using one or more trained machine learning models. The contextual data 336 may characterize one or more features of an environment in which the automated assistant 304 can access and / or one or more features of a user who is expected to interact with the automated assistant 304. The computing device 302 may include a display device, which may be a display panel including a touch interface for receiving touch inputs and / or gestures to enable a user to control the applications 334 of the computing device 302 via a touch interface.In some implementations, the computing device 302 may lack a display device, thereby providing an audible user interface output without providing a graphical user interface output. Additionally, the computing device 302 may provide a user interface, such as a microphone, to receive spoken natural language input from a user. In some implementations, the computing device 302 may include a touch interface and may lack a camera, but may optionally include one or more other sensors.

[0028] The computing device 302 and / or other computing devices may be in communication with a server device over a network, such as the Internet. In addition, the computing device 302 and any other computing devices may be in communication with each other over a local area network (LAN), such as a Wi-Fi network. The computing device 302 may offload computational tasks to the server device to conserve computational resources at the computing device 302. For example, the server device may host the automated assistant 304 and / or the computing device 302 may send inputs received at one or more assistant interfaces 320 to the server device. However, in some implementations, the automated assistant 304 may be hosted at the computing device 302 and various processes that may be associated with automated assistant operations may be implemented at the computing device 302.

[0029] In various implementations, all or less than all aspects of the automated assistant 304 may be implemented on the computing device 302. In some of those implementations, aspects of the automated assistant 304 may be implemented via the computing device 302 and interface with a server device that may implement other aspects of the automated assistant 304. The server device may optionally serve multiple users and their associated assistant applications via multiple threads. In implementations in which all or less than all aspects of the automated assistant 304 are implemented via the computing device 302, the automated assistant 304 may be an application separate from the operating system of the computing device 302 (e.g., installed "on top of" the operating system) or, alternatively, may be implemented directly by the operating system of the computing device 302 (e.g., considered an application of the operating system but integrated with it). Thus, the operations described herein may be performed locally at the computing device 302 (or locally at another computing device in communication with the computing device 302 over a network), remotely at a server, and / or any combination thereof.

[0030] In some implementations, the automated assistant 304 may include an input processing engine 306 that may employ multiple different modules to process input and / or output to the computing device 302 and / or server device. For example, the input processing engine 306 may include a speech processing engine 308 that may process audio data received at the assistant interface 320 to identify text embodied in the audio data using an ASR model. The audio data may be transmitted from the computing device 302 to a server device, for example, to conserve computational resources at the computing device 302, and the audio data may be processed remotely at the server using the ASR model. Additionally or alternatively, the audio data may be processed locally, exclusively at the computing device 302 using the ASR model.

[0031] The process utilized by the ASR model to convert audio data to text may include speech recognition algorithms that may employ neural networks and / or statistical models to identify groups of audio data that correspond to words or phrases. The text converted from the audio data may be parsed by the data parsing engine 310 and made available to the automated assistant 304 as text data that may be used to generate and / or identify command phrases, intents, actions, slot values, and / or any other content specified by the user. In some implementations, the output data provided by the data parsing engine 310 may be provided to the parameter engine 312 to determine whether the user has provided input corresponding to a particular intent, action, and / or routine that may be performed by the automated assistant 304 and / or an application or agent that may be accessed via the automated assistant 304. For example, the assistant data 338 may be stored at the server device and / or the computing device 302 and may include data defining one or more actions that may be performed by the automated assistant 304, as well as parameters necessary to perform those actions. The parameter engine 312 may generate one or more parameters for the intent, action, and / or slot value and provide the one or more parameters to the output generation engine 314. The output generation engine 314 may use the one or more parameters to communicate with the assistant interface 320 to provide output to the user and / or to communicate with one or more applications 334 and / or smart devices associated therewith to provide output to one or more of the applications 334 and / or smart devices associated therewith.

[0032] In some implementations, the automated assistant 304 may be an application that may be installed "on top of" the operating system of the computing device 302 and / or may itself form part of (or the entirety of) the operating system of the computing device 302. The automated assistant application includes and / or has access to on-device speech recognition, on-device natural language understanding, and on-device realization. For example, on-device speech recognition may be implemented using an on-device speech recognition module that processes audio data (detected by a microphone) using an end-to-end speech recognition machine learning model (e.g., an ASR model) stored locally in the computing device 302. The on-device speech recognition generates recognized text for the speech utterances (if any) present in the audio data. Also, for example, on-device NLU may be implemented using an on-device NLU module that processes the recognized text generated using the on-device speech recognition and, optionally, contextual data to generate NLU data.

[0033] The NLU data may include an intent corresponding to the voice utterance, and optionally parameters for that intent (e.g., slot values). The on-device realization may be implemented using an on-device realization module that utilizes the NLU data (from the on-device NLU), and optionally other local data, to determine actions to take to analyze the intent of the voice utterance (and optionally parameters for that intent). This may include determining local and / or remote responses (e.g., answers) to the voice utterance, interactions with locally installed applications to perform based on the voice utterance, commands to send to the IoT device (directly or via a corresponding remote system) based on the voice utterance, and / or other analytical actions to perform based on the voice utterance. The on-device realization may then initiate local and / or remote implementation / execution of the determined actions to analyze the voice utterance.

[0034] In various implementations, remote speech processing, remote NLU, and / or remote realization may be utilized at least selectively. For example, recognized text may be at least selectively sent to a remote automated assistant component for remote NLU and / or remote realization. For example, recognized text may be sent for remote realization, optionally in parallel with on-device realization or in response to failure of on-device NLU and / or on-device realization. However, on-device speech processing, on-device NLU, on-device realization, and / or on-device execution may be prioritized at least due to the latency reduction they provide when analyzing speech utterances (due to the absence of client-server round trips required to analyze speech utterances). Furthermore, on-device functionality may be the only functionality available in situations where there is no or limited network connectivity.

[0035] In some implementations, the computing device 302 may include one or more applications 334 that may be provided by a third party entity different from the entity that provided the computing device 302 and / or the automated assistant 304. The application state engine of the automated assistant 304 and / or the computing device 302 may access the application data 330 to determine one or more actions that may be performed by the one or more applications 334, as well as the state of each application of the one or more applications 334 and / or the state of each smart device associated with the computing device 302. The device state engine of the automated assistant 304 and / or the computing device 302 may access the device data 332 to determine one or more actions that may be performed by the computing device 302 and / or one or more devices associated with the computing device 302. Additionally, the application data 330 and / or any other data (e.g., device data 332) may be accessed by the automated assistant 304 to generate context data 336 that can characterize the context in which a particular application 334 and / or device is executing, and / or the context in which a particular user is accessing the computing device 302, the application 334 and / or any other device or module.

[0036] While one or more applications 334 are executing on the computing device 302, the device data 332 can characterize a current operational state of each application 334 executing on the computing device 302. Additionally, the application data 330 can characterize one or more features of the executing application 334, such as the content of one or more graphical user interfaces rendered at the direction of the one or more applications 334. Additionally or alternatively, the application data 330 can characterize action schemas that can be updated by the respective applications and / or by the automated assistant 304 based on the respective applications' current operational state. Additionally or alternatively, the one or more action schemas for the one or more applications 334 can remain static but can be accessed by the application state engine to determine a suitable action to initialize via the automated assistant 304.

[0037] The computing device 302 may further include an assistant launch engine 322 that may process the application data 330, the device data 332, the context data 336, and / or any other data accessible to the computing device 302 using one or more trained machine learning models. The assistant launch engine 322 may process this data to determine whether to wait for the user to explicitly speak an launch phrase to launch the automated assistant 304, or may consider the data to indicate an intent by the user to launch the automated assistant instead of requiring the user to explicitly speak an launch phrase and / or provide explicit input to initially launch the automated assistant. For example, the one or more trained machine learning models may be trained using instances of training data based on scenarios in which multiple devices and / or applications are in an environment representing various operating conditions. Instances of training data may be generated to capture training data that characterize contexts in which a user launches an automated assistant and other contexts in which a user does not launch an automated assistant.

[0038] When one or more trained machine learning models are trained according to these instances of the training data, the assistant activation engine 322 can cause the automated assistant 304 to detect or limit detection of a voice activation phrase from the user based on context and / or environmental features. Additionally or alternatively, the assistant activation engine 322 can cause the automated assistant 304 to detect or limit detection of one or more assistant commands from the user based on context and / or environmental features. In some implementations, the assistant activation engine 322 can be disabled or limited based on the computing device 302 detecting an assistant suppression output from another computing device. In these and other ways, when the computing device 302 detects an assistant suppression output, the automated assistant 304 will not be activated based on the context data 336 that would otherwise activate the automated assistant 304 if the assistant suppression output had not been detected.

[0039] In some implementations, the computing device 302 may include an application state engine 316 that may provide the automated assistant 304 with data characterizing a current state of one or more applications 334 and / or a previous state of one or more applications 334. For example, the application state engine 316 may access GUI data characterizing application interfaces that may be rendered in an interface of the computing device 302. Based on the GUI data, the application state engine 316 may generate state data characterizing a respective state of each application. In some implementations, the application state engine 316 may access log data that may be provided by the operating system of the computing device 302 with prior permission from the user. The application state engine 316 may use the log data to generate state data for each respective application. For example, the application state engine 316 may process the log data using heuristic methods and / or one or more trained machine learning models to identify clusters of behaviors that may correspond to a particular state of the application 334. For example, the application state engine 316 may use one or more of these techniques to identify one or more semantically related behaviors. For example, edits to a first section of a document in a document editing application may be semantically related to one another, and edits to a second section of a document in a document editing application may be semantically related to one another but not to the edits in the first section of the document. In these and other ways, the automated assistant 304 may readily identify a particular state in response to a request from a user to return the application 334 to a particular state.

[0040] In some implementations, the computing device 302 may include an action reversion engine 318 that may process data generated by the application state engine 316 to identify actions for restoring one or more applications 334 and / or a smart device associated with one or more of the applications 334 to one or more respective previous states. For example, when the application state engine 316 generates state data identifying a particular state of the application 334 and / or smart device based on a set of actions identified in the log data, the action reversion engine 318 may access identifiers for the set of actions. Based on these identifiers, the action reversion engine 318 may use an API and / or other application interfaces to identify one or more other actions for undoing the set of actions. In these and other ways, the automated assistant 304 may identify one or more other actions when a particular state of the application 334 and / or a smart device associated with the application 334 is required to become a state that the user wants to "undo." The automated assistant 304 may then cause the application 334 and / or a smart device associated with the application 334 to perform one or more actions to cause the application 334 and / or a smart device associated with the application 334 to return from a particular state to a previous state (e.g., a state previously represented by the application 334 prior to the set of actions being performed).

[0041] In some implementations, the computing device 302 may include a state selection engine 326 that may prompt the user to select a particular state to return the application and / or smart device to. For example, when the automated assistant 304 determines that there are multiple candidate states for the user to select from, the state selection engine 326 may generate data that may be rendered in a user interface of the computing device 302 and / or another computing device. The user may then select a particular candidate state in the user interface to cause the automated assistant 304 to communicate one or more requests to the application 334 and / or a smart device associated with the application 334 to return the application 334 and / or a smart device associated with the application 334 to that particular candidate state. In some implementations, the state selection engine 326 may generate graphical data that may characterize the graphical features of each respective interface of each candidate application state. In these and other ways, when the automated assistant 304 identifies multiple candidate states that the user may be pointing to, the user can be notified that selection of one of the candidate states will return the application 334 and / or the smart device associated with the application 334 to a particular state indicated within the graphical user interface of the computing device 302.

[0042] In some implementations, the automated assistant 304 may optionally include a training data engine 324 for generating training data based on interactions between the automated assistant 304 and a user and / or between the user and one or more other applications, with prior permission from the user. The training data may characterize instances in which the automated assistant 304 may have been initialized without being explicitly activated via a voice activation phrase, and the user then either provided an assistant command and / or did not provide an assistant command within a threshold duration. In some implementations, the training data may be shared with a remote server device, with prior permission from the user, that also receives data from various different computing devices associated with other users. In these and other ways, one or more trained machine learning models may be further trained so that each respective automated assistant may employ further trained machine learning models to better assist the user, while still conserving computational resources. In some implementations, the training data engine 324 may generate training data based on feedback received from the user when the user selects or does not select a particular state for another application to return to again. In these and other ways, the automated assistant 304 may provide more relevant selectable options in response to a request from a user to revert an application from its current state.

[0043] 4 illustrates a method 400 for having an automated assistant restore each application of one or more separate applications to a respective application state. Method 400 may be implemented by one or more applications, a computing device, and / or any other device or module capable of interacting with an automated assistant. Method 400 may include an operation 402 of determining whether an assistant input is detected. The assistant input may be, for example, a voice utterance such as "cancel," which may be provided by a user to an audio interface of a computing device. In response, the automated assistant may determine that the voice utterance is intended for the automated assistant based on the context data, even though the user has not explicitly identified the automated assistant.

[0044] When an assistant input is detected, the method 400 may proceed from operation 402 to operation 404. In some cases, the automated assistant may subsequently determine whether the user has provided input to the automated assistant. Operation 404 may include determining that the assistant input corresponds to a request for the automated assistant to cancel one or more actions of a separate application and / or smart device. In some implementations, the user may provide a request for the automated system to revert an application file to a previous version. For example, assume that the user provides an alternating voice utterance of "Assistant, revert to the more polite version," which may refer to a document that the user is editing with a messaging application. The voice utterance may refer to a version of the document that existed prior to one or more edits made by the user. In some implementations, the automated assistant and / or messaging application may provide an indication of the tone of the content as feedback, and the automated assistant may use this feedback to identify a previous application state (i.e., an action state) to which the user may be pointing. In these implementations, the automated assistant can generate a representation of the content (e.g., embeddings or tag-based representations for image-based content, embeddings or word2vec representations for text-based content) and compare the representation to the corresponding representation of the speech utterance. For example, if the speech utterance includes "more polite" or some other semantic indication that the content should be reverted, the automated assistant can compare the embeddings of the speech utterance to the embeddings of these representations in the latent space. In some implementations, the user can provide a request for the automated system to revert the smart device to a previous state or sub-state. For example, assume that the user provides a speech utterance such as "Assistant, cancel," which is received after a previous speech utterance of "Assistant, turn on the kitchen lights and dim them to 50%." In this example, "cancel" can refer to turning the kitchen lights to the "on" state and / or dimming the kitchen lights by "50%."

[0045] When the automated assistant determines that the user is requesting that one or more actions of a separate application be canceled, the method 400 may proceed from operation 404 to operation 406. Operation 406 may include determining whether a state of the application and / or smart device desired by the user is identifiable based on the assistant input and / or other data. For example, in response to the aforementioned voice utterance regarding a document, the automated assistant may be able to identify a particular application state of a particular application to which the user may refer. As a result, the method 400 may proceed from operation 406 to operation 412. In some cases, such as when, in the latter example, "cancel" may refer to turning the kitchen light to an "on" state and / or dimming the kitchen light to "50%", the method 400 may proceed from operation 406 to operation 408.

[0046] Operation 408 may include rendering one or more selectable choices corresponding to one or more respective candidate application states and / or smart device states (e.g., “on” or “off”) or sub-states (e.g., “dim” or “don’t dim”). For example, the automated assistant may identify one or more candidate application states in which a user may want to reinstate an application. Based on these candidate application states and / or smart device states, the automated assistant may cause an interface of a computing device to prompt the user to select one of the candidate application states and / or smart device states. For example, the automated assistant may audibly describe each of the candidate application states and / or graphically render content corresponding to each of the candidate application states and / or smart device states. In accordance with the foregoing example, the automated assistant may graphically or audibly render a prompt describing one or more characteristics of one candidate application state that are not included among another candidate application state. For example, the automated assistant may state and / or describe a sentence from a document of a first application state and then state and / or describe a different sentence from a document of a second application state. In these and other ways, a user is able to identify a particular state without spending a large amount of time reviewing all the details of each state.

[0047] In some implementations, each candidate application state and / or smart device state may be identified from the embeddings mapped in the latent space. For example, as a user interacts with one or more applications, the automated assistant may generate embeddings corresponding to the application states of the application and / or smart device states of the smart device. A request from the user to revert the application to a previous application and / or smart device state may then cause the automated assistant to process the request and identify one or more candidate application states and / or smart device states from the embeddings. When the request corresponds to a particular embedding, the application state and / or smart device state associated with the particular embedding may be restored in the application and / or smart device. Alternatively, the automated assistant may determine that the request is associated with multiple different embeddings, for example, based on multiple embeddings meeting a threshold for being associated with the request. Based on this determination, the automated assistant may make candidate application states for the multiple embeddings selectable by the user via an interface of the computing device. The user may then select a candidate application state and / or smart device state to have the automated assistant revert the application to the selected application state and / or smart device state. From operation 408, the method 400 may proceed to operation 410, where a selection of a candidate application state and / or smart device state is received. When a selection is received, the method 400 may proceed from operation 410 to operation 412.

[0048] Operation 412 may include identifying one or more actions that the application and / or smart device should perform to return to the desired application state. In some implementations, the automated assistant may use the log data and an application programming interface to identify the one or more actions. For example, an action identified in the log data corresponding to a selected application state and / or smart device state may be identified in one or more parameters of a call to an application programming interface (API). Data returned via the API may indicate one or more other actions that the application should perform to return to the desired application state. Alternatively or additionally, the automated assistant may use data generated based on interactions between a user, an application, and / or an operating system of one or more computing devices to identify one or more other actions that the application should perform to return to the desired application state and / or that the smart device should perform to return to the desired smart device state. For example, the operating system may identify one or more inputs that correspond to log data identifying an action to be undone to return to the desired application state and / or smart device state. Based on these inputs, the automated assistant may generate action data characterizing one or more other actions that the application should perform to return to the desired application state and / or that the smart device should perform to return to the desired smart device state. When an action is identified at operation 412, method 400 may proceed from operation 412 to operation 414, which may include causing the application and / or the smart device to perform the one or more actions.

[0049] In some implementations, the method 400 may include an operation 416 of determining whether any feedback regarding the assistant restoring the state of the application and / or smart device has been received. For example, the feedback may be identified when the user selects a particular candidate application state over one or more other candidate application states. The feedback may indicate to the automated assistant that some factors for identifying the candidate application state should be weighted differently for a particular application and / or type of request. For example, a particular user may be more inclined to select a previous state when the previous state was the result of a user interaction with the application and / or smart device at a different location from which the user provided the request. Thus, application states and / or smart device states associated with a different geolocation of the user may be weighted and / or prioritized higher than application states and / or smart device states associated with the same geolocation from which the user provided the request. Alternatively or additionally, a particular user may be more inclined to select a previous state that was the penultimate state of the application and / or smart device. For example, when a user is reviewing an application file in the morning, the user may realize that the edits he or she made late the previous night were not ideal. Thus, the user may provide a request to the automated assistant to revert the application file to a previous state (e.g., "Assistant, Cancel"), and the automated assistant may prioritize states that the application file exhibited prior to the previous night. For example, based on one or more instances of prior feedback, the automated assistant may omit an application state from the previous night as a candidate application state from which the user may select, and instead provide one or more other candidate application states for the user to select from (e.g., one or more candidate application states that existed prior to the previous night).

[0050] When feedback regarding the assistant restoring the state of the application is received, method 400 may proceed from optional operation 416 to optional operation 418. In some cases, method 400 may return to operation 402. Operation 418 may include training one or more trained machine learning models according to the feedback. In these and other ways, as the user and / or other users continue to launch the automated assistant to cancel the actions of the separate applications, the automated assistant may adapt the user's preferences when canceling certain actions. For example, if a user provides a voice utterance including a voice utterance of "Turn on the kitchen lights and dim the kitchen lights to 50%" followed by a cancel command, and the automated assistant turns off the kitchen lights, but the user manually turns the kitchen lights back on (e.g., physically via a light switch or manually via an application associated with the smart lighting), the automated assistant may infer that the user intended to keep the kitchen lights in the "on" state and cancel the mention of "dim". Thus, if the automated assistant encounters this sequence again, the automated assistant may simply dim the kitchen lights. Moreover, the automated assistant may generalize this feedback to behavior beyond this particular scenario. For example, assume that the user provides an additional voice utterance of "Turn the kitchen lights red" prior to providing the cancel command. In this example, the automated assistant may keep the lights dimmed but revert the color of the kitchen lights to the color associated with the previous state.

[0051] 5 is a block diagram 500 of an exemplary computer system 510. The computer system 510 typically includes at least one processor 514 that communicates with several peripheral devices via a bus subsystem 512. These peripheral devices may include, for example, a storage subsystem 524 including a memory 525 and a file storage subsystem 526, a user interface output device 520, a user interface input device 522, and a network interface subsystem 516. The input and output devices enable user interaction with the computer system 510. The network interface subsystem 516 provides an interface to external networks and is coupled to corresponding interface devices in other computer systems.

[0052] The user interface input devices 522 may include a keyboard, a pointing device such as a mouse, a trackball, a touchpad, or a graphics tablet, a scanner, a touch screen integrated into a display, a voice recognition system, an audio input device such as a microphone, and / or other types of input devices. In general, use of the term "input device" is intended to include all conceivable types of devices and methods for inputting information into the computer system 510 or onto a communications network.

[0053] The user interface output devices 520 may include a display subsystem, a printer, a fax machine, or a non-visual display such as an audio output device. The display subsystem may include a flat panel device such as a cathode ray tube (CRT), a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visual image. The display subsystem may also provide a non-visual display, such as via an audio output device. In general, use of the term "output device" is intended to include all conceivable types of devices and methods for outputting information from the computer system 510 to a user or to another machine or computer system.

[0054] Storage subsystem 524 stores programming and data configurations that provide the functionality of some or all of the modules described herein. For example, storage subsystem 524 may include logic for performing selected aspects of method 400 and / or for implementing one or more of system 300, computing device 104, computing device 204, computing device 244, automated assistant 304, and / or any other applications, devices, apparatus, and / or modules discussed herein.

[0055] These software modules are generally executed by the processor 514, alone or in combination with other processors. The memory 525 used within the storage subsystem 524 may include several memories, including a main random access memory (RAM) 530 for storing instructions and data during program execution and a read-only memory (ROM) 532 having fixed instructions stored therein. The file storage subsystem 526 may provide persistent storage for program files and data files and may include a hard disk drive, a floppy disk drive with associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules implementing the functionality of some implementations may be stored by the file storage subsystem 526 within the storage subsystem 524 or within other machines accessible by the processor 514.

[0056] Bus subsystem 512 provides a mechanism for allowing the various components and subsystems of computer system 510 to communicate with each other as intended. Although bus subsystem 512 is shown generally as a single bus, alternative implementations of the bus subsystem may use multiple buses.

[0057] Computer system 510 may be of various types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of computer system 510 shown in Figure 5 is intended only as a specific example to illustrate some implementations. Many other configurations of computer system 510 are possible, having more or fewer components than the computer system shown in Figure 5.

[0058] In situations where the systems described herein may collect or utilize personal information about users (or, as is sometimes referred to herein as "participants"), the user may be provided with an opportunity to control whether a program or feature collects user information (e.g., information about the user's social network, social actions or activities, occupation, user preferences, or the user's current geographic location) or to control whether and / or how content that may be more relevant to the user is received from a content server. Also, some data may be treated in one or more ways before the data is stored or used, such that personally identifiable information is removed. For example, the user's identifying information may be treated such that personally identifiable information about the user cannot be determined, or if geographic location information is obtained (such as to the city, zip code, or state level), the user's geographic location may be generalized such that the user's specific geographic location cannot be determined. Thus, the user may have control over how information about the user is collected and / or used.

[0059] Although several implementations have been described and illustrated herein, various other means and / or structures for performing the functions and / or obtaining one or more of the results and / or advantages described herein may be utilized, and each such variation and / or modification is deemed to be within the scope of the implementations described herein. More generally, all parameters, dimensions, materials, and configurations described herein are meant to be exemplary, and the actual parameters, dimensions, materials, and / or configurations will depend on the particular application or applications in which the teachings are used. Those skilled in the art will recognize, or be able to ascertain, using no more than routine experimentation, many equivalents to the specific implementations described herein. Thus, the implementations described above have been presented merely by way of example, with the understanding that implementations can be practiced other than as specifically described and claimed, within the scope of the appended claims and their equivalents. Implementations of the present disclosure relate to each individual feature, system, article, material, kit, and / or method described herein. In addition, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the scope of the present disclosure, if such features, systems, articles, materials, kits, and / or methods are not mutually inconsistent.

[0060] In some implementations, a method implemented by one or more processors is provided, the method including receiving, by a computing device, an assistant input provided by a user to an automated assistant accessible via the computing device, determining, by the automated assistant, that the assistant input corresponds to a request to cancel some actions performed by an application separate from the automated assistant, and identifying, based on the assistant input, one or more actions that affect a state of the application and are associated with the assistant input. The one or more actions transition the application from a first application state to a second application state, and the user provided the assistant input while or after the application was exhibiting the second application state. The method further includes restoring the application to the first application state based on the assistant input.

[0061] These and other implementations of the techniques disclosed herein may optionally include one or more of the following features.

[0062] In some implementations, the method may further include identifying one or more other actions based on the assistant input. The one or more other actions may have transitioned the application from the second application state to a third application state. The method may further include causing a selection prompt to be rendered to the user, the selection prompt may include a first selectable option identifying the first application state and a second selectable option identifying the second application state, and the user may select the first selectable option in response to the rendering of the selection prompt to the user. In some versions of those implementations, causing the selection prompt to be rendered may include generating a selectable graphical user interface (GUI) element corresponding to the first selectable option and characterizing visual content of the first application state of the application, and generating another selectable GUI element corresponding to the second selectable option and characterizing other visual content of the second application state of the application.

[0063] In some implementations, identifying one or more actions that affect the state of the application and are associated with the assistant input may include selecting one or more actions from a set of actions that were initialized in the application within a time period before the user provided the assistant input. The one or more actions may omit one or more other actions that were also initialized in the application within that time period.

[0064] In some implementations, the method may further include, prior to receiving the assistant input, determining, by the automated assistant, that the application has performed one or more actions that transitioned the application from a first application state to a second application state. In some versions of those implementations, determining that the application has performed one or more actions may include using one or more trained machine learning models to process image data characterizing a GUI interface of the application when the application is exhibiting the second application state.

[0065] In some implementations, determining that the assistant input corresponds to a request to cancel some actions performed by the application may include determining that the assistant input is associated with natural language content that is rendered in the interface of the application when the user provides the assistant input. In some versions of these implementations, the assistant input may be implemented within a voice utterance provided by the user, and the voice utterance may not identify any of the natural language content that is rendered in the interface of the application.

[0066] In some implementations, a method implemented by one or more processors is provided, the method including receiving, by an application, a user input directed to the application. The application is accessible via a computing device that also provides access to the automated assistant. The method further includes causing the application to perform one or more operations based on the user input. Performing the one or more operations transitions the application from a first operating state to a second operating state. The method further includes receiving, by the application, a request from the automated assistant to perform one or more other operations. The request from the automated assistant is based on an assistant input from a user to the automated assistant. The method further includes restoring the application from the second operating state to the first operating state based on the request from the automated assistant.

[0067] These and other embodiments of the technology disclosed herein may optionally include one or more of the following features.

[0068] In some implementations, the method may further include, prior to receiving the request from the automated assistant, receiving a separate request for the application to provide application state data to the automated assistant. The application state data may characterize one or more features of a first operating state of the application.

[0069] In some implementations, the method may further include, prior to receiving the request from the automated assistant, receiving a separate request for the application to provide application operation data to the automated assistant. The application operation data may identify one or more other operations for returning the application from the second operating state to the first operating state.

[0070] In some implementations, returning the application from the second operating state to the first operating state may include causing the application to modify a file being accessed by the user via the application to undo one or more actions performed based on the user input.

[0071] In some implementations, a method implemented by one or more processors is provided, the method including receiving, by a computing device, an assistant input provided by a user to an automated assistant accessible via the computing device. The assistant input corresponds to a request to cancel a specific action performed by one or more applications separate from the automated assistant. The method further includes processing, based on the assistant input, operation data identifying a specific action that affected the one or more applications, and selecting, based on the operation data and the assistant input, one or more actions to be performed by the one or more applications. The one or more actions are selected in facilitating the cancellation of the specific action performed by the one or more applications. The method further includes causing, by the automated assistant, the one or more applications to perform the one or more actions in response to the assistant input.

[0072] These and other implementations of the techniques disclosed herein may optionally include one or more of the following features.

[0073] In some implementations, the assistant input may be implemented with voice utterances provided by the user, which may be simultaneously provided to the user viewing one or more applications via the interface of the computing device or a separate computing device.

[0074] In some implementations, selecting one or more operations to be performed by the one or more applications may include providing, by the automated assistant, a separate request to the one or more applications using an application programming interface. The request may identify a particular operation to be performed by the one or more applications.

[0075] In some implementations, the method may further include selecting one or more other actions to be performed by the one or more applications based on the action data and the assistant input. The one or more other actions may be selected in facilitating the cancellation of a particular action performed by the one or more applications. The method may further include causing a selection prompt to be rendered to the user. The selection prompt may include a first selectable option that characterizes a first state in which the one or more applications are affected by the one or more actions, and a second selectable option that characterizes a second state in which the one or more applications are affected by the one or more other actions. The user may select the first selectable option in response to the rendering of the selection prompt to the user.

[0076] In some versions of those implementations, causing the selection prompt to be rendered may include generating a selectable graphical user interface (GUI) element corresponding to a first selectable option and characterizing visual content of a first state of the one or more applications, and generating another selectable GUI element corresponding to a second selectable option and characterizing other visual content of a second state of the one or more applications.

[0077] In additional or alternative versions of these implementations, selecting one or more operations to be performed by the one or more applications may include accessing a trained machine learning model trained to revert to a particular operational state based on a previous instance in which the user or another user caused the one or more applications to occur, or a separate instance of the one or more applications. The one or more operations may be performed based on the trained machine learning model. In some further versions of these implementations, the method may further include generating feedback data based on the user selecting the first selectable option, and further training the trained machine learning model based on the feedback data.

[0078] In some implementations, the method may further include processing context data characterizing one or more features of the environment in which the user provided the assistant input based on the assistant input. Selecting one or more actions to be performed by the one or more applications may be further based on the context data.

[0079] In some implementations, a method implemented by one or more processors is provided, the method including: receiving, by a computing device, an assistant input provided by a user to an automated assistant accessible via the computing device; determining, by the automated assistant, that the assistant input corresponds to a request to cancel some actions performed by a smart device associated with an application; and identifying, based on the assistant input, one or more actions that affect a state of the smart device and are associated with the assistant input. The one or more actions transition the smart device from a first smart device state to a second smart device state, and the user provided the assistant input while or after the smart device was showing the second smart device state. The method may further include, based on the assistant input, returning the smart device to the first smart device state in response to receiving the assistant input.

[0080] Other implementations may include a non-transitory computer-readable storage medium storing instructions executable by one or more processors (e.g., a central processing unit (CPU), a graphics processing unit (GPU), and / or a tensor processing unit (TPU)) to perform a method such as one or more of the methods described above and / or elsewhere herein. Still other implementations may include a system of one or more computers including one or more processors operable to execute the stored instructions to perform a method such as one or more of the methods described above and / or elsewhere herein.

[0081] It should be appreciated that all combinations of the foregoing concepts and additional concepts described in more detail herein are contemplated as part of the subject matter disclosed herein, for example, all combinations of claimed subject matter appearing at the end of this disclosure are contemplated as part of the subject matter disclosed herein. [Explanation of symbols]

[0082] 100 Views 102 users 104 Computing Devices 106 Display Interface 108 User's hand 110 Third Party Audio Application Interface 114 First State 120 Views 122 Voice utterances 124 Second State 140 Views 200 Views 202 users 204 Computing Devices 206 Display Interface 210 Third Party Calendar Application Interface 220 Views 222 Voice utterances 224 New Events 240 Views 244 Computing Devices 246 Input Data 248 Status Data 250 State Selection Data 260 Views 262 First selectable element 264 Second selectable element 280 Views 282 Parts of a third-party calendar application interface 300 Systems 302 Computing Devices 304 Automated Assistants 306 Input Processing Engine 308 Voice Processing Engine 310 Data Parsing Engine 312 Parameter Engine 314 Output Generation Engine 316 Application State Engine 318 Engine back in action 320 Assistant Interface 322 Assistant Startup Engine 324 Training Data Engine 326 State Selection Engine 330 Application Data 332 Device Data 334 Applications 336 Context Data 338 Assistant Data 400 ways 500 Block Diagram 510 Computer Systems 512 Bus Subsystem 514 processor 516 Network Interface Subsystem 520 User Interface Output Device 522 User Interface Input Devices 524 Storage Subsystem 525 Memory 526 File Storage Subsystem 530 Main Random Access Memory (RAM) 532 Read-Only Memory (ROM)

Claims

1. 1. A method implemented by one or more processors, comprising: receiving, by a computing device, an assistant input provided by a user to an automated assistant accessible via said computing device; determining, by the automated assistant, that the assistant input corresponds to a request to cancel some action performed by an application separate from the automated assistant; Identifying one or more actions that affect a state of the application and are associated with the assistant input based on the assistant input, the one or more actions transitioning the application from a first application state to a second application state, and transitioning the application from the second application state to a third application state; the user provides the assistant input while the application is exhibiting the third application state or after the application has been exhibited; identifying one or more actions includes receiving a selection by the user in response to a selection prompt including a first selectable option that identifies the first application state and a second selectable option that identifies the second application state; identifying restoring the application to the first application state based on the assistant input. A method comprising:

2. A step of rendering a selection prompt to the user, comprising: the user selecting the first selectable option in response to the rendering of the selection prompt to the user. The rendering step The method of claim 1, further comprising:

3. The step of rendering the selection prompt comprises: generating a selectable graphical user interface (GUI) element corresponding to the first selectable option and characterizing visual content of the first application state of the application; generating another selectable GUI element corresponding to the second selectable option and characterizing other visual content of the second application state of the application; 3. The method of claim 2, comprising:

4. The step of identifying the one or more actions that affect the state of the application and that are associated with the assistant input, Selecting the one or more actions from a set of actions initialized in the application within a period of time before the user provides the assistant input, The one or more operations skip one or more other operations that were also initiated in the application within the time period. Steps to choose The method according to any one of claims 1 to 3, comprising:

5. Prior to the step of receiving the assistant input, determining, by the automated assistant, that the application performed the one or more actions that transitioned the application from the first application state to the second application state; 5. The method of claim 1, further comprising:

6. determining that the application has performed the one or more actions, using one or more trained machine learning models to process image data characterizing a GUI interface of the application when the application is exhibiting the second application state.

6. The method of claim 5, comprising:

7. determining that the assistant input corresponds to the request to cancel the number of actions performed by the application, determining that the assistant input is associated with natural language content that was being rendered in an interface of the application when the user provided the assistant input; 7. The method of claim 1 , comprising:

8. 8. The method of claim 7, wherein the assistant input is implemented with a voice utterance provided by the user, and the voice utterance does not identify any of the natural language content rendered in the interface of the application.

9. 1. A method implemented by one or more processors, comprising: receiving, by an application, a user input intended for said application; the application is accessible via a computing device that also provides access to an automated assistant; receiving the signal; causing the application to perform one or more actions based on the user input; performing the one or more operations transitions the application from a first operating state to a second operating state and transitions the application from the second operating state to a third operating state. and causing the execution of the method. receiving, by the application, a request from the automated assistant to perform one or more other actions; the request from the automated assistant is based on an assistant input from a user to the automated assistant; receiving the signal; Identifying one or more actions that affect a state of the application and are associated with the assistant input based on the assistant input, where identifying one or more actions includes receiving a selection of the user in response to a selection prompt that includes a first selectable option that identifies the first operational state of the application and a second selectable option that identifies the second operational state of the application; restoring the application from the second operating state to the first operating state based on the request from the automated assistant. A method comprising:

10. Prior to the step of receiving the request from the automated assistant, Receiving a separate request by the application to provide application state data to the automated assistant, The application state data characterizes one or more features of the first operational state of the application. Receiving Steps 10. The method of claim 9, further comprising:

11. Prior to the step of receiving the request from the automated assistant, Receiving a separate request for the application to provide application operational data to the automated assistant, the application operation data identifying the one or more other operations for returning the application from the second operating state to the first operating state Receiving Steps 11. The method of claim 9 or 10, further comprising:

12. returning the application from the second operating state to the first operating state, causing the application to modify a file being accessed by the user via the application to undo the one or more actions taken based on the user input.

12. The method according to any one of claims 9 to 11, comprising:

13. 1. A method implemented by one or more processors, comprising: receiving, by a computing device, an assistant input provided by a user to an automated assistant accessible via the computing device; the assistant input corresponds to a request to cancel a particular action performed by one or more applications separate from the automated assistant; receiving the signal; processing action data identifying the particular action that affected the one or more applications based on the assistant input; Selecting one or more actions or one or more other actions to be performed by the one or more applications based on the action data and the assistant input, the one or more actions and one or more other actions are selected in facilitating undoing of the particular action performed by the one or more applications; selecting the one or more actions or the one or more other actions includes receiving a selection by the user in response to a selection prompt that includes a first selectable option that characterizes a first state in which the one or more applications are affected by the one or more actions and a second selectable option that characterizes a second state in which the one or more applications are affected by the one or more other actions; selecting; causing, by the automated assistant, the one or more applications to perform the one or more actions in response to the assistant input; A method comprising:

14. 14. The method of claim 13, wherein the assistant input is implemented with voice utterances provided by the user, and the voice utterances are provided to the user simultaneously viewing the one or more applications via an interface of the computing device or a separate computing device.

15. selecting the one or more actions to be performed by the one or more applications, providing, by the automated assistant, a distinct request to an application of the one or more applications using an application programming interface; the request identifying the particular action performed by the one or more applications; Steps to be taken 15. The method of claim 13 or 14, comprising:

16. A step of rendering a selection prompt to the user, comprising: the user selecting the first selectable option in response to the rendering of the selection prompt to the user. The rendering step 16. The method of any one of claims 13 to 15, further comprising:

17. The step of rendering the selection prompt comprises: generating a selectable graphical user interface (GUI) element corresponding to the first selectable option and characterizing visual content of the first state of the one or more applications; generating another selectable GUI element corresponding to the second selectable option and characterizing other visual content of the second state of the one or more applications; 17. The method of claim 16, comprising:

18. selecting the one or more actions to be performed by the one or more applications, accessing a trained machine learning model that is trained to revert to a particular operating state based on a previous instance in which the user or another user caused the one or more applications to occur or a separate instance of the one or more applications; The one or more actions are performed based on the trained machine learning model. Steps to access 17. The method of claim 16, comprising:

19. generating feedback data based on the user selecting the first selectable option; further training the trained machine learning model based on the feedback data; 20. The method of claim 18, further comprising:

20. Processing context data based on the assistant input, the context data characterizing one or more features of an environment in which the user provided the assistant input, the selecting of the one or more actions to be performed by the one or more applications is further based on the context data. Processing Steps 20. The method of any one of claims 13 to 19, further comprising:

21. 1. A system comprising: At least one processor; A memory for storing instructions; wherein the instructions, when executed, cause the at least one processor to perform operations corresponding to any one of claims 1 to 20. system.

22. 21. A computer readable storage medium storing instructions that, when executed, cause at least one processor to perform operations corresponding to any one of claims 1 to 20.

Citation Information

Patent Citations

  • Device voice control

    JP2018525653A

  • Modifying audio-based computer program output

    JP2020528585A

  • Voice-activated selective memory for voice-capturing devices

    US20210020163A1

  • Data processing device and data processing method

    WO2006051965A1