IP Library Granted Patent US 10,129,044
Granted Patent B2
US 10,129,044 · App. 15/093,931 · Granted Nov 13, 2018

Method and apparatus for controlling smart device

Inventors: Mingxue Kangshang (Beijing, CN); Ying Wang (Beijing, CN); Chengxing Gao (Beijing, CN)
Assignee: Xiaomi Inc.
H04L12/2803G05B19/042G06F3/0481G06F21/31H04L12/6418H04W12/08G05B2219/2642H04W12/06H04W88/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,129,044
App. No.
15/093,931
Granted
Nov 13, 2018
Kind
B2
Abstract

The present disclosure relates to a method and an apparatus for controlling a smart device. The method includes: when a screen of the terminal is locked and it is determined that a user performs a first preset operation on a control key on the lock screen of the terminal, acquiring information regarding at least one smart device through a preset smart-home Internet-of-Things (IoT) protocol and displaying the acquired information on a control interface of the terminal; and when it is detected that the user performs a second preset operation related to a smart device displayed on the control interface, controlling, according to the second preset operation, the smart device through the smart-home IoT protocol.

Claims (69)

1. A method for use in a terminal, comprising:

when a screen of the terminal is locked and it is determined that a user performs a first preset operation on a control key on the lock screen of the terminal, acquiring information regarding at least one smart device through a preset smart-home Internet-of-Things (IoT) protocol and displaying the acquired information on a control interface of the terminal; and

when it is detected that the user performs a second preset operation related to a smart device displayed on the control interface, controlling, according to the second preset operation, the smart device through the smart-home IoT protocol,

wherein the controlling, according to the second preset operation, of the smart device comprises:

determining an operation type of the second preset operation;

if the operation type indicates that the user clicks the smart device on the control interface, determining, according to a security attribute of the lock screen, whether to call a user interface of a smart device application corresponding to the smart device through the smart-home IoT protocol; and

if the operation type indicates that the user operates a control shortcut associated with the smart device, controlling, according to the operation on the control shortcut, the smart device through the smart-home IoT protocol.

2. The method according to claim 1 , wherein the first preset operation is a long-press on the control key, and the method further comprises:

monitoring whether the user long-presses the control key; and

if a long-press on the control key is detected, determining that the user performs the first preset operation on the control key.

3. The method according to claim 1 , wherein the first preset operation is a click on the control key, and the method further comprises:

monitoring whether the user clicks the control key; and

if a click on the control key is detected, determining that the user performs the first preset operation on the control key.

4. The method according to claim 1 , wherein the first preset operation is a slide on the control key in a preset direction, and the method further comprises:

determining a direction of sliding the control key by the user; and

if the direction of sliding the control key matches a preset direction, determining that the user performs the first preset operation on the control key.

5. The method according to claim 1 , wherein the acquiring of the information regarding the at least one smart device through the preset smart-home IoT protocol and the displaying of the acquired information on the control interface comprise:

determining a smart device application on the terminal through the preset smart-home IoT protocol, the smart device application being configured to control one or more smart devices;

acquiring, through the preset smart-home IoT protocol, a current operating state of a smart device controlled by the smart device application; and

displaying the smart device and the current operating state of the smart device on the control interface.

6. The method according to claim 1 , wherein the determining, according to the security attribute of the lock screen, of whether to call the user interface of the smart device application corresponding to the smart device through the smart-home IoT protocol comprises:

if the security attribute of the lock screen indicates that no password is set for the lock screen by the user, determining to call the user interface of the smart device application corresponding to the smart device.

7. The method according to claim 1 , wherein the determining, according to the security attribute of the lock screen, of whether to call the user interface of the smart device application corresponding to the smart device through the smart-home IoT protocol comprises:

if the security attribute of the lock screen indicates that a password is set for the lock screen by the user, displaying a pop-up page to receive user input of the password; and

after receiving the user input of the password on the pop-up page, determining to call the user interface of the smart device application corresponding to the smart device through the smart-home IoT protocol.

8. The method according to claim 1 , further comprising:

displaying the user interface of the smart device application on the lock screen; and

controlling the smart device through the user interface of the smart device application.

9. The method according to claim 8 , wherein the controlling of the smart device through the user interface of the smart device application comprises:

detecting a user instruction entered on the user interface of the smart device application; and

sending the user instruction to the smart device through the smart-home IoT protocol.

