# US 2024/0267767 A1 · State detection method and apparatus, terminal, and storage medium

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

- Number: US 2024/0267767 A1
- Document ID: US20240267767A1
- Status: Published application
- Kind: A1
- Application number: 18/563,947
- Filed: 2023-05-31
- Published: 2024-08-08
- Earliest claimed: 2022-08-18
- Assignees: Tp-Link Corporation Limited
- Applicants: TP-Link Corporation Limited
- Inventors: Xiana LIN
- Web page: https://patentgrep.com/patent/US20240267767A1

## CPC

- H04W 24/08: Testing, {supervising or monitoring} using real traffic
- Y02D 30/70: in wireless communication networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present disclosure discloses a state detection method and apparatus, a terminal, and a storage medium. The method includes: obtaining channel metric data of a device in a target scenario; determining channel change degree metric data based on the channel metric data; determining, based on the channel change degree metric data and environmental metric data, a state detection threshold corresponding to the target scenario; and detecting a target state of the device in the target scenario according to the state detection threshold and the channel change degree metric data.

## Claims

### Claim 1

A state detection method, comprising:
obtaining channel metric data of a device in a target scenario;
determining channel change degree metric data based on the channel metric data;
determining, based on the channel change degree metric data and environmental metric data, a state detection threshold corresponding to the target scenario; and
detecting a target state of the device in the target scenario according to the state detection threshold and the channel change degree metric data.

### Claim 2 (depends on 1)

The state detection method according to claim 1, wherein determining, based on the channel change degree metric data and the environmental metric data, the state detection threshold corresponding to the target scenario comprises:
determining target environmental metric data and a mapping function based on the channel change degree metric data and the environmental metric data, wherein the mapping function is used for representing a mapping relationship between the channel change degree metric data and the environmental metric data; and
inputting the target environmental metric data into the mapping function to output the state detection threshold.

### Claim 3 (depends on 2)

The state detection method according to claim 2, wherein determining the target environmental metric data and the mapping function based on the channel change degree metric data and the environmental metric data comprises:
extracting distribution parameters from the environmental metric data;
utilizing a first preset method for calculating correlation between the distribution parameters and the channel change degree metric data, and taking the distribution parameters corresponding to the maximum correlation value as the target environmental metric data; and
utilizing a second preset method for performing fitting on the target environmental metric data and the channel change degree metric data to obtain the mapping function.

### Claim 4 (depends on 1)

The state detection method according to claim 1, wherein detecting the target state of the device in the target scenario according to the state detection threshold and the channel change degree metric data comprises:
comparing the state detection threshold with the channel change degree metric data;
determining that the device is in a motion state in the target scenario on the condition that the state detection threshold is less than the channel change degree metric data; and
determining that the device is in a stationary state in the target scenario on the condition that the state detection threshold is greater than the channel change degree metric data.

### Claim 5 (depends on 1)

The state detection method according to claim 1, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n=1, noise reduction processing on RSSI data at the nth moment, and determining, based on the processed RSSI data, RSSI variation metric data at the nth moment; and
determining, based on CSI data at the nth moment, CSI variation metric data at the nth moment.

### Claim 6 (depends on 1)

The state detection method according to claim 1, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n being an integer greater than or equal to 2, noise reduction processing on RSSI data at the nth moment, subtracting the processed RSSI data from RSSI data at the (n−1)th moment to obtain difference data, and taking the difference data as RSSI variation metric data at the nth moment; and
processing CSI data at the nth moment and CSI data at the (n−1)th moment, and taking the processed CSI data as CSI variation metric data at the nth moment.

### Claim 7 (depends on 1)

The state detection method according to claim 1, wherein the channel change degree metric data comprises at least one of RSSI variation metric data and CSI variation metric data.

### Claim 8

(canceled)

### Claim 9

A terminal, comprising a memory, a processor, and a computer program stored on the processor and runnable on the processor, wherein the processor, when executing the computer program, is enabled to:
obtain channel metric data of a device in a target scenario;
determine channel change degree metric data based on the channel metric data;
determine, based on the channel change degree metric data and environmental metric data, a state detection threshold corresponding to the target scenario; and
detect a target state of the device in the target scenario according to the state detection threshold and the channel change degree metric data.

### Claim 10

A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to:
obtain channel metric data of a device in a target scenario;
determine channel change degree metric data based on the channel metric data;
determine, based on the channel change degree metric data and environmental metric data, a state detection threshold corresponding to the target scenario; and
detect a target state of the device in the target scenario according to the state detection threshold and the channel change degree metric data.

### Claim 11 (depends on 2)

The state detection method according to claim 2, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n=1, noise reduction processing on RSSI data at the nth moment, and determining, based on the processed RSSI data, RSSI variation metric data at the nth moment; and
determining, based on CSI data at the nth moment, CSI variation metric data at the nth moment.

### Claim 12 (depends on 3)

The state detection method according to claim 3, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n=1, noise reduction processing on RSSI data at the nth moment, and determining, based on the processed RSSI data, RSSI variation metric data at the nth moment; and
determining, based on CSI data at the nth moment, CSI variation metric data at the nth moment.

### Claim 13 (depends on 4)

The state detection method according to claim 4, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n=1, noise reduction processing on RSSI data at the nth moment, and determining, based on the processed RSSI data, RSSI variation metric data at the nth moment; and
determining, based on CSI data at the nth moment, CSI variation metric data at the nth moment.

### Claim 14 (depends on 2)

The state detection method according to claim 2, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n being an integer greater than or equal to 2, noise reduction processing on RSSI data at the nth moment, subtracting the processed RSSI data from RSSI data at the (n−1)th moment to obtain difference data, and taking the difference data as RSSI variation metric data at the nth moment; and
processing CSI data at the nth moment and CSI data at the (n−1)th moment, and taking the processed CSI data as CSI variation metric data at the nth moment.

### Claim 15 (depends on 3)

The state detection method according to claim 3, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n being an integer greater than or equal to 2, noise reduction processing on RSSI data at the nth moment, subtracting the processed RSSI data from RSSI data at the (n−1)th moment to obtain difference data, and taking the difference data as RSSI variation metric data at the nth moment; and
processing CSI data at the nth moment and CSI data at the (n−1)th moment, and taking the processed CSI data as CSI variation metric data at the nth moment.

### Claim 16 (depends on 4)

The state detection method according to claim 4, wherein the channel metric data comprises RSSI data at the nth moment and/or CSI data at the nth moment, and the channel change degree metric data comprises RSSI variation metric data at the nth moment and/or CSI variation metric data at the nth moment; and
determining the channel change degree metric data based on the channel metric data comprises:
performing, in the case of n being an integer greater than or equal to 2, noise reduction processing on RSSI data at the nth moment, subtracting the processed RSSI data from RSSI data at the (n−1)th moment to obtain difference data, and taking the difference data as RSSI variation metric data at the nth moment; and
processing CSI data at the nth moment and CSI data at the (n−1)th moment, and taking the processed CSI data as CSI variation metric data at the nth moment.

### Claim 17 (depends on 2)

The state detection method according to claim 2, wherein the channel change degree metric data comprises at least one of RSSI variation metric data and CSI variation metric data.

### Claim 18 (depends on 3)

The state detection method according to claim 3, wherein the channel change degree metric data comprises at least one of RSSI variation metric data and CSI variation metric data.

### Claim 19 (depends on 4)

The state detection method according to claim 4, wherein the channel change degree metric data comprises at least one of RSSI variation metric data and CSI variation metric data.
