A virtual assistant configured to recommend actions to further an existing conversation

The system enhances virtual assistant usability by proactively suggesting actions related to ongoing conversations, addressing inefficiencies in user interaction and resource usage by autonomously determining relevant tasks.

JP7568771B2Active Publication Date: 2024-10-16GOOGLE LLC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023044679
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2017-05-05
Filing Date
2023-03-20
Publication Date
2024-10-16
Estimated Expiration
2038-05-02

AI Technical Summary

Technical Problem

Users often need to explicitly request information or actions from virtual assistants, which can be inefficient and require the user to learn the assistant's capabilities through documentation, leading to increased processing complexity and resource usage.

Method used

The system proactively suggests actions related to an ongoing conversation with the user without explicit user request, using an assistant that determines events and selects relevant actions based on user information, reducing the need for user input and optimizing resource usage.

Benefits of technology

This approach enhances usability by minimizing user interaction, reducing processing complexity, and conserving resources by allowing the assistant to autonomously suggest relevant actions, thus making the interaction more efficient and natural.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568771000001
    Figure 0007568771000001
  • Figure 0007568771000002
    Figure 0007568771000002
  • Figure 0007568771000003
    Figure 0007568771000003
Patent Text Reader

Abstract

To provide a virtual assistant configured to recommend actions to facilitate an existing conversation.SOLUTION: Described is a system that determines, based on information relevant to a user of a computing device, an event for initiating an interaction between the user and an assistant running on the computing device. The system selects, based on the event, at least one action relevant to the event from multiple actions to be performed by the assistant. The system determines, based on the at least one action, whether to output a notification of the event including indication of the event and a request to perform the at least one action associated with the event. In response to determining to output the notification of the event, the system transmits, to the assistant, the notification of the event for output during the interaction between the user and the assistant.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a system for determining an event for initiating an interaction between a user and an assistant running on a computing device based on information related to the user of the computing device. [Background technology]

[0002] Some computing platforms may provide a user interface through which a user can chat, talk, or otherwise communicate with a computerized virtual assistant (e.g., also called an "intelligent personal assistant" or simply an "assistant") to cause the assistant to output information, respond to the user's needs, or otherwise perform certain actions that help the user complete a task. Some assistants may be quite sophisticated and configured to perform a variety of real-world or virtual tasks, but a user may not always be aware of all the capabilities that the assistant provides. A user may only request information or have the assistant perform certain tasks that the user knows the assistant can handle. Summary of the Invention [Means for solving the problem]

[0003] In general, the techniques of this disclosure can enable an assistant to output information about one or more further actions that the assistant can initiate to further an existing conversation with a user, without requiring the user to ask the assistant for such information. That is, the assistant can proactively guide the user to further capabilities of the assistant related to an existing conversation with the user, even in the absence of an explicit user request for such information. For example, the assistant can determine, based on the user information, that the departure time of the user's booked flight has been delayed, after receiving consent to maintain or access information related to the user. In addition to generating an output informing the user about the flight delay, and without receiving user input, the assistant can also generate a further output suggesting making dinner reservations or rescheduling ground transportation to accommodate the delay. In this manner, the assistant is configured to initiate a dialog, output further information, or output relevant suggestions to perform further actions (e.g., rescheduling dinner or ground transportation) to further the existing conversation with the user. Thus, the described techniques can increase the convenience associated with an assistant by reducing the number of user inputs required for a user to discover various actions and have the assistant perform them.

[0004] In one example, the disclosure is directed to a method that includes determining an event for initiating an interaction between the user and an assistant running on the computing device based on information related to a user of the computing device, where the assistant is configured to perform a plurality of actions, selecting at least one action associated with the event from the plurality of actions based on the event, and determining whether to output a notification of the event based on the at least one action, where the notification includes an indication of the event and a request to perform the at least one action associated with the event. The method further includes, in response to determining to output the notification of the event, sending the notification of the event to the assistant for output during the interaction between the user and the assistant.

[0005] In another example, the disclosure is directed to a computing device including an output device, at least one processor, and at least one memory, the memory including instructions that, when executed, cause the at least one processor to execute an assistant configured to: determine, based on information related to a user of the computing device, an event for initiating an interaction between the user and the assistant, where the assistant is configured to perform a plurality of actions; select, based on the event, at least one action associated with the event from the plurality of actions; determine, based on the at least one action, whether to output a notification of the event, where the notification includes an indication of the event and a request to perform the at least one action associated with the event; and, in response to the determination to output the notification of the event, output the notification of the event via the output device during the interaction between the user and the assistant.

[0006] In another example, the disclosure is directed to a computer-readable storage medium comprising instructions that, when executed, cause at least one processor of a digital assistant system to: determine an event for initiating an interaction between a user of a computing device and an assistant running on the computing device, where the assistant is configured to perform a plurality of actions, based on the event; select at least one action associated with the event from the plurality of actions based on the event; and determine whether to output a notification of the event based on the at least one action, where the notification includes an indication of the event and a request to perform the at least one action associated with the event. The instructions, when executed, further cause the at least one processor of the digital assistant system to send a notification of the event to the assistant for output during the interaction between the user and the assistant in response to the determination to output the notification of the event.

[0007] In another example, the disclosure is directed to a system including: means for determining, based on information related to a user of a computing device, an event for initiating an interaction between the user and an assistant running on the computing device, where the assistant is configured to perform a plurality of actions; means for selecting, based on the event, from the plurality of actions, at least one action associated with the event; and means for determining, based on the at least one action, whether to output a notification of the event, where the notification includes an indication of the event and a request to perform the at least one action associated with the event. The system further includes means for sending, in response to the determination to output the notification of the event, to the assistant, a notification of the event for output during the interaction between the user and the assistant.

[0008] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the disclosure will become apparent from the description and drawings, and from the claims. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a conceptual diagram illustrating an example system implementing an example virtual assistant, according to one or more aspects of the present disclosure. [Diagram 2] FIG. 1 is a block diagram illustrating an example computing device configured to execute an example virtual assistant, in accordance with one or more aspects of the present disclosure. [Diagram 3] 1 is a flowchart illustrating example operations performed by one or more processors executing an example virtual assistant, in accordance with one or more aspects of the present disclosure. [Figure 4] FIG. 1 is a block diagram illustrating an example digital assistant server configured to run an example virtual assistant, in accordance with one or more aspects of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] FIG. 1 is a conceptual diagram illustrating an example system for executing an example virtual assistant according to one or more aspects of the present disclosure. The system 100 of FIG. 1 includes a digital assistant server 160 that communicates with a search server system 180 and computing devices 110A and 110B (collectively, computing devices 110) via a network 130. Although the system 100 is shown as distributed among the digital assistant server 160, the search server system 180, and the computing device 110, in other examples, features and techniques attributed to the system 100 may be implemented internally by local components of the computing device 110. Similarly, the digital assistant server 160 may include certain components that are otherwise attributed to the search server system 180 and / or the computing device 110 in the following description, and may implement various techniques that are otherwise attributed to the search server system 180 and / or the computing device 110 in the following description. Although FIG. 1 shows two computing devices 110, any suitable number of one or more computing devices 110 may be used.

[0011] The network 130 represents any public or private communication network, such as cellular, Wi-Fi, and / or other types of networks, for transmitting data between computing systems, servers, and computing devices. The digital assistant server 160 can exchange data with the computing device 110 via the network 130 to provide a virtual assistant service, which is accessible to the computing device 110 when the computing device 110 is connected to the network 130. The digital assistant server 160 can exchange data with the search server system 180 via the network 130 to access search services provided by the search server system 180. The computing device 110 can exchange data with the search server system 180 via the network 130 to access search services provided by the search server system 180.

[0012] Network 130 may include one or more network hubs, network switches, network routers, or any other network equipment that are operably interconnected to allow communication of information between server system 160, server system 180, and computing device 110. Computing device 110, digital assistant server 160, and search server system 180 may transmit and receive data across network 130 using any suitable communication technique. Computing device 110, digital assistant server 160, and search server system 180 may each be operably coupled to network 130 using a respective network link. The links coupling computing device 110, digital assistant server 160, and search server system 180 to network 130 may be Ethernet or other types of network connections, and such connections may be wireless and / or wired connections.

[0013] Digital assistant server 160 and search server system 180 represent any suitable remote computing system, such as one or more desktop computers, laptop computers, mainframes, servers, cloud computing systems, etc., capable of both sending information to and receiving information from a network, such as network 130. Digital assistant server 160 hosts a virtual assistant service (or at least provides access to a virtual assistant service). Search server system 180 hosts a search service (or at least provides access to a search service). In some examples, digital assistant server 160 and search server system 180 represent cloud computing systems that provide access to their respective services through the cloud.

