# US 2022/0279462 A1 · Device control method and apparatus

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

- Number: US 2022/0279462 A1
- Document ID: US20220279462A1
- Status: Published application
- Kind: A1
- Application number: 17/514,782
- Filed: 2021-10-29
- Published: 2022-09-01
- Earliest claimed: 2021-02-26
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Laijun YAN; Bing ZHAO
- Web page: https://patentgrep.com/patent/US20220279462A1

## CPC

- G05B 19/0421: {Multiprocessor system}
- H04W 52/367: {Power values between minimum and maximum limits, e.g. dynamic range}
- H04W 8/005: {Discovery of network devices, e.g. terminals}
- G05B 2219/2642: Domotique, domestic, home control, automation, smart house
- H04W 84/005: {Moving wireless networks}
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W 88/16: Gateway arrangements
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A device control method and an apparatus are provided. The device control method, applied to a main control device, includes: receiving a control instruction; sending a first signal to candidate controlled devices according to the control instruction; receiving second signals sent by the candidate controlled devices in response to the first signal, where the second signal carries a transmit power value of the candidate controlled device; determining a candidate controlled device corresponding to a minimum signal attenuation value as a target controlled device according to received power values for receiving the second signals by the main control device and the transmit power values of the candidate controlled devices carried in the second signals; and sending the control instruction to the target controlled device.

## Claims

### Claim 1

A device control method, comprising:
receiving, by a main control device, a control instruction;
sending, by the main control device, a first signal to candidate controlled devices according to the control instruction;
receiving, by the main control device, second signals sent by the candidate controlled devices in response to the first signal, wherein the second signals carry transmit power values of the candidate controlled devices;
determining, by the main control device, a candidate controlled device corresponding to a minimum signal attenuation value as a target controlled device according to received power values for receiving the second signals by the main control device and the transmit power values of the candidate controlled devices carried in the second signals; and
sending, by the main control device, the control instruction to the target controlled device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the candidate receiving device corresponding to the minimum signal attenuation value as the target controlled device according to the received power values for receiving the second signals by the main control device and the transmit power values of the candidate controlled devices carried in the second signals, comprises:
determining differences between the transmit power values and the received power values; and
determining a candidate controlled device corresponding to a smallest difference as the target controlled device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first signal comprises a discovery request signal, and the second signal comprises a discovery response signal.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the discovery request signal is a discovery request signal of Wi-Fi direct communication, and the discovery response signal is a discovery response signal of Wi-Fi direct communication.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the discovery request signal is a discovery request signal of device-to-device (D2D) communication, and the discovery response signal is a discovery response signal of D2D communication.

### Claim 6 (depends on 1)

The method according to claim 1, wherein sending the first signal to the candidate controlled devices comprises:
sending the first signal to the candidate controlled devices through access gateways between the main control device and the candidate controlled devices.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the main control device stores device identifiers of the candidate controlled devices, and sending the control instruction to the target controlled device comprises:
sending the control instruction to the target controlled device according to a device identifier of the target controlled device.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the control instruction carries indication information that represents a device type; and
sending the first signal to the candidate controlled devices according to the control instruction comprises:
sending the first signal to the candidate controlled devices corresponding to the device type represented by the indication information according to the indication information carried in the control instruction.

### Claim 9

A device control method, comprising:
receiving, by a control device, a first signal sent by a main control device according to a received control instruction;
in response to the first signal, sending, by the control device, a second signal to the main control device, wherein the second signal carries a transmit power value of the controlled device; and the transmit power value is used by the main control device to determine a target controlled device that executes the control instruction from a plurality of controlled devices; and
in response to determining that the controlled device is the target controlled device, receiving, by the control device, the control instruction sent by the main control device.

### Claim 10 (depends on 9)

The method according to claim 9, wherein receiving the first signal sent by the main control device according to the received control instruction comprises:
receiving the first signal sent by the main control device according to the received control instruction through an access gateway between the main control device and the controlled device.

### Claim 11

A device control apparatus, applied to a main control device, comprising:
a processor; and
a memory for storing instructions executable by the processor;
wherein the processor is configured to:
receive a control instruction;
send a first signal to candidate controlled devices according to the control instruction;
receive second signals sent by the candidate controlled devices in response to the first signal, wherein the second signals carry transmit power values of the candidate controlled devices;
determine a candidate controlled device corresponding to a minimum signal attenuation value as a target controlled device according to received power values for receiving the second signals by the main control device and the transmit power values of the candidate controlled devices carried in the second signals; and
send the control instruction to the target controlled device.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein
the processor is further configured to determine differences between the transmit power values and the received power values and determine a candidate controlled device corresponding to a smallest difference as the target controlled device.

### Claim 13 (depends on 11)

The apparatus according to claim 11, wherein the first signal comprises a discovery request signal, and the second signal comprises a discovery response signal.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the discovery request signal is a discovery request signal of Wi-Fi direct communication, and the discovery response signal is a discovery response signal of Wi-Fi direct communication.

### Claim 15 (depends on 13)

The apparatus according to claim 13, wherein the discovery request signal is a discovery request signal of device-to-device (D2D) communication, and the discovery response signal is a discovery response signal of D2D communication.

### Claim 16 (depends on 11)

The apparatus according to claim 11, wherein
the processor is further configured to send the first signal to the candidate controlled devices through access gateways between the main control device and the candidate controlled devices.

### Claim 17 (depends on 11)

The apparatus according to claim 11, wherein the main control device stores device identifiers of the candidate controlled devices, and
the processor is further configured to send the control instruction to the target controlled device according to a device identifier of the target controlled device.

### Claim 18 (depends on 11)

The apparatus according to claim 11, wherein the control instruction carries indication information that represents a device type; and
the processor is further configured to send the first signal to the candidate controlled devices corresponding to the device type represented by the indication information according to the indication information carried in the control instruction.

### Claim 19

A device control apparatus, applied to a controlled device, comprising:
a processor; and
a memory for storing instructions executable by the processor;
wherein the processor is configured to:
receive a first signal sent by a main control device according to a received control instruction;
send a second signal to the main control device in response to the first signal, wherein the second signal carries a transmit power value of the controlled device, and the transmit power value is used by the main control device to determine a target controlled device that executes the control instruction from a plurality of controlled devices; and
in response to determining that the controlled device is the target controlled device, receive the control instruction sent by the main control device.

### Claim 20 (depends on 19)

The apparatus according to claim 19, wherein
the processor is further configured to receive the first signal sent by the main control device according to the received control instruction through an access gateway between the main control device and the controlled device.
