# US 2021/0345140 A1 · Determination of user presence and absence using wifi connections

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

- Number: US 2021/0345140 A1
- Document ID: US20210345140A1
- Status: Published application
- Kind: A1
- Application number: 16/864,015
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Marci Meingast; Andrew Axley; Daniele Midi
- Web page: https://patentgrep.com/patent/US20210345140A1

## CPC

- H04L 67/54: Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
- H04W 24/08: Testing, {supervising or monitoring} using real traffic
- G06N 20/00: Machine learning
- H04W 8/08: Mobility data transfer
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and techniques are provided for determination of user presence and absence using WiFi connections. Reports may be received from WiFi access points in an environment. The reports may include an identifier of a WiFi device, an indication of a connection to or disconnection from a WiFi access point, a time of the connection or disconnection, and an identifier of the WiFi access point. A connection sequence for the WiFi device may be generated from the reports. Whether the WiFi device is present in or absent from the environment as of a specified time may be determined based on the connection sequence. An indication of presence for a user associated with the WiFi device may generated if the WiFi device is present in the environment. An indication of absence for the user associated with the WiFi device may be generated if the WiFi device is absent from the environment.

## Claims

### Claim 1

A computer-implemented method performed by a data processing apparatus, the method comprising:
receiving, from WiFi access points in an environment, reports, wherein a report comprises an identifier of a WiFi device, an indication of a connection to or disconnection from one of the WiFi access points, a time of the connection or disconnection, and an identifier of the one of the WiFi access points;
generating, from the reports, a connection sequence for the WiFi device, wherein the connection sequence comprises times of connections to and times of disconnections from the WiFi access points by the WiFi device;
determining, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time; and
generating an indication of presence for a user associated with the WiFi device if it is determined that the WiFi device is present in the environment or generating an indication of absence for the user associated with the WiFi device if it is determined that the WiFi device is absent from the environment.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
generating a control signal for a controllable device in the environment based on the indication of presence or the indication absence; and
sending the control signal to the device to be implemented by the device.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining, based on time periods of connection to the WiFi access points and time periods of disconnection from the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, further comprises:
determining that the WiFi device is present in the environment if the amount of time between the start of one of the time periods of connection to any of the WiFi access points and the specified time is greater than a first threshold amount of time and the one of the time periods of connection comprises the specified time, or if a total amount of time between the start of a first of two or more consecutive time periods of connection to any of the WiFi access points and the specified time is greater than the first threshold and a last of the two or more consecutive time periods comprises the specified time.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein determining, based on time periods of connection to the WiFi access points and time periods of disconnection from the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, further comprises:
determining that the WiFi device is absent from the environment if an amount of time between the start of one of the time periods of disconnection from all of the WiFi access points is greater than a second threshold amount of time and the one of the time periods of disconnection includes the specified time.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the identifier of the WiFi device comprises a salted hashed media access control address (SHMAC).

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising, before determining, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time:
generating, from the reports, a connection time data, connects/disconnects count data, transition data, and connection/disconnection length data for the WiFi device;
receiving, from one or more sensors or devices in the environment, sensor and device data; and
generating, with a machine learning system, a WiFi device indication indicating that the WiFi device should be used to determine the presence in or absence from the environment of the user associated with the WiFi device, wherein the connection time data, the connects/disconnects count data, the transition data, and the connection/disconnection length data for the WiFi device and the sensor and device data are input to the machine learning system.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising:
receiving, from the WiFi access points in the environment, additional reports, wherein each of the additional reports comprises an identifier of a second WiFi device, an indication of a connection to or disconnection from one of the WiFi access points, a time of the connection or disconnection, and an identifier of the one of the WiFi access points;
generating, from the additional reports, second connection time data, second connects/disconnects count data, second transition data, and second connection/disconnection length data for the second WiFi device; and
generating, with the machine learning system, a second WiFi device indication indicating that the second WiFi device should not be used to determine the presence in or absence from the environment of a second user associated with the second WiFi device, wherein the second connection time data, the second connects/disconnects count data, the second transition data, and the second connection/disconnection length data for the second WiFi device and the sensor and device data are input to the machine learning system.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, further comprising:
receiving device data from the WiFi device, wherein the device data is input to the machine learning system.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the device data comprises at least one of geolocation data for the WiFi device and geofence data for the WiFi device.

### Claim 10

A computer-implemented system for determination of user presence and absence using WiFi connections comprising:
a computing device of a cloud computing system that receives, from one or more WiFi access points in an environment, reports, wherein a report comprises an identifier of a WiFi device, an indication of a connection to or disconnection from one of the WiFi access points, a time of the connection or disconnection, and an identifier of the one of the WiFi access points,
generates, from the reports, a connection sequence for the WiFi device, wherein the connection sequence comprises times of connections to and times of disconnections from the WiFi access points by the WiFi device,
determines, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, and
generates an indication of presence for a user associated with the WiFi device if it is determined that the WiFi device is present in the environment or generating an indication of absence for the user associated with the WiFi device if it is determined that the WiFi device is absent from the environment.