10. The method according to claim 1 , wherein the displaying of the acquired information on the control interface comprises:

determining display parameters of the control interface; and

displaying the control interface on the lock screen according to the display parameters.

11. An apparatus for controlling a smart device, comprising:

a processor; and

a memory storing instructions executable by the processor;

wherein the processor is configured to:

when a screen of the apparatus is locked and it is determined that a user performs a first preset operation on a control key on the lock screen, acquire information regarding at least one smart device through a preset smart-home Internet-of-Things (IoT) protocol and display the acquired information on a control interface; and

when it is detected that the user performs a second preset operation related to a smart device displayed on the control interface, controlling, according to the second preset operation, the smart device through the smart-home IoT protocol,

wherein in controlling, according to the second preset operation, the smart device through the smart-home IoT protocol, the processor is further configured to:

determine an operation type of the second preset operation;

if the operation type indicates that the user clicks the smart device on the control interface, determine, according to a security attribute of the lock screen, whether to call a user interface of a smart device application corresponding to the smart device through the smart-home IoT protocol; and

if the operation type indicates that the user operates a control shortcut associated with the smart device, control, according to the operation on the control shortcut, the smart device through the smart-home IoT protocol.

12. The apparatus according to claim 11 , wherein the processor is further configured to:

monitor whether the user long-presses the control key; and

if a long-press on the control key is detected, determine that the user performs the first preset operation on the control key.

13. The apparatus according to claim 11 , wherein the processor is further configured to:

determine a direction of sliding the control key by the user; and

if the direction of sliding the control key matches a preset direction, determine that the user performs the first preset operation on the control key.

14. The apparatus according to claim 11 , wherein the processor is further configured to:

determine a smart device application installed on the terminal through the preset smart-home IoT protocol, the smart device application being configured to control one or more smart devices;

acquire, through the smart-home IoT protocol, a current operating state of a smart device controlled by the smart device application; and

display the smart device and the current operating state of the smart device on the control interface.

15. The apparatus according to claim 11 , wherein the processor is further configured to:

if the security attribute of the lock screen indicates that no password is set for the lock screen by the user, determine to call the user interface of the smart device application corresponding to the smart device.

16. The apparatus according to claim 11 , wherein the processor is further configured to:

if the security attribute of the lock screen indicates that a password is set for the lock screen by the user, display a pop-up page to receive user input of the password; and

after receiving the user input of the password on the pop-up page, determine to call the user interface of the smart device application corresponding to the smart device through the smart-home IoT protocol.

17. The apparatus according to claim 11 , wherein the processor is further configured to:

display the user interface of the smart device application on the lock screen; and

control the smart device through the user interface of the smart device application.

18. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor in an apparatus for controlling a smart device, cause the apparatus to perform:

when a screen of the apparatus is locked and it is determined that a user performs a first preset operation on a control key on the lock screen, acquiring information regarding at least one smart device through a preset smart-home Internet-of-Things (IoT) protocol and displaying the acquired information on a control interface; and

when it is detected that the user performs a second preset operation related to a smart device displayed on the control interface, controlling, according to the second preset operation, the smart device through the smart-home IoT protocol,

wherein the controlling, according to the second preset operation, of the smart device comprises:

determining an operation type of the second preset operation;

if the operation type indicates that the user clicks the smart device on the control interface, determining, according to a security attribute of the lock screen, whether to call a user interface of a smart device application corresponding to the smart device through the smart-home IoT protocol; and

if the operation type indicates that the user operates a control shortcut associated with the smart device, controlling, according to the operation on the control shortcut, the smart device through the smart-home IoT protocol.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2016
From: KANGSHANG, MINGXUE; WANG, YING; GAO, CHENGXING
To: XIAOMI INC.
Reel/Frame 038226/0158 →
Priority Claims (1)
CN 2014 1 0856491 · Dec 31, 2014 · national
Continuity (2)
Continuation PCTCN2015093857 · Nov 5, 2015
Related Publication 20160226674A1 · Aug 4, 2016
Cited By (16)
US 12,197,699 US 12,223,228 US 12,244,755 US 12,254,171 US 12,265,696 US 12,333,124 US 12,381,880 US 12,405,717 US 12,423,052 US 12,504,944 US 12,526,361 US 12,563,299 US 12,578,757 US 12,596,520 US 12,615,491 US 12,676,927