[0014] Computing device 110 represents an individual mobile or non-mobile computing device configured to access the provided virtual assistant services over network 130. Examples of computing device 110 include mobile phones, tablet computers, laptop computers, desktop computers, servers, mainframes, set-top boxes, televisions, wearable devices (e.g., computerized watches, computerized eyewear, computerized gloves, etc.), home automation devices or systems (e.g., intelligent thermostats or security systems), voice interface or countertop home assistant devices, personal digital assistants (PDAs), gaming systems, media players, e-book readers, mobile television platforms, automotive navigation or infotainment systems, or any other type of mobile, non-mobile, wearable, and non-wearable computing devices configured to run or access a virtual assistant and receive information over a network such as network 130.

[0015] Computing device 110 can communicate with digital assistant server 160 and / or search server system 180 via network 130 to access the virtual assistant service provided by digital assistant server 160 and / or the search service provided by search server system 180. In the course of providing the virtual assistant service, digital assistant server 160 can communicate with search server system 180 to obtain information required to complete a task.

[0016] In the example of FIG. 1, the digital assistant server 160 includes an assistant module 122B and a user information data store 124B. The computing device 110A includes a user interface component (UIC) 112, a user interface (UI) module 120, an assistant module 122, and a user information data store 124A. The search server system 180 includes a search module 182. Although not shown, the computing device 110B may include similar components and / or modules as the computing device 110A.

[0017] Modules 120, 122A, 122B, and 182 may perform the described operations using software, hardware, firmware, or a mixture of hardware, software, and firmware that resides and / or runs on one of computing device 110A, digital assistant server 160, or search server system 180. Computing device 110A, digital assistant server 160, and search server system 180 may execute modules 120, 122A, 122B, and 182 using multiple processors or multiple devices. Computing device 110A, digital assistant server 160, and search server system 180 may execute modules 120, 122A, 122B, and 182 as virtual machines running on underlying hardware. Modules 120, 122A, 122B, and 182 may run as one or more services of an operating system or computing platform. The modules 120, 122A, 122B, and 182 may be implemented as one or more executable programs at the application layer of a computing platform.

[0018] The UIC 112 of the computing device 110 can function as an input and / or output device for the computing device 110A. The UIC 112 can be implemented using a variety of technologies. By way of example, the UIC 112 can function as an input device using a presence-sensitive input screen, microphone technology, infrared sensor technology, camera, or other input device technology used to receive user input. The UIC 112 can function as an output device configured to present output to a user using any one or more display devices, speaker technology, haptic feedback technology, or other output device technology used to output information to the user.

[0019] The UI module 120 can manage user interactions with the UIC 112 and other components of the computing device 110A, and can interact with the digital assistant server 160 to provide assistant services via the UIC 112. When a user of the computing device 110A views output and / or makes input on the UIC 112, the UI module 120 can cause the UIC 112 to output a user interface. For example, as shown in FIG. 1, the UI module 120 can send instructions to the UIC 112 that cause the UIC 112 to display the user interface 114 on the display screen of the UIC 112.

[0020] The user interface 114 includes the text of the conversation between the user of the computing device 110A and the assistant provided by the assistant module 122A. In the example of FIG. 1, the user interface 114 is a graphical user interface. The user interface 114 may be an audible user interface in some examples. The user interface 114 may include various forms of virtual assistant information, such as audible sounds, vibrations, text, graphics, content cards, images, etc.

[0021] The UI module 120 and UIC 112 can receive one or more input indications (e.g., voice input, touch input, non-touch or presence input, video input, audio input, etc.) from the user as the user interacts with the user interface 114 at various times and when the user and computing device 110A are in various positions. The UI module 120 and UIC 112 can interpret the input detected at the UIC 112 and can relay information about the input detected at the UIC 112 to the assistant module 122A and / or one or more other associated platforms, operating systems, applications, and / or services executing on computing device 110A, e.g., to cause computing device 110A to perform a function.

[0022] The UI module 120 can receive information and instructions from one or more associated platforms, operating systems, applications, and / or services executing on the computing device 110A and / or from one or more remote computing systems, such as the server system 160 and the server system 180. In addition, the UI module 120 can act as an intermediary between one or more associated platforms, operating systems, applications, and / or services executing on the computing device 110A and various output devices (e.g., speakers, LED indicators, audio or haptic output devices, etc.) of the computing device 110A to generate output (e.g., graphics, flashes, sounds, haptic responses, etc.) using the computing device 110A. For example, the UI module 120 can cause the UIC 112 to output the user interface 114 based on data that the UI module 120 receives from the digital assistant server 160 over the network 130. The UI module 120 can receive information (e.g., audio data, text data, image data, etc.) and instructions for presentation as the user interface 114 as input from the digital assistant server 160 and / or the assistant module 122A.

[0023] Assistant module 122A and assistant module 122B can collectively maintain user information data stores 124A and 124B as part of a virtual assistant service accessed via computing device 110. Assistant module 122B and user information data store 124B represent a server-side or cloud implementation of an exemplary assistant, while assistant module 122A and user information data store 124A represent a client-side or local implementation of an exemplary assistant. In some examples, some or all of the functionality attributed to assistant module 122A may be performed by assistant module 122B, and vice versa.

[0024] Assistant module 122A and assistant module 122B, collectively referred to as assistant module 122, can execute an assistant configured to proactively guide a user of a computing device, automatically and without requiring user interaction, to meaningful or otherwise useful information that may be of interest to the user at the current time. Assistant module 122 can be configured to output information about one or more further actions that the assistant is configured to perform to further an existing conversation with the user, without requiring the user to ask the assistant for such information. For example, the assistant provided by assistant module 122 can proactively guide the user to further capabilities of the assistant related to an existing conversation with the user, even in the absence of an explicit user request for such information.

[0025] Each of the assistant modules 122 may include a software agent configured to execute as an intelligent personal assistant capable of performing tasks or services for an individual, such as a user of the computing device 110. The assistant modules 122 may perform these tasks or services based on user input (e.g., detected at the UIC 112), context awareness (e.g., based on location, etc.), and / or the ability to access other information (e.g., weather or traffic conditions, news, stock prices, sports scores, user schedules, transportation schedules, retail prices, etc.) from a variety of information sources (e.g., stored locally on the computing device 110, the digital assistant server 160, or retrieved via search services provided by the search server system 180, including push notification services). The assistant modules 122 may implement artificial intelligence and / or machine learning techniques to automatically identify and complete one or more tasks on behalf of the user. The assistant modules 122 may utilize other applications (e.g., third-party applications), services, or other devices (e.g., televisions, automobiles including autonomous automobiles, watches, home automation systems, entertainment systems, etc.) to perform one or more tasks.

[0026] After obtaining explicit user consent, assistant module 122 may, for example, automatically maintain information related to the user or a pointer to the location of information related to the user (e.g., stored by an information source located at computing device 110, server system 160 or 180, or by any other server or device located anywhere on network 130) in the course of performing operations to support a conversation with a user of computing device 110. Assistant module 122 may maintain information related to the user or a pointer to information as user information data stores 124A and 124B (collectively, "user information data stores 124"). Data stores 124 may enable an assistant executed by assistant module 122 to quickly access user information needed by the assistant to complete a real-world task, a virtual task, or otherwise meet the immediate and / or future needs of the user of computing device 110.

[0027] For example, information associated with a user may be information obtained during a conversation between the user and the assistant, with consent from the user, calendar information, contact information, user interests, user preferences, and any other information associated with the user that may be used by the assistant module 122 to proactively guide the user to meaningful information. Examples of information sources associated with a user may include, but are not limited to, built-in intelligence in an email system, user interactions with the assistant module 122, user interactions and application usage on a device associated with the user (e.g., computing device 110), or other information sources.

[0028] The term "conversation" as used throughout this specification refers to a normal interaction between a user of a computing device and an assistant running on or accessible from a computing device, as opposed to an interaction that may take place during initial setup, installation, first use, etc. In other words, a conversation takes place during the user's everyday use of the assistant, when the user is performing tasks other than setting up the assistant. Conversation, as used herein, does not refer to a user answering questions as part of setting up an application or providing information to fill in preset fields in a user interface.

[0029] In operation, assistant module 122 can provide an assistant that runs on or is accessible from computing device 110. The assistant can be configured to initiate a conversation or dialog with a user, to ask the user for information, and to suggest actions that the assistant can perform on behalf of the user even if the user is not aware of the actions. The assistant can be configured to recommend valuable actions to the user that are related to an existing conversation with the user even if the user has not explicitly asked for them. For example, assistant module 122B can determine whether to initiate a dialog with the user and select the dialog to initiate. Assistant module 122B can cause assistant module 122A to initiate a dialog and obtain user permission for assistant module 122A to perform an action related to the dialog.