### Claim 11 (depends on 10)

The computer-implemented system of claim 10, wherein the computing device of the cloud computing system generates a control signal for a controllable device in the environment based on the indication of presence or the indication absence and sends the control signal to the device to be implemented by the device.

### Claim 12 (depends on 10)

The computer-implemented system of claim 10, wherein the computing device of the cloud computing system determines, based on time periods of connection to the WiFi access points and time periods of disconnection from the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, by determining that the WiFi device is present in the environment if the amount of time between the start of one of the time periods of connection to any of the WiFi access points and the specified time is greater than a first threshold amount of time and the one of the time periods of connection comprises the specified time, or if a total amount of time between the start of a first of two or more consecutive time periods of connection to any of the WiFi access points and the specified time is greater than the first threshold and a last of the two or more consecutive time periods comprises the specified time.

### Claim 13 (depends on 10)

The computer-implemented system of claim 10, wherein the computing device of the cloud computing system determines, based on time periods of connection to the WiFi access points and time periods of disconnection from the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, by determining that the WiFi device is absent from the environment if an amount of time between the start of one of the time periods of disconnection from all of the WiFi access points is greater than a second threshold amount of time and the one of the time periods of disconnection includes the specified time.

### Claim 14 (depends on 10)

The computer-implemented system of claim 10, wherein the identifier of the WiFi device comprises a salted hashed media access control address (SHMAC).

### Claim 15 (depends on 10)

The computer-implemented system of claim 10, wherein the computing device of the cloud computing system determines, before determining, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time, generates, from the reports, a connection time data, connects/disconnects count data, transition data, and connection/disconnection length data for the WiFi device, receives, from one or more sensors or devices in the environment, sensor and device data, and generates, with a machine learning system, a WiFi device indication indicating that the WiFi device should be used to determine the presence in or absence from the environment of the user associated with the WiFi device, wherein the connection time data, the connects/disconnects count data, the transition data, and the connection/disconnection length data for the WiFi device and the sensor and device data are input to the machine learning system.

### Claim 16 (depends on 15)

The computer-implemented system of claim 15, wherein the computing device of the cloud computing system further receives, from the WiFi access points in the environment, additional reports, wherein each of the additional reports comprises an identifier of a second WiFi device, an indication of a connection to or disconnection from one of the WiFi access points, a time of the connection or disconnection, and an identifier of the one of the WiFi access points, and generates, from the additional reports, second connection time data, second connects/disconnects count data, second transition data, and second connection/disconnection length data for the second WiFi device, and generates, with the machine learning system, a second WiFi device indication indicating that the second WiFi device should not be used to determine the presence in or absence from the environment of a second user associated with the second WiFi device, wherein the second connection time data, the second connects/disconnects count data, the second transition data, and the second connection/disconnection length data for the second WiFi device and the sensor and device data are input to the machine learning system.

### Claim 17 (depends on 15)

The computer-implemented system of claim 15, wherein the computing device of the cloud computing system further receives device data from the WiFi device, wherein the device data is input to the machine learning system.

### Claim 18 (depends on 17)

The computer-implemented system of claim 17, wherein the device data comprises at least one of geolocation data for the WiFi device and geofence data for the WiFi device.

### Claim 19

A system comprising: one or more computers and one or more storage devices storing instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving, from WiFi access points in an environment, reports, wherein a report comprises an identifier of a WiFi device, an indication of a connection to or disconnection from one of the WiFi access points, a time of the connection or disconnection, and an identifier of the one of the WiFi access points;
generating, from the reports, a connection sequence for the WiFi device, wherein the connection sequence comprises times of connections to and times of disconnections from the WiFi access points by the WiFi device;
determining, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time; and
generating an indication of presence for a user associated with the WiFi device if it is determined that the WiFi device is present in the environment or generating an indication of absence for the user associated with the WiFi device if it is determined that the WiFi device is absent from the environment.

### Claim 20 (depends on 19)

The system of claim 19, wherein the instructions further cause the one or more computers to perform operations comprising, before determining, based on time periods of connection to any of the WiFi access points and time periods of disconnection from all of the WiFi access points in the connection sequence, whether the WiFi device is present in the environment or absent from the environment as of a specified time:
generating, from the reports, a connection time data, connects/disconnects count data, transition data, and connection/disconnection length data for the WiFi device;
receiving, from one or more sensors or devices in the environment, sensor and device data; and
generating, with a machine learning system, a WiFi device indication indicating that the WiFi device should be used to determine the presence in or absence from the environment of the user associated with the WiFi device, wherein the connection time data, the connects/disconnects count data, the transition data, and the connection/disconnection length data for the WiFi device and the sensor and device data are input to the machine learning system.
