Local control and / or registration of smart devices by assistant client device

By generating unique control commands locally using third-party adapters, the method addresses the inefficiencies of remote server-dependent smart device control, ensuring reliable and efficient operation of smart devices through direct communication, thus optimizing local control and reducing latency.

JP2024119799AActive Publication Date: 2024-09-03GOOGLE LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024073780
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-10-08
Filing Date
2024-04-30
Publication Date
2024-09-03
Estimated Expiration
2039-10-08

AI Technical Summary

Technical Problem

Existing techniques for controlling smart devices through automated assistants suffer from high latency, low reliability, excessive network resource consumption, and suboptimal performance due to reliance on remote servers and standard protocols that may fail or require central hubs, leading to inefficiencies and potential disruptions.

Method used

Implementing unique control commands locally at an assistant client device using third-party adapters that translate generic commands into specific protocols tailored to individual smart devices, allowing direct communication and control without relying on remote servers or central hubs, thereby optimizing local control and reducing latency.

Benefits of technology

This approach enhances the reliability and efficiency of smart device control by minimizing network latency, reducing resource consumption, and ensuring seamless communication with various smart devices, even in the presence of firmware updates or signal quality issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119799000001
    Figure 2024119799000001
Patent Text Reader

Abstract

To utilize a local assistant client device in discovering, provisioning, and / or registering a smart device for an account of a user.SOLUTION: Various implementations relate to generating, locally at an assistant client device, specific control commands that, when transmitted to a corresponding smart device, are directly interpretable by a corresponding smart device in order to perform a state change at the corresponding smart device, or at a corresponding additional smart device directly controlled by the corresponding smart device. Various implementations additionally or alternatively relate to utilizing local assistant client devices in discovering, provisioning, and / or registering the smart devices for an account of a user.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Humans can engage in human-computer interaction with interactive software applications, referred to herein as "automated assistants." For example, a human (sometimes referred to as a "user" when interacting with an automated assistant) can provide input to an automated assistant that can cause the automated assistant to generate and provide a response output to control one or more smart devices and / or to perform one or more other functions. The input provided by the user can be, for example, touch input (e.g., via a touchscreen), gestures (e.g., detected via a camera), and / or oral natural language input (i.e., speech detected via a microphone), which in some cases can be converted into text (or other semantic representation) and then further processed.

[0002] In many cases, an automated assistant includes an automated assistant client that runs locally on an assistant client device and engages directly with the user, as well as a cloud-based counterpart that leverages the more robust resources of the cloud to help the automated assistant client respond to user input. For example, the automated assistant client can provide its cloud-based counterpart with a recording (or a transcription thereof) of the user's verbal utterance, and possibly data indicative of the user's identity (e.g., credentials). The cloud-based counterpart performs various processing on the query and returns results to the automated assistant client, which can then provide the corresponding output to the user.

[0003] Many users may engage with an automated assistant using multiple client devices. For example, some users may own a collaborative "ecosystem" of client devices, such as one or more smartphones, one or more tablet computers, one or more vehicle computing systems, one or more wearable computing devices, one or more smart televisions, one or more standalone assistant-centric interactive speakers, one or more standalone assistant-centric interactive displays with speakers, among other client devices. A user may use any of these client devices (assuming an automated assistant client is installed) to engage in a human-computer dialogue with an automated assistant. In some cases, these client devices may be scattered throughout the user's primary residence, secondary residence, workplace, and / or other structures. For example, mobile client devices, such as smartphones, tablets, smart watches, etc., may be worn by the user and / or may be wherever the user last left them. Other client devices, such as traditional desktop computers, smart televisions, and standalone assistant-centric devices, may be more fixed, but may still be in various locations (e.g., rooms) within the user's home or workplace.

[0004] Techniques exist for enabling a user (e.g., a single user, multiple users in a household, co-workers, co-residents, etc.) to utilize an automated assistant client of any one of a collaborative ecosystem of client devices to control any one of multiple smart devices associated with that automated assistant client. For example, a user can issue a verbal command to the automated assistant client of a client device to "Turn off the living room light" to cause the corresponding smart device (i.e., the light linked to the automated assistant client and labeled "living room" light) to be turned off.

[0005] In controlling a smart device in response to a user input received at a client device, many existing techniques transmit data corresponding to the user input to a remote automated assistant server via the Internet. The remote automated assistant server processes the data to determine the smart device to be controlled based on the request, and transmits the request via the Internet to a separate party server (e.g., the manufacturer of the smart device) associated with the smart device. The separate party server receives the request and then transmits a corresponding command to the smart device via the Internet, whether through a hub present with the smart device (e.g., in the case of BLE, Z-Wave, ZigBee, etc.) or directly to the smart device via an IP connection (e.g., in the case of Wi-Fi and other smart devices that do not require a hub). However, such techniques exhibit drawbacks such as high latency, low reliability, and / or excessive consumption of network resources. For example, high latency may be a result of transmitting a request from the remote assistant server to a separate party server, which is often exacerbated by the fact that the remote assistant server and the separate party server are not geographically close to each other. Also, for example, low reliability may result from the inability of a separate party's server to respond, for example, due to server outages, network loss, etc. Furthermore, such techniques may result in strain on computational and / or network resources.

[0006] Other approaches for control of smart devices may also exhibit drawbacks. For example, some techniques may utilize a central hub that utilizes only one or more standard protocols. However, such standard protocols may fail due to unspecified corners of the standard protocol, may fail due to smart devices that cannot fully conform to the standard protocol, may fail due to smart devices that cannot adhere to any standard protocol, and / or may inhibit more fine-grained control of smart devices by smart device manufacturers, thereby leading to suboptimal performance of smart devices. Furthermore, firmware updates of smart devices may disrupt integration with the central hub. Still further, failure of the central hub and / or poor signal quality from the placement of the central hub may lead to the central hub being unable to locally control various smart devices. Summary of the Invention [Means for solving the problem]

[0007] Various implementations described herein relate to generating unique control commands locally at the assistant client device that, when sent to the corresponding smart device, are directly interpretable by the corresponding smart device to implement state changes at the corresponding smart device or at corresponding additional smart devices directly controlled by the corresponding smart device. In some of these various implementations, the assistant client device locally stores multiple third party (3P) adapters and / or first party (1P) adapters. Third party or 3P, as used herein, refers to a party that is different from the party that controls the automated assistant being referred to. First party or 1P, as used herein, refers to the party that controls the automated assistant being referred to.

[0008] Each of the adapters may be provided by a corresponding party, and when executed by the assistant client device, may process a generic smart device control command to generate a unique control command, each adapted to be directly interpretable by the corresponding smart device when the unique control command is sent locally to at least one corresponding smart device of the party, or to implement a state change in the corresponding smart device or in the corresponding additional smart devices directly controlled by the corresponding smart device (e.g., in a situation where the unique control command is sent to the hub / bridge of the party, and the hub / bridge then controls one or more additional smart devices based on the unique control command). For example, the 3P adapter may be implemented by JavaScript (or other interpreted programming language) provided by 3P, and may translate the generic smart device control command into a unique control command that conforms to the protocol suite of 3P. A generic smart device control command, as used herein, may refer to a command that communicates a smart device and a state to be changed in the smart device, but does not cause a state to be changed when sent to the smart device. The generic smart device control command may conform to the schema of an automated assistant. For example, a generic smart device control command may be a structured command that defines the intent (e.g., turn on / off, dim, increase, decrease), defines the smart device (e.g., a unique identifier for the smart device), a third party for the smart device (e.g., a unique identifier for the third party), and / or one or more additional parameters for the intent (e.g., how much to dim, what to increase / decrease, etc.).The 3P adapter can run in a container within the automated assistant client and can process generic smart device control commands as described, and in some cases can report events to the automated assistant client using the automated assistant's schema (i.e., translating from the 3P-specific event format to the automated assistant schema).

[0009] Each of the adapters may be assigned locally at the assistant client device to at least one corresponding communication channel of two or more communication channels available at the assistant client device. For example, the first 3P adapter may be assigned to a Bluetooth radio channel of the available communication channels, so that the Bluetooth radio channel may be utilized to transmit the unique control command generated by the first 3P adapter. Also, for example, the second 3P adapter may be assigned to a Wi-Fi radio channel of the available communication channels, so that the Wi-Fi radio channel may be utilized to transmit the unique control command generated by the second 3P adapter. Also, for example, the third 3P adapter may be assigned to a low-speed wireless personal area network radio channel of the available communication channels, so that the channel may be utilized to transmit the unique control command generated by the second 3P adapter. As yet another example, the fourth 3P adapter may be assigned to both a Bluetooth radio channel and a Wi-Fi radio channel, so that the unique control command may be transmitted on either (or both) of those channels. In some cases, the same unique control command may be transmitted on either channel to effect the same control of a given 3P smart device (which may receive the control command via either channel). Note that each communication channel may utilize a different radio (or a different subset of radios), but a given radio may possibly be utilized to transmit via any one of multiple available protocol suites. For example, a Wi-Fi radio channel may be utilized to transmit data using TCP, using UDP, or variations thereof (e.g., variations at one or more layers of TCP or UDP, such as the application layer).

[0010] Each 3P adapter is assigned to a corresponding communication channel of a client device, and the corresponding communication channel is utilized to transmit the unique control command generated by the 3P adapter, but the 3P adapter may be prevented from directly accessing the corresponding communication channel in some cases. Rather, access to the corresponding communication channel may be controlled by the automated assistant client, which may perform one or more validations of the unique control command before transmitting the unique control command over the corresponding communication channel in some cases. For example, transmission of the unique control command over the corresponding communication channel may be conditioned on validation by the automated assistant client that the unique control command is addressed only to the smart device identified in the corresponding generic smart device control command for which the unique control command was generated. Such validation may prevent intentional or unintentional control of smart devices not specified by the generic smart device control command. Additionally or alternatively, such validation may prevent other types of accidental or malicious behavior, such as flooding a Bluetooth mesh network with messages to render it inoperable.

[0011] Each of the adapters can utilize an interpreted programming language to convert generic smart device control commands into corresponding unique control commands that are specific to the adapter. The unique control commands generated by the 3P adapters fit the protocol suite of the 3P adapter, thereby enabling each of the 3Ps to utilize standard protocol suites, variations of the standard protocol suites, and / or their own proprietary protocol suites. For example, a first 3P adapter can generate one or more unique control commands that fit fully into a first protocol suite defined as an industry standard. A second 3P adapter can generate one or more unique control commands that include one or more variations on the first protocol suite. For example, one or more layers of the protocol suite can be adapted by the second 3P to be different from, and therefore not fit, the corresponding layer of the first protocol suite defined as an industry standard. A third 3P adapter can generate one or more unique control commands that are proprietary to the corresponding 3P and do not fit fully into any industry standard protocol suite.

[0012] Thus, the 3P adapter described herein can be tailored to the corresponding protocol suite by the corresponding 3P. This allows the assistant client device to send the corresponding unique control command even when the corresponding unique control command cannot fully fit the standard protocol and / or adhere to any standard protocol due to the unspecified corners of the standard protocol. Thus, the assistant client device can support local control of a larger amount of smart devices. Moreover, this allows the 3P to implement a 3P adapter that allows control of the corresponding smart device, where the control is more fine-grained than would be available using only the standard protocol. This can lead to more optimal local control of the corresponding smart device. For example, this can lead to rendering of light output from a smart light that is more compatible with user requests (e.g., in terms of color or brightness) than would be available if the standard protocol were used instead. Additionally, the 3P adapters may be updated periodically, on demand, and / or at other intervals, thereby enabling corresponding 3Ps to implement 3P adapters that are compatible with firmware updates of their corresponding smart devices, preventing errors that would otherwise occur if the firmware updates and standard protocols utilized by the central hub were incompatible. Still further, local control of various smart devices may be achieved via any one of multiple assistant client devices in the collaborative ecosystem, thereby mitigating connectivity concerns, power failure concerns, or other failure concerns when relying solely on a single central smart hub to control multiple smart devices.