[0030] The assistant module 122 can determine an event for triggering an interaction (e.g., a conversation or dialog) between the user of the computing device 110 and the assistant running on the computing device 110 based on information related to the user of the computing device 110. The assistant module 122 can only analyze information related to the computing device 110 and / or the user of the computing device 110 if the user has affirmatively consented to the use or collection of such information. The assistant module 122 can further provide an opportunity for the user to withdraw consent, in which case the assistant module 122 can cease collecting or otherwise retaining information related to the computing device 110 or the user of the computing device 110. The assistant module 122 can analyze the user's personal information (e.g., data store 124), including, but not limited to, search history and online interactions, previous interactions with the assistant (e.g., "call mom," "call Kathy"), and interactions with other applications and third-party entities running on or accessible from the computing device 110. The assistant module 122B can recognize which "surface" or device from which the user is more likely to interact with the assistant at any given time and send notifications of events to that particular surface.

[0031] For example, after receiving consent from a user to allow the assistant module 122 to maintain or access information related to the user, the assistant module 122B can maintain user information in the data store 124B, including information about the upcoming travel plans of the user of the computing device 110. The travel plans may indicate that the user has reserved a seat on a particular flight that was originally scheduled to depart within approximately 12 hours from the current time. An agent executing in the assistant module 122B can be configured to retrieve updated information related to the travel plans from the search server system 180. For example, the agent of the assistant module 122B can send a query to the search module 182 for status information about a particular flight, and in response, the agent of the assistant module 122B can receive information indicating that the particular flight has been delayed 30 minutes from its originally scheduled departure time.

[0032] The search module 182 can perform searches (e.g., Internet searches) for information related to the search query (e.g., weather or traffic conditions, news, stock prices, sports scores, user schedules, transportation schedules, autonomous vehicle reservations, retail prices, etc.) among various information sources (e.g., stored locally or remotely to the search server system 180). After performing the search, the search module 182 can output information returned from the search (e.g., search results, links to the search results, etc.) to the digital assistant server 160 or the computing device 110. The search module 182 can perform searches for information determined to be related to the search query generated by the search module 182 (e.g., based on contextual information related to the computing device 110A). The search module 182 can perform searches based on a search query received by the search module 182 from the digital assistant server 160 or the computing device 110A (e.g., as part of a task that the virtual assistant is completing on behalf of the user of the computing device 110).

[0033] Assistant module 122B can determine that the flight delay is an event to initiate an interaction with a user of computing device 110. Assistant module 122B can send information to assistant module 122A to trigger notification of the event.

[0034] In response to receiving an event trigger from assistant module 122B, assistant module 122A can select, based on the event, at least one action related to or relating to the event from a plurality of actions that assistant module 122A is configured to perform. By way of example, assistant module 122A can be configured to perform a plurality of actions including, but not limited to, scheduling a service (e.g., transportation including autonomous vehicle reservations, home or auto-related repairs / maintenance, food delivery, pet care, pet walking, house care, babysitting, delivery, travel reservations, and any or all other services), communication interactions (e.g., calendar invitations, email messages, text-based messages, social media network messages, phone or video calls, and any or all other communications), procuring goods (e.g., actions related to online shopping, flower delivery, event ticket purchase, and any or all other procurement), among other various actions. Assistant module 122A may utilize other applications or agents running on or accessible by computing device 110A to perform the plurality of actions. The assistant module 122A may utilize other applications or agents running on or accessible from the computing device 110A to perform actions.

[0035] The assistant module 122A can select any one or more of a plurality of actions as being related to the event. For example, the assistant module 122A can score its capabilities or actions for a particular type of event based on feedback obtained regarding what type of action other assistants would perform on behalf of users of other computing devices for that particular type of event. The assistant module 122A can score each of the plurality of actions and select one or more of the actions that receive a higher score as being likely to be related to the event. For example, based on information stored in the data store 124A, the assistant module 122A can determine that in addition to booking a flight, the user has also booked ground transportation, such as an autonomous vehicle, at the flight's final destination. The assistant module 122A can determine that scheduling or rescheduling the ground transportation is an action related to a flight delay event that is commonly performed by an assistant based on how other users interact with other assistants.

[0036] Not all events may be worth notifying the user of. Thus, before outputting a notification of an event at the current time, the assistant module 122A may determine whether to output a notification of the event. The assistant module 122A may also limit or tailor the notification of a particular event to a specific context to ensure that the user finds the notification valuable. As an example, the assistant module 122A may determine whether to output a notification of an event based, at least in part, on a combination of how recently a previous interaction between the user and the assistant occurred and the frequency of the previous interaction between the user and the assistant.

[0037] For example, based on information stored in user information data store 124A, assistant module 122A can determine that the user interacts with the assistant on average at a threshold interval or frequency (e.g., approximately once every hour each day) when awake. Assistant module 122A can determine to refrain from outputting a half-hour flight delay notification for a flight that is not scheduled to depart in more than 12 hours because the last conversation between the user and the assistant occurred less than a threshold interval ago (e.g., only 15 minutes ago) to the current time. In some examples, assistant module 122A can determine to output a half-hour flight delay notification for a flight that is not scheduled to depart in more than 12 hours because the last conversation between the user and the assistant occurred more than a threshold interval ago (e.g., one hour ago) to the current time.

[0038] In response to the determination to output the notification of the event, the assistant module 122A can output the notification of the event. The notification can include an indication of the event and a request to perform at least one action selected above related to the event. For example, the assistant module 122B can send the notification of the event to the assistant module 122A for output via the UIC 212 during a dialogue between the user and the assistant. The assistant module 122A can output the notification as part of the user interface 114 and can include a portion of the text of the conversation shown in FIG. 1. The assistant module 122A can cause the notification to include an indication of a request to perform one or more actions related to the event on behalf of the user. As an example, the indication of the event can correspond to displayed or spoken text of "Your flight to Topeka tonight has been canceled due to bad weather" and the indication of the request to perform at least one action can correspond to displayed or spoken text of "Shall I reschedule your reserved ground transportation?"

[0039] To prevent the unintentional output of personal or sensitive information, assistant module 122A can generate a notification cue without actually outputting a notification. For example, in response to receiving a notification from assistant module 122B, assistant module 122A can cause UIC 112 to output an alert indicating that the assistant has information for the user. The alert can correspond to text displayed in user interface 114 saying "I have something to tell you. Are you here?". The output by UIC 112 can proactively cue the user that meaningful information is available.

[0040] In some examples, assistant module 122 can refrain from outputting a notification until assistant module 122 determines that the user has received and consented to such a cue. By way of example, assistant module 122B can determine that the user has consented to a conversation when assistant module 122A receives an indication of consent from the user (e.g., a microphone on UIC 112 hearing an utterance indicating "Yes, I'm here"), receives an indication that the user has activated the display device on UIC 112, and / or receives data indicating that the user has interacted with computing device 110A in some other way (e.g., lifting the device, pressing a button, etc.) to indicate consent.

[0041] In any case, after outputting a notification of the event and a request to perform at least one action, the assistant module 122A can detect user input as the user responds to the request. In the example of FIG. 1, the assistant module 122A can receive spoken or signaled user input via the camera or microphone of the UIC 112 corresponding to the text "Yes, please reschedule my ride." In response to determining that the spoken or signaled user input corresponds to an affirmative request, an agent of the assistant module 122A can reschedule the ground transportation reservation to accommodate the flight delay.

[0042] In some examples, an action may be associated with a third device different than the device executing any of the assistant modules 122. The assistant module 122A may implement or execute an action by sending information to the third device to have the third device complete the action. For example, a ground transportation service may be associated with an application executing on the computing device 110B. The assistant module 122A may send a message over the network 130 to the application with a request to reschedule the service. The computing device 110B may output a notification indicating the new time for the ground transportation in response to the application confirming that the ground transportation has been scheduled.

[0043] In this way, the assistant module 122 can proactively guide the user to further actions or capabilities of the assistant without necessarily flooding the user with trivial information or requiring the user to provide input related to such actions or capabilities. Because the exemplary assistant proactively guides the user to meaningful information, the user does not have to spend time guiding the assistant with specific queries. Thus, the exemplary assistant according to the present disclosure can complete tasks more quickly and / or respond to the user more quickly than other assistants. By proactively guiding the user to meaningful information, the assistant can appear natural, less intrusive, and more desirable to the user.

