# US 2017/0302545 A1 · Device Cloud Monitoring and Stability

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0302545 A1
- Document ID: US20170302545A1
- Status: Published application
- Kind: A1
- Application number: 15/635,397
- Filed: 2017-06-28
- Published: 2017-10-19
- Earliest claimed: 2014-12-09
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Manish Lachwani; Pratyus Patnaik; Abhinav Singh; Mark Larson; Chase Phillips
- Web page: https://patentgrep.com/patent/US20170302545A1

## CPC

- H04L 43/0811: by checking connectivity
- G06F 8/41: Compilation
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 43/0817: by checking functioning
- H04L 43/0823: Errors, e.g. transmission errors
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/50: Testing arrangements
- H04L 67/025: for remote control or remote monitoring of applications
- G06F 8/30: Creation or generation of source code
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example system may include a first device connected over respective communications interfaces to a plurality of second devices. The first device may establish respective remote terminals between the first device and one or more second devices. Establishing the respective remote terminals may indicate that the devices are in an online state. The first device may periodically update respective heartbeat files on the second devices. A respective second device may detect that a pre-determined time period has elapsed since the heartbeat file was updated. The respective second device may determine that a respective remote terminal between the first device and the respective second device has been terminated. Determining that the remote terminal has been terminated may indicate that the device is in an offline state. The respective second device may reset itself so as to transition the respective second device from the offline state to the online state.

## Claims

### Claim 1

A system comprising:
a first computing device connected over respective communications interfaces to a plurality of second computing devices, the first computing device configured to:
establish, over the respective communications interfaces, respective remote terminals between the first computing device and one or more second computing devices of the plurality of second computing devices, wherein establishing the respective remote terminals indicates that the one or more second computing devices are in an online state in which application tests are able to be performed via the respective remote terminals; and
the one or more second computing devices configured to:
periodically detect system resources that a respective initiated application test is using;
based on the detected system resources, determine that the respective initiated application test is using more than a threshold percentage of system resources of the respective second computing device; and
based on determining that the respective initiated application test is using more than a threshold percentage of system resources, terminating the respective initiated application test so as to release the system resources that the respective initiated application test is using.

### Claim 2 (depends on 1)

The system of claim 1, wherein establishing the respective remote terminals between the first computing device and the one or more second computing devices comprises connecting a terminal server of the first computing device with respective terminal daemons of the second computing devices, and wherein resetting the respective second computing device comprises restarting the terminal daemon of the respective second computing device.

### Claim 3 (depends on 1)

The system of claim 1, wherein the one or more second computing devices are further configured to:
periodically initiate installation of a respective application on a respective second computing device;
after initiating installation of the respective application, determine that the respective application failed to install, wherein determining that the respective application failed to install indicates that the respective second computing device is in an offline state in which application tests are unable to be performed via the respective remote terminals; and
based on determining that the respective application failed to install, reset the respective second computing device so as to transition the respective second computing device from the offline state to the online state.

### Claim 4 (depends on 1)

The system of claim 1, wherein the one or more second devices are further configured to:
periodically execute a respective application on a respective second computing device;
after executing the respective application, determine that the respective application failed to execute, wherein determining that the respective application failed to execute indicates that the respective second computing device is in an offline state in which application tests are unable to be performed via the respective remote terminals; and
based on determining that the respective application failed to install, reset the respective second computing device so as to transition the respective second computing device from the offline state to the online state.

### Claim 5 (depends on 1)

The system of claim 1, wherein the one or more second devices comprise respective wireless communications interfaces, and wherein the one or more second devices are further configured to:
send, by a respective second computing device to a host via a respective wireless communication interface, an echo request message that requests a response from the host;
determine that the requested response from the host failed to arrive at the respective wireless communication interface within a pre-determined period of time, wherein determining that that the requested response from the host failed to arrive at the respective wireless communication interface indicates that the respective second computing device is in an offline state in which application tests are unable to be performed via the respective remote terminals; and
reset the respective wireless communication interface so as to transition the respective second computing device from the offline state to the online state.

### Claim 6 (depends on 1)

The system of claim 1, wherein the communications interfaces comprise respective universal serial bus interfaces.

### Claim 7

A system comprising:
a first computing device connected over respective communications interfaces to a plurality of second computing devices, the first computing device configured to:
establish, over the respective communications interfaces, respective remote terminals between the first computing device and one or more second computing devices of the plurality of second computing devices, wherein establishing the respective remote terminals indicates that the one or more second computing devices are in an online state in which application tests are able to be performed via the respective remote terminals; and
the one or more second computing devices configured to:
periodically detect a battery level of a battery of a respective second computing device; and
after detecting the battery level, determine that the battery level is below a threshold battery level;
based on determining that the battery level is below the threshold battery level, determine that the respective second computing device is in an offline state in which application tests are unable to be performed via the respective remote terminal; and
send a message to the first computing device indicating that the respective second computing device is in the offline state.

### Claim 8 (depends on 7)

The system of claim 7, wherein the one or more second computing devices comprise respective batteries, and wherein the one or more second computing devices are further configured to:
periodically detect respective currents into the respective batteries;
determine that the detected respective currents into the respective batteries are below a threshold current level; and
based on determining that the detected respective currents into the respective batteries are below the threshold current level, determine that the one or more second computing devices are in the offline state in which application tests are unable to be performed via the respective remote terminals.