[0013] In some implementations, the 3P adapter is downloaded from a remote server to the assistant client device in response to the registration of the 3P's smart device for the client device. For example, the 3P's smart device may be registered locally and / or non-locally for a user account associated with each of a plurality of assistant client devices, and in response (and possibly during the registration procedure and possibly before full registration), the 3P adapter for the 3P may be pushed to the assistant client devices for local storage of the 3P adapter at the assistant client devices for execution by the client devices. By storing the 3P adapter locally at the assistant client device, fast execution (and even preemptive execution as described herein) of the 3P adapter at the client device may occur. Moreover, by downloading a 3P adapter in response to registration of a corresponding 3P smart device (e.g., in some cases during a registration procedure), the client device can store only a subset of the available 3P adapters (e.g., only those that correspond to smart devices registered to the client device's account), thereby conserving the often limited local storage space available at the assistant client device by not locally storing one or more (e.g., any) 3P adapters for unregistered smart devices.

[0014] Further, in some implementations, the 3P adapter may be downloaded to only a subset (e.g., only one) of the assistant client devices associated with the user account. In some of those implementations, the 3P adapter is downloaded to those assistant devices that have the strongest signal strength for the corresponding communication channel with the corresponding 3P smart device. For example, a particular 3P adapter assigned to a Bluetooth communication channel may be downloaded at a given assistant client device associated with the user account based on the signal strength for the Bluetooth communication channel at the given assistant client device and between the given assistant client device and the 3P smart device satisfying one or more criteria. For example, the one or more criteria may include the signal strength satisfying a threshold, such as being the maximum signal strength among all assistant client devices associated with the user account. In such cases, the particular 3P adapter may be downloaded to a given assistant client device without possibly being downloaded to any other of the assistant client devices associated with the user account. In these and other methods, different assistant client devices associated with the user account may download different subsets of 3P adapters based on signal strength and / or other criteria. This may allow assistant client devices associated with a user account to collectively support a wide variety of 3P adapters without requiring storage of each 3P adapter in each of the assistant client devices. This may be particularly beneficial in light of the often limited local storage space available in assistant client devices. For example, without such techniques, a given assistant client device may not have sufficient local storage to store all the 3P adapters required for a user account.However, by utilizing such techniques, it may be possible to intelligently distribute the required 3P adapter among the storage of multiple assistant client devices associated with a user account. In some implementations, data indicating the signal strength of each of the assistant client devices associated with a user account (if any) may be provided by those devices to a remote server or to one or more of the assistant client devices. The server and / or assistant client device may utilize that data and one or more criteria (e.g., the criteria described above) in determining which assistant client device should receive which 3P adapter. The corresponding 3P adapter may then be pushed to the corresponding client device, or data may be sent to the corresponding client device to cause the corresponding client device to request or search for the corresponding 3P adapter.

[0015] Moreover, in some implementations in which a 3P adapter is downloaded to an assistant client device, the assistant client device may preemptively execute one or more (e.g., all) of the locally stored 3P adapters. Preemptively executing a 3P adapter, as used herein, refers to executing a 3P adapter before a generic smart device control command is generated that is directed to a corresponding 3P smart device and processed using the running 3P adapter. Preemptively executing a 3P adapter on an assistant client device may include at least loading the 3P adapter into an in-memory cache of the assistant client device. Preemptively executing a 3P adapter can reduce latency (compared to not preemptively executing a 3P adapter) in generating a unique control command using the 3P adapter, and as a result, in sending the unique control command and implementing the corresponding state change. Thus, state changes in the smart device may be implemented with reduced latency.

[0016] In some implementations, all 3P adapters downloaded locally to the assistant client device are preemptively executed by the client device. In some other implementations, only a subset of the available 3P adapters are preemptively executed at a given time, taking into account memory constraints, processor constraints, and / or other considerations. In some of those other implementations, the subset that is preemptively executed at a given time may be based on one or more dynamic criteria. The one or more dynamic criteria may include the recency of the corresponding usage of a particular 3P adapter at the client device, the signal strength for the communication channel between the client device and the particular smart device corresponding to the particular 3P adapter, the time of day, and / or the day of the week. For example, the N most recently used 3P adapters (i.e., used in generating a unique control command) may be executed at a given assistant client device. Also, for example, a particular 3P adapter may be executed at a given assistant client device during one or more time periods (e.g., time of day and / or day of week) based on one or more past occurrences of usage of the particular 3P adapter during or near those time periods. As yet another example, a particular 3P adapter assigned to a Bluetooth communication channel may be preemptively run at a given assistant client device based on the signal strength for the Bluetooth communication channel at the given assistant client device and between the assistant client device and the 3P smart device meeting a threshold (e.g., a fixed threshold, or a threshold for other assistant client devices). It will be appreciated from the above and / or other descriptions herein that at any given time, different assistant client devices in the ecosystem may have one or more different preemptively running adapters based, for example, on one or more criteria specific to those devices.For example, at a given time, a first assistant client device may be preemptively running adapters A, B, C, and D--and a second assistant client device may be preemptively running adapters C, D, E, and F.

[0017] In some implementations, the generic smart device control command is generated in response to a voice input, a touch input, the triggering of an automated assistant routine, a signal from another non-assistant device, and / or other signals. For example, the generic smart device control command identified in a given assistant client device may be generated in response to a voice input received in the given assistant client device. For example, the given assistant client device may transmit audio data corresponding to the voice input to a remote assistant server and receive a generic smart device control command in response thereto (for example, the remote assistant server may process the voice input and determine that the voice input corresponds to a generic smart device control command). Also, for example, the given assistant client device may process the voice input itself (for example, using a local voice-to-text processor and / or a natural language understanding engine) to locally generate the generic smart device control command. As another example, the generic smart device control command identified in a given assistant client device may be generated in response to a touch input received in the given assistant client device. For example, a given assistant client device can render on its touch-sensitive screen interactive graphical interface elements for control of a smart device (e.g., an on / off element, a dimmer element for a smart light, a temperature control element for a smart thermostat, etc.) and can directly interpret interactions with the interactive graphical interface elements into corresponding generic smart device control commands. As yet another example, generic smart device control commands can be generated (locally or remotely) in response to triggering of an automated assistant routine that includes the generic smart device control command.An automated assistant routine can be triggered in response to a voice input assigned to the routine (e.g., a shortcut phrase such as "good morning" that triggers multiple separate actions including smart device control actions), an interaction with a virtual or physical button for the routine, the occurrence of some temporal condition, and / or detection of the occurrence of other triggering conditions.

[0018] In some implementations, one or more criteria are utilized to select a particular assistant client device from an ecosystem of available client devices to generate and / or send a unique control command to a corresponding smart device. In some of those implementations, the particular assistant client device is selected based on a reliable communication channel being established between the particular assistant client device and the corresponding smart device. In some versions of those implementations, the particular assistant client device may be selected based on the communication channel of the particular assistant client device having at least a threshold signal strength with the corresponding smart device. For example, the threshold signal strength may be a fixed signal strength or a signal strength relative to the signal strength of other assistant client devices in the ecosystem. For example, the particular client device may be selected to control a smart device based on the signal strength between the particular client device and the smart device over the communication channel for controlling the smart device being the greatest among all devices in the ecosystem.

[0019] As an example, a generic smart device control command may be first identified in a first assistant client device, and the generic smart device control command may specify a specific smart device to be controlled. The first assistant client device may determine that a trusted communication channel is not established between the first assistant client device and the specific smart device. For example, the specific smart device may be one to be controlled via a Bluetooth communication channel, and the first assistant client device may determine that the specific smart device is not detectable via its Bluetooth radio, or that the signal strength between the first assistant client device and the specific smart device via the Bluetooth radio cannot meet a threshold. In response, the first assistant client device may send the generic smart device control command to a second assistant client device that has an established trusted communication channel to the smart device over a local network (e.g., a Wi-Fi or mesh network established between the assistant client devices). The second assistant client device may then use a corresponding local adapter to translate the generic smart device control command into a corresponding unique command and send the corresponding unique command to the specific smart device. Alternatively, the first assistant client device can utilize its corresponding local adapter to generate a corresponding unique command and send the corresponding unique command to the second assistant client device instead of sending a generic smart device control command.

[0020] Continuing with this example, the first assistant client device may resolve the second assistant client device as having an established reliable communication channel to the smart device, possibly relying on a client device-to-smart device mapping stored locally at the assistant client device. The client device-to-smart device mapping may define the client devices of the ecosystem, and for each of the assistant client devices, a corresponding smart device for which the assistant client device has a corresponding reliable communication channel, and possibly signal strength between the assistant client device and the smart device. The mapping may be generated based on corresponding data (e.g., detected devices, signal strength) reported by the assistant client device, and may be updated at periodic and / or aperiodic intervals. The remote automated assistant component may possibly receive corresponding data from the assistant client device of the ecosystem, update the mapping, and send the updated mapping to the assistant client device of the ecosystem, which stores and utilizes the mapping locally. The first assistant client device can initially identify the generic smart device control command based on, for example, a corresponding user input being received at the first assistant client device and / or the generic smart device control command being generated locally at the first assistant client device.In some implementations in which the generic smart device control command is generated by a remote automated assistant component, such component can access a client device-to-smart device mapping and first address the generic smart device control command to the second assistant client device, thereby causing the generic smart device control command to be given directly to the second assistant client device without being routed through the first assistant client device.

[0021] Various implementations described herein additionally or alternatively relate to utilizing a local assistant client device in discovering, provisioning, and / or registering smart devices for a user's account. In some implementations, a not yet registered smart device may be discovered by having each assistant client device of an ecosystem of assistant client devices scan one or more communication channels (e.g., Wi-Fi, Bluetooth, and / or other) for unregistered smart devices. For example, in the case of Wi-Fi, each of the assistant client devices may scan their respective Wi-Fi radios to identify any unregistered devices, possibly using a service set identifier (SSID) and / or a basic service set identifier (BSSID), to filter for a particular smart device for which a corresponding adapter is available. As another example, in the case of Bluetooth, each of the assistant client devices may scan their respective Bluetooth radios to identify any unpaired smart devices, possibly using an identifier, to filter for a particular smart device for which a corresponding adapter is available. Discovery may occur at periodic or aperiodic intervals, or in response to a user request (e.g., a voice request, a request initiated via a smartphone app for the assistant, etc.).

[0022] Once discovered, the smart device may be provisioned by having the smart device pair with at least one of the assistant client devices (e.g., in the case of Bluetooth) and / or connect to a secure Wi-Fi network to which the assistant client device is already connected. After provisioning, data transmitted by the smart device may be received at the assistant client device and processed using a local adapter of the assistant client device to generate registration data in the schema of the automated assistant. For example, the data transmitted by the smart device may be in a protocol suite for a corresponding 3P and may be interpreted by the 3P adapter into a schema for registering with the automated assistant. The registration data may be utilized by the automated assistant to add the smart device to a home graph or other structure that defines the smart device, the assistant client device, and various properties of the smart device and the assistant client device (e.g., name, location, etc.). In some cases, user input may be received via the assistant client device and / or other client devices and utilized to supplement the registration data. For example, the user input may include one or more user-provided aliases for the smart device and enable storing those aliases in association with the smart device in the home graph.

[0023] In some implementations, the local adapter utilized to generate the registration data is specific to the party of the smart device and possibly downloaded at the assistant device in response to discovery and / or provisioning of the smart device. In some implementations, the smart device is assigned to a home graph (or other structure) based on biometric data detected via one or more of the assistant devices of the ecosystem corresponding to an account associated with the home graph. For example, the smart device may be assigned to a home graph (e.g., rather than a separate home graph associated with another account of one or more of the assistant client devices) based on voice data received during discovery, provisioning, and / or registration matching voice authentication data stored in association with the account. For example, the voice data may be based on verbal input provided by the user in requesting a scan and / or providing an alias for the discovered device. Other biometric identification information, such as face, fingerprint, etc., may be utilized in addition or alternatively. In some implementations, the registered smart device may be associated (e.g., in the home graph) with those assistant client devices that can locally send commands to the smart device. For example, if communication with the smart device is via short-range radio (e.g., Bluetooth radio), at least those assistant client devices having corresponding signal strengths (for corresponding connections to the smart device via short-range radio) may be indicated in the home graph, possibly along with an indication of the corresponding signal strengths. Such indications may be used in determining which assistant client devices should be utilized in generating and / or transmitting unique control commands to the smart device.

[0024] In some implementations, registered smart devices can be automatically (e.g., without any user input or only confirmatory user input) associated (e.g., within the home graph) with a location based on the location of the assistant client device and the signal strength between those assistant client devices and the registered smart device. As an example, if the signal strength between the registered smart device and a given assistant client device that has a location of "office" in the home graph meets a threshold and / or is the "strongest" signal strength (among all assistant client devices), the registered smart device can be automatically assigned a location of "office" in the home graph. As another example, if the registered smart device has a signal strength between the registered smart device and the assistant client device that matches (e.g., is within a threshold percentage of) the signal strength of another smart device that has a location of "laundry room" in the home graph, the registered smart device can be automatically assigned a location of "laundry room" in the home graph. For example, assume that an existing smart device in the home graph has a manually labeled "laundry room" location, a first signal strength between the existing smart device and a first assistant client device, and a second signal strength between the existing smart device and a second assistant client device. In such a case, a newly registered smart device having a third signal strength between the newly registered smart device and the first assistant client device that matches (e.g., within 5%, 10%, 15%, or other threshold) the first signal strength and a fourth signal strength between the newly registered smart device and the first assistant client device that matches (e.g., within 5%, 10%, 15%, or other threshold) the second signal strength may be assumed to have the same "laundry room" location of the existing smart device and the "laundry room" location automatically assigned to the newly registered smart device in the home graph.Additionally or alternatively, in various implementations, the signal strength for the smart device may be analyzed periodically (or at other regular or irregular intervals) to determine whether the location of the smart device should be updated in the home graph (or other topological representation). For example, if a smart plug is moved from the "office" to the "living room", such a change may be automatically detected and updated. Also, for example, if a battery-powered or passive smart device is easily movable around the environment, its location change may be automatically detected and updated. In these and other methods, the location of the smart device may be automatically determined and assigned in the home graph. This may enable the smart device to be controllable in response to location-specific verbal utterances (e.g., "turn off all devices in the office"), allow the controls to be rendered in appropriate locations in the visual interface for control (e.g., place the controls for the smart device in the "office" subtitle or control group), and / or allow the location of the smart device to be included in response to some verbal utterances (e.g., "where is battery-powered smart device A"?).

[0025] In some implementations, a smart device is discovered that is broadcasting an access point, and the smart device is not yet provisioned because it is not connected to a secure Wi-Fi network utilized by the assistant client device and lacks credentials to connect to the secure Wi-Fi network. In some of those implementations, each of a plurality of assistant client devices of the ecosystem of client devices detected the availability of an access point through scanning of its respective Wi-Fi radio. In some versions of those implementations, a single assistant client device is selected to connect to the smart device through the access point of the smart device and to securely share credentials to connect to the secure Wi-Fi network with the smart device through the connection. Once the credentials are shared, the smart device can connect to the secure Wi-Fi network and register through communication over the Wi-Fi network. In various versions in which a single assistant client device is selected, the single assistant client device is selected based at least in part on human interaction data for the single assistant client device. For example, a single assistant client device may be selected based on the human interaction data indicating that user interface input has not been received at the single assistant client device within a threshold amount of time and / or based on the human interaction data indicating that the single assistant client device is utilized less frequently than any other of the multiple assistant client devices that detected the access point.In these and other methods, the single client device may be selected to prevent interruption of ongoing and / or upcoming assistant interactions because the single client device would break its connection with the secure Wi-Fi network when connecting to a local access point - and the single client device is selected based on criteria that indicate it is not being used and / or is less likely to be used (than other devices in the ecosystem).

[0026] The above description is provided as an overview of only some implementations of the present disclosure. Further descriptions of those implementations, as well as other implementations, are described in more detail herein.

[0027] Additionally, some implementations include one or more processors of one or more computing devices, where the one or more processors are operable to execute instructions stored in associated memory, the instructions configured to cause the performance of any of the methods described herein. Some implementations include a client device with one or more processors that executes locally stored instructions and interfaces with locally stored data to perform one or more of the methods described herein. Some implementations also include one or more non-transitory computer-readable storage media that store computer instructions executable by the one or more processors to perform any of the methods described herein.

[0028] It should be appreciated that all combinations of the above concepts and additional concepts described in more detail herein are contemplated as being part of the subject matter disclosed herein, for example, all combinations of claimed subject matter appearing at the end of this disclosure are contemplated as being part of the subject matter disclosed herein. [Brief description of the drawings]

[0029] [Figure 1] FIG. 1 is a block diagram of an example environment in which implementations disclosed herein may be implemented. [Diagram 2] FIG. 1 illustrates an example environment including multiple smart devices from multiple heterogeneous parties, each of which can locally control one or more of the smart devices, in accordance with implementations disclosed herein. [Diagram 3] 3 is an example state diagram for controlling the two smart light bulbs of FIG. 2 using one of the client devices of FIG. 2. [Figure 4] 3 is an example state diagram for routing a generic smart device control command from a first client device of FIG. 2 to an alternative client device of FIG. 2 for controlling another light bulb of FIG. 2. [Diagram 5] 1 is a flowchart illustrating an example method of controlling a smart device using a local assistant client device according to various implementations disclosed herein. [Figure 6] 1 is a flowchart illustrating another example method of controlling a smart device using a local assistant client device according to various implementations disclosed herein. [Figure 7] 1 is a flowchart illustrating an example method for registering a smart device using a local assistant client device according to various implementations disclosed herein. [Figure 8] FIG. 1 illustrates an example architecture of a computing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] Smart network-connected devices (also referred to herein as smart devices, or Internet of Things (IoT) devices), such as smart home alarms, smart door locks, smart cameras, smart lights, smart thermostats, smart scales, smart beds, smart irrigation systems, smart garage door openers, smart plugs, smart appliances, smart baby monitors, smart fire alarms, smart moisture detectors, etc. Often multiple smart devices are within the confines of a structure, such as a home - or within multiple related structures, such as a user's primary residence and a user's secondary residence and / or place of business.