[0044] Among the several benefits provided by the above-mentioned approach are the following: (1) By actively directing the user to the assistant's actions or capabilities, rather than relying on specific queries from the user or on the user spending time learning the actions or capabilities through documents or other means, the processing complexity and time for the device to perform the function may be reduced. Explicit user requests for information regarding the assistant's capabilities, for example through voice input, may be avoided. This allows the computing device on which the assistant is implemented to not be required to process such requests, and thereby to process multiple conversations, particularly over time, and the computing device may benefit from significant savings in computer resources associated with implementing the assistant. (2) Meaningful information and information related to the user may be stored locally, thereby reducing the need for complex and memory-intensive transmission security protocols on the user's device for private data. (3) Fewer specific queries may be requested by the user as the present exemplary assistant directs the user to actions or capabilities, thereby reducing the demand for query rewriting and other computationally complex data retrieval on the user's device. (4) As the number of specific queries is reduced, network usage may be reduced because the data required for the assistant module to respond to a particular query may be reduced. For example, data traffic between the client computing device 110, from which the assistant can output information, and the remote server 180 from which information may be sought by the client device may be reduced. In addition to, or instead of, such reduction resulting from fewer specific queries, reduction in network data traffic may result from an overall reduction in the amount of time that a communication channel between a particular client device 110 and the remote server 180 needs to remain open to facilitate a particular conversation.Those skilled in the art will appreciate that by automatically facilitating a conversation with a user by providing information without requiring the user to ask the assistant for the information, the overall efficiency of the conversation in terms of technical resources may be increased since the user is not required to explicitly seek out the information through separate conversation actions. Additionally, the time duration of the conversation may be reduced, thereby allowing communication channels to be closed sooner than they would otherwise be, thereby freeing up network resources.

[0045] 2 is a block diagram illustrating an example computing device configured to execute an example virtual assistant according to one or more aspects of the present disclosure. The computing device 210 of FIG. 2 is described below as an example of the computing device 110A and / or 110B of FIG. 1. FIG. 2 illustrates only one particular example of the computing device 210, and many other examples of the computing device 210 may be used in other cases, which may include a subset of the components included in the example computing device 210, and may include additional components not shown in FIG. 2.

[0046] 2, computing device 210 includes a user interface component (UIC) 212, one or more processors 240, one or more communication units 242, one or more input components 244, one or more output components 246, and one or more storage components 248. The UIC 212 includes the output component 202 and the input component 204. The storage component 248 of computing device 210 includes a UI module 220, an assistant module 222, a user information data store 224, one or more application modules 226, and a context module 230.

[0047] A communication channel 250 may interconnect (physically, communicatively, and / or operatively) each of the components 212, 240, 242, 244, 246, and 248 for inter-component communication. In some examples, the communication channel 250 may include a system bus, a network connection, an inter-process communication data structure, or any other method for communicating data.

[0048] One or more communication units 242 of the computing device 210 may communicate with external devices via one or more wired and / or wireless networks by transmitting and / or receiving network signals over the one or more networks. Examples of the communication unit 242 include a network interface card (such as an Ethernet card), an optical transceiver, a radio frequency transceiver, a global positioning satellite (GPS) receiver, or any other type of device capable of sending and / or receiving information. Other examples of the communication unit 242 may include a shortwave radio, a cellular data radio, a wireless network radio, and a universal serial bus (USB) controller.

[0049] One or more input components 244 of the computing device 210 can receive input. Examples of input are tactile input, audio input, and video input. The input components 244 of the computing device 210, in one example, include a presence-sensing input device (e.g., a touch-sensitive screen, PSD), a mouse, a keyboard, a voice response system, a video camera, a microphone, or any other type of device for detecting input from a person or machine. In some examples, the input components 244 can include one or more sensor components, one or more position sensors (GPS components, Wi-Fi components, cellular components), one or more temperature sensors, one or more movement sensors (e.g., accelerometers, gyros), one or more pressure sensors (e.g., barometers), one or more ambient light sensors, and one or more other sensors (e.g., microphones, cameras, infrared proximity sensors, hygrometers, etc.), to name a few other non-limiting examples. The other sensors can include a heart rate sensor, a magnetometer, a glucose sensor, a hygrometer sensor, an olfactory sensor, a compass sensor, a step counter sensor, to name a few other non-limiting examples.

[0050] One or more output components 246 of the computing device 210 can generate output. Examples of output are haptic output, audio output, and video output. The output components 246 of the computing device 210, in one example, include a PSD, a sound card, a video graphics adapter card, a speaker, a cathode ray tube (CRT) monitor, a liquid crystal display (LCD), or any other type of device for generating output to a human or machine.

[0051] The UIC 212 of computing device 210 may be similar to the UIC 112 of computing device 110 and includes an output component 202 and an input component 204. The output component 202 may be a display component, such as a screen on which information is displayed by the UIC 212, and the input component 204 may be a presence-sensing input component that detects objects at and / or near the display component 202. The output component 202 and the input component 204 may be a speaker and microphone pair or any other combination of one or more input and output components, such as input component 244 and output component 246. In the example of FIG. 2, the UIC 212 may present a user interface (such as user interface 114 of FIG. 1).

[0052] Although UIC 212 is shown as an internal component of computing device 210, it may represent an external component that shares a data path with computing device 210 to transmit and / or receive inputs and outputs. By way of example, in one example, UIC 212 represents an embedded component of computing device 210 (e.g., a screen on a mobile phone) that is located within and physically connected to the external packaging of computing device 210. In another example, UIC 212 represents an external component of computing device 210 (e.g., a monitor, projector, etc. that shares a wired and / or wireless data path with computing device 210) that is located outside of and physically separated from the packaging or housing of computing device 210.

[0053] One or more storage components 248 in the computing device 210 may store information for processing during operation of the computing device 210 (e.g., the computing device 210 may store data accessed by the modules 220, 222, 230, and 226, and the data store 224 during execution on the computing device 210). In some examples, the storage components 248 are temporary memories, i.e., the primary purpose of the storage components 248 is not long-term storage. The storage components 248 on the computing device 210 may be configured as volatile memories for short-term storage of information and thus cannot retain the stored contents if the power is turned off. Examples of volatile memories include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), and other forms of volatile memory known in the art.

[0054] The storage component 248 also includes one or more computer-readable storage media in some examples. The storage component 248 includes one or more non-transitory computer-readable storage media in some examples. The storage component 248 may be configured to store a larger amount of information than typically stored by a volatile memory. The storage component 248 may further be configured as a non-volatile memory space for long-term storage of information and may retain information after a power on / off cycle. Examples of non-volatile memory include magnetic hard disks, optical disks, floppy disks, flash memory, or forms of electrically programmable memory (EPROM) or electrically erasable programmable (EEPROM) memory. The storage component 248 may store program instructions and / or information (e.g., data) associated with the modules 220, 222, 230, and 226, and the data store 224. The storage component 248 may include a memory configured to store data or other information associated with the modules 220, 222, 230, and 226, and the data store 224.

[0055] The one or more processors 240 may implement functions and / or execute instructions associated with the computing device 210. Examples of the processor 240 include an application processor, a display controller, an auxiliary processor, one or more sensor hubs, and any other hardware configured to function as a processor, processing unit, or processing device. The modules 220, 222, 230, and 226 may be operable by the processor 240 to perform various actions, operations, or functions of the computing device 210. For example, the processor 240 of the computing device 210 may retrieve and execute instructions stored by the storage component 248 that cause the processor 240 to perform operations of the modules 220, 222, 230, and 226. The instructions, when executed by the processor 240, may cause the computing device 210 to store information in the storage component 248, for example, in the data store 224.

[0056] 1 and can perform similar operations as UI module 120 to execute the assistant as part of computing device 210. UI module 220 can manage user interactions with UIC 212 and other components of computing device 210. UI module 220 can cause UIC 212 to output a user interface when a user of computing device 210 views output and / or makes input on UIC 212.

[0057] The user information data store 224 is an example of the user information data store 124A of FIG. 1. The assistant module 222 can include all the functions of the assistant module 122 of FIG. 1 and can perform similar operations to the assistant module 122 to execute the assistant as part of the computing device 210 and to maintain and access user information in the user information data store 224. In some examples, the assistant module 222 can execute locally (e.g., in the processor 240) to provide assistant functionality. In some examples, the assistant module 222 can act as an interface to a remote assistant service accessible to the computing device 210. For example, the assistant module 222 can be an interface or application programming interface (API) to the assistant module 122B of the digital assistant server 160 of FIG. 1.

[0058] The one or more application modules 226 represent a variety of individual applications and services running on and accessible from the computing device 210 that may be accessed by the assistant to provide information to a user and / or to perform a task or action. There may be numerous examples of application modules 226, including fitness applications, calendar applications, search applications, map or navigation applications, travel applications (e.g., planning, reservations, ticketing, etc.), social media applications, gaming applications, email applications, chat or messaging applications, Internet browser applications, or any other application that may run on the computing device 210. An assistant running on the computing device 210, such as the assistant module 222, may cause the application 226 to execute instructions to perform multiple actions associated with the assistant. In other words, the assistant may utilize the application modules 226 to perform multiple actions on behalf of the assistant.