### Claim 9 (depends on 7)

The system of claim 7, wherein the one or more second computing devices are further configured to:
periodically initiate installation of respective applications on the one or more second computing devices;
after initiating installation of the respective applications, determine that the respective applications failed to install, wherein determining that the respective application failed to install indicates that the one or more second computing devices are in the offline state in which application tests are unable to be performed via the respective remote terminals; and
based on determining that the respective applications failed to install, reset the one or more second computing devices so as to transition the one or more second computing devices from the offline state to the online state.

### Claim 10 (depends on 7)

The system of claim 7, wherein the one or more second computing devices are further configured to:
initiate, via the respective remote terminals, respective application tests on the one or more second computing devices.

### Claim 11 (depends on 10)

The system of claim 10, wherein the one or more second computing devices are further configured to:
detect one or more respective popups being initiated on the one or more second computing devices, wherein the one or more respective popups are interrupting the respective application tests on the one or more second computing devices; and
clear the one or more popups on the one or more second computing devices so as to continue the respective application tests on the one or more second computing devices.

### Claim 12 (depends on 10)

The system of claim 10, wherein the one or more second computing devices are further configured to:
periodically detect system resources that the respective initiated application test is using;
determine that the respective initiated application tests are using more than a threshold percentage of system resources of the respective second computing devices; and
based on determining that the respective initiated application tests are using more than the threshold percentage of system resources, terminate the respective initiated application test so as to release the system resources that respective initiated application test is using.

### Claim 13 (depends on 7)

The system of claim 7, wherein the one or more second computing devices are further configured to:
periodically detect respective execution states of one or more respective services of the one or more second computing devices, wherein the initiating the respective application tests comprises invoking the one or more respective services;
based on the detected respective execution states, determine that the one or more respective services have terminated execution, wherein determining that the one or more respective services have terminated execution indicates that the one or more second computing devices are in the offline state in which application tests are unable to be performed via the respective remote sessions; and
based on determining that the one or more respective services have terminated execution, reset the one or more second computing devices so as to transition the one or more second computing devices from the offline state to the online state.

### Claim 14

A system comprising:
a first computing device connected over respective communications interfaces to a plurality of second computing devices, the first computing device configured to:
establish, over the respective communications interfaces, respective remote terminals between the first computing device and one or more second computing devices of the plurality of second computing devices, wherein establishing the respective remote terminals indicates that the one or more second computing devices are in an online state in which application tests are able to be performed via the respective remote terminals; and
the one or more second computing devices comprising respective batteries, and the one or more second computing devices configured to:
periodically detecting respective temperatures of the respective batteries;
determining that the detected respective temperatures of the respective batteries are above a threshold temperature level; and
based on determining that the detected respective temperatures of the respective batteries are above the threshold temperature level, determining that the one or more second computing devices are in an offline state in which application tests are unable to be performed via the respective remote terminals.

### Claim 15 (depends on 14)

The system of claim 14, wherein establishing the respective remote terminals between the first computing device and the one or more second computing devices comprises connecting a terminal server of the first computing device with respective terminal daemons of the second computing devices, and wherein resetting the respective second computing device comprises restarting the terminal daemon of the respective second computing device.

### Claim 16 (depends on 14)

The system of claim 14, wherein the one or more second computing devices are further configured to:
periodically initiate installation of a respective application on a respective second computing device;
after initiating installation of the respective application, determine that the respective application failed to install, wherein determining that the respective application failed to install indicates that the respective second computing device is in the offline state in which application tests are unable to be performed via the respective remote terminals; and
based on determining that the respective application failed to install, reset the respective second computing device so as to transition the respective second computing device from the offline state to the online state.

### Claim 17 (depends on 14)

The system of claim 14, wherein the one or more second devices are further configured to:
periodically execute a respective application on a respective second computing device;
after executing the respective application, determine that the respective application failed to execute, wherein determining that the respective application failed to execute indicates that the respective second computing device is in the offline state in which application tests are unable to be performed via the respective remote terminals; and
based on determining that the respective application failed to install, reset the respective second computing device so as to transition the respective second computing device from the offline state to the online state.

### Claim 18 (depends on 14)

The system of claim 14, wherein the one or more second devices comprise respective wireless communications interfaces, and wherein the one or more second devices are further configured to:
send, by a respective second computing device to a host via a respective wireless communication interface, an echo request message that requests a response from the host;
determine that the requested response from the host failed to arrive at the respective wireless communication interface within a pre-determined period of time, wherein determining that that the requested response from the host failed to arrive at the respective wireless communication interface indicates that the respective second computing device is in the offline state in which application tests are unable to be performed via the respective remote terminals; and
reset the respective wireless communication interface so as to transition the respective second computing device from the offline state to the online state.

### Claim 19 (depends on 14)

The system of claim 14, wherein the communications interfaces comprise respective universal serial bus interfaces.

### Claim 20 (depends on 14)

The system of claim 14, wherein the one or more second computing devices are further configured to:
periodically detect respective currents into the respective batteries;
determine that the detected respective currents into the respective batteries are below a threshold current level; and
based on determining that the detected respective currents into the respective batteries are below the threshold current level, determine that the one or more second computing devices are in the offline state in which application tests are unable to be performed via the respective remote terminals.