[0031] Furthermore, in some cases, assistant client devices are prevalent, each including an assistant client that can interact with one or more remote automated assistant components to form a logical instance of an automated assistant. Assistant client devices can be dedicated to assistant functions only (e.g., a standalone speaker and / or a standalone audio / visual device that includes only the assistant client and related interfaces and is dedicated to assistant functions only), or can perform assistant functions in addition to other functions (e.g., a mobile phone or tablet that includes the assistant client as one of multiple applications). Moreover, some smart devices can also be assistant client devices. For example, some smart devices can include at least a speaker and / or microphone that serves (at least in part) as a user interface output and / or input device for the assistant client and the assistant interface of the assistant client.

[0032] Various techniques have been proposed for associating smart devices with corresponding logical instances of an automated assistant (and possibly with individual assistant client devices). For example, a user, a group of users, an assistant client device, and / or a group of assistant client devices (e.g., all within a building) may be linked (e.g., in one or more databases) with multiple heterogeneous smart devices to enable interaction with the smart device (e.g., its control) via the automated assistant. For example, each of multiple assistant client devices in a home may be linked with each of multiple heterogeneous smart devices in the home to enable any user (or a limited group of users) to interface with any one of the assistant client devices to interact with any one of the multiple heterogeneous smart devices.

[0033] One example of such linking is a device topology representation (also referred to herein as a "home graph") that may be created by a user and / or automatically, and may define various assistant client devices, various smart devices, identifiers for each, and / or attributes for each. For example, an identifier for a device may specify a room (and / or other area) of a building in which the device is located (e.g., living room, kitchen) and / or may specify a nickname and / or alias for the device (e.g., sofa lamp, front door lock, bedroom speaker, kitchen assistant, etc.). In this manner, the identifier for the device may be the name, alias, and / or location of each device that a user is likely to associate with each device.

[0034] The device topology representation may further specify one or more device attributes associated with each device. The device attributes for an assistant client device may be associated with, for example, one or more input and / or output modalities supported by the assistant client device. For example, a device attribute for a standalone speaker-only assistant client device may indicate that the device is capable of providing an audible output but is not capable of providing a visual output. The device attributes of a smart device may, for example, identify one or more states of the smart device that may be controlled, identify a party (e.g., 3P) that manufactures, distributes, and / or creates firmware for the smart device, and / or identify a unique identifier for the smart device, such as a fixed identifier provided by 1P or 3P. According to various implementations disclosed herein, the device topology representation may further specify, in some cases, which smart devices may be locally controlled by which assistant client device, local addresses for locally controllable smart devices (or local addresses for hubs that can directly locally control those smart devices), local signal strength and / or other preference indicators between the assistant client device and the smart device. Further, according to various implementations disclosed herein, the device topology representation (or a variation thereof) may be stored locally on each of a plurality of assistant client devices for use in locally controlling and / or locally registering the smart device.

[0035] 1, an example environment in which the techniques disclosed herein may be implemented is shown. The example environment includes a plurality of client computing devices 110. 1~N(also referred to herein simply as a “client device”), a cloud-based automated assistant component 120, and a smart device system 140. A~N and smart devices 145 A~N a 3P adapter database 150; and a client device 110. 1~N and a home graph 152 for the user. 1~N and smart devices 145 A~N represents client devices and smart devices that are at least selectively associated with each other (e.g., via the home graph 152 and / or other device topologies). For example, smart device 145 A~N may all be at home (e.g., in the interior and / or exterior of the home) and may be displayed on client device 110 1~N may be in the same home, at least occasionally, and may share a smart device 145 A~N and client device 110 1~N may be linked together using one or more techniques, such as those described herein. Through such linking, the client devices 110 1~N According to the implementation described herein, the smart device 145 A~N can be used to locally control

[0036] Client Device 110 1~N One or more (e.g., all) of the automated assistant client 117 1~N However, in some implementations, the client device 110 1~N One or more of the automated assistant clients 117 may be 1~NThe automated assistant client 117 may lack an instance of the smart device 117 and may still include engines and hardware components (e.g., adapter interaction engine, adapter, radio, routing engine, and / or registration engine) for locally controlling and / or registering one or more smart devices. 1~N The instance of 1~N The application may be separate from (e.g., installed “on top of”) the operating system of the corresponding client device 110 1~N As described further below, the automated assistant client 117 may be implemented directly by the operating system of the 1~N Each instance of may be a client device 110 1~N In response to various requests provided by a user, the client device 110 may interact with the cloud-based automated assistant component 120 via any one of the I / O components 111. In addition, as will be described below, the client device 110 may 1~N Other engines of the may potentially interact with the cloud-based automated assistant component 120.

[0037] The one or more cloud-based automated assistant components 120 communicate with the client devices 110 via one or more wide area networks (e.g., the Internet), generally indicated by 1051 in FIG. 1~N The cloud-based automated assistant component 120 may be implemented on one or more computing systems (collectively referred to as "cloud" or "remote" computing systems) that are communicatively coupled to the client device 110. For example, the cloud-based automated assistant component 120 may be implemented by one or more clusters of high performance servers. 1~NIt should be noted that the client devices 110 may utilize one or more local area networks in accessing the wide area network 1051 and / or in communicating locally with each other. 1~N The wireless LAN may include a Wi-Fi network and / or a mesh network between the wireless LAN and the wireless device.

[0038] The cloud-based automated assistant component 120 also communicates with the smart device system 140 via one or more wide area networks. A~N The communicative coupling of the cloud-based automated assistant component 120 and the smart device system 140 is generally indicated by 1052 in FIG. 1. Additionally, the smart device system 140 may communicate with one or more smart devices 145 via one or more wide area networks generally indicated by 1053 in FIG. 1. A~N Each of the smart devices 145 may be communicatively coupled to a corresponding group of A~N However, it should be noted that in accessing the wide area network 1053, one or more local area networks may be utilized.

[0039] Smart Device System 140 A~N Each of the may be either a 1P or 3P system, and each may include one or more corresponding smart devices 145. A~N For example, the first smart device system 140 may be communicatively coupled to A~N is controlled by the first 3P and the first smart device 145 A1 The second smart device system 140 may be communicatively coupled to the second 3P and may be controlled by the second smart device 145. B1 and 3rd smart device 145 B2 etc., may be communicatively coupled to.

[0040] The smart device system 140 includes respective smart devices 145 A~N 145 A~N to deliver firmware updates to their respective smart devices145 A~N The device 145 may communicate with the device 145 via the wide area network 1053 to check the status of the device 145 or the like. A~N For example, a given one of the smart device systems 140 may communicate with the smart device 145 to control the smart device in response to receiving user input via a mobile application for the smart device system that enables control of the smart device. A~N can communicate with one of

[0041] Also, for example, a given one of the smart device systems 140 may communicate with the smart device 145 in response to a request from the cloud-based automated assistant component 120 to control the smart device. A~N For example, according to some techniques, a user can provide a request to control a smart device via one or more I / O components 1111 of the client device 1101, such as a verbal input of "Turn off the light on the couch" provided via a microphone of the I / O component 1111. The request (e.g., the verbal input, or a translation thereof) can be transmitted by the automated assistant client 1171 of the client device 1101 to the cloud-based automated assistant component 120 via the wide area network 1051. The cloud-based automated assistant component 120 processes the request to determine the smart device to be controlled based on the request, and transmits the request to the smart device system 140 via the wide area network 1052. A~N and a request can be sent to each of the smart device systems 140. A~NEach of the then transmits a corresponding command to the smart device over the wide area network 1053. However, as described herein, such techniques exhibit drawbacks such as high latency, low reliability, and / or excessive consumption of network resources.

[0042] While implementations disclosed herein may still utilize such techniques for some smart device control requests and / or in some situations, various implementations disclosed herein may at least selectively bypass communication between each of the cloud-based automation components 120 and the smart device system 140, and / or communication between the smart device system 140 and the smart device, in controlling the smart device. Rather, the various implementations may rely on the client device 110 to send specific control commands locally (e.g., over a local area network, or a local peer-to-peer connection) to the smart device to implement desired state changes in the smart device. 1~N This can mitigate the high latency, low reliability, excessive consumption of network resources, and / or other drawbacks of the above techniques.

[0043] In some implementations, multiple client computing devices 110 1~N and smart devices 145 A~N may be associated with one another in various ways to facilitate performance of the techniques described herein. For example, in some implementations, multiple client devices 110 1~N and smart devices 145 A~N may be associated with one another by being communicatively coupled via one or more LANs and / or via one or more peer-to-peer networks. 1~NThis may be the case when multiple client devices 110 are deployed across a particular area or environment, such as a home, a building, etc. Additionally or alternatively, in some implementations, multiple client devices 110 1~N and smart devices 145 A~N , which are at least selectively accessible by one or more users (e.g., individuals, family members, employees of an organization, other predefined groups, etc.) of the client device 110. 1~N and smart devices 145 A~N In some of these implementations, the client devices 110 may be associated with each other by being members of a collaborative ecosystem of 1~N and smart devices 145 A~N The ecosystem of devices may be associated with each other manually and / or automatically in the home graph 152 and / or other device topologies. For example, the client devices 110 1~N and smart devices 145 A~N One or more of may be associated with one another through the registration techniques described herein.