[0059] After receiving explicit consent from the user to store and use personal information (e.g., information stored in data store 224), the context module 230 can process and analyze context information related to the computing device 210 to define the context of the computing device 210 or the context of the user of the computing device 210. The context module 230 can encrypt or otherwise handle the analyzed and / or stored information to remove the actual identifying information of the user before storing or using the personal information. For example, the information may be handled by the context module 230 to remove any personally identifiable information when it is stored or sent by the context module 230 to a remote computing device (e.g., digital assistant server 160) for processing. The context module 230 can only analyze information related to the computing device 210 and / or the user of the computing device 210 if the user has affirmatively consented to the use or collection of such information. The context module 230 may further provide the user with an opportunity to withdraw consent, in which case the context module 230 may cease collecting or otherwise retaining information related to the computing device 210 or the user of the computing device 210.

[0060] The context of the computing device 210 may identify one or more characteristics associated with the computing device 210 and / or a user of the computing device 210, as well as the user's physical and / or virtual environment at various locations and times. For example, the context module 230 may determine, as part of the context of the computing device 210, a physical location associated with the computing device 210 at a particular time based on context information associated with the computing device 210 from that particular time. As the context information changes (e.g., based on sensor information indicative of movement over time), the context module 230 may update the physical location in the determined context of the computing device 210.

[0061] The information types that define the context of a computing device for a particular location and / or time are numerous and cannot be enumerated. As some examples, the context of a computing device can identify audio fingerprints, video fingerprints, location, movement trajectory, direction, speed, facility names, street addresses, place types, buildings, weather conditions, and traffic conditions at various locations and times. The context of a computing device can also include calendar information that defines meetings or events associated with various locations and times, web page addresses viewed at various locations and times, text entries (e.g., search history or browsing history) made in data fields of web pages viewed at various locations and times, and other application usage data associated with various locations and times. The context of a computing device can also include audio and / or video streams accessed by or broadcast in the presence of the computing device at various locations and times, information about television or cable / satellite broadcasts accessed by or broadcast in the presence of the computing device at various locations and times, and information about other services accessed by the computing device at various locations and times.

[0062] The context module 230 can share the context of the computing device 210 with the assistant module 222, from which the assistant module 222 can determine whether to output a notification of an event. The context module 230 can respond to a request from the assistant module 222 for a current context or current state associated with the computing device 210 by outputting data to the assistant module 222 that identifies the user's current state or context.

[0063] In operation, the assistant module 222 can determine an event for initiating an interaction between the user and the assistant based on information related to a user of the computing device. For example, the assistant module 222 can monitor a data source, such as the data store 224, to detect changes to the information that may indicate an event worth notifying the user about. Examples of data sources include messaging accounts, calendars, social media accounts, and other information sources. Examples of events include adding, canceling, or changing appointments (e.g., invitations, meetings, anniversaries, etc.), occurrences (e.g., shipping notices, flight delays), announcements (e.g., tour dates, etc.), and other types of events.

[0064] The data store 224 may include references to private or public calendars. The assistant module 222 may detect events related to the calendars when a calendar appointment is added, deleted, modified, fulfilled, or a calendar appointment is missed. For example, the assistant module 222 may determine an event in response to determining, based on a private calendar, that a dentist has sent a cancellation notice canceling a calendar appointment. The assistant module 222 may determine an event in response to determining, based on a public calendar, that a holiday, birthday, or anniversary is approaching.

[0065] The data store 224 may contain references to email or text messages, voice or video messages sent as messages, etc. The assistant module 222 may determine an event based on information contained within such communications. For example, the assistant module 222 may determine an event in response to determining that a scheduled appointment has been canceled or delayed based on an email from a service provider (e.g., an airline, a cable provider, etc.). Or, the assistant module 222 may determine an event in response to determining that a package has been shipped based on an email from a retailer.

[0066] The assistant module 222 can select at least one action associated with an event from a plurality of actions based on the event. For example, a model of the assistant module 222 can receive an event or an event type as input and output one or more actions associated with the event. The model can be a machine learning type model (e.g., neural network), a rule-based model, or other type of model that matches actions to events.

[0067] The model can assign a degree of likelihood (e.g., a score, probability, etc.) that indicates how closely an action is related to an event and / or that an action may be performed on an event. For example, the model may be trained on observations of user activity with respect to various events and the actions that users have their computing devices perform in response to the events. With explicit consent from the user, the model can analyze user-device interactions to develop rules that indicate, for a particular event or event type, what action the user wants to take and when such action should be taken.

[0068] For example, a model may be trained on user interaction data that indicates that 90 percent of the time when a user receives a flight delay notification, the user sends a message to a close contact. The model may be further trained on user interaction data that indicates that 80 percent of the time when the user causes the device to send a message, the message is sent to a spouse or significant other. Thus, the model may generate a rule that indicates that whenever a flight delay notification is output, an action worth recommending may be the action of sending a message to a spouse or significant other.

[0069] As another example, a model may be trained on user interaction data indicating that a majority of users of other devices check fantasy sports scores after receiving score updates for an ongoing game. The model may further be trained on user interaction data indicating that 80 percent of the time, users have their devices open a popular fantasy sports application as the primary way that users check fantasy scores. Thus, the model may generate a rule indicating that whenever a sports score notification is output and a popular fantasy sports application is installed on the computing device, an action worth recommending may be to launch the fantasy sports application after presenting the scores.

[0070] In some cases, the model may be based on a dependency graph. For example, the model's dependency graph may include a root node, which may be a flight. Dependents from the root node may be transportation nodes, lodging nodes, meeting nodes, meal nodes, etc. The edges between the root node and each of these nodes may be dependencies such as arrival time, available reservations, etc. If an edge cannot be traversed, the model may trigger an action to be suggested. In some examples, the suggested actions may themselves be nodes of the dependency graph with various dependencies (e.g., degree of delay, non-substitutability, etc.) and weights, and the highest possible weighted path may be suggested to the user (and alternative lower weighted actions may also be suggested, if appropriate). The model's graph may be initially presented as a template to which user data may be added, and the model's graph may be modified by the system (e.g., using machine learning, manual input from the user, etc.). Many other examples of models exist.

[0071] In any case, the assistant module 222 generates such rules, where the input to the rules may be an event or an event type, and the output of each rule may indicate the degree of likelihood that each available action is associated with a particular event. The assistant module 222 may rank the multiple actions it can implement based on the degree of likelihood assigned to each action to determine the highest ranked action or actions. In other words, the assistant module 222 may rank each of the multiple actions based on the event and select at least one action that is highest ranked.

[0072] In some examples, if the likelihood of all actions does not meet a threshold, the assistant module 222 can determine that no action is relevant to the event. For example, if none of the actions that can be implemented by the assistant module 222 have a likelihood associated with a particular event that is greater than 50 percent, the assistant module 222 can determine that no action is worth suggesting during notification of the particular event.

[0073] In some examples, if the degree of likelihood of the single action satisfies a threshold, the assistant module 222 can make a determination that there is a single action associated with the event. For example, if only one of multiple actions that can be implemented by the assistant module 222 has a degree of likelihood associated with a particular event that is greater than 90 percent, the assistant module 222 can make a determination that there is a single action worth suggesting during notification of the particular event.

[0074] In some examples, if the likelihood of two or more of the actions meets a threshold, the assistant module 222 can make a determination that there are multiple actions associated with an event. For example, if two or more of the multiple actions that can be implemented by the assistant module 222 each have a likelihood associated with a particular event that is greater than 95 percent, the assistant module 222 can make a determination that there are multiple actions worth suggesting during notification of a particular event.

[0075] In some examples, the model used by the assistant module 222 to select at least one action associated with an event from a plurality of actions based on the event may be table or graph based. For example, the assistant module 222 may look up an event or event type in a table or graph and determine what one or more actions associated with the event are included in the table or graph.

[0076] Some assistants may provide a voice-only interface, may come with little documentation, or may be otherwise limited in how they teach the user what the assistant can do. Discovering an assistant's actions or capabilities may be difficult for some users. The assistant module 222 may be configured to teach the user about an action or capability when that capability may be useful or otherwise beneficial to the user. The assistant module 222 may determine whether to output a notification of an event that includes a suggested action, not only to increase the likelihood that the notification will be of interest, but also to make the recommended action suggested by the assistant more likely to be accepted by the user. In this way, the assistant module 222 may suggest truly useful actions that are unlikely to be rejected by the user. Even if the user does not accept the action, the assistant module 222 will continue to teach the user new actions.

