Method and apparatus for controlling smart device
First Claim
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.
1 Assignment
0 Petitions
Accused Products
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.
39 Citations
18 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
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. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
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.
-
Specification