[0044] Automated Assistant Client 117 1~N An instance of the automated assistant, by its interaction with one or more cloud-based automated assistant components 120, may form what appears from a user's perspective to be a logical instance of an automated assistant with which the user may engage in a human-computer dialogue. For example, a user may use a client device 1101 and an automated assistant client 1171, or a client device 110 N and Automated Assistant Client 117 N Both automated assistant clients 1171 and 1172 can participate in the same logical instance of the automated assistant. N The specific instances of may vary and / or may be different for different I / O components 1111 and 111 Nand / or provide user interface output via different I / O components 1111 and 111 N , and may accept different user interface inputs via (e.g., I / O component 1111 may include a touch screen, whereas I / O component 111 N Although the automated assistant is not included in the automated assistant client 110, the user may still effectively engage with the same logical instance of the automated assistant. For brevity and simplicity, the term "automated assistant" as used herein will refer to the automated assistant client 117 running on the client device 110 and, in some cases, one or more cloud-based automated assistant components 120 (which may be shared among multiple automated assistant clients 117). Two client devices 1101 and 110 in a collaborative ecosystem N 1, it will be appreciated that numerous additional client devices may be included in the ecosystem. Additionally, it will be appreciated that separate collaborative ecosystems of client devices, each associated with a different user (e.g., account) and / or environment, will also be provided, and that such separate collaborative ecosystems may also interact with the cloud-based automated assistant component 120 (but with interactions tailored to those separate ecosystem accounts).

[0045] Client Device 110 1~Nmay include, for example, one or more of a desktop computing device, a laptop computing device, a tablet computing device, a mobile phone computing device, a computing device in the user's vehicle (e.g., an in-car communication system, an in-car entertainment system, an in-car navigation system), a standalone assistant-centric interactive speaker, a standalone assistant-centric interactive display with speaker, a smart appliance such as a smart television, and / or a user wearable device including a computing device (e.g., a user's watch having a computing device, a user's glasses having a computing device, a virtual or augmented reality computing device). Additional and / or alternative client computing devices may be provided.

[0046] As mentioned above, the client device 110 1~N One or more of the automated assistant clients 117 may be 1~N The automated assistant client 117 may include an instance of each of the 1~N 111 1~N 111, the I / O component 111 detects an oral input via a microphone. 1~N touch input received via a touch screen display of the I / O component 111 1~N Each I / O component 111 1~N In addition, the automated assistant client 117 can process user input received from the input device of each of the 1~N Each of the I / O components 111 may 1~N 111 each I / O component, such as speakers and / or a touchscreen display 1~N A variety of output can be rendered through the output devices.

[0047] In various implementations, the automated assistant client 117 1~N One or more instances of the can interface with the cloud-based automated assistant component 120 in processing the input and / or generating an output based on the input and / or generating a smart device control command based on the input. For example, the automated assistant client 1171 can send to the cloud-based automated assistant component 120 audio data corresponding to a verbal input received after invocation of the automated assistant client 1171 at the client device 1101. Invocation of the automated assistant client 1171 at the client device 1101 can be based on detection of an invocation phrase (e.g., "OK Assistant"), interaction of a hardware or graphical button that invokes the automated assistant client 1171, a gesture detected via a camera of the I / O component 1111, and / or other invocation signals. The cloud-based automated assistant component 120 can convert the audio data to text using a speech-to-text (STT) processor 121 and perform natural language understanding (NLU) on the text using an NLU engine 122 to determine an appropriate response. For example, an appropriate response may be a text response that may be converted into generated speech, possibly using a text-to-speech (TTS) processor, and sent to the automated assistant client 1171 for rendering the generated speech through a speaker of the I / O component 1111.

[0048] As another example, an appropriate response may be a generic smart device control command, such as a structured command, that defines the intent (e.g., turn on / off, dim, increase, decrease), defines the smart device (e.g., a unique identifier for the smart device), defines a third party for the smart device (e.g., a unique identifier for the third party), and / or defines one or more additional parameters for the intent (e.g., how much to dim, what to increase / decrease, etc.). The generic smart device control command may be sent to the assistant client 1171, or, in a local implementation of the generic smart device control command, to another assistant client of another client device 110. In some implementations, and / or several assistant clients 117 1~N In this case, the assistant client may include a local STT processor, a local NLU engine, and / or other components for locally processing received inputs without needing to interface with the cloud-based automated assistant component 120. For example, the assistant client 1171 may include one or more local components for locally generating generic smart device control commands without interfacing with the cloud-based automated assistant component 120.

[0049] One or more of the client devices 110 may also optionally include a respective adapter interaction engine 114 1~N and one or more respective locally stored adapters 113. A~N and one or more respective available radios 112 A~N Includes the same adapter 113 A~N and available radio 112 A~N However, in some cases, the client device 110 1~N or may be provided locally in each of the adapters 113 A~N and / or Radio 112 A~N In some cases, the client device 1101~N Additionally, as described herein, the adapter 113 A~N One or more of the client devices 110 1~N , and which adapter is running on a given client device 110 1~N Whether a client is preemptively running at a given time for a particular application may be based on one or more criteria, such as the client device's usage history, a time criterion, etc.

[0050] Next, the adapter interaction engine 114 1~N and locally stored adapter 113 A~N Further description of the adapter interaction engine 1141 is provided with reference to the client device 1101. Generic smart device control commands can be passed from the automated assistant client 1171 to the adapter interaction engine 1141. Although shown separately in FIG. 1 for clarity, in various implementations, the adapter interaction engine 1141, the adapter 113, and the adapter 114 are integrated together. A~NIt should be noted that the routing engine 1151, and / or the registration engine 1161 may be logically incorporated as part of the automated assistant client 1171. The generic smart device control command may be generated in response to a voice input, a touch input, a triggering of an automated assistant routine, a signal from another non-assistant device, and / or other signals. For example, the generic smart device control command may be generated in response to a voice input received at the client device 1101. For example, the automated assistant client 1171 may send audio data corresponding to the voice input to the remote automated assistant component 120 and receive a generic smart device control command in response thereto. Also, for example, the automated assistant client 1171 may process the voice input itself to generate the generic smart device control command locally. As another example, the automated assistant client 1171 may render an interactive graphical interface element for controlling a smart device on the touch-sensitive screen of the I / O component 1111, and may directly interpret an interaction with the interactive graphical interface element into a corresponding generic smart device control command. A generic smart device control command may be a structured command that defines the intent, defines the smart device to be controlled, and possibly a third party for the smart device, and / or possibly one or more further parameters for the intent.

[0051] The adapter interaction engine 1141 interacts with the adapter 113 based on the generic smart device control command and based on the fact that the adapter is provided by a party that responds to the generic smart device control command. A~N The adapter interaction engine 1141 can select a corresponding one of the adapters 113. A~N and providing a generic smart device control command to a selected one of the adapters 113. A~NA selected one of the adapters 113 processes the generic smart device control command to generate a specific control command that is directly interpretable by the corresponding smart device to implement a state change in the corresponding smart device or in a corresponding additional smart device directly controlled by the corresponding smart device. A~N Each of the above is implemented in JavaScript (or other interpreted programming language) provided by the party corresponding to the adapter, and the adapter 113 A~N Each of the adapters 113 can translate generic smart device control commands into specific control commands that conform to the party's protocol suite. A~N Each of the adapters 113 may be sandboxed and running in a container in the client device 1101 or the automated assistant client 1171, and may process generic smart device control commands as described, and may also potentially report events to the automated assistant client 1171 using the automated assistant's schema. A~N may be sent to the client device 1101 by the cloud-based automated assistant component 120, which in turn receives the 3P adapter database 150 from the adapter 113. A~N The adapters in the 3P adapter database 150 can be selected from the smart device system 140. A~N(e.g., to accommodate firmware updates and / or to improve functionality) and the updated adapter may be pushed to the client device 1101. In some implementations, additional adapters may be provided and utilized to process some generic smart device control commands, possibly for some smart devices. For example, a given additional adapter may be utilized to process some generic smart device control commands and generate corresponding specific control commands that are common to multiple 3P protocol suites (e.g., common to industry standard-based protocols to which the 3P protocol suite conforms or is a variation thereof). For example, a generic Wake-On-LAN (WOL) command may be processed using a given additional adapter to generate a unique WOL control command that is applicable to all protocol suites that are variations of the IP protocol industry standard. In these and other ways, additional adapters may be utilized to process some generic smart device control commands (e.g., for multiple 3P smart devices), while a 3P specific adapter may be utilized to process some other generic smart device control commands.

[0052] The generated native control command is provided to the adapter interaction engine 1141. The adapter interaction engine 1141 communicates with the wireless 112 to locally transmit the native control command to effect the change in state of the smart device indicated by the native control command (and the generic smart device control command on which the native control command is based). A~N The adapter interaction engine 1141 may select a radio based on which radio is assigned locally to the party and / or adapter that corresponds to the generic smart device control command. The adapter interaction engine 1141 then determines whether the specific control command is assigned to the radio 112. A~Nand addressed to the smart device, thereby implementing a state change in the addressed smart device or in smart devices connected to the addressed smart device (e.g., when the addressed smart device is a hub that controls additional smart devices).

[0053] One or more of the client devices 110 may also optionally include a respective routing engine 115 1~N , and / or their respective registration engines 116 1~N Each routing engine includes 115 1~N based on one or more criteria, 1~N The smart device control command may be selectively determined to route the received generic smart device control command to an alternative client device of the ecosystem via the local network. For example, the client device 1101 may initially identify the smart device control command based on whether the smart device control command is generated locally at the client device 1101 (e.g., in response to a touch interaction with a corresponding graphical element displayed at the client device 1101) or is generated at the remote automated assistant component 120 and is generated based on verbal or other input received at the client device 1101.

[0054] The generic smart device control command can specify a particular smart device to be controlled, and the routing engine 1151 can determine that a trusted communication channel is not established between the client device 1101 and the particular smart device. For example, the particular smart device can be one to be controlled over a Bluetooth communication channel, and the routing engine 1151 can determine that the particular smart device is connected to the wireless 112 A~N The home graph 1521 may determine that the client device 1101 is not detectable over the Bluetooth radio of the particular smart device or that the signal strength between the client device 1101 and the particular smart device over the Bluetooth radio fails to meet a threshold. Such a determination may be based, for example, on a current reading over the Bluetooth radio and / or on a local version of the home graph 1521 indicating that the client device 1101 does not have a reliable connection with the particular smart device.

[0055] In response, the routing engine 1151 may route the WAN traffic to the local network (e.g., the assistant client device 110 1~N an alternative client device 110 having an established trusted communication channel to the smart device over a Wi-Fi or mesh network established between the 2~N The routing engine 1151 can, for example, utilize a local version of the home graph 1521 to determine such alternate client devices, where the local version of the home graph 1521 can indicate that the alternate client devices have a trusted connection with the smart device. For example, the routing engine 1151 can determine that the local version of the home graph 1521 indicates that the alternate client devices have a trusted connection with the smart device. 1~NThe alternative client device may select an alternative client device based on indicating that it has the best signal strength for the smart device among the home graphs 1521. The local version of the home graph 1521 may be the same as the home graph 152 stored locally at the client device 1101 and maintained by the remote automated assistant component 120, or a variant thereof (e.g., a compressed version, a slightly out-of-date version). In response to receiving a generic smart device control command, the alternative client device may then use a corresponding local adapter to translate the generic smart device control command into a corresponding specific command and send the corresponding specific command to the specific smart device. Alternatively, the adapter interaction engine 1141 may use the adapter 113 to translate the generic smart device control command into a corresponding specific command and send the corresponding specific command to the specific smart device. A~N , a corresponding local one of the smart device control commands can be used to generate a corresponding unique command and send the corresponding unique command to the alternative client device instead of sending a generic smart device control command.

[0056] Registered Engine 116 1~N Each of the registration engines 116 is utilized in locally discovering, provisioning, and / or registering smart devices for a user's account. 1~N Each of the smart devices may use a respective locally stored home graph 152 to discover, provision, and / or register the smart device. 1~N , each adapter 113 A~N (For example, each adapter interaction engine 114 1~N via ), and each radio 112 A~N In addition, the registration engine 116 1~N Each of the above may interface with the cloud registration engine 127 of the cloud-based automated assistant component 120.

[0057] In some implementations, the registration engine 116 may be configured to scan one or more respective communication channels (e.g., Wi-Fi, Bluetooth, and / or other) for unregistered smart devices. 1~N For example, in the case of Wi-Fi, the registration engine 116 1~N Each of the wireless 112 may be configured to identify any unregistered devices, possibly using a service set identifier (SSID) and / or a basic service set identifier (BSSID), to filter for a particular smart device for which a corresponding adapter is available. A~N As another example, in the case of Bluetooth, the registration engine 116 1~N Each of the Bluetooth devices may cause a scan via its respective Bluetooth radio to identify any unpaired smart devices, possibly utilizing an identifier, to filter for specific smart devices for which a corresponding adapter is available. Discovery may occur at periodic or aperiodic intervals, or in response to a user request (e.g., a voice request, a request initiated via a smartphone app for the assistant, etc.).

[0058] Registered Engine 116 1~N When one or more of the smart devices discover a smart device, the routing engine of one of the smart devices that discovered the smart device may pair with the smart device (e.g., in the case of Bluetooth) and / or may communicate with the client device 110. 1~N The smart device can be provisioned by connecting the smart device to a secure Wi-Fi network to which the registration engine 116 is already connected. 1~N Which of the following will provision the smart device is determined by the client device 110.1~N and / or which registration engine 116 1~N The registration engine 116 detects the smart device and sends an indication of the detected smart device to the 1~N The routing information may be determined by the cloud routing engine 125, which may receive the routing information from

[0059] After provisioning, the data provided by the provisioned smart device is stored in the client device 110. 1~N and a corresponding local adapter 113 of the assistant client device. A~N The cloud registration engine 127 may be processed using the 3P adapter database 150 to generate registration data in the automated assistant's schema. The corresponding local adapter may already be provided locally on the client device, or in some cases, may be pushed to the client device by the cloud-based automated assistant component 120 in response to provisioning of the smart device. For example, the cloud registration engine 127 may access the 3P adapter database 150 to search for a 3P adapter corresponding to the smart device to be provisioned, and may then load the 3P adapter into the client device 110. 1~N for local storage and use at the client device 110 1~N A 3P adapter may be pushed to one or more (e.g., all) of the local adapters 113. A~N The registration data generated by the client device 110 may be utilized by the automated assistant to add the smart device to a home graph or other structure that defines the smart device, the assistant client device, and various properties of the smart device and the assistant client device (e.g., name, location, etc.). For example, the registration data may be sent to the cloud registration engine 127, which adds the registration data to the home graph 152 and, in some cases, to the client device 110. 1~N Each of the following has a home graph 152 1~NThe cloud registration engine 127 may also, in some cases, push an updated local version of the smart device system 140. A~N to report registrations to the smart device system, thereby enabling the smart device system to locally correlate smart device registrations.

[0060] In some implementations, the cloud registration engine 127 may include a client device 110 1~N , the smart device registers with the home graph 152 based on the biometric data detected via one or more of the client device 110, the biometric data corresponding to an account associated with the home graph 152. For example, the smart device may register with the home graph 152 based on the biometric data detected via one or more of the client device 110, the biometric data corresponding to an account associated with the home graph 152 during discovery, provisioning, and / or registration. 1~N based on a match of voice data received via one or more of the client devices 110 to voice authentication data stored in association with the account. 1~N 152) (rather than another home graph associated with another account in one or more of the cloud-based home graphs). Other biometric identification information, such as face, fingerprint, etc., may be utilized in addition or as an alternative. In some implementations, the cloud registration engine 127 maps registered smart devices (e.g., in the home graph 152 and local versions) to those client devices 110 that can send commands locally to the smart devices. 1~N For example, if communication with the smart device is via short-range radio (e.g., Bluetooth radio), then those client devices 110 that have at least a corresponding signal strength (for a corresponding connection to the smart device via short-range radio) may be associated with the smart device. 1~Nmay be indicated within the home graph 152, possibly along with an indication of the corresponding signal strength. Such indications may aid the routing engine 115 in determining which assistant client device should be utilized in generating and / or sending the unique control command to the smart device. 1~N and / or by the cloud routing engine 125.