[0077] For example, the assistant module 222 may determine whether to output a notification of an event based, at least in part, on the likelihood that a user will accept a request to perform an action related to the event. The assistant module 222 may determine the likelihood based on the context of the user, the context of the computing device 210, information stored in the user information data store 224, or a combination thereof, and any other information accessible to the assistant module 222.

[0078] For example, the assistant module 222 can determine whether to output a notification of an event based, at least in part, on how recently a previous interaction occurred between the user and the assistant. If the previous interaction occurred within a threshold time period (e.g., 5 minutes), the assistant module 222 can determine that the user is less likely to accept the request to perform an action, and instead, the assistant module 222 can be more likely to withdraw the request. If the previous interaction occurred outside of the threshold time period, the assistant module 222 can determine that the user is more likely to accept the request to perform an action, and therefore, the assistant module 222 can be more likely to accept the request.

[0079] The assistant module 222 may determine whether to output a notification of an event based at least in part on the context of the computing device 210. By way of example, if the context indicates that the user is interacting with the computing device 210 (e.g., by looking at the UIC 212 and / or providing input to the UIC 212), the assistant module 222 may determine that the user is more likely to accept the request to perform an action, and thus the assistant module 222 may be more likely to accept the request. If the context indicates that the user is not interacting with the computing device 210 (e.g., the computing device 210 is coupled to a wireless communication unit of a moving vehicle, the computing device 210 is lying on a table or in the user's pocket, the computing device 210 is located in a movie theater, etc.), the assistant module 222 may determine that the user is less likely to accept the request to perform an action, and thus the assistant module 222 may be more likely not to output a notification with a request.

[0080] In some examples, the assistant module 222 can assign a severity to an event and, based on the severity, increase or decrease the likelihood that a user will accept a request to perform an action. For example, if the event is that a flight is delayed less than a threshold amount of time (e.g., an hour, a half hour, etc.), the assistant module 222 can determine that such an event is not a significant event based on a determination that the event has a low severity. However, if the flight is delayed by more than a threshold amount of time (e.g., an hour, a half hour, etc.), the assistant module 222 can determine that such an event is a significant event based on a determination that the event has a medium or high severity.

[0081] In some examples, the threshold amount of time may be based on the actual event. For example, the threshold amount of time may be a percentage of the total flight time (i.e., the duration of the flight itself). If the flight is delayed by an hour but the flight is 10 hours, the assistant module 222 may assign a low or medium severity. On the other hand, if the flight is delayed by half an hour and the flight is only 1 hour, the assistant module 222 may assign a high severity to the event so that a notification with a suggested action (e.g., notifying a friend or spouse of the delayed arrival home) is more likely to be output at the current time.

[0082] In response to a determination to output a notification of the event, the assistant module 222 can output a notification of the event via the UIC 212 during an interaction between the user and the assistant. The notification can include an indication of the event and a request to perform at least one action related to the event.

[0083] For example, if the assistant module 222 determines that a dentist appointment on the calendar has been canceled (e.g., by an email or notification pushed to the user), the assistant module 222 can determine to output a notification of the cancellation. The output can be an audio notification that includes a request to call the dentist to reschedule. In response to receiving user input at the UIC 212 indicating that the user wants the assistant to call the dentist, the assistant module 222 can launch a phone application from the application module 226 to dial the dentist's office on behalf of the user.

[0084] As another example, if the assistant module 222 determines that the flight is delayed by five hours, the assistant module 222 can determine to output a cancellation notification. The output can be an audio notification that includes a request to cancel or reschedule a reserved ground transportation, such as an autonomous vehicle, at the destination. In response to receiving user input at the UIC 212 indicating that the user wants an assistant to cancel or reschedule the ground transportation, the assistant module 222 can send a message to a ground transportation service to cancel or reschedule the reservation.

[0085] In another example, where the flight is delayed by five hours, the assistant module 222 can determine to output a notification of the cancellation. The output can be an audio notification including a request to call, text, email, or otherwise contact the user's wife. In response to receiving user input at the UIC 212 indicating that the user wants the assistant to contact the user's wife, the assistant module 222 can determine contact information for the user's wife and send a message to the wife informing her of the delay.

[0086] As another example, if the assistant module 222 determines that Valentine's Day is less than a week away, the assistant module 222 can determine to output a notification of the event. The output can be an audio notification that includes a request to order flowers for the user's girlfriend. In response to receiving user input at the UIC 212 indicating that the user wants an assistant to order flowers, the assistant module 222 can determine contact information for the user's girlfriend and place an online order for flowers to be delivered to the girlfriend's address.

[0087] In this manner, the assistant module 222 can increase the discoverability of features, capabilities, or actions that the assistant module 222 can implement so that the user of the computing device 210 can derive more benefit or use from existing features. The assistant module 222 teaches the actions grammatically in the user's native language. In some examples, multiple actions are suggested with notifications, or a single action is suggested. In response to receiving a confirmation that the user wants the assistant to take an action, the assistant module 222 can implement the action and / or direct the user to a companion application, such as one of the application modules 226, from which the action can be implemented.

[0088] 3 is a flowchart illustrating example operations performed by one or more processors executing an example virtual assistant according to one or more aspects of the present disclosure. FIG. 3 is described below in the context of computing device 110 of FIG. 1. For example, assistant module 122A, when executing on one or more processors of computing device 110A, can perform operations 300-308 according to one or more aspects of the present disclosure.

[0089] In operation, the computing device 110A can receive consent from the user to use and store personal information (300). As an example, in response to identifying potential personal information, the assistant module 122A can cause the UI module 120 to request consent from the user to store and use personal information obtained during interaction with the assistant module 122A and the user. It should be appreciated that the computing device 110A need not request the user to consent prior to each time the assistant module 122A wants to use or store personal information. For example, if the computing device 110A receives consent once a year, once a day, or even just once (e.g., after an initial product purchase, setup, etc.), the computing device 110A can treat that prior consent as consent to use and store personal information in the future. As an example of how a user may consent, the user may provide a voice input of "Yes, I'm okay with you storing information about me" that is detected by the UIC 112, and in response to this voice input, the assistant module 122A may begin maintaining a personal record for the user in the data store 124A.

[0090] Computing device 110A can determine an event for initiating an interaction based at least in part on the personal information (302). For example, assistant module 122A can receive a notification (e.g., data) from digital assistant server 160 indicating an event for initiating an interaction between a user of computing device 110A and an assistant. The notification can include a message received by the user's message account from a friend. The message can include a question asking the user if they want to go to happy hour.

[0091] The computing device 110A can select at least one action associated with the event based on the event (304). For example, the model of the assistant module 122A can determine that happy hour is a late arrival type event, and thus sending a message home to inform family members of the late arrival is an action associated with happy hour. In addition, the model of the assistant module 122A can determine that recording a live news broadcast that the user typically watches after work is an action associated with happy hour.

[0092] The computing device 110A may determine whether to output a notification of the event based on the at least one action (306). For example, the assistant module 122A may refrain from generating a notification of the event until a context (e.g., time) of the computing device 110A in which the assistant module 122A believes that the user most likely wants the assistant to perform at least one action. The assistant module 122A may determine, based on contextual information about the computing device 110A, that the user is located in a conference room for a meeting that is about to begin. Rather than outputting a notification of the event, the assistant module 122A may determine that the happy hour event is a low severity event and that the user is unlikely to want the assistant to perform an action now, so that the assistant module 122A should refrain from outputting the notification until a later time (308, NO).

[0093] At a later time, e.g., after a meeting, the assistant module 122A can determine, based on the context information about the computing device 110A, that the user is located in his / her office. The assistant module 122A can determine that even though the happy hour event is of low severity, the user is more likely to want the assistant to perform an action now while alone in his / her office. Thus, the assistant module 122A can determine that the current time is an opportune time to generate a notification of the event (308, YES).

[0094] Computing device 110A may output a notification (310). For example, assistant module 122A may determine that the user is in his or her office and interacting with computing device 110B (e.g., a laptop). Computing device 110A may send a happy hour notification that includes a recommendation to both send a message home to inform family members of the delay and to record a live news broadcast that the user typically watches after work. Computing device 110B may display graphical instructions in the notification that alert the user to the happy hour invitation along with selectable buttons for the user to select whether to have the assistant send a message home and / or record the news on a home digital video recorder.

[0095] After outputting 310 the notification, computing device 110A can receive 312 data from computing device 110B indicating that the user consented to assistant module 122A taking one or both of the actions suggested with the event notification. For example, computing device 110B can share a voice command indication received from the user indicating that the user wants the assistant to send a message home and / or record the news.

[0096] In response to receiving the user input, the assistant module 122A can perform the action agreed to by the user (314). For example, the assistant module 122A can launch an application configured to perform the action, executing on at least one processor, where the application is distinct from the assistant. For example, to send a message home, the assistant module 122A can send data to a messaging application, which can send a message to the user's family members via the user's messaging account.

[0097] In some examples, the assistant module 122A can perform the action. For example, to control a digital video recorder, the assistant module 122A can send data to an API of a remote control application configured to control the digital video recorder. The assistant module 122A can directly configure the recorder to record a news broadcast by sending input to the API.

[0098] 4 is a block diagram illustrating an example computing system configured to execute an example virtual assistant according to one or more aspects of the present disclosure. The digital assistant server 460 of FIG. 4 is described below as an example of the digital assistant server 160 of FIG. 1. FIG. 4 illustrates only one particular example of the digital assistant server 460, and many other examples of the digital assistant server 460 may be used in other cases, which may include a subset of the components included in the example digital assistant server 460, and may include additional components not shown in FIG. 4.

[0099] 4, the digital assistant server 460 includes one or more processors 440, one or more communication units 442, and one or more storage devices 448. The storage device 448 includes an assistant module 422, a user information data store 424, and a search module 482.

[0100] The processor 440 is similar to the processor 240 of the computing system 210 of Figure 2. The communication unit 442 is similar to the communication unit 242 of the computing system 210 of Figure 2. The storage device 448 is similar to the storage device 248 of the computing system 210 of Figure 2. The communication channel 450 is similar to the communication channel 250 of the computing system 210 of Figure 2 and thus may interconnect each of the components 440, 442, and 448 for inter-component communication. In some examples, the communication channel 450 may include a system bus, a network connection, an inter-process communication data structure, or any other method for communicating data.

[0101] The search module 482 of the digital assistant server 460 is similar to the search module 182 of the search server system 180 and can implement an integrated search function for the digital assistant server 460. That is, the search module 482 can implement search operations for the assistant module 422. In some examples, the search module 482 can interface with an external search system, such as the search system 180, to implement search operations for the assistant module 422. When invoked, the search module 482 can implement search functions such as generating a search query and performing a search across various local and remote information sources based on the generated search query. The search module 482 can provide the results of the executed search to the component or module from which it was invoked. That is, the search module 482 can output the search results to the assistant module 422.

[0102] 2 and is configured to store user-associated information that the assistant module 422 learns about a user of a computing device during a conversation between the user and an assistant provided by the assistant module 422. The assistant module 422 can utilize the information stored in the data store 424 to determine an event and select an action related to the event for inclusion in a notification sent by the assistant module 422.

[0103] The assistant module 422 may include some or all of the functionality of the assistant module 122 of FIG. 1 and the assistant module 222 of the computing device 210 of FIG. 2. The assistant module 422 may perform operations similar to the assistant modules 122 and 222 to provide an assistant service accessible over a network, such as the network 130. That is, the assistant module 422 may act as an interface to a remote assistant service accessible to a computing device in communication with the digital assistant server 460 over the network. For example, the assistant module 422 may be an interface or API to the assistant module 122B of the digital assistant server 160 of FIG. 1.

[0104] In operation, the assistant module 422 can analyze information contained in the user information data store 424, as well as information received from the search module 482, to determine whether an event is worthy of notification to the user. Once the assistant module 422 detects an event and selects a recommended action for the event, it can choose to trigger notification of the event based on a combination of various factors, including how often the assistant module 422 has initiated an interaction on behalf of the user and the likelihood of the success of that interaction.

[0105] The assistant module 422 can generate notifications in a "surface-appropriate way" that is more likely to grab the user's attention. For example, if the user is associated with a home assistant device and has recently interacted with the home assistant, the assistant module 422 can cause the home assistant to generate a voice notification based on the event. The voice notification can be generated in the language of the home assistant device. For example, a voice notification can be sent to the home device, which can cause the home device to generate audio (as a computer-generated voice) such as "Hello, Viki. Your flight is delayed for three hours. Should I cancel my limo bus reservation?" If the user is associated with a mobile phone and interacts with the assistant through the mobile phone, the assistant module 422 can send a notification to the mobile phone, which can be displayed graphically on the screen with a "cancel button" to cancel the limo bus reservation. In some cases, such as for high-value events or events with high severity, the assistant module 422 can send notifications with actions to multiple surfaces simultaneously.

[0106] Clause 1. A method including: determining an event for initiating an interaction between the user and an assistant running at the computing device based on information related to a user of the computing device, where the assistant is configured to perform a plurality of actions; selecting at least one action associated with the event from the plurality of actions based on the event; determining whether to output a notification of the event based on the at least one action, where the notification includes an indication of the event and a request to perform the at least one action associated with the event; and in response to determining to output the notification of the event, sending the notification of the event to the assistant for output during the interaction between the user and the assistant.

[0107] Clause 2. The method of clause 1, further comprising: scoring each of a plurality of actions based on the event; and selecting at least one action having a respective score that satisfies a threshold.

[0108] Clause 3. The method of clause 1 or 2, wherein determining whether to output a notification of the event includes determining whether to output a notification of the event based, at least in part, on how recently a previous interaction occurred between the user and the assistant.

[0109] Clause 4. The method of any one of clauses 1-3, wherein determining whether to output a notification of the event includes determining a likelihood that a user will accept a request to perform at least one action related to the event, and determining whether to output a notification of the event based, at least in part, on a likelihood that a user will accept a request to perform at least one action related to the event.

[0110] Clause 5. The method of clause 4, further comprising determining a severity of the event and further determining whether to output a notification of the event based on the severity of the event.

[0111] Clause 6. The method of any one of clauses 1-5, wherein determining whether to output a notification of the event includes determining whether to output a notification of the event based, at least in part, on a combination of how recently a previous interaction between the user and the assistant occurred and a frequency of previous interactions between the user and the assistant.

[0112] Clause 7. The method of any one of clauses 1 to 6, wherein at least one action related to the event is associated with an application configured to perform the at least one action, the application being different from the assistant.

[0113] Clause 8. The method of any one of clauses 1 to 7, wherein at least one action is a single action.

[0114] Clause 9. The method of any one of clauses 1 to 8, wherein at least one action includes a plurality of actions.

[0115] Clause 10. A computing device comprising an output device, at least one processor, and at least one memory comprising instructions that, when executed, cause the at least one processor to execute an assistant configured to: determine, based on information related to a user of the computing device, an event for initiating an interaction between the user and an assistant, where the assistant is configured to perform a plurality of actions; select, based on the event, at least one action associated with the event from the plurality of actions; determine, based on the at least one action, whether to output a notification of the event, where the notification includes an indication of the event and a request to perform the at least one action associated with the event; and, in response to the determination to output the notification of the event, output the notification of the event via the output device during the interaction between the user and the assistant.

[0116] Clause 11. The computing device of clause 10, further comprising an input device, wherein the assistant is further configured to receive, via the input device, a user input directing the assistant to perform at least one action, and to perform the at least one action in response to receiving the user input.

[0117] Clause 12. The computing device of clause 10 or 11, wherein the assistant is further configured to perform the at least one action by launching an application configured to perform the at least one action, the application being distinct from the assistant, the application executing on the at least one processor.

[0118] Clause 13. The computing device of any one of clauses 10-12, wherein at least one action includes a plurality of actions.

[0119] Clause 14. The computing device of clause 13, further comprising an input device, wherein the assistant is further configured to receive, via the input device, a user input directing the assistant to perform a particular action from the plurality of actions, and to perform the particular action in response to receiving the user input.

[0120] Clause 15. The computing device of any one of clauses 10-14, wherein the assistant is further configured to receive an event from a remote computing system configured to determine the event for initiating an interaction between the user and the assistant.

[0121] Clause 16. The computing device of any one of clauses 10 to 15, wherein the output device is configured to output audio and the notification is a voice notification.

[0122] Clause 17. A computer-readable storage medium comprising instructions that, when executed, cause at least one processor of a digital assistant system to: determine an event for initiating an interaction between the user and an assistant running on the computing device based on information related to a user of the computing device, where the assistant is configured to perform a plurality of actions; select at least one action associated with the event from the plurality of actions based on the event; and determine whether to output a notification of the event based on the at least one action, where the notification includes an indication of the event and a request to perform the at least one action associated with the event; and in response to the decision to output the notification of the event, send the assistant a notification of the event for output during the interaction between the user and the assistant.

[0123] Clause 18. The computer-readable storage medium of clause 17, wherein the instructions, when executed by at least one processor, cause the digital assistant system to determine whether to output a notification of the event by determining, at least in part, whether to output a notification of the event based on how recently a previous interaction between the user and the assistant occurred.

[0124] Clause 19. The computer-readable storage medium of clause 17 or 18, wherein the instructions, when executed by at least one processor, cause the digital assistant system to determine whether to output a notification of the event by at least determining a degree of likelihood that a user will accept a request to perform at least one action related to the event, and determining whether to output a notification of the event, at least in part, based on a degree of likelihood that a user will accept a request to perform at least one action related to the event.

[0125] Clause 20. The computer-readable storage medium of any one of clauses 17 to 19, wherein at least one action is associated with a third device distinct from the computing device and the digital assistant system.

[0126] Clause 21. A computing device comprising at least one processor and at least one memory comprising instructions that, when executed, cause the at least one processor to perform a method according to any one of clauses 1 to 9.

[0127] Clause 22. A computer-readable storage medium comprising instructions that, when executed, cause at least one processor of a computing device to perform the method of any one of clauses 1-9.

[0128] Clause 23. A system comprising means for carrying out the method according to any one of clauses 1 to 9.

[0129] In one or more examples, the described functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted via a computer-readable medium as one or more instructions or code to be executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium corresponding to a tangible medium, such as a data storage medium, or a communication medium including any medium that facilitates transfer of a computer program from one place to another, for example via a communication protocol. In this manner, the computer-readable medium may generally correspond to (1) a tangible computer-readable storage medium that is non-transitory, or (2) a communication medium such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementation of the techniques described in this disclosure. The computer program product may include a computer-readable medium.

[0130] By way of example and not limitation, such computer-readable storage media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other storage media that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is technically referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but instead cover non-transitory tangible storage media. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, although disks typically reproduce data magnetically while discs reproduce data optically using a laser. Combinations of the above should also be included within the scope of computer-readable media.

[0131] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the term "processor" as used herein may refer to any of the foregoing structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules. The techniques may also be implemented entirely in the form of one or more circuits or logic elements.

[0132] The techniques of the present disclosure may be implemented in the form of a wide variety of devices or apparatuses, including wireless handsets, integrated circuits (ICs), or IC sets (e.g., chipsets). Various components, modules, or units are described in this disclosure to highlight aspects of the functionality of devices configured to implement the disclosed techniques, but do not necessarily require realization by different hardware units. Instead, as described above, the various units may be combined in the form of a hardware unit or may be realized by a collection of interoperable hardware units including one or more processors as described above, together with appropriate software and / or firmware.

[0133] Various embodiments have been described above. These and other embodiments are within the scope of the following claims. [Explanation of symbols]

[0134] 100 Systems 110 Client computing device, client device 110A Computing Devices 110B Computing Devices 112 User Interface Components (UIC) 114 User Interface 120 User Interface (UI) Module 122 Assistant Module 122A Assistant Module 122B Assistant Module 124 User Information Data Store 124A User Information Data Store 124B User Information Data Store 130 Network 160 Digital assistant server, server system 180 Search server system, remote server, search system 182 Search Module 202 Output components, display components 204 Input Component 210 Computing devices, computing systems 212 User Interface Components (UIC) 220 UI Module 222 Assistant Module 224 User Information Data Store 226 Application Modules, Applications 230 Context Module 240 Processors, Components 242 Communication units, components 244 Input Components 246 Output Components 248 Storage components, storage devices 250 communication channels 422 Assistant Module 424 User Information Data Store 440 Processors, Components 442 Communication units, components 448 Storage Devices, Components 450 Communication Channels 460 Digital Assistant Server 482 Search Module

Claims

1. 1. A method implemented by one or more processors of a user's computing device, comprising: Having a digital assistant configured to perform a plurality of actions submit a search query across one or more databases, the digital assistant executing at least in part on the user's computing device; In response to having the digital assistant submit the search query across one or more of the databases, obtaining response content responsive to the search query; Based on information associated with the user of the computing device, determine whether to have the digital assistant engage in a conversation with the user of the computing device to output the response content responsive to the search query and a request to perform at least one action among the plurality of actions related to the response content; In response to determining to have the digital assistant engage in the conversation with the user of the computing device, engaging the digital assistant in the conversation with the user of the computing device; During the conversation, causing the digital assistant to output at least the response content responsive to the search query and a request to perform the at least one action; wherein determining whether to have the digital assistant engage in a conversation with the user of the computing device is further based on a likelihood that the user will accept the request to perform the at least one action.

2. The method of claim 1 , wherein the digital assistant proactively submits the search queries across one or more of the databases on behalf of the user of the computing device.

3. The method of claim 2 , wherein the information associated with the user of the computing device indicates that the user is mobile.

4. The method of claim 3 , wherein the search query is a search query for traffic conditions along a travel trajectory of the user.

5. 5. The method of claim 4, wherein having the digital assistant submit the search query for the traffic conditions along the user's travel trajectory is based on determining that the user is traveling along the user's travel trajectory.

6. 2. The method of claim 1, wherein the step of causing the digital assistant to output the response content responsive to at least the search query comprises causing the digital assistant to audibly output the response content responsive to the search query at least via one or more speakers of the computing device.

7. 10. The method of claim 1, further comprising: determining, based on the information associated with the user of the computing device and at a first time instance of a plurality of time instances, to refrain from engaging in the conversation with the user of the computing device to output the response content responsive to the search query.

8. 8. The method of claim 7, further comprising: determining, based on the information associated with the user of the computing device and at a second time instance of a plurality of time instances subsequent to the first time instance, to engage in the conversation with the user of the computing device to output the response content responsive to the search query.

9. The method of claim 1 , wherein the one or more databases comprise a remote computing system that is remote from the computing device of the user.

10. The method of claim 1 , wherein the one or more databases comprise a local database that is local to the computing device of the user.

11. A user's computing device, comprising: at least one hardware processor; a memory storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to: Having a digital assistant configured to perform a plurality of actions submit a search query across one or more databases, the digital assistant executing at least in part on the user's computing device; In response to having the digital assistant submit the search query across one or more of the databases, obtaining response content responsive to the search query; Based on information associated with the user of the computing device, determine whether to have the digital assistant engage in a conversation with the user of the computing device to output the response content responsive to the search query and a request to perform at least one action related to the response content among the plurality of actions; In response to determining to have the digital assistant engage in the conversation with the user of the computing device, causing the digital assistant to engage in the conversation with the user of the computing device; During the conversation, causing the digital assistant to output at least the response content responsive to the search query and a request to perform the at least one action. a memory and an assistant configured to and determining whether to have the digital assistant engage in a conversation with the user of the computing device is further based on a likelihood that the user will accept the request to perform the at least one action.

12. The computing device of claim 11 , wherein the digital assistant proactively submits the search queries across one or more of the databases on behalf of the user of the computing device.

13. The computing device of claim 12 , wherein the information associated with the user of the computing device indicates that the user is mobile.

14. The computing device of claim 13 , wherein the search query is a search query for traffic conditions along a movement trajectory of the user.

15. 15. The computing device of claim 14, wherein causing the digital assistant to submit the search query for the traffic conditions along the user's travel trajectory is based on determining that the user is traveling along the user's travel trajectory.

16. 12. The computing device of claim 11, wherein causing the digital assistant to output the response content responsive to at least the search query causes the digital assistant to audibly output the response content responsive to the search query at least through one or more speakers of the computing device.

17. 12. The computing device of claim 11, further comprising: determining, based on the information associated with the user of the computing device and at a first time instance of a plurality of time instances, to refrain from engaging in the conversation with the user of the computing device to output the response content responsive to the search query.

18. 20. The computing device of claim 17, further comprising: determining, based on the information associated with the user of the computing device and at a second time instance of a plurality of time instances subsequent to the first time instance, to engage in the conversation with the user of the computing device to output response content responsive to the search query.

19. the one or more databases comprise a remote computing system that is remote from the computing device of the user; or the one or more databases comprising a local database local to the computing device of the user; 12. The computing device of claim 11.

20. 1. A computer-readable storage medium having stored thereon instructions, the instructions, when executed by at least one hardware processor, causing the at least one hardware processor to: Having a digital assistant configured to perform a plurality of actions submit a search query across one or more databases, the digital assistant executing at least in part on a user's computing device; In response to having the digital assistant submit the search query across one or more of the databases, obtaining response content responsive to the search query; Based on information associated with the user of the computing device, determine whether to have the digital assistant engage in a conversation with the user of the computing device to output the response content responsive to the search query and a request to perform at least one action related to the response content among the plurality of actions; In response to determining to have the digital assistant engage in the conversation with the user of the computing device, causing the digital assistant to engage in the conversation with the user of the computing device; During the conversation, causing the digital assistant to output at least the response content responsive to the search query and a request to perform the at least one action. wherein the determining is further based on a likelihood that the user will accept the request to perform the at least one action.

Citation Information

Patent Citations

  • System and method for electronic secretary

    JP1997179911A

  • Computer-based method and system for providing active and automatic personal assistance using vehicle or mobile electronic device

    JP2014179103A