Compensate for hardware differences when determining whether to offload Assistant-related processing tasks from certain client devices
By using network metric-based decision-making in the vehicle to selectively process audio data on the vehicle or server computing device, the problem of delay and resource waste caused by signal strength uncertainty is solved, improving the response speed and efficiency of the automated assistant.
Patent Information
- Application Number
- CN202080101326.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-05-27
AI Technical Summary
Due to differences in antenna strength in network hardware used in vehicles, signal strength does not completely determine the usefulness and efficiency of the network, resulting in automated assistants that may not operate effectively when relying on signal strength, resulting in data transmission delays and processing defects.
By deciding whether to offload auto-attendant tasks to the server computing device based on network metrics provided by the server computing device, such as processing rate and reception rate, avoiding reliance on pure signal strength and selectively relying on local processing to reduce latency and resource consumption.
Improves the responsiveness of automated assistants to users, reduces processing delays, avoids wasting resources on poor connections, shortens conversation session duration, and avoids unnecessary use of network resources.
Smart Images

Figure CN115699167B_ABST
Abstract
Description
Background Art
[0001] In various cases, applications can rely on information from local network hardware in order to make operational decisions. For example, an automated assistant can rely on network hardware to determine whether to offload certain tasks to a server. To make such determinations, the network hardware can make certain operational metrics available. These operational metrics can include, for example, signal strength, which can provide an indication of the cellular signal strength of the network hardware.
[0002] However, in some cases, these operational metrics may not be completely deterministic relative to the usefulness and / or efficiency of the hardware for certain applications. For example, a vehicle may have a computing device that employs the vehicle's network hardware to communicate over a cellular network. The network hardware may include more powerful antennas than those employed by other computing devices, such as cell phones. Thus, an application that effectively relies on operational metrics of a cell phone may be misled by similar operational metrics provided by the vehicle's network hardware or other devices.
[0003] For example, an application that relies on signal strength (dB) to determine whether to communicate with a server computing device may not operate effectively when executed in a vehicle computing device. This may be a result of the vehicle antenna being able to achieve lower signal strength network connections than a cellular telephone antenna. Therefore, regardless of certain connection characteristics, when the application determines that the vehicle antenna exhibits a threshold signal strength, the application may choose to send and receive data via the vehicle antenna. This may result in data being sent and received (or at least attempted to be sent and received) even when certain connection characteristics are poor (e.g., no connection, low speed, etc.). Therefore, although from the application's perspective, an appropriate mode for performing network communications has been selected, the application may exhibit processing delays and / or other operational deficiencies. Summary of the invention
[0004] The embodiments described herein relate to determining whether to offload an automated assistant task to a server computing device based on one or more network metrics indicating the connection status of an ongoing or recent communication with a server computing device. The network metric can include metrics different from other network metrics such as signal strength. Such network metrics can be based on data provided by a server computing device and / or other information determined from interacting with the server computing device. For example, when the automated assistant receives spoken utterances from a user during a conversation session between a user and an automated assistant, the automated assistant can select to send audio data to a server computing device for speech-to-text processing. The processing rate at which the server computing device receives and / or processes the portion of the audio data can be determined by the server computing device and provided to the client computing device. This can allow the server computing device and the client computing device to make their own corresponding processing decisions based on the processing rate. In some embodiments, the processing rate can be determined by the client computing device. In some embodiments, the processing rate can be determined as a network metric and can be used by the automated assistant to select whether to continue using the server computing device to process additional audio data.
[0005] For example, the processing rate can be determined by dividing the value of the amount of audio data processed and / or received by the amount of time by indicating that the server computing device processes during a time amount by the amount of time. For example, the amount of time can be the amount of time since the client computing device begins to provide audio data, the amount of time since the server computing device begins to receive the amount of audio data, or a fixed amount of time (e.g., last 2 seconds). The value indicating the amount of audio data processed and / or received by the server computing device can be the value of the number of audio data packets processed and / or received, the total size of the audio data processed and / or received, and / or other values. Details about how much audio data is received and / or processed by the server computing device can be characterized by the data provided to the client computing device over time.
[0006] As an example, the server computing device can send a confirmation to the client computing device. For example, the server computing device can send a confirmation at regular intervals when each data packet (e.g., audio data packet) is received from the client and / or as long as data (e.g., audio data) continues to be received from the client. The processing rate can be determined locally by the client device based on the number of confirmations received within a time amount. For example, the processing rate can be a function of the number of confirmations received within a time period divided by the duration of the time period. In some embodiments, the confirmation may lack any data that directly indicates the amount of data that the server has received and / or processed from the client computing device. Instead, they can be just confirmations that data is being received from the client computing device. In those embodiments, the confirmation can still be used to determine the processing rate based on the number of confirmations received within a time period. In other embodiments, the confirmation can include data that directly indicates the amount of data that the server has received and / or processed from the client computing device, and such data is used to determine the processing rate. In some embodiments, the processing rate can be based on a reference time determined using the difference between a timestamp provided by the server and another timestamp provided by the client computing device. For example, from the perspective of the corresponding device, each timestamp can correspond to the start of the interaction. In some implementations, the processing rate can be a reference time determined using a time metric characterizing the duration of audio generated at or received by the client computing device. The duration of the audio can refer to the duration of a portion of the audio, or the duration of the entire amount of audio to be processed.
[0007] Depending on the selection of the automated assistant, any additional audio data generated during the conversation session can be processed at the client computing device or the server computing device. Therefore, when the automated assistant can make such decisions based on processing rate or other network metrics rather than based solely on signal strength, the automated assistant can be more responsive to the user while also eliminating processing delays and preventing unnecessary resource-intensive transmission of data to the server device. For example, if the network metric indicates that the connection state to the server computing device is poor or even non-existent, the client computing device can rely on local processing to process and respond to the user's spoken utterances. Even if local processing may not be as accurate and / or robust as the server's processing, selectively relying on local processing based on network metrics can still be successful for many spoken utterances while preventing excessive delays waiting for server processing when the connection state is poor or non-existent. This can shorten the total duration of the conversation session and prevent excessive use of client computing device resources in longer conversation sessions. In addition, it is possible to stop the continued transmission of audio data in response to the network metric indicating that the connection state is poor or non-existent, thereby preventing unnecessary use of the client device network interface involved in the transmission, and preventing the use of network resources involved in attempting to route audio data to the server computing device.
[0008] In some embodiments, an automated assistant can be accessed via a vehicle computing device (i.e., a client computing device) (e.g., integrated as part of the vehicle computing device), which is part of a vehicle that transports one or more users and employs an antenna that is different from the antenna of other devices (such as a cellular phone). While riding in the vehicle, the user can provide spoken utterances to the client computing device in order to initiate a conversation session between the user and the automated assistant and cause the automated assistant to perform an action. The client computing device can generate audio data based on the ongoing spoken utterances from the user and transmit portions of the audio data (e.g., in a streaming manner) to a server computing device via a network connection. The transmission of the audio data can be via an antenna of the vehicle (e.g., via a communication channel between the antenna and a cellular tower). The server computing device can then convert the received audio data into text via one or more processes, perform natural language processing on the converted text, generate fulfillment data based on the natural language processing, and / or perform other processing on the audio data (including processing of the audio data itself, or processing of text or other data generated based on the audio data).
[0009] While the user is speaking to the automated assistant, the natural language content provided by the server computing device can be optionally rendered at the display interface of the client computing device as a transcription of what the user has said so far (e.g., "Hey, assistant, search nearby..."). During this time, the client computing device may still be providing other portions of the audio data to the server computing device, and / or the user may still be speaking to the automated assistant (e.g., "restaurants... with children's menus"). The automated assistant may choose to continue providing other portions of the audio data to the server computing device as long as one or more network metrics meet one or more corresponding thresholds. However, the embodiments described herein allow the automated assistant to temporarily stop providing other portions of the audio data (e.g., from the same utterance or subsequent utterances) to the server computing device in response to one or more network metrics satisfying certain conditions.
[0010] For example, the client computing device can determine the amount of time that has passed between the client computing device providing a portion of audio data to the server computing device and receiving the corresponding content from the server computing device. This amount of time can be the basis for deciding whether the automated assistant should continue to provide portions of audio data to the server computing device for further processing. Additionally or alternatively, the client computing device can determine the amount of audio data that the server computing device has received and / or processed based on data provided by the server computing device. Additionally or alternatively, the client computing device can determine the estimated rate (i.e., processing rate) at which the server computing device is receiving and / or processing data based on data provided by the server computing device. For example, for a particular conversation session, the client computing device can receive N number of confirmations from the server computing device within a duration of M seconds. Therefore, the estimated rate for a particular duration can be a function of N / M.
[0011] One or more of these values can then be used as a basis for determining whether the automated assistant should rely on the server computing device for further processing associated with the ongoing conversation session. For example, one or more of these values can be used as a basis for determining whether the automated assistant should rely on speech-to-text processing at the server computing device for the conversation session or should instead rely on speech-to-text processing at the client computing device for the conversation session. As another example, one or more of these values can additionally or alternatively be used as a basis for determining whether the automated assistant should rely on natural language processing at the server computing device for the conversation session or should instead rely on natural language processing at the client computing device for the conversation session. As yet another example, one or more of these values can additionally or alternatively be used as a basis for determining whether the automated assistant should rely on fulfillment data to be generated and / or fulfillment to be performed at the server computing device for the conversation session or should instead rely on fulfillment data generation and / or fulfillment at the client computing device for the conversation session.
[0012] As a specific example, the client computing device can record an initial timestamp corresponding to the start of a conversation session between a user and an automated assistant. This initial timestamp can also mark the start of audio data generated by the client computing device. When the server computing device receives the initial portion of the audio data, the server computing device can determine the offset between the initial timestamp and the subsequent time at which the server computing device receives the initial portion of the audio data. The server computing device can then determine the total amount of audio data in units of time that the server computing device has received or processed from the client computing device, and share this value with the client computing device. The server computing device can generate this value frequently and share this value with the client computing device via a series of confirmations transmitted over a network connection.
[0013] When the automated assistant determines that the server computing device has received or processed at least a certain amount of audio data or non-audio data within a time period, the automated assistant can continue to send other portions of the audio data or non-audio data (e.g., image data, location data, other media data) to the server computing device (e.g., audio data for the current conversation session or a subsequent conversation session). However, when the automated assistant determines that the server computing device has not received or processed at least a certain amount of audio data within a certain time period, the automated assistant can stop sending other portions of the audio data to the server computing device. Instead, the automated assistant can decide to process other portions of the audio data corresponding to the conversation session locally at the client computing device in order to generate additional natural language content. Thus, the automated assistant can render a portion of the natural language content exported at the server computing device and another portion of the natural language content exported at the client computing device for the user.
[0014] The above description is provided as an overview of some embodiments of the present disclosure. Further descriptions of these embodiments and other embodiments are described in more detail below.
[0015] Other embodiments may include a non-transitory computer-readable storage medium storing instructions that can be executed by one or more processors (e.g., central processing units (CPUs), graphics processing units (GPUs), and / or tensor processing units (TPUs)) to perform methods such as one or more of the methods described above and / or elsewhere herein. Still other embodiments may include a system of one or more computers that include one or more processors that are operable to execute stored instructions to perform methods such as one or more of the methods described above and / or elsewhere herein.
[0016] It should be understood that all combinations of the foregoing concepts and additional concepts described in more detail herein are considered to be part of the subject matter disclosed herein. For example, all combinations of the claimed subject matter appearing at the beginning of this disclosure are considered to be part of the subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1A , Figure 1B and Figure 1C is a view of an automated assistant and / or client computing device that determines whether to offload computing tasks based on network metrics not limited to signal strength.
[0018] Figure 2 Illustrated is a system that determines whether to offload computing tasks based on network metrics that are not limited to signal strength and can be based on recent interactions between a user and an automated assistant.
[0019] Figure 3 Illustrated is a method for determining whether to offload an automated assistant task to a server computing device based on one or more network metrics indicative of the progress of ongoing or recent communications with the server computing device.
[0020] Figure 4 is a block diagram of an example computer system. DETAILED DESCRIPTION
[0021] Figure 1A , Figure 1B and Figure 1CViews 100, 130, and 140 illustrate an automated assistant and / or client computing device 110 determining whether to offload computing tasks based on a network metric, not limited to signal strength. User 108 can initialize the automated assistant via client computing device 110, which can be located in vehicle 112, which includes an antenna that is different from another antenna of portable computing device 114. Certain characteristics of vehicle 112 and / or the antenna of vehicle 112 can cause client computing device 110 to indicate that client computing device 110 is presenting an appropriate signal strength for communicating with server computing device 102 (e.g., as illustrated at interface 104). However, to ensure that the network connection and / or server computing device 102 is satisfactory, client computing device 110 and / or server computing device 102 can rely on one or more network metrics, not limited to signal strength. This can allow the automated assistant and / or client computing device 110 to more reliably perform network and / or local tasks when there is a difference between the signal strengths of the computing devices (e.g., the signal strength indicated by interface 106 of the portable computing device and the signal strength indicated by interface 104 of client computing device 110).
[0022] For example, user 108 can provide an ongoing spoken utterance 118, such as "Assistant, could you call ... ", which can be received as audible input by client computing device 110. In response to receiving spoken utterance 118, client computing device 110 can generate audio data 120, which can be stored at client computing device 110 and can characterize an initial portion of the ongoing spoken utterance from user 108. In order for the automated assistant to respond to user 108, audio data 120 can be processed to identify one or more actions that user 108 is requesting the automated assistant to perform. In some embodiments, client computing device 110 can perform such processing locally, as well as communicate with server computing device 102 so that server computing device 102 can assist in such processing. However, when server computing device 102 and / or network connection present reliability issues while still indicating adequate signal strength, client computing device 110 and / or automated assistant can rely on locally generated content to respond to user 108.
[0023] As an example, client computing device 110 can provide portions of audio data 122 to server computing device 102 while also processing audio data 122 locally at client computing device 110. Although client computing device 110 may indicate adequate signal strength (e.g., as indicated by five filled bars of interface 104), client computing device 110 and / or the automated assistant can identify one or more network metrics to determine whether to continue seeking non-local processing to respond to user 108.
[0024] In some implementations, the server computing device 102 can provide the state data 124 to the client computing device 110 and / or provide the content data to the client computing device 110. The state data 124 can indicate the amount of audio data that the server computing device 102 has received and / or processed from the client computing device 110. In some implementations, the amount of audio data can be characterized by an amount of data (e.g., bytes), a length of time (e.g., milliseconds), and / or any other unit of measure that can quantify the amount of data received. In some implementations, when receiving an ongoing spoken utterance from the user 108, the client computing device 110 can receive multiple instances of the state data 124 from the server computing device 102. The client computing device 110 can determine one or more network metrics based on one or more instances of the state data 124.
[0025] In some implementations, and as the ongoing spoken utterance from user 108 continues, client computing device 110 can provide additional portions of audio data 134 and server computing device 102 can provide additional state data 136. For example, Figure 1B , user 108 can continue the ongoing spoken utterance by saying “…the nearest post office?” as additional spoken utterance 132. While user 108 is continuing to provide the ongoing spoken utterance, client computing device 110 can provide additional portions of audio data 134, which can characterize portions of spoken utterance 118 and / or spoken utterance 132. Furthermore, while user 108 is continuing to provide the ongoing spoken utterance, client computing device 110 and / or automated assistant can process state data 124 and / or state data 136.
[0026] In some implementations, client computing device 110 can determine a network metric based on the rate at which server computing device 102 is receiving the portion of the audio data. Additionally or alternatively, the network metric can be based on the rate at which server computing device 102 is processing the portion of the audio data. For example, in some implementations, client computing device 110 can generate the network metric using the amount of time that has passed between and / or including an initial timestamp corresponding to the portion of the audio data and a received timestamp indicating a time at which state data 124 was received. This network metric can characterize the reception rate, and when the reception rate does not meet a threshold, the automated assistant can determine to temporarily cease communicating with server computing device 102.
[0027] Alternatively or in addition, client computing device 110 can generate a network metric using an amount of time that has elapsed between and / or including when client computing device 110 provides a portion of audio data 122 to server computing device 102 and when client computing device 110 receives state data 124. This network metric can characterize a transmission rate, and when the reception rate does not meet a threshold, the automated assistant can temporarily cease communicating with server computing device 102.
[0028] Alternatively or in addition, client computing device 110 can generate a network metric using the amount of data that has been provided to server computing device 102 for a particular conversation session and the amount of data that has been processed by server computing device 102. This network metric can characterize the processing rate, and when the processing rate does not meet a threshold, the automated assistant can temporarily stop communicating with server computing device 102.
[0029] In some implementations, when one or more network metrics do not satisfy one or more corresponding thresholds, client computing device 110 and / or automated assistant can determine to rely on local processing to respond to a spoken utterance from user 108. For example, client computing device 110 can generate local content data 142 that characterizes the natural language content of the spoken utterance. In some cases, a certain amount of audio data can be processed at server computing device 102 to provide content data to client computing device 110. This can occur before client computing device 110 temporarily stops communicating with server computing device 102. Thus, while client computing device 110 is responding to user 108, client computing device 110 can rely on content data from server computing device 102 and client computing device 110. Additionally or alternatively, a transcription of an ongoing spoken utterance from user 108 can be provided at a display interface of client computing device 110. The transcription can include natural language content determined based on content from server computing device 102 and / or content generated at client computing device 110.
[0030] In some embodiments, the client computing device 110 can perform speech-to-text processing locally to generate local content data 142 that can characterize the natural language content of the spoken utterance from the user 108. Based on the local content data 142, the automated assistant can determine whether the spoken utterance from the user 108 includes one or more requests that can be executed without communicating with the server computing device 102 and / or any other computing device separate from the client computing device 110. For example, the automated assistant can determine based on the content data that the user 108 request can involve an action that communicates with a remote computing device. In addition, the client computing device 110 can determine based on one or more network metrics that the network connection may be unreliable. Based on these determinations, the automated assistant can render a message 144 at a display interface of the client computing device 110. For example, based on these circumstances, the message rendered for user 108 can indicate that the automated assistant can remind user 108 of the requested action at a later time (e.g., “Sorry. Would you like me to remind you about this call later?”). In response to a confirmation verbal utterance 146 from user 108 (e.g., “Yes”), the automated assistant can generate reminder data that can cause client computing device 110 and / or another computing device to provide a reminder identifying the requested action from user 108 at a later time.
[0031] Additionally or alternatively, when user 108 provides an affirmative response to message 144, automated assistant can generate data that causes client computing device 110 or another computing device to initiate performance of the requested action when one or more network metrics satisfy one or more corresponding thresholds. For example, client computing device 110 can continue to ping server computing device 102 to generate subsequent network metrics based on the responsiveness of server computing device 102. Thus, when one or more network metrics present appropriate values, automated assistant can initiate performance of a previously requested uncompleted action and / or prompt user 108 whether they wish to complete the previously requested action.
[0032] In some embodiments, the threshold value of the network metric can be based on one or more features of the context in which the user 108 provides the spoken utterance to the automated assistant. For example, the threshold value can be based on the type of client computing device 110 (e.g., a vehicle computing device) that the user 108 is accessing. Additionally or alternatively, the threshold value can be based on the type of client computing device 110 and / or server computing device 102 that the automated assistant is attempting to access. Additionally or alternatively, the threshold value of the network metric can be based on the type of action that the user 108 is requesting the automated assistant to initiate. Additionally or alternatively, the threshold value of the network metric can be based on the signal strength of the connection of the client computing device 110 and / or another signal strength of another connection of the portable computing device 114. In some embodiments, the threshold value of the network metric can be based on whether the user is authenticated to access the user account via the client computing device. Alternatively or additionally, the threshold value of the network metric can be based on the specific language in which the ongoing spoken utterance is provided (e.g., Swahili, French, German, etc.).
[0033] Figure 2The diagram shows a system 200 for determining whether to offload a computing task based on a network metric that is not limited to signal strength and can be based on a recent interaction between a user and an automated assistant 204. The automated assistant 204 can be operated as part of an assistant application provided at one or more computing devices (such as a computing device 202 and / or a server device). The user can interact with the automated assistant 204 via an assistant interface 220, which can be a microphone, a camera, a touch screen display, a user interface, and / or any other device that can provide an interface between the user and the application. For example, the user can initialize the automated assistant 204 by providing voice, text, and / or graphic input to the assistant interface 220 so that the automated assistant 204 initializes one or more actions (e.g., providing data, controlling peripherals, accessing agents, generating inputs and / or outputs, etc.). Alternatively, the automated assistant 204 can be initialized based on processing of contextual data 236 using one or more trained machine learning models. The contextual data 236 can characterize one or more features of an environment accessible to the automated assistant 204, and / or predict one or more features of a user who intends to interact with the automated assistant 204.
[0034] The computing device 202 can include a display device, which can be a display panel including a touch interface for receiving touch input and / or gestures to allow a user to control the application 234 of the computing device 202 via the touch interface. In some embodiments, the computing device 202 can lack a display device, thereby providing an audible user interface output without providing a graphical user interface output. In addition, the computing device 202 can provide a user interface for receiving oral natural language input from the user, such as a microphone. In some embodiments, the computing device 202 can include a touch interface and can lack a camera, but can optionally include one or more other sensors.
[0035] The computing device 202 and / or other third-party client devices can communicate with the server device via a network such as the Internet. In addition, the computing device 202 and any other computing device can communicate with each other via a local area network (LAN) such as a Wi-Fi network. The computing device 202 can offload computing tasks to the server device to save computing resources at the computing device 202. For example, the server device can host the automatic assistant 204, and / or the computing device 202 can transmit input received at one or more assistant interfaces 220 to the server device. However, in some embodiments, the automatic assistant 204 can be hosted at the computing device 202, and various processes that can be associated with the automatic assistant operation can be performed at the computing device 202.
[0036] In various embodiments, all or less than all aspects of automated assistant 204 can be implemented on computing device 202. In some of these embodiments, aspects of automated assistant 204 are implemented via computing device 202 and can interface with a server device that can implement other aspects of automated assistant 204. The server device can optionally serve multiple users and their associated automated assistant applications via multiple threads. In embodiments where all or less than all aspects of automated assistant 204 are implemented via computing device 202, automated assistant 204 can be an application separate from the operating system of computing device 202 (e.g., installed “on top” of the operating system), or can alternatively be implemented directly by the operating system of computing device 202 (e.g., considered an application of the operating system, but integrated with the operating system).
[0037] In some implementations, automated assistant 204 can include an input processing engine 206 that can employ a number of different modules to process input and / or output to computing device 202 and / or server devices. For example, input processing engine 206 can include a speech processing engine 208 that can process audio data received at assistant interface 220 to identify text embodied in the audio data. Audio data can be transmitted from, for example, computing device 202 to a server device to preserve computing resources at computing device 202 when a network connection is available. Additionally or alternatively, audio data can be processed exclusively at computing device 202.
[0038] The process for converting audio data into text can include a speech recognition algorithm, which can use a neural network and / or a statistical model to identify an audio data group corresponding to a word or phrase. The text converted from the audio data can be parsed by a data parsing engine 210, and can be used as text data for an automatic assistant 204, which can be used to generate and / or identify command phrases, intentions, actions, time slot values and / or any other content specified by a user. In some embodiments, the output data provided by the data parsing engine 210 can be provided to a parameter engine 212 to determine whether the user has provided an input corresponding to a specific intention, action and / or routine that can be performed by an automatic assistant 204 and / or an application or agent that can be accessed via an automatic assistant 204. For example, assistant data 238 can be stored at a server device and / or a computing device 202, and can include data defining one or more actions that can be performed by an automatic assistant 204 and parameters required for performing the action. Parameter engine 212 can generate one or more parameters of intention, action and / or time slot value, and the one or more parameters are provided to an output generation engine 214. Output generation engine 214 can use the one or more parameters to communicate with assistant interface 220 to provide output to a user, and / or to communicate with one or more applications 234 to provide output to one or more applications 234 .
[0039] In some embodiments, the automated assistant 204 can be an application that can be installed "on top" of the operating system of the computing device 202 and / or can itself form part of (or all of) the operating system of the computing device 202. The automated assistant application includes and / or can access on-device speech recognition, on-device natural language understanding, and on-device fulfillment. For example, on-device speech recognition can be performed using an on-device speech recognition module that processes audio data (detected by a microphone) using an end-to-end speech recognition machine learning model stored locally at the computing device 202. On-device speech recognition generates recognized text of spoken utterances (if any) present in the audio data. Also, for example, on-device natural language understanding (NLU) can be performed using an on-device NLU module that processes recognized text generated using on-device speech recognition and optionally contextual data to generate NLU data.
[0040] The NLU data can include an intent corresponding to the spoken utterance and optionally parameters of the intent (e.g., a time slot value). The on-device fulfillment can be performed using an on-device fulfillment module that utilizes the NLU data (from the on-device NLU) and optionally other local data to determine an action to be taken to parse the intent (and optionally parameters of the intent) of the spoken utterance. This can include determining a local and / or remote response (e.g., answer) to the spoken utterance, an interaction with a locally installed application performed based on the spoken utterance, a command transmitted to an Internet of Things (IoT) device based on the spoken utterance (directly or via a corresponding remote system), and / or other parsing actions performed based on the spoken utterance. The on-device fulfillment can then initialize local and / or remote execution / implementation of the determined actions to parse the spoken utterance.
[0041] In various embodiments, remote speech processing, remote NLU, and / or remote fulfillment can be at least selectively utilized. For example, recognition text can be at least selectively transmitted to a remote automated assistant component for use in remote NLU and / or remote fulfillment. For example, recognition text can be optionally transmitted for remote execution in parallel with on-device execution or in response to on-device NLU and / or on-device fulfillment. However, on-device speech processing, on-device NLU, on-device fulfillment, and / or on-device execution can be prioritized at least due to the reduced latency they provide when parsing spoken utterances (since no client-server round trip is required to parse spoken utterances). In addition, on-device functions can be the only functions available without network connectivity or with limited network connectivity.
[0042] In some implementations, computing device 202 can include one or more applications 234 that can be provided by a third-party entity that is distinct from the entity providing computing device 202 and / or automated assistant 204. Automated assistant 204 and / or an application state engine of computing device 202 can access application data 230 to determine one or more actions that can be performed by one or more applications 234, as well as a state of each of one or more applications 234 and / or a state of a corresponding device associated with computing device 202. Automated assistant 204 and / or a device state engine of computing device 202 can access device data 232 to determine one or more actions that can be performed by computing device 202 and / or one or more devices associated with computing device 202. Additionally, application data 230 and / or any other data (e.g., device data 232) can be accessed by automated assistant 204 to generate context data 236 that can characterize the context in which a particular application 234 and / or device is executing, and / or the context in which a particular user is accessing computing device 202, accessing application 234, and / or any other device or module. When one or more applications 234 are executing at computing device 202, device data 232 can characterize the current operating state of each application 234 executing at computing device 202. In addition, application data 230 can characterize one or more characteristics of the executing applications 234, such as the content of one or more graphical user interfaces rendered under the direction of one or more applications 234.
[0043] In some embodiments, system 200 can include a state processing engine 222 that can process state data received from a server computing device in communication with computing device 202. State processing engine 222 can determine the amount of data that the server computing device has processed based on one or more instances of state data. For example, computing device 202 and / or automated assistant 204 can provide portions of assistant data 238 to a server computing device in response to a user providing input to assistant interface 220. When a server computing device can receive assistant data 238 and, in response, provide state data indicating the amount of data received. Additionally or alternatively, the server computing device can provide state data indicating the amount of data that the server computing device has processed. State processing engine 222 can receive state data and determine the amount of data that the server computing device has processed and / or received.
[0044] In some embodiments, the state processing engine 222 can communicate with a network metric engine 224, which can generate one or more network metrics based on data passed from the state processing engine 222. For example, a network metric can be generated by the network metric engine 224 to characterize the rate or speed at which the server computing device is receiving and / or processing the assistant data 238 provided by the computing device 202. The network metric can be different from a signal strength indicator, which can indicate the power of an antenna of the computing device 202 or a separate computing device. For example, in some cases when the network metric does not indicate a reliable network connection between the server computing device and the computing device 202, the signal strength can be high.
[0045] In some implementations, computing device 202 and / or automated assistant 204 can include a metric threshold engine 226 that can determine whether one or more network metrics generated by network metric engine 224 meet one or more thresholds. Network metric thresholds can be static or dynamic, depending on context data 236, device data 232, application data 230, and / or assistant data 238. In some implementations, when metric threshold engine 226 determines that one or more network metrics meet or fail to meet one or more network metric thresholds, automated assistant 204 and / or computing device 202 can temporarily stop passing data over a network connection. Additionally or alternatively, when metric threshold engine 226 determines that one or more network metrics meet or fail to meet one or more network metric thresholds, automated assistant 204 and / or computing device 202 can temporarily stop communicating with a particular server computing device and / or individual computing devices.
[0046] In some embodiments, network metrics can be generated for a specific context of a user, and when the automatic assistant 204 determines that the user has returned to a specific context, the automatic assistant 204 can initially operate according to the previously determined network metrics. For example, network metrics can be stored in association with a specific user, device, location, application, time, and / or any other feature or feature combination that can characterize a context. For example, network metrics can be stored in association with a location and a specific time or time range, and network metrics can fail to meet corresponding network metric thresholds. Therefore, when the automatic assistant 204 is called at the computing device 202 at the location at the specific time, the automatic assistant 204 can temporarily stop providing assistant data 238 (e.g., audio data representing spoken utterances from the user) to a separate computing device for processing. On the contrary, when the computing device 202 is at the location at the specific time, the automatic assistant 204 can rely on local processing.
[0047] Figure 3A method 300 is illustrated for determining whether to offload an automated assistant task to a server computing device based on one or more network metrics indicating the progress of an ongoing or recent communication with a server computing device. The method 300 can be performed by one or more computing devices, applications, and / or any other device or module that can be associated with an automated assistant. The method 300 can include an operation 302 of determining whether a spoken utterance has been detected at a client computing device. The client computing device can provide access to an automated assistant that can interact with other computing devices and or applications that can be accessed via the client computing device. In some embodiments, the client computing device can be a vehicle computing device located in a vehicle and can be connected to other personal computing devices (such as a cellular phone). In some embodiments, the client computing device can be associated with a first network provider and the personal computing device can be associated with a second network provider. Alternatively or in addition, the client computing device can include an antenna different from an antenna incorporated into the personal computing device. Therefore, the client computing device can indicate a signal strength different from the signal strength indicated by a separate personal computing device. Therefore, an automated assistant that can be accessed via a personal computing device can rely on different network metrics than an automated assistant that can be accessed via a client computing device.
[0048] When the client computing device has determined that a spoken utterance has been received from a user, method 300 can proceed to operation 304. Otherwise, the automated assistant can continue to determine whether any user is providing input to the automated assistant. Operation 304 includes generating audio data when a spoken utterance is being received. The audio data can be stored at the client computing device as one or more instances of data. In some embodiments, local processing of the audio data for determining an action being requested by a user can be initialized in response to receiving the spoken utterance. In addition, the client computing device can further determine whether to rely on a server computing device for processing. For example, method 300 can include operation 306 of determining whether a network connection of the client computing device is suitable for providing a portion of the audio data to a server computing device.
[0049] The determination of whether the network connection of the client computing device is suitable for providing a portion (e.g., an instance) of the audio data to the server computing device can be based on one or more network metrics. For example, in some embodiments, the initial determination of whether the network connection is suitable (e.g., not presenting a certain amount of delay, packet loss, etc.) for the automated assistant to use to pass the audio data to the server computing device. In some embodiments, the network metric can be determined using data associated with an ongoing or recent interaction between the client computing device and the server computing device. For example, during a recent interaction, the client computing device may have received one or more data packets from the server computing device at different points in time. The rate of data packets received during the interaction can be generated by dividing the total number of data packets by the total amount of time that the data packets are being received. When this rate meets a rate threshold, it can be considered that the network connection is suitable for providing a portion of the audio data to the server computing device, and the method 300 can proceed to operation 310. Otherwise, when the client computing device and / or the automated assistant determine that the network connection is not suitable, the method 300 can proceed to operation 308. In some embodiments, the rate threshold can be based on whether the user is authenticated to access the user account via the client computing device. Alternatively or additionally, the rate threshold can be based on the particular language in which the ongoing spoken utterance is provided (eg, Swahili, French, German, etc.).
[0050] In some implementations, the determination at operation 306 can be based on whether the network connection is available at all to the client computing device. For example, due to the location of the client computing device (e.g., the client computing device is integrated into a vehicle that is traveling through an underground tunnel), the client computing device may not be able to ping any nearby cellular towers. Therefore, method 300 can proceed to operation 308 because the network connection is at least temporarily unavailable.
[0051] Operation 308 can include relying on local processing of portions of the audio data. In some implementations, the client computing device can perform speech processing (e.g., speech-to-text processing, NLU processing, etc.) at the client computing device while determining whether to pass the audio data to the server computing device. Thus, when the client computing device determines not to proceed to operation 310, the client computing device can respond to the spoken utterance from the user using any natural language content generated at the client computing device. However, when the client computing device determines that there is a suitable network connection, method 300 can proceed to operation 310.
[0052] Operation 310 can include providing portions of the audio data to a server computing device for processing. For example, a client computing device can provide one or more portions of audio data representing the first N milliseconds (where "N" is any positive number) of a spoken utterance from a user. The server computing device can process the first N milliseconds of the audio data to facilitate generating natural language content data representing speech from the user in the first N milliseconds of a spoken utterance. In some embodiments, the server computing device can provide state data to the client computing device. In some embodiments, the state data can indicate the amount of data that the server computing device has received, the duration of the audio data that the server computing device has received, the amount of data that the server computing device has processed, and / or the duration of the audio data that the server computing device has processed.
[0053] From operation 310, method 300 can proceed to operation 312 to determine whether additional audio is to be processed for the spoken utterance. For example, the spoken utterance can have a duration of N+M milliseconds, where M is any number. Therefore, a certain amount of additional audio data representing the M milliseconds of the spoken utterance may not yet have been sent to the server computing device. When there is additional audio data to be processed for the spoken utterance, method 300 can proceed to operation 316. However, when there is no additional audio data to be processed for the spoken utterance and / or the conversation session between the user and the automated assistant has ended, method 300 can proceed to operation 314.
[0054] Operation 316 can include determining whether a network metric indicates a reliable network connection. In some embodiments, the network metric can be determined by a client computing device or a server computing device. In some embodiments, the network metric can be based on state data received from a server computing device and / or other data (e.g., natural language content data) received from the server computing device. The state data can indicate the amount of client data received and / or processed at the server computing device. Additionally or alternatively, the client computing device can generate a network metric based on the speed of the state data. Additionally or alternatively, the client computing device can generate a network metric based on the total number of instances of state data received within a duration. For example, a network metric can be generated as a rate of receiving an instance of data (e.g., state data, content data, etc.) from a server computing device or generating an instance of data (e.g., state data, content data, etc.) by a server computing device. When this network metric meets a threshold, method 300 can return from operation 316 to operation 310. Otherwise, when the network metric does not meet a threshold or otherwise does not indicate a reliable network connection, method 300 can proceed from operation 316 to operation 308.
[0055] Thereafter, when there is no additional audio data to be processed for the spoken utterance, NLU processing can be performed to identify one or more actions to be initialized based on content generated from the processed audio data at operation 314. In some embodiments, the one or more actions can include rendering natural language content of an ongoing spoken utterance being received by the automated assistant during a conversation session between the user and the automated assistant. In some instances, when network metrics vary with environmental changes (e.g., the client computing device is a vehicle computing device traveling along a highway with varying network availability), the natural language content rendered at the display interface of the computing device can be based on natural language content data generated at the server computing device and / or other natural language content data generated at the client computing device. When the client computing device has initialized and / or performed one or more actions, the client computing device and / or the automated assistant can continue to determine whether the user is providing a spoken utterance according to operation 302.
[0056] Figure 4 4 is a block diagram 400 of an example computer system 410. The computer system 410 typically includes at least one processor 412 that communicates with a number of peripheral devices via a bus subsystem 414. These peripheral devices may include: a storage subsystem 424 that includes, for example, a memory 425 and a file storage subsystem 426; a user interface output device 420; a user interface input device 422; and a network interface subsystem 416. The input and output devices allow a user to interact with the computer system 410. The network interface subsystem 416 provides an interface to an external network and couples to corresponding interface devices in other computer systems.
[0057] User interface input devices 422 may include keyboards, pointing devices such as mice, trackballs, touch pads or graphic tablets, scanners, touch screens incorporated into displays, audio input devices such as voice recognition systems, microphones, and / or other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and methods for inputting information into computer system 410 or over a communication network.
[0058] User interface output device 420 can include display subsystem, printer, fax machine, or non-visual display such as audio output device.Display subsystem can include cathode ray tube (CRT), flat panel device such as liquid crystal display (LCD), projection device, or some other mechanism for producing visible image.Display subsystem can also provide non-visual display such as via audio output device.Usually, the use of term "output device" is intended to include the equipment and mode for outputting information from computer system 410 to all possible types of users or another machine or computer system.
[0059] The storage subsystem 424 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, the storage subsystem 424 may include logic to perform selected aspects of the method 300 and / or implement one or more of the system 200, the server computing device 102, the client computing device 110, and / or any other application, device, apparatus, and / or module discussed herein.
[0060] These software modules are usually executed by processor 414 alone or in combination with other processors. The memory 425 used in storage subsystem 424 can include multiple memories, including a main random access memory (RAM) 430 for storing instructions and data during program execution and a read-only memory (ROM) 432 in which fixed instructions are stored. File storage subsystem 426 can provide permanent storage for program and data files, and can include a hard disk drive, a floppy disk drive and associated removable media, a CD-ROM drive, an optical drive or a removable media box. The modules that implement the functions of certain embodiments can be stored in storage subsystem 424 by file storage subsystem 426, or in other machines that can be accessed by processor 414.
[0061] The bus subsystem 412 provides a mechanism for the various components and subsystems of the computer system 410 to communicate with each other as intended. Although the bus subsystem 412 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple busses.
[0062] Computer system 410 can be of various types, including a workstation, server, computing cluster, blade server, server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, Figure 4 The description of the computer system 410 depicted in FIG. 4 is intended only as a specific example for illustrating some embodiments. Many other configurations of the computer system 410 may have more Figure 4 The computer system depicted in FIG.
[0063] In cases where the systems described herein collect personal information about users (or generally referred to herein as "participants") or can make use of personal information, users may be provided with the opportunity to control whether a program or feature collects user information (e.g., information about the user's social network, social behavior or activities, occupation, the user's preferences, or the user's current geographic location), or to control whether and / or how content that may be more relevant to the user is received from a content server. Moreover, certain data may be processed in one or more ways before it is stored or used so that personally identifiable information is removed. For example, the user's identity may be processed so that the user's personally identifiable information cannot be determined, or the user's geographic location may be summarized (such as to a city, zip code, or state level) in the case where geographic location information is obtained so that the user's specific geographic location cannot be determined. Thus, users may control how information about the user is collected and / or used.
[0064] Although several embodiments have been described and illustrated herein, various other devices and / or structures for performing functions and / or obtaining results and / or one or more advantages described herein may be utilized, and each of such changes and / or modifications is considered to be within the scope of the embodiments described herein. More generally, all parameters, dimensions, materials, and configurations described herein are meant to be exemplary, and actual parameters, dimensions, materials, and / or configurations will depend on one or more specific applications to which the teachings are used. Using only routine experiments, those skilled in the art will recognize or be able to determine many equivalents of the specific embodiments described herein. Therefore, it should be understood that the aforementioned embodiments are presented only by way of example, and within the scope of the appended claims and their equivalents, the embodiments may be practiced in a manner different from that specifically described and claimed. The embodiments of the present disclosure relate to each individual feature, system, article, material, kit, and / or method described herein. In addition, if such features, systems, articles, materials, kits, and / or methods are not mutually inconsistent, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the scope of the present disclosure.
[0065] In some embodiments, a method implemented by one or more processors is described as including operations such as receiving an ongoing spoken utterance from a user at an audio interface of a client computing device, wherein the ongoing spoken utterance is directed to an automated assistant accessible via the client computing device. In some embodiments, the method can further include the following operations: as the user continues to provide the ongoing spoken utterance to the automated assistant, generating first audio data representing a first portion of the ongoing spoken utterance in response to receiving the ongoing spoken utterance. In some embodiments, the method can further include the following operations: providing the first audio data to a server computing device via a network connection between the client computing device and the server computing device, wherein the server computing device performs speech-to-text processing on the first audio data to generate first text data. In some embodiments, the method can further include the following operations: in response to the server computing device receiving the first audio data from the client computing device, receiving state data from the server computing device by the client computing device. In some embodiments, the method can further include the following operations: determining whether to provide second audio data to the server computing device for further speech-to-text processing based on the state data, wherein the second audio data represents a second portion of the ongoing spoken utterance received at an audio interface of the client computing device after the client computing device receives the first portion of the ongoing spoken utterance. In some embodiments, the method can further include the following operations: when the client computing device determines not to provide the second audio data to the server computing device for further speech-to-text processing: generating second text data representing other natural language content of the second portion of the ongoing spoken utterance at the client computing device.
[0066] In some embodiments, receiving the state data from the server computing device includes: receiving separate instances of the state data from the server computing device within a time period. In some embodiments, determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: determining the number of instances of the separate instances of the state data received within the time period, wherein the determination whether to provide the second audio data to the server computing device is based on the number of instances. In some embodiments, each instance of the state data in the separate instances of the state data indicates an amount of data that the server computing device has received from the client computing device. In some embodiments, each instance of the state data in the separate instances of the state data indicates an amount of data that the server computing device has processed. In some embodiments, the method can further include the following operations: when the client computing device determines not to provide the second audio data to the server computing device for further speech-to-text processing: causing the automated assistant to perform one or more actions including displaying natural language content and other natural language content at a display interface of the client computing device.
[0067] In some embodiments, the method can further include the following operations: when the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: providing the second audio data to the server computing device via a network connection for further speech-to-text processing, and receiving third text data representing additional natural language content of the second portion of the ongoing spoken utterance from the server computing device. In some embodiments, the method can further include the following operations: when the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: causing a display interface of the client computing device to render, at the client computing device, natural language content based on the first text data and additional natural language content based on the third text data.
[0068] In some embodiments, determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes determining a network metric that characterizes a data processing rate, wherein the data processing rate is a value based on an amount of audio data that has been processed and a duration. In some embodiments, the duration is a time since the client computing device began providing the first audio data to the server computing device. In some embodiments, the duration is a time since the client computing device began receiving an ongoing spoken utterance from a user. In some embodiments, determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes determining whether the data processing rate satisfies a data processing rate threshold.
[0069] In some embodiments, the data processing rate threshold is based on one or more operating characteristics of the automated assistant, the client computing device, or the server computing device. In some embodiments, the data processing rate threshold is based on whether the user is authenticated to access the user account via the client computing device. In some embodiments, the data processing rate threshold is based on the specific language used to provide the ongoing spoken utterance. In some embodiments, the data processing rate threshold is based on the current duration of a conversation session between the user and the automated assistant, and the conversation session includes the ongoing spoken utterance. In some embodiments, when the client computing device receives the ongoing spoken utterance from the user, the client computing device is connected to a vehicle in transit, and the network connection is a cellular connection between the client computing device and the server computing device.
[0070] In some implementations, determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes determining an expected amount of time for the client computing device to provide the second audio data to the server computing device based on the amount of audio data that has been processed, wherein the client computing device determines to process the second audio data at the client computing device instead of at the server computing device when the expected amount of time satisfies a threshold amount of time. In some implementations, determining whether to provide the second audio data to the server computing device for further speech-to-text processing is further based on determining whether the first text data represents one or more user-requested actions that can be performed exclusively at the client computing device.
[0071] In some embodiments, determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: determining whether the first text data represents an action involving one or more user requests of the client computing device to access the Internet. In some embodiments, the method can further include the following operations: when the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: causing the client computing device to render, by the display interface, an indication to the user that the client computing device is about to temporarily stop using the server computing device to assist in responding to an ongoing spoken utterance from the user.
[0072] In some embodiments, the client computing device is connected to a vehicle in transit while the client computing device receives an ongoing spoken utterance from a user. In some embodiments, a personal computing device separate from the client computing device communicates with the client computing device while the client computing device receives an ongoing spoken utterance from a user. In some embodiments, the network connection is mediated by a first network provider that is different from a second network provider that provides a cellular network connection to the personal computing device. In some embodiments, the natural language content is rendered at the display interface before the client computing device generates the second text data.
[0073] In other embodiments, a method implemented by one or more processors is described as including operations such as generating, at a client computing device, first data representing a portion of audio received by a client computing device during a conversation session between a user and the client computing device. The method can further include operations of providing, by the client computing device, the first data to a server computing device, wherein the server computing device processes the first data to generate content data. The method can further include operations of receiving, at the client computing device, status data from the server computing device indicating an amount of the first data that the server computing device has received. The method can further include operations of determining, based on receiving the status data, whether to provide second data to the server computing device for processing, wherein the second data represents an additional portion of audio received by the client computing device during the conversation session between the user and the client computing device. The method can further include operations of causing the client computing device to at least temporarily stop transmitting the second data to the server computing device when the client computing device determines not to provide the second data to the server computing device for processing.
[0074] In some embodiments, the method can further include the following operations: when the client computing device determines not to provide the second data to the server computing device for processing: generating other content data representing the natural language content of the additional portion of the audio at the client computing device. In some embodiments, the first data includes audio data representing a portion of the audio or text generated based on speech recognition performed by the client computing device on the audio data. In some embodiments, the first data includes text provided via a user interface input directed to a virtual keyboard rendered on the client computing device, or an image captured by a camera of the client computing device.
[0075] In yet other embodiments, a method implemented by one or more processors is described as including operations such as receiving input from a user at an interface of a client computing device, wherein the input is directed to an automated assistant accessible via the client computing device. The method can further include the following operations: as the user continues to provide additional input to the automated assistant, generating input data representing a portion of the input in response to receiving the input. The method can further include the following operations: providing a portion of the input to a server computing device via a network connection between the client computing device and the server computing device, wherein the server computing device processes the input data to generate content data. The method can further include the following operations: receiving content data based on the input data from the server computing device by the client computing device. The method can further include the following operations: determining whether to provide additional data to the server computing device for processing based on the amount of input data that has been processed by the server computing device. The method can further include the following operations: when the client computing device determines not to provide additional data to the server computing device: causing the client computing device to at least temporarily stop transmitting the additional data to the server computing device.
[0076] In some embodiments, the method can further include the following operations: when the client computing device determines not to provide the additional data to the server computing device: using the additional data at the client computing device to generate additional content data representing another portion of the input, and causing the client computing device to render the content data and the additional content data. In some embodiments, the method can further include the following operations: when the client computing device determines to provide the additional data to the server computing device for further processing: providing the additional data to the server computing device via a network connection for further processing, receiving the additional content data representing an additional portion of the input from the server computing device, and causing the client computing device to render the content data and the additional content data.
[0077] In some embodiments, determining whether to provide the additional data to the server computing device for further processing includes: determining a data processing rate based on an amount of data that has been processed indicated by the status data and an amount of time that has elapsed since the client computing device received the input from the user. In some embodiments, the method can further include the following operations: when the client computing device determines not to provide the additional data to the server computing device: transmitting other status data to the server computing device based on the client computing device generating the additional content data, wherein the other status data indicates that the client computing device has completed processing the input from the user.
Claims
1. A method implemented by one or more processors, the method comprising: receiving an ongoing spoken utterance from a user at an audio interface of a client computing device; wherein the ongoing spoken utterance is directed to an automated assistant accessible via the client computing device; In response to receiving the ongoing spoken utterance, generating first audio data representing a first portion of the ongoing spoken utterance as the user continues to provide the ongoing spoken utterance to the automated assistant; providing the first audio data to the server computing device via a network connection between the client computing device and the server computing device, wherein the server computing device performs speech-to-text processing on the first audio data to generate first text data, the first text data characterizing natural language content of the first portion of the ongoing spoken utterance; receiving, by the client computing device, state data from the server computing device in response to the server computing device receiving the first audio data from the client computing device; determining whether to provide second audio data to the server computing device for further speech-to-text processing based on the status data, wherein the second audio data represents a second portion of the ongoing spoken utterance received at the audio interface of the client computing device after the first portion of the ongoing spoken utterance was received at the client computing device; and When the client computing device determines not to provide the second audio data to the server computing device for further speech-to-text processing: Second text data representing other natural language content of the second portion of the ongoing spoken utterance is generated at the client computing device.
2. The method according to claim 1, in, Receiving the status data from the server computing device includes: A separate instance of state data is received from the server computing device over a period of time.
3. The method according to claim 2, in, Determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: determining a number of said individual instances of status data that were received within said time period, Wherein, determining whether to provide the second audio data to the server computing device is based on the number of instances.
4. The method of claim 2, wherein: Each instance of state data in the separate instances of state data indicates an amount of data that the server computing device has received from the client computing device.
5. The method of claim 2, wherein: Each instance of state data in the separate instances of state data indicates an amount of data that has been processed by the server computing device.
6. The method of claim 1, further comprising: When the client computing device determines not to provide the second audio data to the server computing device for further speech-to-text processing: The automated assistant is caused to perform one or more actions including displaying the natural language content and the other natural language content at a display interface of the client computing device.
7. The method of claim 1, further comprising: When the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: providing the second audio data to the server computing device via the network connection for further speech-to-text processing, and Third text data representing additional natural language content of the second portion of the ongoing spoken utterance is received from the server computing device.
8. The method of claim 7, further comprising: When the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: The client computing device causes a display interface of the client computing device to render the natural language content based on the first text data and the additional natural language content based on the third text data.
9. The method of claim 1, wherein: Determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: Determine the network metric that characterizes the data processing rate, The data processing rate is a value based on the amount and duration of audio data that has been processed.
10. The method of claim 9, wherein: The duration is the time since the client computing device began providing the first audio data to the server computing device.
11. The method of claim 9, wherein: The duration is the time since the client computing device began receiving the ongoing spoken utterance from the user.
12. The method of claim 9, wherein: Determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: It is determined whether the data processing rate satisfies a data processing rate threshold.
13. The method of claim 12, wherein: The data processing rate threshold is based on one or more operational characteristics of the automated assistant, the client computing device, or the server computing device.
14. The method of claim 12, wherein: The data processing rate threshold is based on whether the user is authenticated to access a user account via the client computing device.
15. The method of claim 12, wherein: The data processing rate threshold is based on a particular language in which the ongoing spoken utterance is provided.
16. The method of claim 13, in, The data processing rate threshold is based on a current duration of a conversation session between the user and the automated assistant, and The dialog session includes the ongoing spoken utterance.
17. The method of claim 1, in, When the client computing device receives the ongoing spoken utterance from the user, the client computing device is connected to a vehicle in transit, and Wherein the network connection is a cellular connection between the client computing device and the server computing device.
18. The method of claim 1, wherein: Determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: determining an expected amount of time for the client computing device to provide the second audio data to the server computing device based on the amount of audio data that has been processed, Wherein, when the expected amount of time satisfies a threshold amount of time, the client computing device determines to process the second audio data at the client computing device instead of at the server computing device.
19. The method of claim 1, wherein: Determining whether to provide the second audio data to the server computing device for further speech-to-text processing is further based on: A determination is made as to whether the first textual data represents one or more user-requested actions that are exclusively executable at the client computing device.
20. The method of claim 1, wherein: Determining whether to provide the second audio data to the server computing device for further speech-to-text processing includes: A determination is made as to whether the first textual data represents an action involving one or more user requests by the client computing device to access the Internet.
21. The method of claim 1, further comprising: When the client computing device determines to provide the second audio data to the server computing device for further speech-to-text processing: The client computing device causes a display interface to render an indication to the user that the client computing device is to temporarily stop using the server computing device to assist in responding to the ongoing spoken utterance from the user.
22. The method according to any one of claims 1 to 21, in, When the client computing device receives the ongoing spoken utterance from the user, the client computing device is connected to a vehicle in transit, wherein a personal computing device separate from the client computing device communicates with the client computing device when the client computing device receives the ongoing spoken utterance from the user, and Wherein the network connection is mediated by a first network provider that is different from a second network provider that provides a cellular network connection to the personal computing device.
23. The method of claim 1, wherein: Before the client computing device generates the second text data, the natural language content is rendered at a display interface.
24. A method implemented by one or more processors, the method comprising: generating, at a client computing device, first data representative of a portion of audio received by the client computing device during a conversational session between a user and the client computing device; providing, by the client computing device, the first data to a server computing device, wherein the server computing device processes the first data to generate content data; receiving, at the client computing device, status data from the server computing device, the status data indicating an amount of the first data that has been received by the server computing device; determining whether to provide second data to the server computing device for processing based on receiving the status data, wherein the second data represents an additional portion of the audio received by the client computing device during the conversational session between the user and the client computing device; When the client computing device determines not to provide the second data to the server computing device for processing: The client computing device is caused to at least temporarily stop transmitting the second data to the server computing device.
25. The method of claim 24, further comprising: When the client computing device determines not to provide the second data to the server computing device for processing: Further content data is generated at the client computing device, the further content data characterizing natural language content of the additional portion of the audio.
26. A method as claimed in claim 24 or claim 25, wherein: The first data includes audio data representing a portion of audio or text generated based on speech recognition performed on the audio by the client computing device.
27. A method as claimed in claim 24 or claim 25, wherein: The first data includes text provided via a user interface input directed to a virtual keyboard rendered on the client computing device, or an image captured by a camera of the client computing device.
28. A method implemented by one or more processors, the method comprising: receiving input from a user at an interface of the client computing device, wherein the input is directed to an automated assistant accessible via the client computing device; in response to receiving the input, generating input data characterizing a portion of the input as the user continues to provide additional input to the automated assistant; providing the portion of the input to the server computing device via a network connection between the client computing device and the server computing device, wherein the server computing device processes the input data to generate content data; receiving, by the client computing device from the server computing device, the content data based on the input data; determining whether to provide additional data to the server computing device for processing based on the amount of input data already processed by the server computing device; and When the client computing device determines not to provide the additional data to the server computing device: The client computing device is caused to at least temporarily cease transmitting the additional data to the server computing device.
29. The method of claim 28, further comprising: When the client computing device determines not to provide the additional data to the server computing device: using the additional data at the client computing device to generate additional content data representing another portion of the input, and The client computing device is caused to render the content data and the additional content data.
30. The method of claim 28, further comprising: When the client computing device determines to provide the additional data to the server computing device for further processing: providing the additional data to the server computing device via the network connection for further processing, receiving from the server computing device additional content data representing additional portions of the input, and The client computing device is caused to render the content data and the additional content data.
31. The method of any one of claims 28 to 30, wherein: Determining whether to provide the additional data to the server computing device for further processing includes: A data processing rate is determined, the data processing rate being based on an amount of data that has been processed indicated by the state data and an amount of time that has elapsed since the client computing device received the input from the user.
32. The method of claim 29, further comprising: When the client computing device determines not to provide the additional data to the server computing device: based on the client computing device generating the additional content data, communicating other state data to the server computing device, The other status data indicates that the client computing device has completed processing the input from the user.
Citation Information
Patent Citations
Technology used for dynamic voice menu
CN103002156A
Systems and methods for proactively identifying and surfacing relevant content on a touch-senstitive device
CN108027738A
Method and device used for recognizing voice
CN109961792A
Displaying method and device for voice recognition texts, storage medium and computer device
CN110176235A
Automatically determining language for speech recognition of spoken utterance received via an automated assistant interface
CN111052229A
Cited By
Compensating for hardware disparities when determining whether to offload assistant-related processing tasks from certain client devices
US12394419B2