[0061] In some implementations, a smart device that is broadcasting an access point is discovered, and the smart device is connected to the client device 110. 1~N In some of these implementations, the client device 110 is not yet provisioned because it is not connected to a secure Wi-Fi network utilized by the client device 110 and lacks credentials to connect to the secure Wi-Fi network. 1~N Each of the assistant client devices has detected the availability of an access point through scanning of its respective Wi-Fi radio. In some versions of those implementations, a single assistant client device is selected to connect to the smart device through the smart device's access point and to securely share with the smart device, via the connection, credentials for connecting to the secure Wi-Fi network. The single client device is connected to the registration engine 116 of the client device. 1~NThe single assistant client device may be selected through a negotiation with the Wi-Fi network or by the cloud registration engine 127. Once the credentials are shared, the smart device may connect to the secure Wi-Fi network and register through communication over the Wi-Fi network. In various versions in which a single assistant client device is selected, the single assistant client device may be selected based at least in part on human interaction data for the single assistant client device. For example, the single assistant client device may be selected based on the human interaction data indicating that a user interface input has not been received at the single assistant client device within a threshold amount of time and / or based on the human interaction data indicating that the single assistant client device is utilized less frequently than any other of the multiple assistant client devices that detected the access point. In these and other methods, the single client device may be selected to prevent interruption of ongoing and / or upcoming assistant interactions because the single client device would break its connection with the secure Wi-Fi network when connecting to a local access point - and the single client device is selected based on criteria that indicate it is not being used and / or is less likely to be used (than other devices in the ecosystem).

[0062] In some implementations, the registration engine 116 may be configured to scan one or more respective communication channels (e.g., Wi-Fi, Bluetooth, and / or other) for unregistered smart devices. 1~NBy having each of the assistant client device and the smart device 100 perform a search for a smart device that is not yet registered, a smart device may be discovered. However, in some of those implementations, the smart device may not be locally registerable and / or locally controllable. Nevertheless, in some versions of those implementations, a notification related to the discovered smart device may be presented on one or more of the assistant client device and / or the other client device. The notification may include links and / or other interactive content that may be interacted with to facilitate registration in a non-local manner (e.g., via the cloud). For example, the interactive content, when selected, may cause the rendering of a single sign-in interface and / or a smart device-specific sign-in interface that enables registration of the smart device.

[0063] As mentioned above, the cloud-based automated assistant component 120 may potentially interface with each of the client devices 110 in performing some operations. The cloud-based automated assistant component 120 may include an STT module 121 configured to leverage cloud resources to convert audio data (provided by a corresponding client device 110) into text (which may then be provided to the NLU module 122). The TTS module 123 may be configured to leverage cloud resources to convert text data into computer-generated voice output. The NLU module 122 may be configured to leverage cloud resources to convert text data into computer-generated voice output (which may then be provided to the client device 110). 1~Nand generate annotated output for use by one or more other components of the cloud-based automated assistant component 120. For example, the NLU module 122 may process natural language free-form input generated by a user via one or more user interface input devices of the client device 1101, such as text converted from spoken input or typed text. The generated annotated output includes one or more annotations of the natural language input and possibly one or more (e.g., all) of the terms of the natural language input.

[0064] In some implementations, NLU module 122 is configured to identify and annotate various types of grammatical information in natural language input. For example, NLU module 122 may include portions of a speech tagger and / or an entity tagger. In some implementations, NLU module 122 may additionally and / or alternatively include a coreference resolver (not shown) configured to group or "cluster" references to the same entity based on one or more contextual clues. In some implementations, one or more components of NLU module 122 may rely on annotations from one or more other components of NLU module 122.

[0065] The cloud routing engine 125 may optionally communicate with the client device 110 for providing a given generic smart device control command thereto. 1~NThe cloud routing engine 125 may utilize the home graph 152 in selecting the particular client device. For example, the cloud routing engine 125 may utilize the home graph 152 to select the particular client device based on the home graph 152 indicating that the particular client device has an established communication channel with the smart device of the generic smart device control command and / or has the best (e.g., highest signal strength) communication channel with the smart device of the generic smart device control command. The cloud routing engine 125 may then address the generic smart device control command to the selected particular client device (e.g., using an address stored in the home graph) to cause the generic smart device control command to be sent directly to the selected particular client device for local conversion to a specific control command at the selected particular client device and for local transmission of the corresponding smart device specific control command at the selected particular client device. The cloud routing engine 125 may route the generic smart device control command to the particular client device even when the generic smart device control command is generated in response to a user interface input received at a different client device.

[0066] As described herein, in some implementations, the cloud-based automated assistant component 120 (e.g., the STT module 121 and the NLU module 122) can process audio data corresponding to verbal input captured at one of the client devices 110, generate a generic smart device control command based on such verbal input, and return the generic command to one of the client devices 110 for local generation at one of the client devices of a specific command for the corresponding smart device. In other implementations or situations, the cloud-based automated assistant component can provide the generic smart device control command in response to other signals, such as in response to triggering of an automated assistant routine with the generic smart device control command.

[0067] A further description of the various components of Figure 1 will now be provided with reference to additional figures. Figure 2 shows a floor plan of a home including multiple rooms 250, 252, 254, 256, 258, 260, and 262. Multiple client devices 110 1~3 are deployed across at least some of the rooms. 1~3 Each of the client devices 1101 may optionally implement an instance of an automated assistant client configured with selected aspects of the present disclosure, and may optionally include one or more input devices, such as a microphone, a touch screen, and / or one or more output devices, such as a speaker, a display, etc. For example, a first client device 1101, taking the form of a standalone interactive speaker and display device (e.g., a display screen, a projector, etc.), is deployed in room 250, which in this example is a kitchen. A second client device 1102, taking the form of an interactive standalone speaker, is deployed in room 254, which in this example is a bedroom. A third client device 1103, also taking the form of an interactive standalone speaker, is deployed in room 256.

[0068] Multiple Client Devices 110 1~3 may be communicatively coupled to each other and / or to other resources (e.g., smart devices, and the Internet) via a wireless router 101 shown in room 252 and / or a local mesh network. Additionally, other client devices - particularly mobile devices such as smartphones, tablets, laptops, wearable devices, etc. - may also be present and may be carried by one or more persons (e.g., users 103) within the home, for example, and may or may not also be connected to the same LAN. It should be understood that the configuration of client devices shown in FIG. 2 is merely an example, and that more or fewer and / or different client devices may be deployed throughout any number of other rooms and / or areas outside the home.

[0069] Also shown in FIG. 2 are a number of smart devices. The smart devices include a smart light 145 provided by a first 3P (as indicated by the "A" designation). A1 Includes 145 smart lights A1 The smart devices are controllable via Bluetooth radio using the first 3P protocol suite, a variation of the industry standard. The smart devices are connected to a hub 147 that is coupled to a wireless router 101. B Smart Light 145, controlled via B1 and 145 B2 , and Smart Doorbell 145 B3 Also includes: Smart Light 145 B1 and 145 B2 , Smart Doorbell 145 B3 , and Hub 147 B is provided by a second 3P (as indicated by the "B" designation). Smart Light 145 B1 and 145 B2 , Smart Doorbell 145 B3 , and Hub 147 BHub 147 utilizes industry standard protocols B is addressable via TCP / IP, utilizing the Wi-Fi radio, and via its hardwired connection to the wireless router 101. The smart device is a smart washing machine 145 provided by a third 3P (as indicated by the "C" designation). C1 Also includes: Smart Washing Machine 145 C1 The smart device is controllable over a low-speed wireless personal area network radio channel using a third 3P's proprietary protocol suite. The smart device is a smart thermostat 145 provided by a fourth 3P (as indicated by the "D" designation). D1 Also includes Smart Thermostat 145 D1 can be controlled over a Wi-Fi radio using a variant of the fourth 3P of the UDP protocol suite. It should be understood that the configuration of smart devices 145 shown in the figure is only one example, and that more or fewer and / or different smart devices may be deployed throughout any number of other rooms and / or areas outside the home.

[0070] Next, FIG. 2 and the above description of FIG. 2 will be used to describe various aspects of FIG. 3 to FIG. 7. FIG. 3 illustrates a case where the smart light 145 of FIG. 2 is connected to the smart light 145 of FIG. 2 using the client device 1101 of FIG. 2. B1 and 145 B2 3 illustrates an example state diagram 300 for controlling a smart light 145. In FIG. 3, the adapter interaction engine 1141 of the client device 1101 identifies 352 a generic smart device control command. The generic smart device control command may be generated by the client device 1101 or provided to the client device 1101 by the remote cloud-based automated assistant component 120 and / or by another client device. The generic smart device control command may be generated by the client device 1101 or provided to the client device 1101 by the remote cloud-based automated assistant component 120 and / or by another client device. B1 and 145 B2, indicate that their color should be adjusted to "bright red", and possibly identify a second 3P.

[0071] At 354, the adapter interaction engine 1141 connects the 3P adapter 113 corresponding to the second 3P. B The adapter interaction engine 1141 selects the 3P adapter 113. B to the second 3P and / or the smart light 145 specified in the general-purpose smart device control command B1 and 145 B2 Based on the assignment of the 3P adapter 113 to the 3P adapter 113, the 3P adapter 113 is selected from a number of available 3P adapters stored locally in the client device 1101. B can be selected.

[0072] In 356, the interaction engine 1141 is connected to the 3P adapter 113 B In some implementations, the smart light 145 B1 and 145 B2 , and / or other smart devices of the second 3P are registered for an account associated with the client device 1101, the 3P adapter 113 B is stored locally on the client device 1101 and may already be running. In some implementations, for example, the 3P adapter 113 B 3P adapter 113 based on its recent use at client device 1101, its past use at a date and time similar to the current date and time, and / or based on one or more other criteria. B is already running on the client device 1101.

[0073] 362, 3P adapter 113 B Based on the given generic command, a unique command is generated, and the 3P adapter 113 Breturns the generated native command to the adapter interaction engine 1141. Even if the second 3P uses a standard protocol, the generated native command may be different from what would otherwise be generated using the standard protocol, for example because the 3P adapter 113 B Note that this is because the second 3P may incorporate custom logic that will result in a unique command for the "bright red" state change request that is specifically tailored to the second 3P. B1 and 145 B2 Directly transfer commands specific to the Smart Hub 147 B , and the smart light 145 B1 and 145 B2 The smart hub 147 can directly interpret the unique command to cause a change in the color state of the light to a "bright red" state. B interprets the unique command, and then controls the smart light 145 according to the unique command. B1 and 145 B2 can be directly controlled.

[0074] At 358, the adapter interaction engine 1141 is connected to the 3P adapter 113 B For Radio 112 B 10 and provide a unique command to cause it to be transmitted using the radio selected in 372. B 113 3P adapter B A radio is selected from among multiple available radios at the client device 1101 based on the assigned radio (locally at the client device 1101) to the B It can be a Wi-Fi radio, and the specific commands are sent via TCP / IP to the Smart Hub 147 B may be transmitted to

