# US 2019/0380029 A1 · Method For Securely Controlling Smart Home, And Terminal Device

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

- Number: US 2019/0380029 A1
- Document ID: US20190380029A1
- Status: Published application
- Kind: A1
- Application number: 16/463,514
- Filed: 2017-03-30
- Published: 2019-12-12
- Earliest claimed: 2016-11-26
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jianfeng XU
- Web page: https://patentgrep.com/patent/US20190380029A1

## CPC

- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/50: Secure pairing of devices
- H04L 9/32: including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials}
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/35: {Protecting application or service provisioning, e.g. securing SIM application provisioning}
- H04W 12/55: involving three or more devices, e.g. group pairing
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for securely controlling a smart home, and a terminal device are provided, to resolve a prior-art problem that an intelligent terminal device is counterfeited. The method includes: displaying, by an intelligent terminal device, at least one operation indication for a smart home device when the intelligent terminal device receives an operation instruction entered by a user to add the smart home device, where the operation indication is used to instruct the user to perform function control on the smart home device; and generating, by the intelligent terminal device when determining an operation indication selected by the user from the at least one operation indication, a first key based on the selected operation indication, where the first key is used by the intelligent terminal device to encrypt information to be sent to the smart home device.

## Claims

### Claim 1

A method for securely controlling a smart home device, wherein the method comprises:
displaying, by an intelligent terminal device, at least one operation indication for a smart home device when the intelligent terminal device receives an operation instruction entered by a user to add the smart home device, wherein the operation indication is used to instruct the user to perform function control on the smart home device; and
generating, by the intelligent terminal device when determining an operation indication selected by the user from the at least one operation indication, a first key based on the selected operation indication, wherein the first key is used by the intelligent terminal device to encrypt information to be sent to the smart home device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein, after the displaying, by an intelligent terminal device, at least one operation indication for a smart home device when the intelligent terminal device receives an operation instruction entered by a user to add the smart home device, the method further comprises:
receiving, by the intelligent terminal device, the operation indication selected by the user from the at least one operation indication.

### Claim 3 (depends on 1)

The method according to claim 1, wherein, after the generating, by the intelligent terminal device when determining an operation indication selected by the user from the at least one operation indication, a first key based on the selected operation indication, the method further comprises:
generating, by the intelligent terminal device, a second key based on the first key, wherein the second key is used by the intelligent terminal device to encrypt the information to be sent to the smart home device.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, after the generating, by the intelligent terminal device when determining an operation indication selected by the user from the at least one operation indication, a first key based on the selected operation indication, the method further comprises:
encrypting, by the intelligent terminal device by using the first key, authentication information for controlling the intelligent terminal device to access a Wi-Fi network and
sending encrypted authentication information of the Wi-Fi network to the smart home device, wherein the authentication information comprises at least one of a name, a password, or a certificate of the Wi-Fi network.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the operation indication is determined based on a type of the smart home device.

### Claim 6

A method for securely controlling a smart home device, wherein the method comprises:
receiving, by a smart home device, a function control instruction triggered by a user, wherein the function control instruction is entered by the user based on at least one operation indication displayed on an intelligent terminal device, and wherein the operation indication is used to instruct the user to perform function control on the smart home device; and
generating, by the smart home device, a first key based on the function control instruction, wherein the first key is used to decrypt encrypted information sent by the intelligent terminal device to the smart home device.

### Claim 7 (depends on 6)

The method according to claim 6, wherein, after the generating, by the smart home device, a first key based on the function control instruction, the method further comprises:
generating, by the intelligent terminal device, a second key based on the first key, wherein the second key is used to decrypt the encrypted information sent by the intelligent terminal device to the smart home device.

### Claim 8 (depends on 6)

The method according to claim 6, wherein, after the generating, by the smart home device, a first key based on the function control instruction, the method further comprises:
receiving, by the smart home device, encrypted authentication information that is of a Wi-Fi network and sent by the intelligent terminal device, and decrypting the encrypted authentication information of the Wi-Fi network by using the first key, to obtain decrypted authentication information of the Wi-Fi network, wherein the authentication information comprises at least one of a name, a password, or a certificate of the Wi-Fi network; and
accessing, by the smart home device, the corresponding Wi-Fi network by using the decrypted authentication information of the Wi-Fi network.

### Claim at position 9

9-16. (canceled)

### Claim 17

An intelligent terminal device, wherein the intelligent terminal device comprises:
a memory, the memory configured to store a program instruction; and
at least one processor, the at least one processor configured to invoke the program instruction stored in the memory to:
control, when an operation instruction entered by a user to add a smart home device is received, a display to display at least one operation indication for the smart home device, wherein the operation indication is used to instruct the user to perform function control on the smart home device; and
generate, when an operation indication selected by the user from the at least one operation indication is determined, a first key based on the selected operation indication, wherein the first key is used by the intelligent terminal device to encrypt information to be sent to the smart home device.

### Claim 18 (depends on 17)

The intelligent terminal device according to claim 17, wherein the at least one processor is further configured to:
receive the operation indication selected by the user from the at least one operation indication.

### Claim 19 (depends on 17)

The intelligent terminal device according to claim 17, wherein the at least one processor is further configured to:
generate a second key based on the first key, wherein the second key is used by the intelligent terminal device to encrypt the information to be sent to the smart home device.

### Claim 20 (depends on 17)

The intelligent terminal device according to claim 17, wherein the at least one processor is further configured to:
encrypt, by the intelligent terminal device by using the first key, authentication information for controlling the intelligent terminal device to access a Wi-Fi network; and
send encrypted authentication information of the Wi-Fi network to the smart home device, wherein the authentication information comprises at least one of a name, a password, or a certificate of the Wi-Fi network.

### Claim 21

A smart home device, wherein the smart home device comprises:
a memory, the memory configured to store a program instruction; and
at least one processor, the at least one processor configured to invoke the program instruction stored in the memory to:
receive a function control instruction triggered by a user, wherein the function control instruction is entered by the user based on at least one operation indication displayed on an intelligent terminal device, and wherein the operation indication is used to instruct the user to perform function control on the smart home device; and
generate a first key based on the function control instruction, wherein the first key is used to decrypt encrypted information sent by the intelligent terminal device to the smart home device.

### Claim 22 (depends on 21)

The smart home device according to claim 21, wherein the at least one processor is further configured to:
generate a second key based on the first key, wherein the second key is used to decrypt the encrypted information sent by the intelligent terminal device to the smart home device.

### Claim 23 (depends on 21)

The smart home device according to claim 21, wherein the at least one processor is further configured to:
receive encrypted authentication information that is of a Wi-Fi network and sent by the intelligent terminal device, and decrypt the encrypted authentication information of the Wi-Fi network by using the first key, to obtain decrypted authentication information of the Wi-Fi network, wherein the authentication information comprises at least one of a name, a password, or a certificate of the Wi-Fi network; and
access the corresponding Wi-Fi network by using the decrypted authentication information of the Wi-Fi network.
