Method and apparatus for controlling smart device
First Claim
1. A method for use in a controlling device, comprising:
- when a first hand gesture is detected, releasing a control relationship with a first controlled device according to the first hand gesture and a first mapping relationship, the first mapping relationship including a corresponding relationship between hand gestures and respective control functions, the first controlled device being controlled by the controlling device before the first hand gesture is detected;
when a second hand gesture is detected, determining a second controlled device according to the second hand gesture and a second mapping relationship, the second mapping relationship including a corresponding relationship between hand gestures and locations of respective controlled devices, wherein when the first hand gesture and the second hand gesture are performed by two hands, respectively, the determining of the second controlled device according to the second hand gesture and the second mapping relationship further comprises;
when the first hand gesture and the second hand gesture are detected approximately at the same time, determining the second controlled device according to the second hand gesture and the second mapping relationship;
after the control relationship with the first controlled device is released, establishing a control relationship with the second controlled device;
acquiring a third hand gesture; and
controlling, according to the third hand gesture and the first mapping relationship, the second controlled device to perform an operation corresponding to the third hand gesture.
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 first hand gesture is detected, preparing to switch a control relationship according to the first hand gesture and a first mapping relationship, the first mapping relationship including a corresponding relationship between hand gestures and respective control functions; when a second hand gesture is detected, determining a target controlled device according to the second hand gesture and a second mapping relationship, the second mapping relationship including a corresponding relationship between hand gestures and locations of respective controlled devices; establishing a first control relationship with the target controlled device; acquiring a third hand gesture; and controlling, according to the third hand gesture and the first mapping relationship, the target controlled device to perform an operation corresponding to the third hand gesture.
17 Citations
11 Claims
-
1. A method for use in a controlling device, comprising:
-
when a first hand gesture is detected, releasing a control relationship with a first controlled device according to the first hand gesture and a first mapping relationship, the first mapping relationship including a corresponding relationship between hand gestures and respective control functions, the first controlled device being controlled by the controlling device before the first hand gesture is detected; when a second hand gesture is detected, determining a second controlled device according to the second hand gesture and a second mapping relationship, the second mapping relationship including a corresponding relationship between hand gestures and locations of respective controlled devices, wherein when the first hand gesture and the second hand gesture are performed by two hands, respectively, the determining of the second controlled device according to the second hand gesture and the second mapping relationship further comprises; when the first hand gesture and the second hand gesture are detected approximately at the same time, determining the second controlled device according to the second hand gesture and the second mapping relationship; after the control relationship with the first controlled device is released, establishing a control relationship with the second controlled device; acquiring a third hand gesture; and controlling, according to the third hand gesture and the first mapping relationship, the second controlled device to perform an operation corresponding to the third hand gesture. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A controlling device, comprising:
-
one or more processors; and a memory for storing instructions executable by the one or more processors; wherein the one or more processors are configured to; when a first hand gesture is detected, release a control relationship with a first controller device according to the first hand gesture and a first mapping relationship, the first mapping relationship including a corresponding relationship between hand gestures and respective control functions, the first controlled device being controlled by the controlling device before the first hand gesture is detected; when a second hand gesture is detected, determine a second controlled device according to the second hand gesture and a second mapping relationship, the second mapping relationship including a corresponding relationship between hand gestures and locations of respective controlled devices; after the control relationship with the first controlled device is released, establish a control relationship with the second controlled device; acquire a third hand gesture; and control, according to the third hand gesture and the first mapping relationship, the second controlled device to perform an operation corresponding to the third hand gesture; wherein when the first hand gesture and the second hand gesture are performed by two hands respectively, the one or more processors are further configured to; when the first hand gesture and the second hand gesture are detected approximately at the same time, determine the second controlled device according to the second hand gesture and the second mapping relationship. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a controlling device, cause the controlling device to perform:
-
when a first hand gesture is detected, releasing a control relationship with a first controlled device according to the first hand gesture and a first mapping relationship, the first mapping relationship including a corresponding relationship between hand gestures and respective control functions, the first controlled device being controlled by the controlling device before the first hand gesture is detected; when a second hand gesture is detected, determining a second controlled device according to the second hand gesture and a second mapping relationship, the second mapping relationship including a corresponding relationship between hand gestures and locations of respective controlled devices, wherein when the first hand gesture and the second hand gesture are performed by two hands, respectively, the determining of the second controlled device according to the second hand gesture and the second mapping relationship further comprises; when the first hand gesture and the second hand gesture are detected approximately at the same time, determining the second controlled device according to the second hand gesture and the second mapping relationship; after the control relationship with the first controlled device is released, establishing a first control relationship with the second controlled device; acquiring a third hand gesture; and controlling, according to the third hand gesture and the first mapping relationship, the second controlled device to perform an operation corresponding to the third hand gesture.
-
Specification