[0075] As mentioned above, Smart Hub 147 B is Smart Light 145B1 and 145 B2 Specific commands can be directly transferred to the smart light 145 B1 and 145 B2 The smart hub 147 can directly interpret the unique command to cause a change in the color state of the light to a "bright red" state. B interprets the unique command and further transmits the interpreted command, thereby controlling the smart light 145 according to the unique command. B1 and 145 B2 In any case, the state change is implemented at 382. In some cases, the smart hub 147 may control the B is radio 112 B 374, and the response is 3P adapter 113 B , 3P adapter 113 B interprets the response (e.g., into the automated assistant's schema) at 366 and provides the interpreted response to the adapter interaction engine 1141. At 359, the adapter interaction engine 1141 can optionally provide the interpreted response to one or more additional components as a response to the identified generic command. For example, if the interpreted response indicates that the state change was successful, the interpreted response may be provided to update the display of the client device 1101 to indicate success, to the cloud-based automated assistant component 120 to update the home graph 152 to reflect the state change, to the system 140 associated with the second 3P to reflect the state change, and / or to other components.

[0076] FIG. 4 illustrates a case where the client device 1101 in FIG. 2 sends a notification to the client device 1102 in FIG. 2 via the smart light 145 in FIG. A14 illustrates an example state diagram 400 of an example of routing a generic smart device control command for controlling a smart light 145. In FIG. 4, a routing engine 1151 of a client device 1101 identifies 452 a generic smart device control command. The generic smart device control command may be generated by the client device 1101 or provided to the client device 1101 by a remote cloud-based automated assistant component 120 and / or by another client device. For example, the generic smart device control command may be to control a smart light 145. A1 The generic smart device control command may be generated by the client device 1101 in response to a touch interaction with a graphical interface element displayed via a touch screen of the client device 1101 that allows the smart light 145 to adjust a dimming level. A1 Identify and smart light 145 A1 should be adjusted to a "50% dim" state, and possibly identify the first 3P.

[0077] At 454, the routing engine 1151 may be configured to notify the client device 1101 of the smart light 145. A1 For example, as described above, the smart light 145 determines that the smart light 145 has an untrusted communication channel with the A1 The client device 1101 and the smart light 145 may be controllable via a Bluetooth radio. A1 Due to the distance between and / or obstacles to the smart light 145, the Bluetooth radio of the client device 1101 may A1 The routing engine 1151 may not have any communication with the smart device, or may have communication but at a signal strength that cannot meet a threshold. The routing engine 1151 may determine the unreliable communication channel based on current data from the Bluetooth radio or based on past historical data (e.g., stored in a local mapping from the client device to the smart device).

[0078] 456, routing engine 1151, smart light 145 A1 In resolving the client device 1102, the routing engine 1151 may rely on a client device-to-smart device mapping stored locally at the client device 1101 to determine whether the client device 1102 is (e.g., a smart light 145 A1 145 Smart Lights (as a result of proximity to A1 A client device to smart device mapping can define the client devices of the ecosystem, and for each of the assistant client devices, a corresponding smart device for which the assistant client device has a corresponding reliable communication channel, and in some cases, the signal strength between the assistant client device and the smart device. Such mappings can be included in a locally stored home graph, as described herein.

[0079] At 458, the routing engine 1151 transmits the generic smart device control command to the resolved client device 1102 using the local network.

[0080] At 460, the adapter interaction engine 1142 of the client device 1102 detects a 3P adapter 113 corresponding to the first 3P. A The adapter interaction engine 1142 selects the 3P adapter 113. A to the first 3P and / or the smart light 145 specified in the general-purpose smart device control command A13P adapter 113 from a number of available 3P adapters stored locally at client device 1102 based on A can be selected.

[0081] In 462, the interaction engine 1142 is connected to the 3P adapter 113 A In some implementations, the smart light 145 A1 is registered for an account associated with the client device 1102, A is stored locally on the client device 1102 and may already be running. In some implementations, for example, the client device 1102 and the smart light 145 A1 Strong signal strength between the 3P adapter and the 113 A 3P adapter 113 based on its recent use at client device 1102 and / or based on one or more other criteria. A is already running on the client device 1102.

[0082] 472, 3P adapter 113 A Based on the given generic command, a unique command is generated, and the 3P adapter 113 A The adapter interaction engine 1142 returns the generated native command to the adapter interaction engine 1142. Note that the first 3P utilizes a protocol suite that is a variation of an industry standard, and as a result, the generated native command may not conform to the industry standard. The native command is sent to the smart light 145 A1 , and the smart light 145 A1 The smart light 145 interprets the unique commands directly and A1 This can cause a change in the dimming level to "50%".

[0083] At 464, the adapter interaction engine 1142 communicates with the 3P adapter 113 A For Radio 112 A 112 and causes it to be transmitted using the selected radio at 482. A 113 3P adapter A A radio may be selected from among multiple available radios at the client device 1102 based on the assigned radio (locally at the client device 1102) to the A may be a Bluetooth radio.

[0084] 492, Smart Light 145 A1 The smart light 145 interprets the unique commands directly and A1 In some cases, the dimming level of the smart light 145 A1 is radio 112 A and the response is 3P adapter 113 A , 3P adapter 113 A interprets the response (e.g., into an automated assistant's schema) and provides the interpreted response to the adapter interaction engine 1142. The adapter interaction engine 1142 can optionally provide the interpreted response to one or more additional components as a response to the identified generic command.

[0085] Various methods will now be described with reference to the operations of the flowcharts in those figures, with reference to the operations of the flowcharts described below. For convenience, the operations of the flowcharts described below will be described with reference to a system that performs the operations. The system may include one or more components of one or more client devices (e.g., client devices running an automated assistant client) and / or one or more components of a separate computing system (e.g., a remote automated assistant server). Moreover, different systems may perform the operations of different flowcharts. Additionally, while the operations of the flowcharts are shown in a particular order, this is not intended to be limiting. One or more operations may be rearranged, omitted, or added.

[0086] 5 is a flowchart illustrating an example method 500 for controlling a smart device using a local assistant client device according to various implementations disclosed herein. FIG. 5 may be implemented using one or more processors of the local assistant client device.

[0087] At block 502, the system identifies a generic smart device control command that specifies a smart device and the state of the smart device that is to be changed.

[0088] At block 504, the system determines whether there is a trusted communication channel.

[0089] If, at block 504 , the system determines that there is no trusted communication channel, the system proceeds to block 506 .

[0090] In block 506, the system selects an alternative local assistant client device that has a trusted communication channel to the smart device.

[0091] At block 508, the system sends the generic smart device control command to the selected alternative local assistant client device to locally control the smart device. Upon receiving the generic smart device control command, the selected alternative local assistant client device can locally process the generic smart device control command to generate a unique command, where the unique command corresponds to the generic smart device control command and is directly interpretable by the smart device to implement a state change in the smart device. The selected alternative local assistant client device can further send the unique command over the established trusted communication channel to implement a state change in the smart device.

[0092] If, in the iteration of block 504 , the system determines that there is a trusted communication channel, the system proceeds to block 510 .

[0093] At block 510, the system selects a particular adapter from a number of available adapters based on the generic smart device control command.

[0094] At block 512, the system uses the selected adapter to process the generic smart device control command and generate a unique command.

[0095] At block 514, the system sends a unique command over the trusted communication channel to effect the change in state of the smart device.

[0096] 6 is a flowchart illustrating another example method 600 for controlling a smart device using a local assistant client device according to various implementations disclosed herein. FIG. 6 may be implemented using one or more processors of the local assistant client device.

[0097] At block 602, the system preemptively runs each of a number of adapters, such as a number of 3P adapters and possibly a 1P adapter.

[0098] At block 604, the system identifies a generic smart device control command that specifies the smart device and the state of the smart device that is to be changed.

[0099] At block 606, the system selects a particular adapter from the multiple active adapters based on the generic smart device control command.

[0100] At block 608, the system uses the selected adapter to process the generic smart device control command and generate a unique command.

[0101] At block 610, the system selects a particular communication channel from a plurality of available communication channels to be assigned to the selected adapter.

[0102] At block 612, the system sends a unique command using the particular communication channel selected to cause a state to be changed in the smart device.

[0103] 7 is a flowchart illustrating an example method 700 for registering a smart device using a local assistant client device according to various implementations disclosed herein. FIG. 7 may be implemented using one or more processors of the local assistant client device and / or one or more processors of a remote automated assistant server.

[0104] In block 702, the system causes each assistant client device in the ecosystem of assistant client devices to scan communication channels for unprovisioned smart devices.

[0105] At block 704, the system determines whether any new unprovisioned smart devices are detected by scanning.

[0106] If, in the iteration of block 704, the system determines that there are no new unprovisioned smart devices, the system proceeds to block 706 and method 700 ends.

[0107] If, in the iteration of block 704 , the system determines that there is at least one new unprovisioned smart device, the system proceeds to block 708 .

[0108] In block 708, the system causes the selected assistant device to interface with the new smart device via a communication channel to establish a local connection of the new smart device to the assistant client device. Block 708 may include one or more sub-blocks, such as sub-block 709, in some cases.

[0109] In subblock 709, the system can select an assistant client device to interface with based on the human interaction data for the assistant client device. For example, in subblock 709, the new smart device can be the smart thermostat 145 of FIG. D1 Smart Thermostat 145 D1may be broadcasting an access point, but may not yet be connected to the secure wireless router 101 utilized by the assistant client device, and may lack credentials to connect to the secure wireless router 101. In some of these implementations, each of multiple assistant client devices in the ecosystem of client devices detected the availability of an access point through scanning of its respective Wi-Fi radio. For example, the client device 110 of FIG. 1~3 All three of the smart devices may have detected the availability of an access point. In some versions of those implementations, a single assistant client device is selected to connect to the smart device through the smart device's access point and securely share credentials for connecting to the secure Wi-Fi network with the smart device through the connection. Once the credentials are shared, the smart device may connect to the secure Wi-Fi network and register through communication over the Wi-Fi network. The single assistant client device may be selected at least in part based on human interaction data for the single assistant client device. For example, client device 1103 may be selected based on human interaction data indicating that a user interface input has not been received at client device 1103 within a threshold amount of time and / or based on human interaction data indicating that client device 1103 is utilized less frequently than client device 1101 and client device 1102.

[0110] In block 710, the system causes the selected or additional assistant client device to use the adapter for the new smart device in generating registration data for the new smart device. Block 710 may optionally include one or more sub-blocks. In sub-block 711, the system may provide the adapter to the assistant client device in response to the assistant client device detecting the new smart device. For example, if other smart devices for a party associated with the new smart device have not yet been linked with the assistant client device, the adapter may not yet be stored locally in the assistant client device. In such a situation, the adapter for the party may be retrieved from the adapter database and provided to the assistant client device.

[0111] At block 712, the system incorporates the new smart device into the home graph using the registration data. Block 712 may optionally include one or more sub-blocks. At sub-block 713, the system may store data indicating assistant client devices that can locally control the new smart device, and possibly indicating a preference for locally controlling the new smart device. At sub-block 714, the system may optionally select a home graph based on biometric data detected via one or more of the assistant client devices corresponding to an account associated with the home graph.

[0112] At block 715, the system may optionally send registration information to a third party for the new smart device.

[0113] 8 is a block diagram of an exemplary computing device 810 that may possibly be utilized to perform one or more aspects of the techniques described herein. The computing device 810 typically includes at least one processor 814 that communicates with a number of peripheral devices via a bus subsystem 812. These peripheral devices may include, for example, a storage subsystem 824 including a memory subsystem 825 and a file storage subsystem 826, a user interface output device 820, a user interface input device 822, and a network interface subsystem 816. The input and output devices enable user interaction with the computing device 810. The network interface subsystem 816 provides an interface to external networks and is coupled to corresponding interface devices in other computing devices.

[0114] The user interface input devices 822 may include keyboards and pointing devices such as a mouse, trackball, touchpad, or graphics tablet, scanners, touch screens integrated into displays, and audio input devices such as voice recognition systems, microphones, and / or other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and methods for inputting information into the computing device 810 or onto a communications network.

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

[0116] The storage subsystem 824 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, the storage subsystem 824 may contain logic for performing selected aspects of one or more methods described herein.

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

[0118] The bus subsystem 812 provides a mechanism for allowing the various components and subsystems of the computing device 810 to communicate with each other as intended. Although the bus subsystem 812 is shown diagrammatically as a single bus, alternative implementations of the bus subsystem may use multiple buses.

[0119] The computing device 810 can be of different types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of the computing device 810 shown in Figure 8 is only a specific example to illustrate some implementations. Many other configurations of the computing device 810 are possible, having more or fewer components than the computing device shown in Figure 8.

[0120] In situations where some implementations described herein may collect or use personal information about the user (e.g., user data extracted from other electronic communications, information about the user's social network, the user's location, the user's time, the user's biometric information, and user activity and demographic information, relationships between users, etc.), the user is given one or more opportunities to control whether information is collected, whether the personal information is stored, whether the personal information is used, and how information about the user is collected, stored, and used. That is, the systems and methods described herein collect, store, and / or use user personal information only upon receipt of explicit permission to do so from the relevant user.

[0121] For example, a user is given control over whether a program or feature collects user information about that particular user or other users associated with the program or feature. Each user about whom personal information is to be collected is presented with one or more options to allow control over the information collection associated with that user to give permission or permission as to whether information is to be collected and what portions of the information are to be collected. For example, a user may be given one or more such control options over a communications network. Additionally, certain data may be treated in one or more ways before being stored or used such that personally identifiable information is removed. As one example, a user's identity may be treated such that personally identifiable information cannot be determined. As another example, a user's geographic location may be generalized to a broader area such that a user's specific location cannot be determined.

[0122] In some implementations, a method is provided that is implemented by one or more processors of a client device that executes an automated assistant client, and includes identifying a generic smart device control command. The generic smart device control command specifies at least one smart device and at least one state to be changed at the smart device. The method further includes determining whether a trusted communication channel is established between the client device and the smart device, and in response to determining that a trusted communication channel is not established between the client device and the smart device, accessing a client device-to-smart device mapping stored locally at the client device to resolve additional client devices with established trusted communication channels to the smart device, and sending the generic smart device control command to the additional client device over a local network. Sending the generic smart device control command to the additional client device causes the additional client device to locally process the generic smart device control command to generate a unique command, where the unique command corresponds to the generic smart device control command and is directly interpretable by the smart device to implement a state change at the smart device, and to send the unique command over the established trusted communication channel to implement a state change at the smart device.

[0123] These and other implementations of the technology may optionally include one or more of the following features.

[0124] In some implementations, the method further includes, in response to determining that a reliable communication channel is established between the client device and the smart device, selecting a specific 3P adapter from a plurality of third-party (3P) adapters locally executable at the client device, the selection being based on the smart device control command, processing the smart device control command using the selected 3P adapter to generate a unique command, the unique command corresponding to a generic smart device control command and directly interpretable by the smart device to effect a state change at the smart device, and sending the unique command over the reliable communication channel established between the client device and the smart device to effect a state change at the smart device. In some versions of those implementations, the method further includes, prior to identifying the generic smart device control command, receiving the specific 3P adapter from a remote server at the client device, where receiving the specific 3P adapter is in response to registration of the smart device or an additional smart device of the 3P for the client device. In some additional or alternative versions of those implementations, the methods further include preemptively running a particular 3P adapter locally on the client device to reduce latency in processing the smart device control command and generating a unique command using the selected 3P adapter prior to identifying the generic smart device control command.

[0125] In some implementations, determining whether a reliable communication channel is established between the client device and the smart device includes determining whether any communication channel is established between the client device and the smart device and / or determining whether a communication channel established between the client device and the smart device has at least a threshold signal strength. Determining whether any communication channel is established and whether a communication channel has at least a threshold signal strength may be based on a client device-to-smart device mapping and / or may be based on one or more signals received over the communication channel following a most recent update of the client device-to-smart device mapping.

[0126] In some implementations, accessing the client device-to-smart device mapping stored locally at the client device to resolve an additional client device with an established reliable communication channel to the smart device includes determining, based on the client device-to-smart device mapping, that a given signal strength between the additional client device and the smart device is maximum among all client devices in the client device-to-smart device mapping.

[0127] In some implementations, the established trusted communication channel to the smart device is a Bluetooth wireless channel.

[0128] In some implementations, the generic smart device control commands are generated locally at the client device by locally processing user interface inputs received at the client device, in some of those implementations, the user interface inputs are interactions with rendered graphical user interface elements corresponding to the smart device on a touch screen of the client device.

[0129] In some implementations, the user interface input is voice input received via at least one microphone of the client device, and locally processing the user interface input includes converting the voice input to text using a speech-to-text processor and performing natural language understanding on the text to generate generic smart device control commands.

[0130] In some implementations, the method further includes receiving a voice input via at least one microphone of the client device and streaming the voice input to the remote automated assistant system. In some versions of these implementations, identifying the generic smart device control command includes receiving the generic smart device control command from the remote automated assistant system in response to streaming the voice input to the remote automated assistant system.

[0131] In some implementations, a method is provided that is implemented by one or more processors of a client device that executes an automated assistant client, and includes preemptively executing, locally on the client device, each of a plurality of 3P adapters that are each generated by a corresponding third party (3P). Each of the 3P adapters converts each of a plurality of corresponding generic smart device control commands into a corresponding unique command, and each is adjusted so that, when the corresponding unique command is sent locally to at least one corresponding smart device of the 3P, it is directly interpretable by the corresponding smart device to implement a state change in the corresponding smart device or in a corresponding additional smart device directly controlled by the corresponding smart device. The plurality of 3P adapters are preemptively executed locally on the client device, possibly in response to a previous registration of a smart device of the 3P for the client device. The method further includes identifying a specific generic smart device control command that specifies at least one specific smart device and at least one state to be changed in the specific smart device. The method further includes selecting a specific 3P adapter from the multiple 3P adapters based on the specific smart device control command, processing the specific smart device control command using the selected specific 3P adapter to generate a specific unique command from the unique commands corresponding to the smart device control command, selecting a specific communication channel assigned to the specific 3P adapter from a multiple communication channels available at the automated assistant client, and transmitting the specific unique command using the selected specific communication channel to cause at least one state to be changed at the specific smart device.

[0132] These and other implementations of the technology may optionally include one or more of the following features.

[0133] In some implementations, the multiple 3P adapters to preemptively execute on the client device are a subset of available 3P adapters stored on the client device. In some of those implementations, the method further includes selecting a specific 3P adapter from the available 3P adapters to preemptively execute on the client device. The selection may be based on one or more dynamic criteria, such as the recency of a corresponding use of the specific 3P adapter on the client device, the signal strength for a communication channel between the client device and the specific smart device corresponding to the specific 3P adapter, the time of day, and / or the day of the week.

[0134] In some implementations, the method further includes, prior to preemptively executing, receiving, at the client device, from a remote server, a particular 3P adapter, possibly in response to registration of the particular smart device, or a 3P additional smart device, for the client device.

[0135] In some implementations, an additional 3P adapter of the preemptively executed 3P adapters in the client device is assigned to an additional specific communication channel different from the specific communication channel. In some of those implementations, the specific communication channel is a first wireless channel of the client device, and the additional specific communication channel is a second wireless channel of the client device. For example, the first wireless channel can be a Bluetooth channel, and the second wireless channel can be a Wi-Fi wireless channel.

[0136] In some implementations, the specific unique commands generated by the 3P adapter conform to a specific protocol suite of the 3P adapter, and the additional 3P adapter of the 3P adapters preemptively executed in the client device generates commands conforming to an additional protocol suite different from the specific protocol suite. In some of these implementations, both the additional 3P adapter and the 3P adapter are assigned to a specific communication channel. In some versions of these implementations, the specific protocol suite of the 3P adapter does not conform to an industry adopted standard and may be proprietary to the 3P in some cases.

[0137] In some implementations, the specific generic smart device control command is generated in response to the user interface input received at the additional client device, and identifying the specific generic smart device control command includes receiving the specific generic smart device command from the additional client device via local network communication. In some of those implementations, the method further includes, prior to identifying the specific generic smart device control command, determining a signal strength for a specific communication channel between the client device and the specific smart device and transmitting data indicative of the signal strength. The specific generic smart device command can be received from the additional client device based on the transmitted data indicative of the signal strength.

[0138] In some implementations, selecting a particular 3P adapter from a plurality of 3P adapters based on the particular smart device control command includes selecting the 3P adapter based on the generic smart device control command further specifying an identifier for the 3P adapter and / or the particular smart device specified by the generic smart device control command being assigned to the 3P adapter at the client device.

[0139] In some implementations, the method further includes identifying an address for the specific smart device based on the generic smart device control command, and verifying that the specific unique command is addressed only to the address for the specific smart device. Sending the specific unique command using the selected specific communication channel may be conditioned on the verifying.

[0140] In some implementations, a method implemented by one or more processors is provided, comprising causing each assistant client device of an ecosystem of assistant client devices connected to a secure Wi-Fi network providing Internet access to scan one or more communication channels for availability of an access point being broadcast by a smart device lacking credentials for connecting to the secure Wi-Fi network. The method further includes determining that each of the assistant client devices of the ecosystem of client devices has detected availability of the access point based on data generated by the scanning. The method further includes selecting a single assistant client device from the multiple assistant client devices that have detected availability of the access point. The selection of the single assistant client device from the multiple assistant client devices may be based at least in part on human interaction data for the single assistant client device in some cases. The method further includes causing the single assistant client device to disconnect from the secure Wi-Fi network, establish a connection to the smart device via the access point after disconnecting, and securely share credentials for connecting to the secure Wi-Fi network with the smart device via the connection.

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

[0142] In some implementations, selecting the single assistant client device may be based at least in part on human interaction data for the single assistant client device and may include selecting the single assistant client device based on the human interaction data indicating that a user interface input has not been received at the single assistant client device within a threshold amount of time, selecting the single assistant client device based on the human interaction data indicating that an audible output has not been rendered by the assistant client device in response to a previously received user interface input, and / or selecting the single assistant client device based on the human interaction data indicating that the single assistant client device is utilized less frequently than any other of the multiple assistant client devices that detected the access point.

[0143] In some implementations, the method further includes receiving registration data from the smart device via a secure Wi-Fi network, and using the registration data to allocate the smart device in a stored home graph associated with an ecosystem of assistant client devices. In some of those implementations, using the registration data to allocate the smart device in the stored home graph includes allocating the smart device in the stored home graph based on a determination that biometric data detected via one or more of the assistant client devices of the ecosystem corresponds to an account associated with the stored home graph. For example, the stored home graph may be selected based on the biometric data instead of an additional home graph associated with the ecosystem of the assistant client devices and associated with an additional account. In various implementations, the biometric data includes voice data detected via one or more microphones of one or more of the assistant client devices of the ecosystem.

[0144] In some implementations, a method implemented by one or more processors is provided, comprising receiving corresponding signal strengths for corresponding connections to a smart device over a short-range radio from each of a plurality of assistant client devices, each having a corresponding short-range radio. The method further comprises determining that a given assistant device of the plurality of assistant devices is preferred for locally controlling the smart device based on the received signal strengths. The method further comprises identifying a generic smart device control command that specifies at least one smart device and at least one state to be changed at the smart device. The method further comprises, based on the determination that the given assistant device is preferred for locally controlling the smart device, sending a generic smart device control command to the given assistant device, the sending being for causing the given assistant device to locally process the generic smart device control command to generate a unique command, the unique command corresponding to the generic smart device control command and directly interpretable by the smart device to implement a change in state at the smart device, and to send the unique command over the short-range radio to implement a change in state at the smart device.

[0145] In some implementations, a method implemented by one or more processors is provided, comprising having each assistant client device of an ecosystem of assistant client devices scan one or more communication channels for any unprovisioned smart devices. The method further comprises determining that at least a given assistant client device of the ecosystem of client devices has detected a given unprovisioned smart device based on data generated by the scanning. The method further comprises having the given assistant client device process registration data provided by the given smart device in a format for 3P using a locally stored third-party (3P) adapter to generate registration information that is in a schema for an automated assistant associated with the assistant client device. The method further comprises registering the given assistant client device in association with an account associated with the ecosystem of assistant client devices using the registration information.

[0146] In some implementations, a method implemented by one or more processors is provided, comprising receiving corresponding signal strengths for corresponding connections to a smart device via short-range radio from each of a plurality of assistant client devices, each having a corresponding short-range radio. The method further comprises determining, based on the received signal strengths, that a given assistant device of the plurality of assistant devices is preferred for locally controlling the smart device. The method further comprises causing a specific third-party (3P) adapter corresponding to the smart device to be downloaded and locally stored at the given assistant device based on the determination that the given assistant device is preferred for locally controlling the smart device. The specific 3P adapter may be configured, for example, to locally process generic smart device control commands to generate specific commands, where the specific commands correspond to the generic smart device control commands and are directly interpretable by the smart device to implement state changes at the smart device.

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

[0148] The method may further include causing a particular 3P adapter to run preemptively on the given assistant device based on a determination that the given assistant device is preferred for locally controlling the smart device.

[0149] In some implementations, based on a determination that a given assistant device is preferred for locally controlling a smart device, a particular 3P adapter is downloaded only to the given assistant device, to the exclusion of others of the smart devices. [Explanation of symbols]

[0150] 101 Wireless Router, Secure Wireless Router 103 users 1051, 1052, 1053 Wide Area Networks 110 1~N Client Computing Device, Client Device, Assistant Client Device 110, 110 N , 110 1~3 Client Device 1101 client device, first client device 1102 second client device, client device, assistant client device 110 2~N Alternate Client Devices 1103 Third client device 111, 111 1~N I / O components 112 A~N wireless 113 A~N Adapter, Local Adapter 113 A , 113 B 3P adapter 114 1~N Adapter Interaction Engine 1141 Adapter Interaction Engine, Interaction Engine 115 1~N , 1151 Routing Engine 116 1~N , 1161 registered engines 117, 117 N Automated Assistant Client 1171, 117 1~N Automated Assistant Client, Assistant Client 120 Cloud-based automated assistant component, cloud-based automated assistant component, remote automated assistant component, remote cloud-based automated assistant component 121 Speech to text (STT) processor, STT module 122 NLU engine, NLU module 123 TTS Module 125 Cloud Routing Engine 127 Cloud Registration Engine 140 Smart device system, second smart device system, system 140 A~N Smart device system, first smart device system 145 Smart Devices 145 A~N Smart Devices, Devices 145 A1 The first smart device: smart lights 145 B1 The second smart device: smart lights 145 B2 The third smart device: smart lights 145 B3 Smart Doorbell 145 C1 Smart Washing Machine 145 D1 Smart Thermostat 147 B Hub, Smart Hub 150 3P Adapter Database 152, 1521, 152 1~N Home Graph Rooms 250, 252, 254, 256, 258, 260, 262 300, 400 Example state diagram 810 Computing Devices 812 Bus Subsystem 814 Processor 816 Network Interface Subsystem 820 User Interface Output Device 822 User Interface Input Devices 824 Memory Subsystem 825 Memory Subsystem, Memory 826 File Storage Subsystem 830 Main Random Access Memory (RAM) 832 Read-Only Memory (ROM)

Claims

1. A method implemented by one or more processors of a client device executing an automated assistant client, comprising: identifying a generic smart device control command specifying at least one smart device and at least one state to be changed in the smart device; the generic smart device control command is generated in response to a user interface input received at the client device; determining whether a trusted communication channel is established between the client device and the smart device; In response to determining that the trusted communication channel is not established between the client device and the smart device, accessing a locally stored client device to smart device mapping at the client device to resolve additional client devices that have an established trusted communication channel to the smart device; sending the generic smart device control command to the additional client device over a local network; The sending to the additional client device. locally processing the generic smart device control command to generate a specific command, the specific command corresponding to the generic smart device control command and directly interpretable by the smart device to implement the state change at the smart device; sending said unique command over said established trusted communication channel to effect said change of state in said smart device; The steps are The method includes:

2. In response to determining that the trusted communication channel is established between the client device and the smart device, selecting a particular third party (3P) adapter from a plurality of 3P adapters available locally on the client device, the selection being based on the generic smart device control command; using the selected 3P adapter to process the generic smart device control command to generate the specific command, the specific command corresponding to the generic smart device control command and directly interpretable by the smart device to implement the state change at the smart device; sending said unique command over the trusted communication channel established between said client device and said smart device to effect said change of state in said smart device; The method of claim 1, further comprising:

3. Prior to the step of identifying the generic smart device control command, receiving, at the client device, the particular 3P adapter from a remote server, the receiving of the particular 3P adapter being in response to registration of the smart device or an additional 3P smart device for the client device; 3. The method of claim 2, further comprising:

4. Prior to the step of identifying the generic smart device control command, preemptively executing the particular 3P adapter locally on the client device to reduce latency in processing the generic smart device control command using the selected 3P adapter to generate the specific command.

4. The method of claim 2 or 3, further comprising:

5. The step of determining whether the trusted communication channel is established between the client device and the smart device further comprises: determining whether any communication channel is established between the client device and the smart device; or determining whether an established communication channel between the client device and the smart device has at least a threshold signal strength; The method of any one of claims 1 to 4, comprising one or both of the following:

6. 6. The method of claim 5, wherein the steps of determining whether any communication channel is established and determining whether the communication channel has at least a threshold signal strength are each based on a mapping from the client device to a smart device.

7. 6. The method of claim 5, wherein the determining whether any communication channel is established and whether the communication channel has at least a threshold signal strength is each based on one or more signals received over the communication channel following a most recent update of the client device-to-smart device mapping.

8. accessing a locally stored mapping of the client device to a smart device to resolve the additional client device having the established trusted communication channel to the smart device; determining, based on the client device-to-smart device mapping, that a given signal strength between the additional client device and the smart device is the greatest among all client devices in the client device-to-smart device mapping; 8. The method of claim 1 , comprising:

9. 9. The method according to claim 1, wherein the established trusted communication channel to the smart device is a BLUETOOTH wireless channel.

10. The method of claim 1 , wherein the generic smart device control commands are generated locally at the client device by locally processing user interface inputs received at the client device.

11. The method of claim 10 , wherein the user interface input is an interaction on a touch screen of the client device with a rendered graphical user interface element corresponding to the smart device.

12. the user interface input is voice input received via at least one microphone of the client device; 11. The method of claim 10, wherein locally processing the user interface input includes converting the voice input to text using a speech-to-text processor and performing natural language understanding on the text to generate the generic smart device control command.

13. The method further comprising: receiving a voice input via at least one microphone of the client device; streaming the voice input to a remote automated assistant system; Further comprising:

10. The method of claim 1, wherein the step of identifying the generic smart device control command includes receiving the generic smart device control command from the remote automated assistant system in response to streaming the voice input to the remote automated assistant system.

14. A method implemented by one or more processors of a client device executing an automated assistant client, comprising: preemptively executing, locally on the client device, each of a plurality of third party (3P) adapters, each of which is generated by a corresponding 3P; each of the 3P adapters converts each of a plurality of corresponding generic smart device control commands into a corresponding unique command; each adapted such that, when the corresponding unique command is sent locally to at least one corresponding smart device of the 3P, it is directly interpretable by the corresponding smart device to effect a state change in the corresponding smart device or in a corresponding additional smart device directly controlled by the corresponding smart device; the plurality of 3P adapters are preemptively executed locally at the client device in response to a previous registration of the 3P smart device for the client device; identifying a specific generic smart device control command that specifies at least one specific smart device and at least one state to be changed in said specific smart device; the specific generic smart device control command is generated in response to a user interface input received at the client device or at an additional client device in local communication with the client device; selecting a specific 3P adapter from the plurality of 3P adapters based on the specific smart device control command; processing the specific smart device control command using the selected specific 3P adapter to generate a specific one of the unique commands corresponding to the smart device control command; Selecting a specific communication channel assigned to the specific 3P adapter from a plurality of communication channels available in the automated assistant client; transmitting the particular unique command using the selected particular communication channel to cause the at least one state to be changed in the particular smart device; The method includes:

15. the plurality of 3P adapters that preemptively execute on the client device are a subset of available 3P adapters stored on the client device, the method comprising: selecting the particular 3P adapter from the available 3P adapters to preemptively execute on the client device, the selection being based on one or more dynamic criteria; 15. The method of claim 14, further comprising:

16. The one or more dynamic criteria: the recency of the corresponding usage of the particular 3P adapter at the client device; and a signal strength for a communication channel between the client device and the particular smart device corresponding to the particular 3P adapter; and Time and Day of the week and The method of claim 15, comprising one or more of:

17. Prior to the step of preemptively executing, receiving, at the client device, the particular 3P adapter from a remote server, the receiving of the particular 3P adapter being in response to registration of the particular smart device or an additional smart device of the 3P for the client device; 17. The method of any one of claims 14 to 16, further comprising:

18. 18. The method of claim 14, wherein additional 3P adapters among the 3P adapters preemptively executed in the client device are assigned to additional specific communication channels different from the specific communication channel.

19. the particular communication channel is a first wireless channel of the client device; 20. The method of claim 18, wherein the additional specific communication channel is a second wireless channel of the client device.

20. the first wireless channel is a BLUETOOTH (registered trademark) wireless channel; 20. The method of claim 19, wherein the second wireless channel is a Wi-Fi wireless channel.

21. the particular unique command generated by the 3P adapter conforms to a particular protocol suite of the 3P adapter; 21. A method according to claim 14, wherein an additional 3P adapter among the 3P adapters preemptively executed in the client device generates commands conforming to an additional protocol suite different from the particular protocol suite.

22. The method of claim 21 , wherein both the additional 3P adapter and the 3P adapter are assigned to the particular communications channel.

23. 23. The method of claim 22, wherein the particular protocol suite of the 3P adapter does not conform to an industry adopted standard.

24. 23. The method of claim 22, wherein the particular protocol suite of the 3P adapter is proprietary to the 3P.

25. the specific generic smart device control command is generated in response to a user interface input received at the additional client device; said step of identifying the specific generic smart device control command further comprising: receiving the specific generic smart device command from the additional client device via local network communication; 25. The method of any one of claims 14 to 24, comprising:

26. The method further comprising: Prior to the step of identifying the specific generic smart device control command, determining a signal strength for the particular communication channel between the client device and the particular smart device; transmitting data indicative of said signal strength; Further comprising:

26. The method of claim 25, wherein the specific generic smart device command is received from the additional client device based on the transmitted data indicative of the signal strength.

27. the step of selecting the specific 3P adapter from the plurality of 3P adapters based on the specific smart device control command, The 3P adapter, the generic smart device control command further specifies an identifier for the 3P adapter; and / or The specific smart device specified by the generic smart device control command is assigned to the 3P adapter in the client device. Steps to select based on 27. The method of any one of claims 14 to 26, comprising:

28. The method further comprising: identifying an address for the specific smart device based on the generic smart device control command; verifying that the particular unique command is addressed only to the address for the particular smart device; Further comprising:

28. The method of claim 14, wherein the step of transmitting the particular unique command using the selected particular communication channel is conditional on the verifying step.

29. 1. A method implemented by one or more processors, comprising: causing each assistant client device of an ecosystem of assistant client devices connected to a secure Wi-Fi network providing Internet access to scan one or more communication channels for the availability of an access point being broadcast by a smart device lacking credentials to connect to the secure Wi-Fi network; determining, based on data generated by the scanning, that each of a plurality of assistant client devices in the ecosystem of assistant client devices has detected the availability of the access point; Selecting a single assistant client device from the plurality of assistant client devices that have detected the availability of the access point, selecting the single assistant client device from the plurality of assistant client devices based at least in part on human interaction data for the single assistant client device; the single assistant client device, disconnecting from the secure Wi-Fi network; After disconnecting the connection, establishing a connection to the smart device via the access point; securely sharing the credentials for connecting to the secure Wi-Fi network with the smart device over the connection; and causing the The method includes:

30. The step of selecting the single assistant client device based at least in part on the human interaction data for the single assistant client device includes: Selecting the single assistant client device based on the human interaction data indicating that a user interface input has not been received at the single assistant client device within a threshold amount of time.

30. The method of claim 29, comprising:

31. The step of selecting the single assistant client device based at least in part on the human interaction data for the single assistant client device includes: Selecting the single assistant client device based on the human interaction data indicating that an audible output is not being rendered by the assistant client device in response to a previously received user interface input.

31. The method of claim 29 or 30, comprising:

32. The step of selecting the single assistant client device based at least in part on the human interaction data for the single assistant client device includes: Selecting the single assistant client device based on the human interaction data indicating that the single assistant client device is utilized less frequently than any other of the plurality of assistant client devices that detected the access point.

32. The method of any one of claims 29 to 31, comprising:

33. receiving registration data from the smart device via the secure Wi-Fi network; Using the registration data, assigning the smart device within a stored home graph associated with the ecosystem of assistant client devices; 33. The method of any one of claims 29 to 32, further comprising:

34. using the registration data to allocate the smart device within the stored home graph, Allocating the smart device within the stored home graph based on a determination that biometric data detected via one or more of the assistant client devices of the ecosystem corresponds to an account associated with the stored home graph.

34. The method of claim 33, comprising:

35. based on a determination that the biometric data corresponds to the account associated with the stored home graph, allocating the smart device within the stored home graph, Selecting the stored home graph based on the biometric data instead of an additional home graph associated with the ecosystem of assistant client devices and associated with an additional account.

35. The method of claim 34, comprising:

36. 36. The method of claim 34 or 35, wherein the biometric data includes voice data detected via one or more microphones of the one or more of the assistant client devices of the ecosystem.

37. 1. A method implemented by one or more processors, comprising: receiving, from each of a plurality of assistant client devices each having a corresponding short-range radio, a corresponding signal strength for a corresponding connection to the smart device via the short-range radio; determining, based on the received signal strength, that a given assistant device among the plurality of assistant devices is preferred for locally controlling the smart device; identifying a generic smart device control command that specifies at least one smart device and at least one state to be changed in the smart device; Sending the generic smart device control command to the given assistant device based on a determination that the given assistant device is preferred for locally controlling the smart device, The transmission includes transmitting to the given assistant device, locally processing the generic smart device control command to generate a specific command, the specific command corresponding to the generic smart device control command and directly interpretable by the smart device to implement the state change at the smart device; transmitting said unique command over said short-range radio to effect said change in state in said smart device; The steps are The method includes:

38. 1. A method implemented by one or more processors, comprising: receiving, from each of a plurality of assistant client devices each having a corresponding short-range radio, a corresponding signal strength for a corresponding connection to the smart device via the short-range radio; determining, based on the received signal strength, that a given assistant device among the plurality of assistant devices is preferred for locally controlling the smart device; Based on a determination that the given assistant device is preferred for locally controlling the smart device, causing a specific third-party (3P) adapter corresponding to the smart device to be downloaded and locally stored at the given assistant device; Including, A method in which the specific 3P adapter is configured to locally process generic smart device control commands to generate specific commands, the specific commands corresponding to the generic smart device control commands and directly interpretable by the smart device to implement state changes in the smart device.

39. Causing the particular 3P adapter to run preemptively on the given assistant device based on a determination that the given assistant device is preferred for locally controlling the smart device.

39. The method of claim 38, further comprising:

40. 40. The method of claim 38 or 39, wherein, based on a determination that the given assistant device is preferred for locally controlling the smart device, the particular 3P adapter is downloaded only to the given assistant device, to the exclusion of other of the smart devices.

Citation Information

Patent Citations

  • Wireless control system, methods and apparatus

    US20120331156A1

  • Initial Camera Mode Management System

    US20140028435A1

  • Selection of a Coordinator Device for an Automated Environment

    US20170359190A1