WO2022110352A1 - Smart home control method and apparatus, and terminal and storage medium - Google Patents

Smart home control method and apparatus, and terminal and storage medium Download PDF

Info

Publication number
WO2022110352A1
WO2022110352A1 PCT/CN2020/136692 CN2020136692W WO2022110352A1 WO 2022110352 A1 WO2022110352 A1 WO 2022110352A1 CN 2020136692 W CN2020136692 W CN 2020136692W WO 2022110352 A1 WO2022110352 A1 WO 2022110352A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart home
picture
gesture
gesture operation
terminal
Prior art date
Application number
PCT/CN2020/136692
Other languages
French (fr)
Chinese (zh)
Inventor
朱娟
Original Assignee
捷开通讯(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 捷开通讯(深圳)有限公司 filed Critical 捷开通讯(深圳)有限公司
Publication of WO2022110352A1 publication Critical patent/WO2022110352A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2614HVAC, heating, ventillation, climate control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Definitions

  • the present invention relates to the field of smart home, in particular to a smart home control method, device, terminal and storage medium.
  • users can control the temperature of the air conditioner or switch the air conditioner according to their own needs by controlling the mobile phone, and users can control the mobile phone to turn on the air conditioner according to their own needs. Or turn off the lights in all parts of the house, etc.
  • the inventors of the embodiments of the present invention found that the operations between these interconnected devices often require users to perform screen interactions. Taking the above scenario as an example, the user needs to turn on the screen of the mobile phone first, and then perform a series of operations on the mobile phone to send commands to the connected air conditioner or smart light for control. Therefore, the operation process is relatively cumbersome, and it usually depends on the graphical operation interface of the device. If it is in the screen-off state, it cannot be operated, which is not convenient enough.
  • Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium, so as to solve the problem that the smart home cannot be controlled in an active screen state.
  • Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium, which can conveniently control smart home devices from an air while saving power consumption.
  • An embodiment of the present invention provides a control method for a smart home, which is applied to a terminal, and the method includes:
  • the operating state of the corresponding smart home device is controlled based on the control instruction.
  • an embodiment of the present invention provides a smart home control device, and the device includes:
  • a detection module used to detect that the screen of the terminal is in an off-screen state, and used to detect that the terminal establishes a communication connection with the smart home device;
  • the acquisition module is used to acquire the user's air gesture operation
  • a determination module configured to determine a corresponding control instruction according to the gesture operation in the air
  • the determining module is further configured to:
  • the corresponding control instruction is determined according to the second gesture operation.
  • the device further includes:
  • a judging module for judging whether the face photo matches the sample face photo
  • the obtaining module is further configured to:
  • the judgment module is further configured to:
  • the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
  • the device further includes:
  • an identification module for performing content identification on each picture in the first picture set
  • the judgment module is further configured to:
  • the processing module is further configured to:
  • the judgment module is further configured to:
  • the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
  • the determining module is further configured to:
  • Voice recognition processing is performed on the voice information, and a target smart home device corresponding to the voice information is determined from the plurality of smart home devices.
  • an embodiment of the present invention further provides a terminal, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps of the smart home control method as described above.
  • an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute any one of the intelligent functions provided in the embodiments of the present invention. Steps in a Home Control Method.
  • the beneficial effects of the present application are: when the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, the user's gesture operation in the air can be acquired, and the air gesture control can be performed according to the gesture operation in the air.
  • Smart home equipment no need to light up the screen to operate, saving power consumption.
  • it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 1 is an application scenario diagram of a smart home control method provided by an embodiment of the present invention.
  • FIG. 2 is a first schematic flowchart of a smart home control method provided by an embodiment of the present invention.
  • FIG. 3 is a second schematic flowchart of a smart home control method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a first gesture operation provided by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a second gesture operation provided by an embodiment of the present invention.
  • FIG. 6 is a third schematic flowchart of a smart home control method provided by an embodiment of the present invention.
  • FIG. 7 is a fourth schematic flowchart of a smart home control method provided by an embodiment of the present invention.
  • FIG. 8 is a fifth schematic flowchart of a smart home control method provided by an embodiment of the present invention. .
  • FIG. 9 is a sixth schematic flowchart of a smart home control method provided by an embodiment of the present invention.
  • FIG. 10 is a first schematic flowchart of a smart home control device provided by an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
  • first and second are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or the number of indicated technical features. Thus, features defined as “first”, “second” may expressly or implicitly include one or more of said features. In the description of the present invention, “ “ means two or more, unless otherwise expressly and specifically defined.
  • Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium.
  • the smart home control method can be used in conjunction with a terminal, such as a smart phone, a tablet computer, a notebook computer, or a personal computer.
  • a terminal such as a smart phone, a tablet computer, a notebook computer, or a personal computer.
  • the smart home control method, device, terminal and storage medium will be described in detail below. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
  • FIG. 1 to FIG. 10 Please refer to FIG. 1 to FIG. 10 .
  • FIG. 1 is a schematic diagram of a scenario of a smart home control method provided by an embodiment of the present invention.
  • the terminal When it is detected that the terminal has established a communication connection with the smart home device and the screen of the terminal is in an off-screen state, the user's air gesture operation is obtained; the corresponding control instruction is determined according to the air gesture operation, and the control The command is sent to the smart home device; the smart home device receives the control command and responds.
  • FIG. 2 is a schematic flowchart of a smart home control method according to Embodiment 1 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection through communication means, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the Digital Living Network Alliance (Digital Living Network Alliance). Living Network Alliance, DLNA), etc., but not limited to this.
  • the air gesture can be acquired through a sensor device built in the terminal.
  • the user's air gesture operation can be obtained through the built-in camera element or infrared sensor element of the terminal, and the air gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air , push down from the air, grab from the air, make a fist in the air, compare numbers from the air, gesture V or heart shape and other gestures.
  • air gestures can also be acquired through the built-in ultrasonic element of the terminal.
  • the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
  • the embodiment of the present invention has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • an embodiment of the present invention provides a smart home control method.
  • the user's gesture in the air can be obtained. Operation, and control smart home devices from the air according to the gesture operation in the air, without the need to light the screen to operate, saving power consumption.
  • it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 3 is a schematic flowchart of a smart home control method according to Embodiment 2 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
  • the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the first gesture operation includes but is not limited to digital gestures, the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air, press down in the air, Gestures such as grabbing in the air, making a fist in the air, comparing numbers in the air, gestures such as V-shaped or heart-shaped gestures.
  • step 202 Obtaining a first specified number of pictures within a first preset duration by a photographing element, obtaining a first picture set, and judging whether there is a picture in the first picture set that matches the first sample gesture picture; if so, then Go to step 203; otherwise go to step 207.
  • the number of the first sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element acquires a first set of pictures of a first specified number of shots within a first preset time period, Then, it is judged whether there is a picture in the first picture set that matches the first sample gesture picture, and by comparing each picture in the first picture set with each picture of the first sample gesture picture, the embodiment of the present invention There are two possible situations:
  • step 203 If yes, go to step 203;
  • step 207 is executed.
  • the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • FIG. 4 is a schematic diagram of a first gesture operation.
  • the number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures
  • the above methods are in one-to-one correspondence, and are not repeated here.
  • a picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
  • step 204 Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 205; if not, go to step 207. .
  • the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element obtains the second specified number of pictures within the second preset time period to obtain the first Two sets of pictures, and then, it is judged whether there is a picture in the second set of pictures that matches the second sample gesture picture, and the present invention
  • the embodiment has the following two possible situations:
  • step 205 is executed.
  • step 207 is executed.
  • the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
  • FIG. 5 is a schematic diagram of the second gesture operation.
  • the plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air.
  • the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment;
  • the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control
  • the smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal.
  • the control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
  • the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
  • the embodiment of the present invention specifically has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • an embodiment of the present invention provides a smart home control method.
  • the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element.
  • the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption.
  • the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 6 is a schematic flowchart of a smart home control method according to Embodiment 3 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
  • the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the terminal is connected with a plurality of smart home devices, the first gesture operation includes but is not limited to digital gestures, and the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, and move left in the air , move right in the air, press down in the air, grab in the air, make a fist in the air, compare numbers in the air, gesture V-shaped or heart-shaped and other gestures, wherein, in the embodiment of the present invention, according to the first gesture The operation determines the corresponding target smart home device from the plurality of smart home devices; and determines the corresponding control instruction according to the second gesture operation.
  • the first gesture operation includes but is not limited to digital gestures
  • the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, and move left in the air , move right in the air, press down in the air, grab in
  • step 503 Obtains a first specified number of pictures within a first preset duration by the photographing element, obtain a first picture set, and determine whether there is a picture in the first picture set that matches the first sample gesture picture; , step 503 is performed; otherwise, step 508 is performed.
  • the number of the first sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element acquires the first specified number of first shots within a first preset time period. A set of pictures, and then, it is judged whether there is a picture in the first set of pictures that matches the first sample gesture picture, and by comparing each picture in the first set of pictures with each picture of the first sample gesture picture, this There are the following two possible situations in the embodiment of the invention:
  • step 503 is executed.
  • step 508 is executed.
  • step 503. Collect the face photo of the current user, and determine whether the face photo matches the sample face photo, if yes, go to step 504; if not, go to step 508.
  • the terminal when the terminal senses a face through a photographing element (the photographing element may be a built-in camera of the terminal, or a camera external to the terminal) in the locked screen state of the terminal, the terminal is triggered to perform face recognition.
  • the terminal collects the face photo of the current user through the photographing element, and obtains the face photo to be recognized; matches the to-be-recognized face photo with the sample face photo pre-recorded in the terminal, and judges the face photo and the sample face photo Whether it matches or not, the specific face recognition process can be implemented with reference to the existing face recognition technology, which will not be repeated here.
  • the photographing element may be a built-in camera of the terminal, or a camera external to the terminal
  • step 504 is executed.
  • step 508 is executed.
  • the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • FIG. 4 is a schematic diagram of a first gesture operation.
  • the number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures
  • the above methods are in one-to-one correspondence, and are not repeated here.
  • a picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
  • step 505. Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 506; if not, go to step 508.
  • the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element is used to obtain a second specified number of pictures within a second preset time period. , obtain the second set of pictures, and then, determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, by comparing each picture in the second set of pictures with each picture of the second sample gesture picture , there are the following two possible situations in this embodiment of the present invention:
  • step 506 is executed.
  • step 508 is executed.
  • the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
  • FIG. 5 is a schematic diagram of the second gesture operation.
  • the plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air.
  • the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment;
  • the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control
  • the smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal.
  • the control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
  • the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
  • the embodiment of the present invention specifically has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • an embodiment of the present invention provides a smart home control method.
  • the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element.
  • the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption.
  • the current user identity is judged, and different users have different permissions to control the smart home device, so as to protect user privacy.
  • the embodiment of the present invention can overcome the inconvenience that the instruction transmission between interconnected devices usually needs to be used for operation on a graphical operation interface, and the user can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to the user.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 7 is a schematic flowchart of a smart home control method according to Embodiment 4 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
  • the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the first gesture operation includes but is not limited to digital gestures, the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air, press down in the air, Gestures such as grabbing in the air, making a fist in the air, comparing numbers in the air, gestures such as V-shaped or heart-shaped gestures.
  • the photographing element is activated, and the photographing element acquires a first set of pictures according to a first preset number of shots within a first preset time, and performs content on each picture in the first set of pictures.
  • Recognition according to the recognition result, determine whether each picture in the first picture set has a hand area:
  • the terminal determines whether there is a picture in the first picture set that matches the first sample gesture picture, by comparing each picture in the first picture set with each of the first sample gesture pictures Picture comparison, there are the following two possible situations in the embodiment of the present invention:
  • step 604 If yes, go to step 604 .
  • step 609 is executed.
  • step 604. Collect the face photo of the current user, and determine whether the face photo matches the sample face photo, if yes, go to step 605; if not, go to step 609.
  • the terminal when the terminal senses a face through a photographing element (the photographing element may be a built-in camera of the terminal, or a camera external to the terminal) in the locked screen state of the terminal, the terminal is triggered to perform face recognition.
  • the terminal collects the face photo of the current user through the photographing element, and obtains the face photo to be recognized; matches the to-be-recognized face photo with the sample face photo pre-recorded in the terminal, and judges the face photo and the sample face photo Whether it matches or not, the specific face recognition process can be implemented with reference to the existing face recognition technology, which will not be repeated here.
  • the photographing element may be a built-in camera of the terminal, or a camera external to the terminal
  • step 605 is executed.
  • step 609 is executed.
  • the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  • FIG. 4 is a schematic diagram of a first gesture operation.
  • the number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures
  • the above methods are in one-to-one correspondence, and are not repeated here.
  • a picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
  • step 606. Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 607 ; if not, go to step 609 .
  • the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element is used to obtain a second specified number of pictures within a second preset time period. , obtain the second set of pictures, and then, determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, by comparing each picture in the second set of pictures with each picture of the second sample gesture picture , there are the following two possible situations in this embodiment of the present invention:
  • step 607 is executed.
  • step 609 is executed.
  • the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
  • FIG. 5 is a schematic diagram of the second gesture operation.
  • the plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air.
  • the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment;
  • the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device;
  • the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control
  • the smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal.
  • the control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
  • the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
  • the embodiment of the present invention specifically has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • an embodiment of the present invention provides a smart home control method.
  • the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element.
  • the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption.
  • the current user identity is judged, and whether there is a hand picture in the first picture set is identified to ensure control Different users have different permissions to control smart home devices, and it can also protect user privacy.
  • the embodiment of the present invention can overcome the inconvenience that the instruction transmission between interconnected devices usually needs to be used for operation on a graphical operation interface, and the user can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to the user.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 8 is a schematic flowchart of a smart home control method according to Embodiment 5 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the Wi-Fi network, the Bluetooth network, the ZigBee network and the Digital Living Network Alliance (Digital Living Network Alliance). Living Network Alliance, DLNA), etc., but not limited to this.
  • the first infrared light is emitted to the outside through the signal transmitter of the infrared sensor element, and the first infrared light reflected by the external obstacle is received through the signal receiver of the infrared sensor element.
  • Two infrared light Two infrared light.
  • a gesture signal is generated according to the second infrared light.
  • step 702. Determine whether the gesture signal matches the sample gesture signal, if yes, go to step 703; if not, go to step 706.
  • the sample gesture signal may be multiple, and a sample gesture signal corresponds to an operation gesture, and it is determined whether the gesture signal matches the sample gesture signal:
  • the terminal regards the gesture operation corresponding to the sample gesture signal as an air gesture operation.
  • the terminal may obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes but is not limited to waving up and down in the air. Swing, move left in the air, move right in the air, push down in the air, grab in the air, make a fist in the air, compare numbers in the air, gesture V or heart shape and other gestures.
  • the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
  • the embodiment of the present invention has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • an embodiment of the present invention provides a smart home control method.
  • the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, the user is acquired through infrared sensing elements.
  • Remote gesture operation, and control smart home devices from the air according to the gesture operation no need to light the screen to operate, saving power consumption.
  • it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 9 is a schematic flowchart of a smart home control method according to Embodiment 6 of the present invention.
  • the embodiments of the present invention include:
  • the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
  • voice recognition processing is performed on the voice information through the voice information collected by the voice recognition element, and a target intelligence corresponding to the voice information is determined from the plurality of smart home devices.
  • the voice information collected by the voice recognition element is "smart air conditioner”
  • the target smart home equipment is determined from the plurality of smart home equipment as “smart air conditioner”.
  • the air gesture can be acquired through a sensor device built in the terminal.
  • the user's air gesture operation can be obtained through the built-in camera element or infrared sensor element of the terminal, and the air gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air , push down from the air, grab from the air, make a fist in the air, compare numbers from the air, gesture V or heart shape and other gestures.
  • air gestures can also be acquired through the built-in ultrasonic element of the terminal.
  • the terminal has a photographing element
  • a plurality of smart home devices are connected to the terminal, and the running state of the target smart home equipment is controlled based on the corresponding control instruction determined according to the gesture operation in the air, and the photographing element is used in the pre-preset operation state.
  • the specified number of pictures are obtained within the duration, and a picture set is obtained; it is judged whether there is a picture in the picture set that matches the sample gesture picture; if there is a picture in the picture set that matches the sample gesture picture, then the sample The air gesture operation corresponding to the gesture picture is used as the air gesture operation.
  • the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
  • the embodiment of the present invention has the following four possible implementation manners:
  • the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
  • the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
  • the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
  • smart home devices including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
  • an embodiment of the present invention provides a smart home control method.
  • the user's gesture in the air can be obtained. Operation, and control smart home devices from the air according to the gesture operation in the air, without the need to light the screen to operate, saving power consumption.
  • it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • an embodiment of the present invention may further provide a smart home control apparatus, which may be specifically integrated in a network device, and the network device may be a device such as a mobile terminal.
  • the smart home control device may include a detection module 901, an acquisition module 902, a determination module 903 and a processing module 904, as follows:
  • the detection module 901 is used to detect that the screen of the terminal is in an off-screen state, and is used to detect that the terminal establishes a communication connection with a smart home device;
  • an acquisition module 902 configured to acquire the user's gesture operation in the air
  • a determination module 903 configured to determine a corresponding control instruction according to the air gesture operation
  • the processing module 904 is used to control the running state of the corresponding smart home device based on the control instruction
  • the determining module 903 is further configured to:
  • the corresponding control instruction is determined according to the second gesture operation.
  • the device further includes:
  • a judging module for judging whether the face photo matches the sample face photo
  • the obtaining module 902 is further configured to:
  • the judgment module is further configured to:
  • the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
  • the device further includes:
  • an identification module for performing content identification on each picture in the first picture set
  • the judgment module is further configured to:
  • the processing module 904 is further configured to:
  • the judgment module is further configured to:
  • the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
  • the determining module 903 is further configured to:
  • Voice recognition processing is performed on the voice information, and a target smart home device corresponding to the voice information is determined from the plurality of smart home devices.
  • An embodiment of the present invention discloses a smart home control device.
  • the smart home control device includes: a detection module detects that when the screen of the terminal is in an off-screen state, the terminal establishes a communication connection with a smart home device, and an acquisition module acquires the user Then, the determination module determines the corresponding control command according to the air gesture operation, and finally, the processing module controls the operation state of the corresponding smart home device based on the control command.
  • the user's gesture operation in the air can be obtained, and the smart home can be controlled in the air according to the gesture operation in the air
  • the device does not need to light up the screen to operate, saving power consumption.
  • it can overcome the inconvenience that the transmission of instructions between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users.
  • users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • FIG. 10 shows a schematic structural diagram of a terminal involved in an embodiment of the present invention.
  • the terminal may be a mobile phone, a computer, a digital broadcasting terminal, a message sending and receiving device, a game Consoles, Tablets, Medical Equipment, Fitness Equipment, Personal Digital Assistants, etc. Specifically:
  • the terminal may include a radio frequency (RF) circuit 111, a memory 112 including one or more computer-readable storage media, an input unit 113, a display unit 114, a sensor 115, an audio circuit 116, Wireless Fidelity Fidelity (Wi-Fi) module 117, a processor 118 including one or more processing cores, a power supply 119 and other components.
  • RF radio frequency
  • the RF circuit 111 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 118 for processing; in addition, it sends the data related to the uplink to the base station. .
  • the RF circuit 111 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (Subscriber Identity Module, SIM) card, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, etc.
  • the RF circuit 111 can also communicate with the network and other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to the Global System for Mobile Communications (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), e-mail, Short Message Service (Short Messaging Service, SMS), etc.
  • GSM Global System for Mobile Communications
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Message Service
  • the memory 112 can be used to store software programs and modules, and the processor 118 executes various functional applications and data processing by running the software programs and modules stored in the memory 112 .
  • the memory 112 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like; Data created by the use of the terminal (such as audio data, phone book, etc.), etc.
  • memory 112 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 112 may also include a memory controller to provide access to the memory 112 by the processor 118 and the input unit 113 .
  • the input unit 113 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the input unit 113 may include a touch-sensitive surface as well as other input devices.
  • a touch-sensitive surface also known as a touch display or trackpad, collects the user's touch operations on or near it (such as the user's finger, stylus, or any suitable operation near the surface), and drive the corresponding connection device according to the preset program.
  • the touch-sensitive surface may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller.
  • touch-sensitive surfaces can be implemented using resistive, capacitive, infrared, and surface acoustic wave types.
  • the input unit 113 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 114 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, videos and any combination thereof.
  • the display unit 114 may include a display screen, optionally, a liquid crystal display (Liquid Crystal Display, LCD), an organic light emitting diode (Organic light emitting diode) may be used. Light-Emitting Diode, OLED) and other forms to configure the display.
  • the touch-sensitive surface may cover the display screen, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 118 to determine the type of the touch event, and then the processor 118 displays the touch event according to the type of the touch event. The corresponding visual output is provided on the screen.
  • the terminal may also include at least one sensor 115, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or the backlight when the terminal is moved to the ear .
  • the gravitational acceleration sensor can detect the magnitude of acceleration at each position (usually three axes), and can detect the magnitude and position of gravity when stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.
  • the audio circuit 116, speakers, and microphones may provide an audio interface between the user and the terminal.
  • the audio circuit 116 can convert the received audio data into an electrical signal, and transmit it to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received and converted by the audio circuit 116
  • the audio data is output to the processor 118 for processing, and then sent to, for example, another terminal via the RF circuit 111, or the audio data is output to the memory 112 for further processing.
  • the audio circuit 116 may also include an earphone jack to provide communication of peripheral headphones with the terminal.
  • Wi-Fi is a short-distance wireless transmission technology, and the terminal can help users to send and receive emails, browse web pages, access streaming media, etc. through the Wi-Fi module 117, and it provides users with wireless broadband Internet access.
  • FIG. 11 shows the Wi-Fi module 117, it can be understood that it does not belong to the necessary structure of the terminal, and can be completely omitted as required within the scope of not changing the essence of the invention.
  • the processor 118 is the control center of the terminal, uses various interfaces and lines to connect various parts of the entire mobile phone, and executes by running or executing the software programs and/or modules stored in the memory 112, and calling the data stored in the memory 112. Various functions of the terminal and processing data, so as to monitor the mobile phone as a whole.
  • the processor 118 may include one or more processing cores; preferably, the processor 118 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 118 .
  • the terminal also includes a power supply 119 (such as a battery) for supplying power to various components.
  • a power supply 119 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 118 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
  • the power source 119 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
  • the terminal may further include a camera, a Bluetooth module, and the like, which will not be repeated here.
  • the processor 118 in the terminal loads the executable files corresponding to the processes of one or more application programs into the memory 112 according to the following instructions, and the processor 118 executes them and stores them in the memory 112 applications in order to achieve various functions.
  • the electronic device provided by the embodiment of the present invention can overcome the inconvenience that the transmission of instructions between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices. Bring convenience. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
  • an embodiment of the present invention also provides a storage medium on which a computer program is stored, and the computer program is implemented by a processor to execute the methods provided by the above embodiments, for example, including: when the screen of the terminal is When in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, the user's air gesture operation is obtained; the corresponding control instruction is determined according to the air gesture operation; the smart home is controlled based on the control instruction equipment operating status
  • a smart home control method, device, terminal, and storage medium provided by the embodiments of the present invention are described above in detail, and specific examples are used in this paper to illustrate the principles and implementations of the present invention.
  • the descriptions of the above embodiments are only It is used to help understand the technical solution of the present invention and its core idea; those of ordinary skill in the art should understand that it can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some of the technical features; and These modifications or substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A smart home control method and apparatus, and a terminal and a storage medium. The method comprises: when the screen of a terminal is in a screen-off state, if it is detected that the terminal establishes a communication connection with smart home devices, acquiring an air gesture operation of a user (101); determining a corresponding control instruction according to the air gesture operation (102); and controlling the operation state of a corresponding smart home device on the basis of the control instruction (103). By means of the method, operations are performed without the need to turn on a screen, thereby reducing the power consumption and bringing convenience to users.

Description

一种智能家居控制方法、装置、终端以及存储介质A smart home control method, device, terminal and storage medium
本发明要求于2020年11月30日提交中国专利局、申请号为202011372604.0、发明名称为“一种智能家居控制方法、装置、终端以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present invention requires the priority of the Chinese patent application with the application number 202011372604.0 and the invention title "A smart home control method, device, terminal and storage medium" filed with the China Patent Office on November 30, 2020, the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本发明涉及智能家居领域,具体涉及一种智能家居控制方法、装置、终端以及存储介质。The present invention relates to the field of smart home, in particular to a smart home control method, device, terminal and storage medium.
背景技术Background technique
随着通信技术的不断发展,智能手机、平板电脑及笔记本电脑等移动终端的大量普及应用,终端向着多样化、个性化的方向发展,日益成为人们在生活与工作中不可或缺的终端。与此同时,移动互联网及物联网也在迅速发展,各类智能终端越来越多,用户开始不再独立使用手机、平板、笔记本电脑、电视等这些智能设备,如今设备与设备之间可以便捷地连接到一起协同操作;例如,手机可以投屏到电视,用户可以通过电视接听手机的电话,还可以在电脑上操控平板或手机,多设备的互联协同给人们的人生活带来许多便利,用户还可以通过互联设备之间指令传输控制设备,例如,通过手机与家里智能家居建立互联,用户可以通过操控手机按照自身需求对空调温度进行调控或开关空调,用户可以通过操控手机按照自身需求开启或关闭家里的所有位置的灯等等。With the continuous development of communication technology, a large number of mobile terminals such as smart phones, tablet computers and notebook computers are popularized and applied. Terminals are developing in the direction of diversification and personalization, and they have increasingly become indispensable terminals in people's life and work. At the same time, the mobile Internet and the Internet of Things are also developing rapidly. There are more and more smart terminals. Users no longer use smart devices such as mobile phones, tablets, laptops, and TVs independently. For example, the mobile phone can be projected to the TV, the user can answer the phone call through the TV, and can also control the tablet or mobile phone on the computer. The interconnection and collaboration of multiple devices brings a lot of convenience to people’s lives. Users can also control devices through command transmission between interconnected devices. For example, to establish interconnection with smart homes at home through mobile phones, users can control the temperature of the air conditioner or switch the air conditioner according to their own needs by controlling the mobile phone, and users can control the mobile phone to turn on the air conditioner according to their own needs. Or turn off the lights in all parts of the house, etc.
在对现有技术的研究和实践过程中,本发明实施例的发明人发现,这些互联设备之间的操作,往往需要用户借助屏幕交互来完成。以上述场景为例,均需要用户先点亮手机屏幕,再在手机上进行一系列操作来向连接的空调或智能灯发送指令进行控制。因此,会导致操作过程相对繁琐,通常须依赖设备的图形操作界面进行,如果是息屏状态就无法操作了,不够便捷。During the research and practice of the prior art, the inventors of the embodiments of the present invention found that the operations between these interconnected devices often require users to perform screen interactions. Taking the above scenario as an example, the user needs to turn on the screen of the mobile phone first, and then perform a series of operations on the mobile phone to send commands to the connected air conditioner or smart light for control. Therefore, the operation process is relatively cumbersome, and it usually depends on the graphical operation interface of the device. If it is in the screen-off state, it cannot be operated, which is not convenient enough.
技术问题technical problem
本发明实施例提供一种智能家居控制方法、装置、终端以及存储介质,以解决息屏状态无法对智能家居进行控制的问题。Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium, so as to solve the problem that the smart home cannot be controlled in an active screen state.
技术解决方案technical solutions
本发明实施例提供一种智能家居控制方法、装置、终端以及存储介质,能够在节省功耗的同时便捷的隔空控制智能家居设备。Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium, which can conveniently control smart home devices from an air while saving power consumption.
本发明实施例提供一种智能家居的控制方法,应用于终端,所述方法包括:An embodiment of the present invention provides a control method for a smart home, which is applied to a terminal, and the method includes:
当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作;When the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, acquiring the user's gesture operation in the air;
根据所述隔空手势操作确定对应的控制指令;Determine the corresponding control command according to the air gesture operation;
基于所述控制指令控制对应的智能家居设备的运行状态。The operating state of the corresponding smart home device is controlled based on the control instruction.
相应的,本发明实施例提供一种智能家居控制装置,所述装置包括:Correspondingly, an embodiment of the present invention provides a smart home control device, and the device includes:
检测模块,用于检测所述终端的屏幕处于息屏状态,用于检测终端与智能家居设备建立通信连接;a detection module, used to detect that the screen of the terminal is in an off-screen state, and used to detect that the terminal establishes a communication connection with the smart home device;
获取模块,用于获取用户的隔空手势操作;The acquisition module is used to acquire the user's air gesture operation;
确定模块,用于根据所述隔空手势操作确定对应的控制指令;a determination module, configured to determine a corresponding control instruction according to the gesture operation in the air;
处理模块,用于基于所述控制指令控制对应的智能家居设备的运行状态A processing module for controlling the running state of the corresponding smart home equipment based on the control instruction
可选的,在本发明的一些实施例中,所述确定模块还用于:Optionally, in some embodiments of the present invention, the determining module is further configured to:
根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;Determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation;
根据第二手势操作确定对应的控制指令。The corresponding control instruction is determined according to the second gesture operation.
可选的,在本发明的一些实施例中,所述装置还包括:Optionally, in some embodiments of the present invention, the device further includes:
判断模块,用于判断所述人脸照片与样本人脸照片是否匹配;a judging module for judging whether the face photo matches the sample face photo;
若是,则根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。If yes, determine the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
可选的,在本发明的一些实施例中,所述获取模块还用于:Optionally, in some embodiments of the present invention, the obtaining module is further configured to:
用于获取第一指定拍摄数量的图片,得到第一图片集合;is used to obtain the pictures of the first specified number of shots to obtain the first set of pictures;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
判断所述第一图片集合中是否有图片与第一样本手势图片匹配;Judging whether there is a picture in the first picture set that matches the first sample gesture picture;
若所述第一图片集合中有图片与所述第一样本手势图片匹配,则将所述第一样本手势图片对应的隔空手势操作作为第一手势操作,并通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合;If there is a picture in the first picture set that matches the first sample gesture picture, take the space gesture operation corresponding to the first sample gesture picture as the first gesture operation, and use the photographing element to Obtain the second set of pictures according to the second specified number of pictures obtained within the second preset time period;
用于判断所述第二图片集合中是否有图片与第二样本手势图片匹配;for judging whether there is a picture in the second set of pictures that matches the second sample gesture picture;
若所述第二图片集合中有图片与所述第二样本手势图片匹配,则将所述第二样本手势图片对应的隔空手势操作作为第二手势操作。If there is a picture in the second picture set that matches the second sample gesture picture, the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
可选的,在本发明的一些实施例中,所述装置还包括:Optionally, in some embodiments of the present invention, the device further includes:
识别模块,用于对所述第一图片集合中的各个图片进行内容识别;an identification module for performing content identification on each picture in the first picture set;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
根据识别结果判断所述第一图片集合中的各个图片是否存在手部区域;According to the recognition result, determine whether each picture in the first picture set has a hand area;
当判断存在手部区域时,则判断所述第一图片集合中是否有图片与第一样本手势图片匹配。When it is determined that there is a hand region, it is determined whether there is a picture in the first picture set that matches the first sample gesture picture.
可选的,在本发明的一些实施例中,所述处理模块还用于:Optionally, in some embodiments of the present invention, the processing module is further configured to:
根据所述第二红外光生成手势信号;generating a gesture signal according to the second infrared light;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
判断所述手势信号与样本手势信号是否匹配;Determine whether the gesture signal matches the sample gesture signal;
若是,则将所述样本手势信号对应的手势操作作为隔空手势操作。If yes, the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
可选的,在本发明的一些实施例中,所述确定模块还用于:Optionally, in some embodiments of the present invention, the determining module is further configured to:
对所述语音信息进行语音识别处理,从所述多个智能家居设备中确定与所述语音信息对应的目标智能家居设备。Voice recognition processing is performed on the voice information, and a target smart home device corresponding to the voice information is determined from the plurality of smart home devices.
相应的,本发明实施例还提供了一种终端,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述指令以执行如上所述的智能家居控制方法的步骤。Correspondingly, an embodiment of the present invention further provides a terminal, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps of the smart home control method as described above.
此外,本发明实施例还提供了一种存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行本发明实施例所提供的任一项所述的智能家居控制方法中的步骤。In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute any one of the intelligent functions provided in the embodiments of the present invention. Steps in a Home Control Method.
有益效果beneficial effect
本申请的有益效果为:当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够获取用户的隔空手势操作,并根据隔空手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。The beneficial effects of the present application are: when the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, the user's gesture operation in the air can be acquired, and the air gesture control can be performed according to the gesture operation in the air. Smart home equipment, no need to light up the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
附图说明Description of drawings
图1是本发明实施例提供的智能家居控制方法的一种应用场景图。FIG. 1 is an application scenario diagram of a smart home control method provided by an embodiment of the present invention.
图2是本发明实施例提供的智能家居控制方法的第一种流程示意图。FIG. 2 is a first schematic flowchart of a smart home control method provided by an embodiment of the present invention.
图3是本发明实施例提供的智能家居控制方法的第二种流程示意图。FIG. 3 is a second schematic flowchart of a smart home control method provided by an embodiment of the present invention.
图4是本发明实施例提供的第一手势操作的示意图。FIG. 4 is a schematic diagram of a first gesture operation provided by an embodiment of the present invention.
图5是本发明实施例提供的第二手势操作的示意图。FIG. 5 is a schematic diagram of a second gesture operation provided by an embodiment of the present invention.
图6是本发明实施例提供的智能家居控制方法的第三种流程示意图。FIG. 6 is a third schematic flowchart of a smart home control method provided by an embodiment of the present invention.
图7是本发明实施例提供的智能家居控制方法的第四种流程示意图。FIG. 7 is a fourth schematic flowchart of a smart home control method provided by an embodiment of the present invention.
图8是本发明实施例提供的智能家居控制方法的第五种流程示意图。。FIG. 8 is a fifth schematic flowchart of a smart home control method provided by an embodiment of the present invention. .
图9是本发明实施例提供的智能家居控制方法的第六种流程示意图。FIG. 9 is a sixth schematic flowchart of a smart home control method provided by an embodiment of the present invention.
图10是本发明实施例提供的智能家居控制装置的第一种流程示意图。FIG. 10 is a first schematic flowchart of a smart home control device provided by an embodiment of the present invention.
图11是本发明实施例提供的终端的结构示意图。FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
本发明的实施方式Embodiments of the present invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多所述特征。在本发明的描述中,“”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "first" and "second" are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the present invention, " " means two or more, unless otherwise expressly and specifically defined.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present disclosure may repeat reference numerals and/or reference letters in different instances for the purpose of simplicity and clarity and not in itself indicative of a relationship between the various embodiments and/or arrangements discussed. In addition, the present disclosure provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials. In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本发明实施例提供一种智能家居控制方法、装置、终端以及存储介质,该智能家居控制方法可以配合终端使用,如智能手机、平板电脑、笔记本电脑或个人计算机等。以下对该智能家居控制方法、装置、终端以及存储介质进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。Embodiments of the present invention provide a smart home control method, device, terminal, and storage medium. The smart home control method can be used in conjunction with a terminal, such as a smart phone, a tablet computer, a notebook computer, or a personal computer. The smart home control method, device, terminal and storage medium will be described in detail below. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
下面结合附图和具体实施方式对本发明予以详细描述,请参阅图1至图10。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments, please refer to FIG. 1 to FIG. 10 .
请参阅图1,图1是本发明实施例提供的一种智能家居控制方法的场景示意图。当检测到终端与智能家居设备建立通信连接、且所述终端的屏幕处于息屏状态时,获取用户的隔空手势操作;根据所述隔空手势操作确定对应的控制指令,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scenario of a smart home control method provided by an embodiment of the present invention. When it is detected that the terminal has established a communication connection with the smart home device and the screen of the terminal is in an off-screen state, the user's air gesture operation is obtained; the corresponding control instruction is determined according to the air gesture operation, and the control The command is sent to the smart home device; the smart home device receives the control command and responds.
请参阅图2,图2是本发明实施例一提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 2 , which is a schematic flowchart of a smart home control method according to Embodiment 1 of the present invention. Wherein, the embodiments of the present invention include:
101、当终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作。101. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, obtain a user's air gesture operation.
在本发明实施例中,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。In the embodiment of the present invention, the terminal and the smart home device can establish a communication connection through communication means, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the Digital Living Network Alliance (Digital Living Network Alliance). Living Network Alliance, DLNA), etc., but not limited to this.
具体的,在获取用户的隔空手势操作时,可以通过终端内置的传感器件来获取隔空手势。例如,可以通过终端内置的拍摄元件或红外传感器元件获取用户的隔空手势操作,所述隔空手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势。此外,还可以通过终端内置的超声波元件来获取隔空手势。Specifically, when acquiring the user's air gesture operation, the air gesture can be acquired through a sensor device built in the terminal. For example, the user's air gesture operation can be obtained through the built-in camera element or infrared sensor element of the terminal, and the air gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air , push down from the air, grab from the air, make a fist in the air, compare numbers from the air, gesture V or heart shape and other gestures. In addition, air gestures can also be acquired through the built-in ultrasonic element of the terminal.
102、根据所述隔空手势操作确定对应的控制指令。102. Determine a corresponding control instruction according to the air gesture operation.
在本发明实施例中,终端可以根据所述隔空手势操作确定对应的控制指令,并将确定的控制指令向智能家居设备发送,所述智能家居设备的数量可以为一个也可以为多个。In this embodiment of the present invention, the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
103、基于所述控制指令控制对应的智能家居设备的运行状态。103. Control the running state of the corresponding smart home device based on the control instruction.
具体的,智能家居设备接收到终端发送的控制指令,智能家居设备基于所述控制指令控制所述智能家居设备的运行状态,所述智能家居设备接收所述控制指令并作出响应。Specifically, the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
例如,确定所述智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the smart home device is a smart air conditioner, the embodiment of the present invention has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够获取用户的隔空手势操作,并根据隔空手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's gesture in the air can be obtained. Operation, and control smart home devices from the air according to the gesture operation in the air, without the need to light the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
请参阅图3,图3是本发明实施例二提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 3 , which is a schematic flowchart of a smart home control method according to Embodiment 2 of the present invention. Wherein, the embodiments of the present invention include:
201、当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作。201. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, acquire a user's air gesture operation.
具体的,在本发明实施例中,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。Specifically, in the embodiment of the present invention, the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
具体的,在本发明实施例中,获取用户的隔空手势操作,终端可以通过终端自带的拍摄元件获取用户的隔空手势操作,所述隔空手势操作包括第一手势和第二手势,所述第一手势操作包括但不限于数字手势,所述第二手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势。Specifically, in this embodiment of the present invention, to obtain the user's air gesture operation, the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the first gesture operation includes but is not limited to digital gestures, the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air, press down in the air, Gestures such as grabbing in the air, making a fist in the air, comparing numbers in the air, gestures such as V-shaped or heart-shaped gestures.
202、通过拍摄元件在第一预设时长内获取第一指定拍摄数量的图片,得到第一图片集合,判断所述第一图片集合中是否有图片与第一样本手势图片匹配;若是,则执行步骤203;若否则执行步骤207。202. Obtaining a first specified number of pictures within a first preset duration by a photographing element, obtaining a first picture set, and judging whether there is a picture in the first picture set that matches the first sample gesture picture; if so, then Go to step 203; otherwise go to step 207.
在本发明实施例中,所述第一样本手势图片数量可以为多张,启动所述拍摄元件,所述拍摄元件在第一预设时长内获取第一指定拍摄数量的第一图片集合,然后,判断所述第一图片集合中是否有图片与第一样本手势图片匹配,通过将所述第一图片集合中的各个图片与第一样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:In this embodiment of the present invention, the number of the first sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element acquires a first set of pictures of a first specified number of shots within a first preset time period, Then, it is judged whether there is a picture in the first picture set that matches the first sample gesture picture, and by comparing each picture in the first picture set with each picture of the first sample gesture picture, the embodiment of the present invention There are two possible situations:
若是,则执行步骤203;If yes, go to step 203;
若否,则执行步骤207。If not, step 207 is executed.
203、将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。203. Use the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
在本发明实施例中,终端将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。In this embodiment of the present invention, the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
例如,请参阅图4,图4为第一手势操作的示意图,所述第一样本手势图片数量可以为多张,所述样本手势图片包括数字一手势301、数字二手势302和数字三手势303,所述数字一手势301对应的智能家居设备为智能空调,所述数字二手势302对应的智能家居设备为智能电视,所述数字三手势303对应的智能家居设备为智能窗帘,其他数字手势按上述方法一一对应,在此不做赘述。所述第一图片集合中一图片与多张第一样本手势图片中数字一手势301一致,则将所述第一样本手势图片作为第一手势操作,即将数字一手势301作为第一手势操作,并根据所述第一手势操作确定对应的所述智能家居设备为智能空调。For example, please refer to FIG. 4. FIG. 4 is a schematic diagram of a first gesture operation. The number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures The above methods are in one-to-one correspondence, and are not repeated here. A picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
204、通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,若是,则执行步骤205;若否,则执行步骤207。。204. Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 205; if not, go to step 207. .
在本发明实施例中,所述第二样本手势图片数量可以为多张,启动所述拍摄元件,通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,然后,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,通过将所述第二图片集合中的各个图片与第二样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:In this embodiment of the present invention, the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element obtains the second specified number of pictures within the second preset time period to obtain the first Two sets of pictures, and then, it is judged whether there is a picture in the second set of pictures that matches the second sample gesture picture, and the present invention The embodiment has the following two possible situations:
若是,则执行步骤205。If yes, step 205 is executed.
若否,则执行步骤207。If not, step 207 is executed.
205、根据所述第二手势操作确定对应的控制指令,并将所述控制指令发送至目标智能家居设备。205. Determine a corresponding control instruction according to the second gesture operation, and send the control instruction to the target smart home device.
在本发明实施例中,根据所述第二手势操作确定对应的控制指令,并向目标智能家居设备发送控制指令。In the embodiment of the present invention, the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
例如,请参阅图5,图5为第二手势操作的示意图,多张第二样本手势图片中包括隔空握拳401、隔空展开402、隔空上挥403和隔空下挥404,当识别的第二手势操作为隔空握拳401时,根据所述隔空握拳401操作确定对应的控制指令,所述控制指令为:关闭当前智能家居设备,即关闭空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空展开402时,根据所述隔空展开402操作确定对应的控制指令,所述控制指令为:开启当前智能家居设备,即开启空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空上挥403时,根据所述隔空上挥403操作确定对应的控制指令,所述控制指令为:调高当前智能家居设备,即调高空调的温度,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空下挥404时,根据所述隔空下挥操404作确定对应的控制指令,所述控制指令为:调低当前智能家居设备,即调低空调的温度,并将所述控制指令发送至所述智能家居设备。其他隔空手势可以按上述方法一一对应,在此不做赘述。For example, please refer to FIG. 5. FIG. 5 is a schematic diagram of the second gesture operation. The plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air. When the recognized second gesture operation is to make a fist 401 in the air, the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment; when the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control command. The control command is: lowering the current smart home device, that is, lowering the temperature of the air conditioner, and sending the control command to the smart home device. Other space gestures can be corresponded one-to-one according to the above method, and will not be repeated here.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。所述隔空手势对应的控制指令包括但不限于开启设备、关闭设备、将设备某一功能调大、将设备某一功能调小、启动传输和停止传输等。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices. The control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
206、基于所述控制指令控制对应的智能家居设备的运行状态。206. Control the running state of the corresponding smart home device based on the control instruction.
在本发明实施例中,智能家居设备接收终端发送的控制指令,基于所述控制指令控制对应的智能家居设备的运行状态。In the embodiment of the present invention, the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
例如,确定目标智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the target smart home device is a smart air conditioner, the embodiment of the present invention specifically has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
207、结束智能家居控制流程。207. End the smart home control process.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够通过拍摄元件获取用户的隔空手势操作,根据第一手势操作确定目标智能家居设备,并根据第二手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element. In the gesture operation in the air, the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
请参阅图6,图6是本发明实施例三提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a smart home control method according to Embodiment 3 of the present invention. Wherein, the embodiments of the present invention include:
501、当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作。501. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, acquire a user's air gesture operation.
具体的,在本发明实施例中,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。Specifically, in the embodiment of the present invention, the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
具体的,在本发明实施例中,获取用户的隔空手势操作,终端可以通过终端自带的拍摄元件获取用户的隔空手势操作,所述隔空手势操作包括第一手势和第二手势,所述终端连接有多个智能家居设备,所述第一手势操作包括但不限于数字手势,所述第二手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势,其中,在本发明实施例中,根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;根据第二手势操作确定对应的控制指令。Specifically, in this embodiment of the present invention, to obtain the user's air gesture operation, the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the terminal is connected with a plurality of smart home devices, the first gesture operation includes but is not limited to digital gestures, and the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, and move left in the air , move right in the air, press down in the air, grab in the air, make a fist in the air, compare numbers in the air, gesture V-shaped or heart-shaped and other gestures, wherein, in the embodiment of the present invention, according to the first gesture The operation determines the corresponding target smart home device from the plurality of smart home devices; and determines the corresponding control instruction according to the second gesture operation.
502、通过所述拍摄元件在第一预设时长内获取第一指定拍摄数量的图片,得到第一图片集合,判断所述第一图片集合中是否有图片与第一样本手势图片匹配;若是,则执行步骤503;若否则执行步骤508。502. Obtain a first specified number of pictures within a first preset duration by the photographing element, obtain a first picture set, and determine whether there is a picture in the first picture set that matches the first sample gesture picture; , step 503 is performed; otherwise, step 508 is performed.
具体的,在本发明实施例中,所述第一样本手势图片数量可以为多张,启动所述拍摄元件,所述拍摄元件在第一预设时长内获取第一指定拍摄数量的第一图片集合,然后,判断所述第一图片集合中是否有图片与第一样本手势图片匹配,通过将所述第一图片集合中的各个图片与第一样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:Specifically, in the embodiment of the present invention, the number of the first sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element acquires the first specified number of first shots within a first preset time period. A set of pictures, and then, it is judged whether there is a picture in the first set of pictures that matches the first sample gesture picture, and by comparing each picture in the first set of pictures with each picture of the first sample gesture picture, this There are the following two possible situations in the embodiment of the invention:
若是,则执行步骤503。If yes, step 503 is executed.
若否,则执行步骤508。If not, step 508 is executed.
503、采集当前用户的人脸照片,判断所述人脸照片与样本人脸照片是否匹配,若是,则执行步骤504;若否则执行步骤508。503. Collect the face photo of the current user, and determine whether the face photo matches the sample face photo, if yes, go to step 504; if not, go to step 508.
具体的,当在终端的锁屏状态下,终端通过拍摄元件(拍摄元件可以为终端内置的摄像头,也可以终端外置的摄像头)感应到人脸时,触发该终端进行人脸识别。终端根据通过拍摄元件采集当前用户的人脸照片,得到待识别人脸照片;将待识别人脸照片与终端内预先录入的样本人脸照片进行匹配,判断所述人脸照片与样本人脸照片是否匹配,具体的人脸识别过程可以参照已有的人脸识别技术实现,此处不再赘述。本发明实施例存在下列两种可能出现的情况:Specifically, when the terminal senses a face through a photographing element (the photographing element may be a built-in camera of the terminal, or a camera external to the terminal) in the locked screen state of the terminal, the terminal is triggered to perform face recognition. The terminal collects the face photo of the current user through the photographing element, and obtains the face photo to be recognized; matches the to-be-recognized face photo with the sample face photo pre-recorded in the terminal, and judges the face photo and the sample face photo Whether it matches or not, the specific face recognition process can be implemented with reference to the existing face recognition technology, which will not be repeated here. There are the following two possible situations in this embodiment of the present invention:
若是,则执行步骤504。If yes, step 504 is executed.
若否,则执行步骤508。If not, step 508 is executed.
504、将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。504. Use the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
在本发明实施例中,终端将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。In this embodiment of the present invention, the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
例如,请参阅图4,图4为第一手势操作的示意图,所述第一样本手势图片数量可以为多张,所述样本手势图片包括数字一手势301、数字二手势302和数字三手势303,所述数字一手势301对应的智能家居设备为智能空调,所述数字二手势302对应的智能家居设备为智能电视,所述数字三手势303对应的智能家居设备为智能窗帘,其他数字手势按上述方法一一对应,在此不做赘述。所述第一图片集合中一图片与多张第一样本手势图片中数字一手势301一致,则将所述第一样本手势图片作为第一手势操作,即将数字一手势301作为第一手势操作,并根据所述第一手势操作确定对应的所述智能家居设备为智能空调。For example, please refer to FIG. 4. FIG. 4 is a schematic diagram of a first gesture operation. The number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures The above methods are in one-to-one correspondence, and are not repeated here. A picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
505、通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,若是,则执行步骤506;若否,则执行步骤508。505. Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 506; if not, go to step 508.
具体的,在本发明实施例中,所述第二样本手势图片数量可以为多张,启动所述拍摄元件,通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,然后,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,通过将所述第二图片集合中的各个图片与第二样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:Specifically, in this embodiment of the present invention, the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element is used to obtain a second specified number of pictures within a second preset time period. , obtain the second set of pictures, and then, determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, by comparing each picture in the second set of pictures with each picture of the second sample gesture picture , there are the following two possible situations in this embodiment of the present invention:
若是,则执行步骤506。If yes, step 506 is executed.
若否,则执行步骤508。If not, step 508 is executed.
506、根据所述第二手势操作确定对应的控制指令,并将所述控制指令发送至目标智能家居设备。506. Determine a corresponding control instruction according to the second gesture operation, and send the control instruction to the target smart home device.
在本发明实施例中,根据所述第二手势操作确定对应的控制指令,并向目标智能家居设备发送控制指令。In the embodiment of the present invention, the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
例如,请参阅图5,图5为第二手势操作的示意图,多张第二样本手势图片中包括隔空握拳401、隔空展开402、隔空上挥403和隔空下挥404,当识别的第二手势操作为隔空握拳401时,根据所述隔空握拳401操作确定对应的控制指令,所述控制指令为:关闭当前智能家居设备,即关闭空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空展开402时,根据所述隔空展开402操作确定对应的控制指令,所述控制指令为:开启当前智能家居设备,即开启空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空上挥403时,根据所述隔空上挥403操作确定对应的控制指令,所述控制指令为:调高当前智能家居设备,即调高空调的温度,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空下挥404时,根据所述隔空下挥操404作确定对应的控制指令,所述控制指令为:调低当前智能家居设备,即调低空调的温度,并将所述控制指令发送至所述智能家居设备。其他隔空手势可以按上述方法一一对应,在此不做赘述。For example, please refer to FIG. 5. FIG. 5 is a schematic diagram of the second gesture operation. The plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air. When the recognized second gesture operation is to make a fist 401 in the air, the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment; when the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control command. The control command is: lowering the current smart home device, that is, lowering the temperature of the air conditioner, and sending the control command to the smart home device. Other space gestures can be corresponded one-to-one according to the above method, and will not be repeated here.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。所述隔空手势对应的控制指令包括但不限于开启设备、关闭设备、将设备某一功能调大、将设备某一功能调小、启动传输和停止传输等。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices. The control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
507、基于所述控制指令控制对应的智能家居设备的运行状态。507. Control the running state of the corresponding smart home device based on the control instruction.
在本发明实施例中,智能家居设备接收终端发送的控制指令,基于所述控制指令控制对应的智能家居设备的运行状态。In the embodiment of the present invention, the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
例如,确定目标智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the target smart home device is a smart air conditioner, the embodiment of the present invention specifically has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
508、结束智能家居控制流程。508. End the smart home control process.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够通过拍摄元件获取用户的隔空手势操作,根据第一手势操作确定目标智能家居设备,并根据第二手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,在根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备之前,对当前用户身份进行了判断,不同用户控制智能家居设备的权限不同,保护用户隐私。本发明实施例能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element. In the gesture operation in the air, the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption. Secondly, before determining the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation, the current user identity is judged, and different users have different permissions to control the smart home device, so as to protect user privacy. The embodiment of the present invention can overcome the inconvenience that the instruction transmission between interconnected devices usually needs to be used for operation on a graphical operation interface, and the user can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to the user. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
请参阅图7,图7是本发明实施例四提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 7 , which is a schematic flowchart of a smart home control method according to Embodiment 4 of the present invention. Wherein, the embodiments of the present invention include:
601、当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作。601. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, acquire a user's air gesture operation.
具体的,在本发明实施例中,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。Specifically, in the embodiment of the present invention, the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
具体的,在本发明实施例中,获取用户的隔空手势操作,终端可以通过终端自带的拍摄元件获取用户的隔空手势操作,所述隔空手势操作包括第一手势和第二手势,所述第一手势操作包括但不限于数字手势,所述第二手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势。Specifically, in this embodiment of the present invention, to obtain the user's air gesture operation, the terminal can obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes a first gesture and a second gesture , the first gesture operation includes but is not limited to digital gestures, the second gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air, press down in the air, Gestures such as grabbing in the air, making a fist in the air, comparing numbers in the air, gestures such as V-shaped or heart-shaped gestures.
602、获取第一图片集合并识别是否存在手部区域,若是,则执行步骤603;若否则执行609。602. Acquire the first picture set and identify whether there is a hand area, if yes, go to step 603; if otherwise, go to 609.
在本发明实施例中,启动所述拍摄元件,所述拍摄元件在第一预设时间内按照第一预设拍摄数量获取第一图片集合,对所述第一图片集合中的各个图片进行内容识别;根据识别结果判断所述第一图片集合中的各个图片是否存在手部区域:In the embodiment of the present invention, the photographing element is activated, and the photographing element acquires a first set of pictures according to a first preset number of shots within a first preset time, and performs content on each picture in the first set of pictures. Recognition; according to the recognition result, determine whether each picture in the first picture set has a hand area:
若是,执行步骤603;If yes, go to step 603;
若否,执行步骤609。If not, go to step 609.
603、判断所述第一图片集合中是否有图片与第一样本手势图片匹配。603. Determine whether there is a picture in the first picture set that matches the first sample gesture picture.
具体的,在本发明实施例中,终端判断第一图片集合中是否有图片与第一样本手势图片匹配,通过将所述第一图片集合中的各个图片与第一样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:Specifically, in this embodiment of the present invention, the terminal determines whether there is a picture in the first picture set that matches the first sample gesture picture, by comparing each picture in the first picture set with each of the first sample gesture pictures Picture comparison, there are the following two possible situations in the embodiment of the present invention:
若是,执行步骤604。If yes, go to step 604 .
若否,则执行步骤609。If not, step 609 is executed.
604、采集当前用户的人脸照片,判断所述人脸照片与样本人脸照片是否匹配,若是,则执行步骤605;若否则执行步骤609。604. Collect the face photo of the current user, and determine whether the face photo matches the sample face photo, if yes, go to step 605; if not, go to step 609.
具体的,当在终端的锁屏状态下,终端通过拍摄元件(拍摄元件可以为终端内置的摄像头,也可以终端外置的摄像头)感应到人脸时,触发该终端进行人脸识别。终端根据通过拍摄元件采集当前用户的人脸照片,得到待识别人脸照片;将待识别人脸照片与终端内预先录入的样本人脸照片进行匹配,判断所述人脸照片与样本人脸照片是否匹配,具体的人脸识别过程可以参照已有的人脸识别技术实现,此处不再赘述。本发明实施例存在下列两种可能出现的情况:Specifically, when the terminal senses a face through a photographing element (the photographing element may be a built-in camera of the terminal, or a camera external to the terminal) in the locked screen state of the terminal, the terminal is triggered to perform face recognition. The terminal collects the face photo of the current user through the photographing element, and obtains the face photo to be recognized; matches the to-be-recognized face photo with the sample face photo pre-recorded in the terminal, and judges the face photo and the sample face photo Whether it matches or not, the specific face recognition process can be implemented with reference to the existing face recognition technology, which will not be repeated here. There are the following two possible situations in this embodiment of the present invention:
若是,则执行步骤605。If yes, step 605 is executed.
若否,则执行步骤609。If not, step 609 is executed.
605、将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。605. Use the first sample gesture picture as a first gesture operation, and determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
在本发明实施例中,终端将所述第一样本手势图片作为第一手势操作,并根据第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。In this embodiment of the present invention, the terminal uses the first sample gesture picture as a first gesture operation, and determines a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
例如,请参阅图4,图4为第一手势操作的示意图,所述第一样本手势图片数量可以为多张,所述样本手势图片包括数字一手势301、数字二手势302和数字三手势303,所述数字一手势301对应的智能家居设备为智能空调,所述数字二手势302对应的智能家居设备为智能电视,所述数字三手势303对应的智能家居设备为智能窗帘,其他数字手势按上述方法一一对应,在此不做赘述。所述第一图片集合中一图片与多张第一样本手势图片中数字一手势301一致,则将所述第一样本手势图片作为第一手势操作,即将数字一手势301作为第一手势操作,并根据所述第一手势操作确定对应的所述智能家居设备为智能空调。For example, please refer to FIG. 4. FIG. 4 is a schematic diagram of a first gesture operation. The number of the first sample gesture pictures may be multiple, and the sample gesture pictures include a number one gesture 301, a number two gesture 302 and a number three gesture 303, the smart home device corresponding to the number one gesture 301 is a smart air conditioner, the smart home device corresponding to the number two gesture 302 is a smart TV, the smart home device corresponding to the number three gesture 303 is a smart curtain, and other digital gestures The above methods are in one-to-one correspondence, and are not repeated here. A picture in the first picture set is consistent with the number one gesture 301 in the plurality of first sample gesture pictures, then the first sample gesture picture is used as the first gesture operation, that is, the number one gesture 301 is used as the first gesture operation, and according to the first gesture operation, it is determined that the corresponding smart home device is a smart air conditioner.
606、通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,若是,则执行步骤607;若否,则执行步骤609。606. Obtain a second set of pictures according to the second specified number of pictures obtained by the photographing element within the second preset duration, and determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, and if so , then go to step 607 ; if not, go to step 609 .
具体的,在本发明实施例中,所述第二样本手势图片数量可以为多张,启动所述拍摄元件,通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合,然后,判断所述第二图片集合中是否有图片与第二样本手势图片匹配,通过将所述第二图片集合中的各个图片与第二样本手势图片的各个图片对比,本发明实施例存在下列两种可能出现的情况:Specifically, in this embodiment of the present invention, the number of the second sample gesture pictures may be multiple, and the photographing element is activated, and the photographing element is used to obtain a second specified number of pictures within a second preset time period. , obtain the second set of pictures, and then, determine whether there is a picture in the second set of pictures that matches the second sample gesture picture, by comparing each picture in the second set of pictures with each picture of the second sample gesture picture , there are the following two possible situations in this embodiment of the present invention:
若是,则执行步骤607。If yes, step 607 is executed.
若否,则执行步骤609。If not, step 609 is executed.
607、根据所述第二手势操作确定对应的控制指令,并将所述控制指令发送至目标智能家居设备。607. Determine a corresponding control instruction according to the second gesture operation, and send the control instruction to the target smart home device.
在本发明实施例中,根据所述第二手势操作确定对应的控制指令,并向目标智能家居设备发送控制指令。In the embodiment of the present invention, the corresponding control instruction is determined according to the second gesture operation, and the control instruction is sent to the target smart home device.
例如,请参阅图5,图5为第二手势操作的示意图,多张第二样本手势图片中包括隔空握拳401、隔空展开402、隔空上挥403和隔空下挥404,当识别的第二手势操作为隔空握拳401时,根据所述隔空握拳401操作确定对应的控制指令,所述控制指令为:关闭当前智能家居设备,即关闭空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空展开402时,根据所述隔空展开402操作确定对应的控制指令,所述控制指令为:开启当前智能家居设备,即开启空调,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空上挥403时,根据所述隔空上挥403操作确定对应的控制指令,所述控制指令为:调高当前智能家居设备,即调高空调的温度,并将所述控制指令发送至所述智能家居设备;当识别的第二手势操作为隔空下挥404时,根据所述隔空下挥操404作确定对应的控制指令,所述控制指令为:调低当前智能家居设备,即调低空调的温度,并将所述控制指令发送至所述智能家居设备。其他隔空手势可以按上述方法一一对应,在此不做赘述。For example, please refer to FIG. 5. FIG. 5 is a schematic diagram of the second gesture operation. The plurality of second sample gesture pictures include a fist 401 in the air, an expansion 402 in the air, an upward swing 403 in the air, and a downward swing 404 in the air. When the recognized second gesture operation is to make a fist 401 in the air, the corresponding control command is determined according to the operation of the fist 401 in the air, and the control command is: turn off the current smart home equipment, that is, turn off the air conditioner, and set the control command to Send to the smart home equipment; when the recognized second gesture operation is to expand 402 from the air, determine the corresponding control instruction according to the operation of the expanded 402 from the air, and the control instruction is: turn on the current smart home equipment, that is, Turn on the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is waving 403 in the air, determine the corresponding control command according to the operation of waving 403 in the air, and the The control command is: increase the current smart home device, that is, increase the temperature of the air conditioner, and send the control command to the smart home device; when the recognized second gesture operation is to wave 404 in the air, according to the Said swiping operation 404 in the air is used to determine the corresponding control command. The control command is: lowering the current smart home device, that is, lowering the temperature of the air conditioner, and sending the control command to the smart home device. Other space gestures can be corresponded one-to-one according to the above method, and will not be repeated here.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。所述隔空手势对应的控制指令包括但不限于开启设备、关闭设备、将设备某一功能调大、将设备某一功能调小、启动传输和停止传输等。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices. The control instructions corresponding to the air gestures include, but are not limited to, turn on the device, turn off the device, increase a certain function of the device, decrease a certain function of the device, start transmission, stop transmission, and the like.
608、基于所述控制指令控制对应的智能家居设备的运行状态。608. Control the running state of the corresponding smart home device based on the control instruction.
在本发明实施例中,智能家居设备接收终端发送的控制指令,基于所述控制指令控制对应的智能家居设备的运行状态。In the embodiment of the present invention, the smart home device receives a control instruction sent by the terminal, and controls the operation state of the corresponding smart home device based on the control instruction.
例如,确定目标智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the target smart home device is a smart air conditioner, the embodiment of the present invention specifically has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
609、结束智能家居控制流程。609. End the smart home control process.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够通过拍摄元件获取用户的隔空手势操作,根据第一手势操作确定目标智能家居设备,并根据第二手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,在根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备之前,对当前用户身份进行了判断,并识别第一图片集合中是否有手部图片确保控制的精准,不同用户控制智能家居设备的权限不同,也能够保护用户隐私。本发明实施例能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's information can be obtained through the photographing element. In the gesture operation in the air, the target smart home device is determined according to the first gesture operation, and the smart home device is controlled in the air according to the second gesture operation, without lighting the screen to operate, saving power consumption. Secondly, before determining the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation, the current user identity is judged, and whether there is a hand picture in the first picture set is identified to ensure control Different users have different permissions to control smart home devices, and it can also protect user privacy. The embodiment of the present invention can overcome the inconvenience that the instruction transmission between interconnected devices usually needs to be used for operation on a graphical operation interface, and the user can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to the user. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
请参阅图8,图8是本发明实施例五提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 8 , which is a schematic flowchart of a smart home control method according to Embodiment 5 of the present invention. Wherein, the embodiments of the present invention include:
701、当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作。701. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, acquire a user's air gesture operation.
具体的,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。Specifically, the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the Wi-Fi network, the Bluetooth network, the ZigBee network and the Digital Living Network Alliance (Digital Living Network Alliance). Living Network Alliance, DLNA), etc., but not limited to this.
在本发明实施例中,通过所述红外传感器元件的信号发射器向外界发射第一红外光,并通过所述红外传感器元件的信号接收器接收所述第一红外光经外界障碍物反射的第二红外光。根据所述第二红外光生成手势信号。In the embodiment of the present invention, the first infrared light is emitted to the outside through the signal transmitter of the infrared sensor element, and the first infrared light reflected by the external obstacle is received through the signal receiver of the infrared sensor element. Two infrared light. A gesture signal is generated according to the second infrared light.
702、判断所述手势信号与样本手势信号是否匹配,若是,则执行步骤703;若否,则执行步骤706。702. Determine whether the gesture signal matches the sample gesture signal, if yes, go to step 703; if not, go to step 706.
在本发明实施例中,样本手势信号可以是多种,一样本手势信号对应一操作手势,判断所述手势信号与样本手势信号是否匹配:In the embodiment of the present invention, the sample gesture signal may be multiple, and a sample gesture signal corresponds to an operation gesture, and it is determined whether the gesture signal matches the sample gesture signal:
若是,则执行步骤703;If yes, go to step 703;
若否,则执行步骤706;If not, go to step 706;
703、将所述样本手势信号对应的手势操作作为隔空手势操作。703. Use the gesture operation corresponding to the sample gesture signal as a space gesture operation.
具体的,终端将所述样本手势信号对应的手势操作作为隔空手势操作。在本发明实施例中,获取用户的隔空手势操作,终端可以通过终端自带的拍摄元件获取用户的隔空手势操作,所述隔空手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势。Specifically, the terminal regards the gesture operation corresponding to the sample gesture signal as an air gesture operation. In this embodiment of the present invention, to obtain the user's air gesture operation, the terminal may obtain the user's air gesture operation through the camera element built in the terminal, and the air gesture operation includes but is not limited to waving up and down in the air. Swing, move left in the air, move right in the air, push down in the air, grab in the air, make a fist in the air, compare numbers in the air, gesture V or heart shape and other gestures.
704、根据所述隔空手势操作确定对应的控制指令。704. Determine a corresponding control instruction according to the air gesture operation.
在本发明实施例中,终端可以根据所述隔空手势操作确定对应的控制指令,并将确定的控制指令向智能家居设备发送,所述智能家居设备的数量可以为一个也可以为多个。In this embodiment of the present invention, the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
705、基于所述控制指令控制所述智能家居设备的运行状态。705. Control the running state of the smart home device based on the control instruction.
具体的,智能家居设备接收到终端发送的控制指令,智能家居设备基于所述控制指令控制所述智能家居设备的运行状态,所述智能家居设备接收所述控制指令并作出响应。Specifically, the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
例如,确定所述智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the smart home device is a smart air conditioner, the embodiment of the present invention has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
706、结束智能家居控制流程。706. End the smart home control process.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,通过红外传感元件获取用户的隔空手势操作,并根据隔空手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and the smart home device, the user is acquired through infrared sensing elements. Remote gesture operation, and control smart home devices from the air according to the gesture operation, no need to light the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
请参阅图9,图9是本发明实施例六提供的一种智能家居控制方法的流程示意图。其中,本发明实施例包括:Please refer to FIG. 9. FIG. 9 is a schematic flowchart of a smart home control method according to Embodiment 6 of the present invention. Wherein, the embodiments of the present invention include:
801、当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,通过所述语音识别元件采集的语音信息。801. When the screen of the terminal is in an off-screen state, if it is detected that a communication connection is established between the terminal and a smart home device, use the voice information collected by the voice recognition element.
具体的,在本发明实施例中,终端与智能家居设备可以通过通讯手段建立通信连接,终端与智能家居设备可以通过无线保真WIFI网络、蓝牙网络、紫蜂(ZigBee)网络和数字生活网络联盟(Digital Living Network Alliance,DLNA)等进行连接,但不限于此。Specifically, in the embodiment of the present invention, the terminal and the smart home device can establish a communication connection by means of communication, and the terminal and the smart home device can use the wireless fidelity WIFI network, the Bluetooth network, the ZigBee network and the digital life network alliance. (Digital Living Network Alliance, DLNA), etc., but not limited to this.
具体的,在本发明实施例中,通过所述语音识别元件采集的语音信息,对所述语音信息进行语音识别处理,从所述多个智能家居设备中确定与所述语音信息对应的目标智能家居设备,例如,通过所述语音识别元件采集的语音信息为“智能空调”,则从所述多个智能家居设备中确定目标智能家居设备为“智能空调”。Specifically, in the embodiment of the present invention, voice recognition processing is performed on the voice information through the voice information collected by the voice recognition element, and a target intelligence corresponding to the voice information is determined from the plurality of smart home devices. For home equipment, for example, the voice information collected by the voice recognition element is "smart air conditioner", and the target smart home equipment is determined from the plurality of smart home equipment as "smart air conditioner".
802、获取用户的隔空手势操作。802. Acquire an air gesture operation of the user.
具体的,在获取用户的隔空手势操作时,可以通过终端内置的传感器件来获取隔空手势。例如,可以通过终端内置的拍摄元件或红外传感器元件获取用户的隔空手势操作,所述隔空手势操作包括但不限于隔空上挥、隔空下挥、隔空左移、隔空右移、隔空下压、隔空抓取、隔空握拳、隔空比出数字、手势V字或心形等手势。此外,还可以通过终端内置的超声波元件来获取隔空手势。Specifically, when acquiring the user's air gesture operation, the air gesture can be acquired through a sensor device built in the terminal. For example, the user's air gesture operation can be obtained through the built-in camera element or infrared sensor element of the terminal, and the air gesture operation includes but is not limited to swipe up in the air, swipe down in the air, move left in the air, move right in the air , push down from the air, grab from the air, make a fist in the air, compare numbers from the air, gesture V or heart shape and other gestures. In addition, air gestures can also be acquired through the built-in ultrasonic element of the terminal.
可选的,终端具有拍摄元件,终端连接有多个智能家居设备,基于根据所述隔空手势操作确定的对应的控制指令控制所述目标智能家居设备的运行状态,通过所述拍摄元件在预设时长内获取指定拍摄数量的图片,得到图片集合;判断所述图片集合中是否有图片与样本手势图片匹配;若所述图片集合中有图片与所述样本手势图片匹配,则将所述样本手势图片对应的隔空手势操作作为所述隔空手势操作。其中,判断所述图片集合中是否有图片与样本手势图片匹配之前,对所述图片集合中的各个图片进行内容识别;根据识别结果判断所述图片集合中的各个图片是否存在手部区域;当判断存在手部区域时,则执行判断所述图片集合中是否有图片与第一样本手势图片匹配。Optionally, the terminal has a photographing element, a plurality of smart home devices are connected to the terminal, and the running state of the target smart home equipment is controlled based on the corresponding control instruction determined according to the gesture operation in the air, and the photographing element is used in the pre-preset operation state. Suppose that the specified number of pictures are obtained within the duration, and a picture set is obtained; it is judged whether there is a picture in the picture set that matches the sample gesture picture; if there is a picture in the picture set that matches the sample gesture picture, then the sample The air gesture operation corresponding to the gesture picture is used as the air gesture operation. Wherein, before judging whether there is a picture in the picture set that matches the sample gesture picture, content recognition is performed on each picture in the picture set; according to the recognition result, it is judged whether each picture in the picture set has a hand area; when When it is judged that there is a hand area, it is judged whether there is a picture in the picture set that matches the first sample gesture picture.
803、根据所述隔空手势操作确定对应的控制指令。803. Determine a corresponding control instruction according to the air gesture operation.
在本发明实施例中,终端可以根据所述隔空手势操作确定对应的控制指令,并将确定的控制指令向智能家居设备发送,所述智能家居设备的数量可以为一个也可以为多个。In this embodiment of the present invention, the terminal may determine a corresponding control instruction according to the air gesture operation, and send the determined control instruction to a smart home device, and the number of the smart home devices may be one or more.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
804、基于所述控制指令控制所述智能家居设备的运行状态。804. Control the running state of the smart home device based on the control instruction.
具体的,智能家居设备接收到终端发送的控制指令,智能家居设备基于所述控制指令控制所述智能家居设备的运行状态,所述智能家居设备接收所述控制指令并作出响应。Specifically, the smart home device receives the control instruction sent by the terminal, the smart home device controls the running state of the smart home device based on the control instruction, and the smart home device receives the control instruction and responds.
例如,确定所述智能家居设备为智能空调时,本发明实施例具体有如下四种可能的实现方式:For example, when it is determined that the smart home device is a smart air conditioner, the embodiment of the present invention has the following four possible implementation manners:
可选的,在第一种可能的实现方式中,当隔空手势操作为隔空握拳时,对应的控制指令为:关闭当前智能家居设备,即关闭智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行关闭智能空调的操作。Optionally, in the first possible implementation manner, when the gesture operation in the air is to make a fist in the air, the corresponding control command is: turn off the current smart home device, that is, turn off the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to perform the operation of turning off the smart air conditioner.
可选的,在第二种可能的实现方式中,当隔空手势操作为隔空展开时,对应的控制指令为:开启当前智能家居设备,即开启智能空调,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行开启智能空调的操作。Optionally, in the second possible implementation manner, when the air gesture operation is to expand from the air, the corresponding control command is: turn on the current smart home device, that is, turn on the smart air conditioner, and send the control command to The smart home device; the smart home device receives the control instruction and responds to execute the operation of turning on the smart air conditioner.
可选的,在第三种可能的实现方式中,当隔空手势操作为隔空上挥时,对应的控制指令为:调高当前智能家居设备,即调高智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调高的操作。Optionally, in a third possible implementation manner, when the gesture operation in the air is to swipe up in the air, the corresponding control command is: increase the current smart home device, that is, increase the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of increasing the temperature of the smart air conditioner.
可选的,在第四种可能的实现方式中,当隔空手势操作为隔空下挥时,对应的控制指令为:调高当前智能家居设备,即调低智能空调的温度,并将所述控制指令发送至所述智能家居设备;所述智能家居设备接收所述控制指令并作出响应,执行将智能空调温度调低的操作。Optionally, in a fourth possible implementation manner, when the gesture operation in the air is to swipe down in the air, the corresponding control command is: increase the current smart home device, that is, decrease the temperature of the smart air conditioner, and set all the The control command is sent to the smart home device; the smart home device receives the control command and responds to perform an operation of lowering the temperature of the smart air conditioner.
需要说明的是,此处仅为举例说明,所述智能家居设备包括但不限于智能空调、智能冰箱、智能音响、智能门窗、智能热水器、智能窗帘、智能电脑和智能电视等可以与终端建立通信连接的智能家居设备。It should be noted that this is only an example, and the smart home devices, including but not limited to smart air conditioners, smart refrigerators, smart speakers, smart doors and windows, smart water heaters, smart curtains, smart computers, and smart TVs, can establish communication with the terminal. Connected smart home devices.
综上所述,本发明实施例提供一种智能家居控制方法,首先,当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够获取用户的隔空手势操作,并根据隔空手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。To sum up, an embodiment of the present invention provides a smart home control method. First, when the screen of the terminal is in an off-screen state, if it is detected that the terminal and the smart home device establish a communication connection, the user's gesture in the air can be obtained. Operation, and control smart home devices from the air according to the gesture operation in the air, without the need to light the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the command transmission between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit commands between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
为了更好地实施以上方法,本发明实施例还可以提供一种智能家居控制装置,该智能家居控制装置具体可以集成在网络设备中,该网络设备可以是移动终端等设备。In order to better implement the above method, an embodiment of the present invention may further provide a smart home control apparatus, which may be specifically integrated in a network device, and the network device may be a device such as a mobile terminal.
例如,如图10所示,该智能家居控制装置可以包括检测模块901、获取模块902、确定模块903和处理模块904,如下:For example, as shown in FIG. 10, the smart home control device may include a detection module 901, an acquisition module 902, a determination module 903 and a processing module 904, as follows:
检测模块901,用于检测所述终端的屏幕处于息屏状态,用于检测终端与智能家居设备建立通信连接;The detection module 901 is used to detect that the screen of the terminal is in an off-screen state, and is used to detect that the terminal establishes a communication connection with a smart home device;
获取模块902,用于获取用户的隔空手势操作;an acquisition module 902, configured to acquire the user's gesture operation in the air;
确定模块903,用于根据所述隔空手势操作确定对应的控制指令;A determination module 903, configured to determine a corresponding control instruction according to the air gesture operation;
处理模块904,用于基于所述控制指令控制对应的智能家居设备的运行状态The processing module 904 is used to control the running state of the corresponding smart home device based on the control instruction
可选的,在本发明的一些实施例中,所述确定模块903还用于:Optionally, in some embodiments of the present invention, the determining module 903 is further configured to:
根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;Determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation;
根据第二手势操作确定对应的控制指令。The corresponding control instruction is determined according to the second gesture operation.
可选的,在本发明的一些实施例中,所述装置还包括:Optionally, in some embodiments of the present invention, the device further includes:
判断模块,用于判断所述人脸照片与样本人脸照片是否匹配;a judging module for judging whether the face photo matches the sample face photo;
若是,则根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。If yes, determine the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
可选的,在本发明的一些实施例中,所述获取模块902还用于:Optionally, in some embodiments of the present invention, the obtaining module 902 is further configured to:
用于获取第一指定拍摄数量的图片,得到第一图片集合;is used to obtain the pictures of the first specified number of shots to obtain the first set of pictures;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
判断所述第一图片集合中是否有图片与第一样本手势图片匹配;Judging whether there is a picture in the first picture set that matches the first sample gesture picture;
若所述第一图片集合中有图片与所述第一样本手势图片匹配,则将所述第一样本手势图片对应的隔空手势操作作为第一手势操作,并通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合;If there is a picture in the first picture set that matches the first sample gesture picture, take the space gesture operation corresponding to the first sample gesture picture as the first gesture operation, and use the photographing element to Obtain the second set of pictures according to the second specified number of pictures obtained within the second preset time period;
用于判断所述第二图片集合中是否有图片与第二样本手势图片匹配;for judging whether there is a picture in the second set of pictures that matches the second sample gesture picture;
若所述第二图片集合中有图片与所述第二样本手势图片匹配,则将所述第二样本手势图片对应的隔空手势操作作为第二手势操作。If there is a picture in the second picture set that matches the second sample gesture picture, the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
可选的,在本发明的一些实施例中,所述装置还包括:Optionally, in some embodiments of the present invention, the device further includes:
识别模块,用于对所述第一图片集合中的各个图片进行内容识别;an identification module for performing content identification on each picture in the first picture set;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
根据识别结果判断所述第一图片集合中的各个图片是否存在手部区域;According to the recognition result, determine whether each picture in the first picture set has a hand area;
当判断存在手部区域时,则判断所述第一图片集合中是否有图片与第一样本手势图片匹配。When it is determined that there is a hand region, it is determined whether there is a picture in the first picture set that matches the first sample gesture picture.
可选的,在本发明的一些实施例中,所述处理模块904还用于:Optionally, in some embodiments of the present invention, the processing module 904 is further configured to:
根据所述第二红外光生成手势信号;generating a gesture signal according to the second infrared light;
可选的,在本发明的一些实施例中,所述判断模块还用于:Optionally, in some embodiments of the present invention, the judgment module is further configured to:
判断所述手势信号与样本手势信号是否匹配;Determine whether the gesture signal matches the sample gesture signal;
若是,则将所述样本手势信号对应的手势操作作为隔空手势操作。If yes, the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
可选的,在本发明的一些实施例中,所述确定模块903还用于:Optionally, in some embodiments of the present invention, the determining module 903 is further configured to:
对所述语音信息进行语音识别处理,从所述多个智能家居设备中确定与所述语音信息对应的目标智能家居设备。Voice recognition processing is performed on the voice information, and a target smart home device corresponding to the voice information is determined from the plurality of smart home devices.
本发明实施例公开了一种智能家居控制装置,该智能家居控制装置包括:检测模块检测到当所述终端的屏幕处于息屏状态时,终端与智能家居设备建立通信连接,则获取模块获取用户的隔空手势操作,接着,确定模块根据所述隔空手势操作确定对应的控制指令,最后,处理模块基于所述控制指令控制对应的智能家居设备的运行状态。本发明实施例在当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,能够获取用户的隔空手势操作,并根据隔空手势操作来隔空控制智能家居设备,无需点亮屏幕进行操作,节省功耗。其次,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。An embodiment of the present invention discloses a smart home control device. The smart home control device includes: a detection module detects that when the screen of the terminal is in an off-screen state, the terminal establishes a communication connection with a smart home device, and an acquisition module acquires the user Then, the determination module determines the corresponding control command according to the air gesture operation, and finally, the processing module controls the operation state of the corresponding smart home device based on the control command. In the embodiment of the present invention, when the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, the user's gesture operation in the air can be obtained, and the smart home can be controlled in the air according to the gesture operation in the air The device does not need to light up the screen to operate, saving power consumption. Secondly, it can overcome the inconvenience that the transmission of instructions between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices, which brings convenience to users. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
上面从模块化功能实体的角度对本发明实施例中的终端进行了描述,下面从硬件处理的角度分别对本发明实施例中的终端进行描述。本发明实施例还提供一种终端,如图10所示,其示出了本发明实施例所涉及的终端的结构示意图,该终端可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等,具体来讲:The terminals in the embodiments of the present invention are described above from the perspective of modular functional entities, and the terminals in the embodiments of the present invention are respectively described below from the perspective of hardware processing. An embodiment of the present invention also provides a terminal, as shown in FIG. 10 , which shows a schematic structural diagram of a terminal involved in an embodiment of the present invention. The terminal may be a mobile phone, a computer, a digital broadcasting terminal, a message sending and receiving device, a game Consoles, Tablets, Medical Equipment, Fitness Equipment, Personal Digital Assistants, etc. Specifically:
如图11所示,该终端可以包括射频(Radio Frequency,RF)电路111、包括有一个或一个以上计算机可读存储介质的存储器112、输入单元113、显示单元114、传感器115、音频电路116、无线保真(Wireless Fidelity,Wi-Fi)模块117、包括有一个或者一个以上处理核心的处理器118、以及电源119等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in FIG. 11 , the terminal may include a radio frequency (RF) circuit 111, a memory 112 including one or more computer-readable storage media, an input unit 113, a display unit 114, a sensor 115, an audio circuit 116, Wireless Fidelity Fidelity (Wi-Fi) module 117, a processor 118 including one or more processing cores, a power supply 119 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 11 does not constitute a limitation on the terminal, and may include more or less components than shown, or combine some components, or arrange different components. in:
RF电路111可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器118处理;另外,将涉及上行的数据发送给基站。通常,RF电路111包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(Subscriber Identity Module,SIM)卡、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路111还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 111 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 118 for processing; in addition, it sends the data related to the uplink to the base station. . Typically, the RF circuit 111 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (Subscriber Identity Module, SIM) card, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, etc. In addition, the RF circuit 111 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the Global System for Mobile Communications (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), e-mail, Short Message Service (Short Messaging Service, SMS), etc.
存储器112可用于存储软件程序以及模块,处理器118通过运行存储在存储器112的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器112可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器112可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器112还可以包括存储器控制器,以提供处理器118和输入单元113对存储器112的访问。The memory 112 can be used to store software programs and modules, and the processor 118 executes various functional applications and data processing by running the software programs and modules stored in the memory 112 . The memory 112 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like; Data created by the use of the terminal (such as audio data, phone book, etc.), etc. Additionally, memory 112 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 112 may also include a memory controller to provide access to the memory 112 by the processor 118 and the input unit 113 .
输入单元113可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元113可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器118,并能接收处理器118发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元113还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 113 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 113 may include a touch-sensitive surface as well as other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects the user's touch operations on or near it (such as the user's finger, stylus, or any suitable operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 118, and can receive and execute commands sent by the processor 118. Additionally, touch-sensitive surfaces can be implemented using resistive, capacitive, infrared, and surface acoustic wave types. In addition to the touch-sensitive surface, the input unit 113 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
显示单元114可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元114可包括显示屏,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏。进一步的,触敏表面可覆盖显示屏,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器118以确定触摸事件的类型,随后处理器118根据触摸事件的类型在显示屏上提供相应的视觉输出。The display unit 114 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, videos and any combination thereof. The display unit 114 may include a display screen, optionally, a liquid crystal display (Liquid Crystal Display, LCD), an organic light emitting diode (Organic light emitting diode) may be used. Light-Emitting Diode, OLED) and other forms to configure the display. Further, the touch-sensitive surface may cover the display screen, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 118 to determine the type of the touch event, and then the processor 118 displays the touch event according to the type of the touch event. The corresponding visual output is provided on the screen.
终端还可包括至少一种传感器115,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个位置上(一般为三轴)加速度的大小,静止时可检测出重力的大小及位置,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal may also include at least one sensor 115, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or the backlight when the terminal is moved to the ear . As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration at each position (usually three axes), and can detect the magnitude and position of gravity when stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.
音频电路116、扬声器,传声器可提供用户与终端之间的音频接口。音频电路116可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路116接收后转换为音频数据,再将音频数据输出处理器118处理后,经RF电路111以发送给比如另一终端,或者将音频数据输出至存储器112以便进一步处理。音频电路116还可能包括耳塞插孔,以提供外设耳机与终端的通信。The audio circuit 116, speakers, and microphones may provide an audio interface between the user and the terminal. The audio circuit 116 can convert the received audio data into an electrical signal, and transmit it to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received and converted by the audio circuit 116 In the form of audio data, the audio data is output to the processor 118 for processing, and then sent to, for example, another terminal via the RF circuit 111, or the audio data is output to the memory 112 for further processing. The audio circuit 116 may also include an earphone jack to provide communication of peripheral headphones with the terminal.
Wi-Fi属于短距离无线传输技术,终端通过Wi-Fi模块117可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了Wi-Fi模块117,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wi-Fi is a short-distance wireless transmission technology, and the terminal can help users to send and receive emails, browse web pages, access streaming media, etc. through the Wi-Fi module 117, and it provides users with wireless broadband Internet access. Although FIG. 11 shows the Wi-Fi module 117, it can be understood that it does not belong to the necessary structure of the terminal, and can be completely omitted as required within the scope of not changing the essence of the invention.
处理器118是终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器112内的软件程序和/或模块,以及调用存储在存储器112内的数据,执行终端的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器118可包括一个或多个处理核心;优选的,处理器118可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器118中。The processor 118 is the control center of the terminal, uses various interfaces and lines to connect various parts of the entire mobile phone, and executes by running or executing the software programs and/or modules stored in the memory 112, and calling the data stored in the memory 112. Various functions of the terminal and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 118 may include one or more processing cores; preferably, the processor 118 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 118 .
终端还包括给各个部件供电的电源119(比如电池),优选的,电源可以通过电源管理系统与处理器118逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源119还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal also includes a power supply 119 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 118 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The power source 119 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
尽管未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端中的处理器118会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器112中,并由处理器118来运行存储在存储器112中的应用程序,从而实现各种功能。Although not shown, the terminal may further include a camera, a Bluetooth module, and the like, which will not be repeated here. Specifically in this embodiment, the processor 118 in the terminal loads the executable files corresponding to the processes of one or more application programs into the memory 112 according to the following instructions, and the processor 118 executes them and stores them in the memory 112 applications in order to achieve various functions.
本发明实施例提供的电子设备,能够克服互联设备间传输指令通常需用于在图形操作界面操作的不便利性,用户可以直接通过隔空手势在互联设备间传输指令,控制互联设备,为用户带来便利。并且,用户还可以定义自己的偏好手势动作,控制方式多样,灵活性大,控制多个智能家用设备快捷方便,操作简单易学,拓展了用户操作的丰富性。The electronic device provided by the embodiment of the present invention can overcome the inconvenience that the transmission of instructions between interconnected devices usually needs to be used for operation on a graphical operation interface. Users can directly transmit instructions between interconnected devices through air gestures to control the interconnected devices. Bring convenience. In addition, users can also define their own preferred gesture actions, with various control methods and great flexibility. It is fast and convenient to control multiple smart home devices, and the operation is simple and easy to learn, which expands the richness of user operations.
另一方面,本发明实施例还提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的方法,例如包括:当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作;根据所述隔空手势操作确定对应的控制指令;基于所述控制指令控制所述智能家居设备的运行状态On the other hand, an embodiment of the present invention also provides a storage medium on which a computer program is stored, and the computer program is implemented by a processor to execute the methods provided by the above embodiments, for example, including: when the screen of the terminal is When in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, the user's air gesture operation is obtained; the corresponding control instruction is determined according to the air gesture operation; the smart home is controlled based on the control instruction equipment operating status
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。上述所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得所有其他实施例,除本发明实施例提到的与本发明实施例方案一致的此类设计,都属于本发明保护的范围。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments. The above-described embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work, except for such designs mentioned in the embodiments of the present invention that are consistent with the solutions of the embodiments of the present invention, belong to the present invention scope of protection.
以上对本发明实施例所提供的一种智能家居控制方法、装置、终端以及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的技术方案及其核心思想;本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例的技术方案的范围。A smart home control method, device, terminal, and storage medium provided by the embodiments of the present invention are described above in detail, and specific examples are used in this paper to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only It is used to help understand the technical solution of the present invention and its core idea; those of ordinary skill in the art should understand that it can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some of the technical features; and These modifications or substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. 一种智能家居的控制方法,应用于终端,其中,包括:A control method for a smart home, applied to a terminal, comprising:
    当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作;When the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, acquiring the user's gesture operation in the air;
    根据所述隔空手势操作确定对应的控制指令;Determine the corresponding control command according to the air gesture operation;
    基于所述控制指令控制对应的智能家居设备的运行状态。The operating state of the corresponding smart home device is controlled based on the control instruction.
  2. 根据权利要求1所述的方法,其中,所述终端连接有多个智能家居设备,所述隔空手势操作包括第一手势操作和第二手势操作;所述根据所述隔空手势操作确定对应的控制指令,包括:The method according to claim 1, wherein the terminal is connected with a plurality of smart home devices, the air gesture operation includes a first gesture operation and a second gesture operation; the determining according to the air gesture operation Corresponding control instructions, including:
    根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;Determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation;
    根据第二手势操作确定对应的控制指令;Determine the corresponding control instruction according to the second gesture operation;
    所述基于所述控制指令控制所述智能家居设备的运行状态,包括:The controlling the running state of the smart home device based on the control instruction includes:
    基于根据所述第二手势操作确定的对应的控制指令控制所述目标智能家居设备的运行状态。The operating state of the target smart home device is controlled based on the corresponding control instruction determined according to the second gesture operation.
  3. 根据权利要求2所述的方法,其中,所述根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备之前,还包括:The method according to claim 2, wherein before determining the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation, the method further comprises:
    采集当前用户的人脸照片;Collect the face photo of the current user;
    判断所述人脸照片与样本人脸照片是否匹配;Judging whether the face photo matches the sample face photo;
    若是,则根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。If yes, determine the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  4. 根据权利要求2或3所述的方法,其中,终端具有拍摄元件;所述获取用户的隔空手势操作,包括:The method according to claim 2 or 3, wherein the terminal has a photographing element; and the acquiring the user's air gesture operation includes:
    通过所述拍摄元件在第一预设时长内获取第一指定拍摄数量的图片,得到第一图片集合;Obtaining a first set of pictures by acquiring a first specified number of pictures within a first preset duration by the photographing element;
    判断所述第一图片集合中是否有图片与第一样本手势图片匹配;Judging whether there is a picture in the first picture set that matches the first sample gesture picture;
    若所述第一图片集合中有图片与所述第一样本手势图片匹配,则将所述第一样本手势图片对应的隔空手势操作作为第一手势操作,并通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合;If there is a picture in the first picture set that matches the first sample gesture picture, take the space gesture operation corresponding to the first sample gesture picture as the first gesture operation, and use the photographing element to Obtain the second set of pictures according to the second specified number of pictures obtained within the second preset time period;
    判断所述第二图片集合中是否有图片与第二样本手势图片匹配;Judging whether there is a picture in the second picture set that matches the second sample gesture picture;
    若所述第二图片集合中有图片与所述第二样本手势图片匹配,则将所述第二样本手势图片对应的隔空手势操作作为第二手势操作。If there is a picture in the second picture set that matches the second sample gesture picture, the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
  5. 根据权利要求4所述的方法,其中,所述判断所述第一图片集合中是否有图片与第一样本手势图片匹配之前,还包括:The method according to claim 4, wherein before judging whether there is a picture in the first picture set that matches the first sample gesture picture, the method further comprises:
    对所述第一图片集合中的各个图片进行内容识别;performing content identification on each picture in the first picture set;
    根据识别结果判断所述第一图片集合中的各个图片是否存在手部区域;According to the recognition result, determine whether each picture in the first picture set has a hand area;
    当判断存在手部区域时,则执行判断所述第一图片集合中是否有图片与第一样本手势图片匹配。When it is judged that there is a hand area, it is judged whether there is a picture in the first picture set that matches the first sample gesture picture.
  6. 根据权利要求1所述的方法,其中,所述终端具有红外传感器元件;所述获取用户的隔空手势操作,包括:The method according to claim 1, wherein the terminal has an infrared sensor element; the acquiring the user's gesture operation in the air comprises:
    通过所述红外传感器元件的信号发射器向外界发射第一红外光,并通过所述红外传感器元件的信号接收器接收所述第一红外光经外界障碍物反射的第二红外光;The signal transmitter of the infrared sensor element emits first infrared light to the outside world, and the signal receiver of the infrared sensor element receives the second infrared light reflected by the first infrared light through external obstacles;
    根据所述第二红外光生成手势信号;generating a gesture signal according to the second infrared light;
    判断所述手势信号与样本手势信号是否匹配;Determine whether the gesture signal matches the sample gesture signal;
    若是,则将所述样本手势信号对应的手势操作作为隔空手势操作。If yes, the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
  7. 根据权利要求1所述的方法,其中,终端具有语音识别元件,所述终端连接有多个智能家居设备;所述方法还包括:The method according to claim 1, wherein the terminal has a voice recognition element, and the terminal is connected with a plurality of smart home devices; the method further comprises:
    通过所述语音识别元件采集的语音信息;Voice information collected by the voice recognition element;
    对所述语音信息进行语音识别处理,从所述多个智能家居设备中确定与所述语音信息对应的目标智能家居设备;Perform voice recognition processing on the voice information, and determine a target smart home device corresponding to the voice information from the plurality of smart home devices;
    基于所述控制指令控制所述智能家居设备的运行状态,包括:Controlling the running state of the smart home device based on the control instruction includes:
    基于所述控制指令控制与所述语音信息对应的目标智能家居设备。The target smart home device corresponding to the voice information is controlled based on the control instruction.
  8. 根据权利要求7所述的方法,其中,所述终端连接有多个智能家居设备;所述根据所述隔空手势操作确定对应的控制指令,包括:The method according to claim 7, wherein the terminal is connected with a plurality of smart home devices; the determining the corresponding control instruction according to the air gesture operation, comprising:
    基于根据所述隔空手势操作确定的对应的控制指令控制所述目标智能家居设备的运行状态。The running state of the target smart home device is controlled based on the corresponding control instruction determined according to the air gesture operation.
  9. 根据权利要求8所述的方法,其中,终端具有拍摄元件;所述获取用户的隔空手势操作,包括:The method according to claim 8, wherein the terminal has a photographing element; the acquiring the user's air gesture operation comprises:
    通过所述拍摄元件在预设时长内获取指定拍摄数量的图片,得到图片集合;Obtaining a specified number of pictures within a preset time period by the photographing element to obtain a picture set;
    判断所述图片集合中是否有图片与样本手势图片匹配;Determine whether there is a picture in the picture set that matches the sample gesture picture;
    若所述图片集合中有图片与所述样本手势图片匹配,则将所述样本手势图片对应的隔空手势操作作为所述隔空手势操作。If a picture in the picture set matches the sample gesture picture, the space gesture operation corresponding to the sample gesture picture is used as the space gesture operation.
  10. 根据权利要求9所述的方法,其中,所述判断所述图片集合中是否有图片与样本手势图片匹配之前,还包括:The method according to claim 9, wherein before judging whether there is a picture in the picture set that matches the sample gesture picture, the method further comprises:
    对所述图片集合中的各个图片进行内容识别;performing content identification on each picture in the picture set;
    根据识别结果判断所述图片集合中的各个图片是否存在手部区域;According to the recognition result, determine whether each picture in the picture set has a hand area;
    当判断存在手部区域时,则执行判断所述图片集合中是否有图片与第一样本手势图片匹配。When it is judged that there is a hand region, it is judged whether there is a picture in the picture set that matches the first sample gesture picture.
  11. 一种智能家居控制装置,其中,包括:A smart home control device, comprising:
    检测模块,用于检测所述终端的屏幕处于息屏状态,用于检测终端与智能家居设备建立通信连接;a detection module, used to detect that the screen of the terminal is in an off-screen state, and used to detect that the terminal establishes a communication connection with the smart home device;
    获取模块,用于获取用户的隔空手势操作;The acquisition module is used to acquire the user's air gesture operation;
    确定模块,用于根据所述隔空手势操作确定对应的控制指令;a determination module, configured to determine a corresponding control instruction according to the gesture operation in the air;
    处理模块,用于基于所述控制指令控制对应的智能家居设备的运行状态。The processing module is configured to control the running state of the corresponding smart home device based on the control instruction.
  12. 根据权利要求11所述的装置,其中,所述确定模块还用于:The apparatus of claim 11, wherein the determining module is further configured to:
    根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;Determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation;
    根据第二手势操作确定对应的控制指令。The corresponding control instruction is determined according to the second gesture operation.
  13. 根据权利要求12所述的装置,其中,所述装置还包括:The apparatus of claim 12, wherein the apparatus further comprises:
    判断模块,用于判断所述人脸照片与样本人脸照片是否匹配;a judging module for judging whether the face photo matches the sample face photo;
    若是,则根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。If yes, determine the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  14. 一种终端,包括存储器、处理器及存储在存储器上并在处理器上运行的计算机程序,所述处理器执行所述程序时能够实现一种智能家居控制方法的步骤,其中,所述方法包括:A terminal includes a memory, a processor and a computer program stored on the memory and running on the processor, the processor can implement the steps of a smart home control method when the processor executes the program, wherein the method includes :
    当所述终端的屏幕处于息屏状态时,若检测到终端与智能家居设备建立通信连接,则获取用户的隔空手势操作;When the screen of the terminal is in the screen-off state, if it is detected that the terminal establishes a communication connection with the smart home device, acquiring the user's gesture operation in the air;
    根据所述隔空手势操作确定对应的控制指令;Determine the corresponding control command according to the air gesture operation;
    基于所述控制指令控制对应的智能家居设备的运行状态。The operating state of the corresponding smart home device is controlled based on the control instruction.
  15. 根据权利要求14所述的终端,其中,所述终端连接有多个智能家居设备,所述隔空手势操作包括第一手势操作和第二手势操作;所述根据所述隔空手势操作确定对应的控制指令,包括:The terminal according to claim 14, wherein the terminal is connected with a plurality of smart home devices, the air gesture operation includes a first gesture operation and a second gesture operation; the determining according to the air gesture operation Corresponding control instructions, including:
    根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备;Determine a corresponding target smart home device from the plurality of smart home devices according to the first gesture operation;
    根据第二手势操作确定对应的控制指令;Determine the corresponding control instruction according to the second gesture operation;
    所述基于所述控制指令控制所述智能家居设备的运行状态,包括:The controlling the running state of the smart home device based on the control instruction includes:
    基于根据所述第二手势操作确定的对应的控制指令控制所述目标智能家居设备的运行状态。The operating state of the target smart home device is controlled based on the corresponding control instruction determined according to the second gesture operation.
  16. 根据权利要求15所述的终端,其中,所述根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备之前,还包括:The terminal according to claim 15, wherein before the determining the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation, the method further comprises:
    采集当前用户的人脸照片;Collect the face photo of the current user;
    判断所述人脸照片与样本人脸照片是否匹配;Judging whether the face photo matches the sample face photo;
    若是,则根据所述第一手势操作从所述多个智能家居设备中确定对应的目标智能家居设备。If yes, determine the corresponding target smart home device from the plurality of smart home devices according to the first gesture operation.
  17. 根据权利要求15或16所述的终端,其中,终端具有拍摄元件;所述获取用户的隔空手势操作,包括:The terminal according to claim 15 or 16, wherein the terminal has a photographing element; the acquiring the user's air gesture operation comprises:
    通过所述拍摄元件在第一预设时长内获取第一指定拍摄数量的图片,得到第一图片集合;Obtaining a first set of pictures by acquiring a first specified number of pictures within a first preset duration by the photographing element;
    判断所述第一图片集合中是否有图片与第一样本手势图片匹配;Judging whether there is a picture in the first picture set that matches the first sample gesture picture;
    若所述第一图片集合中有图片与所述第一样本手势图片匹配,则将所述第一样本手势图片对应的隔空手势操作作为第一手势操作,并通过所述拍摄元件在第二预设时长内按照获取第二指定拍摄数量的图片,得到第二图片集合;If there is a picture in the first picture set that matches the first sample gesture picture, take the space gesture operation corresponding to the first sample gesture picture as the first gesture operation, and use the photographing element to Obtain the second set of pictures according to the second specified number of pictures obtained within the second preset time period;
    判断所述第二图片集合中是否有图片与第二样本手势图片匹配;Judging whether there is a picture in the second picture set that matches the second sample gesture picture;
    若所述第二图片集合中有图片与所述第二样本手势图片匹配,则将所述第二样本手势图片对应的隔空手势操作作为第二手势操作。If there is a picture in the second picture set that matches the second sample gesture picture, the space gesture operation corresponding to the second sample gesture picture is used as the second gesture operation.
  18. 根据权利要求17所述的终端,其中,所述判断所述第一图片集合中是否有图片与第一样本手势图片匹配之前,还包括:The terminal according to claim 17, wherein before judging whether there is a picture in the first picture set that matches the first sample gesture picture, the method further comprises:
    对所述第一图片集合中的各个图片进行内容识别;performing content identification on each picture in the first picture set;
    根据识别结果判断所述第一图片集合中的各个图片是否存在手部区域;According to the recognition result, determine whether each picture in the first picture set has a hand area;
    当判断存在手部区域时,则执行判断所述第一图片集合中是否有图片与第一样本手势图片匹配。When it is judged that there is a hand region, it is judged whether there is a picture in the first picture set that matches the first sample gesture picture.
  19. 根据权利要求14所述的终端,其中,所述终端具有红外传感器元件;所述获取用户的隔空手势操作,包括:The terminal according to claim 14, wherein the terminal has an infrared sensor element; the acquiring the user's gesture operation in the air comprises:
    通过所述红外传感器元件的信号发射器向外界发射第一红外光,并通过所述红外传感器元件的信号接收器接收所述第一红外光经外界障碍物反射的第二红外光;The signal transmitter of the infrared sensor element emits first infrared light to the outside, and the signal receiver of the infrared sensor element receives the second infrared light reflected by the first infrared light through external obstacles;
    根据所述第二红外光生成手势信号;generating a gesture signal according to the second infrared light;
    判断所述手势信号与样本手势信号是否匹配;Determine whether the gesture signal matches the sample gesture signal;
    若是,则将所述样本手势信号对应的手势操作作为隔空手势操作。If so, the gesture operation corresponding to the sample gesture signal is used as a space gesture operation.
  20. 根据权利要求14所述的终端,其中,终端具有语音识别元件,所述终端连接有多个智能家居设备;所述方法还包括:The terminal according to claim 14, wherein the terminal has a voice recognition element, and the terminal is connected with a plurality of smart home devices; the method further comprises:
    通过所述语音识别元件采集的语音信息;voice information collected by the voice recognition element;
    对所述语音信息进行语音识别处理,从所述多个智能家居设备中确定与所述语音信息对应的目标智能家居设备;Perform voice recognition processing on the voice information, and determine a target smart home device corresponding to the voice information from the plurality of smart home devices;
    基于所述控制指令控制所述智能家居设备的运行状态,包括:Controlling the running state of the smart home device based on the control instruction includes:
    基于所述控制指令控制与所述语音信息对应的目标智能家居设备。The target smart home device corresponding to the voice information is controlled based on the control instruction.
PCT/CN2020/136692 2020-11-30 2020-12-16 Smart home control method and apparatus, and terminal and storage medium WO2022110352A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011372604.0 2020-11-30
CN202011372604.0A CN112286122A (en) 2020-11-30 2020-11-30 Intelligent household control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2022110352A1 true WO2022110352A1 (en) 2022-06-02

Family

ID=74425950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136692 WO2022110352A1 (en) 2020-11-30 2020-12-16 Smart home control method and apparatus, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN112286122A (en)
WO (1) WO2022110352A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095911B (en) * 2022-01-20 2022-05-03 深圳维特智能科技有限公司 NFC (near field communication) bandwidth adjusting method and device based on wireless network router
CN115585539A (en) * 2022-09-02 2023-01-10 宁波奥克斯电气股份有限公司 Control method for controlling operation of air conditioner based on DIY gesture and air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106842980A (en) * 2017-04-14 2017-06-13 深圳铂睿智恒科技有限公司 A kind of household electric appliance control method and its mobile terminal of screen state of going out
CN107273829A (en) * 2017-06-02 2017-10-20 云丁网络技术(北京)有限公司 A kind of intelligent peephole gesture identification method and system
CN108062031A (en) * 2018-02-13 2018-05-22 宁夏煜隆科技有限公司 Intelligent home furnishing control method, device, system and electronic equipment
US20190104340A1 (en) * 2016-03-24 2019-04-04 Shenzhen Prtek Co. Ltd. Intelligent Terminal Control Method and Intelligent Terminal
CN110426962A (en) * 2019-07-30 2019-11-08 苏宁智能终端有限公司 A kind of control method and system of smart home device
CN111812995A (en) * 2020-07-28 2020-10-23 郑州智利信信息技术有限公司 Intelligent home control system based on Internet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102621956A (en) * 2012-03-28 2012-08-01 中山市澳信信息科技有限公司 Intelligent household control system
CN103529787A (en) * 2013-10-16 2014-01-22 袁达荣 Gesture control-based remote control device and gesture control method thereof
CN103926890B (en) * 2014-04-08 2018-02-16 小米科技有限责任公司 Intelligent terminal control method and device
WO2018129105A1 (en) * 2017-01-03 2018-07-12 Brilliant Home Technology, Inc. Home device controller with a touch control groove
US11017217B2 (en) * 2018-10-09 2021-05-25 Midea Group Co., Ltd. System and method for controlling appliances using motion gestures

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190104340A1 (en) * 2016-03-24 2019-04-04 Shenzhen Prtek Co. Ltd. Intelligent Terminal Control Method and Intelligent Terminal
CN106842980A (en) * 2017-04-14 2017-06-13 深圳铂睿智恒科技有限公司 A kind of household electric appliance control method and its mobile terminal of screen state of going out
CN107273829A (en) * 2017-06-02 2017-10-20 云丁网络技术(北京)有限公司 A kind of intelligent peephole gesture identification method and system
CN108062031A (en) * 2018-02-13 2018-05-22 宁夏煜隆科技有限公司 Intelligent home furnishing control method, device, system and electronic equipment
CN110426962A (en) * 2019-07-30 2019-11-08 苏宁智能终端有限公司 A kind of control method and system of smart home device
CN111812995A (en) * 2020-07-28 2020-10-23 郑州智利信信息技术有限公司 Intelligent home control system based on Internet

Also Published As

Publication number Publication date
CN112286122A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
EP3663903B1 (en) Display method and device
WO2021129762A1 (en) Application sharing method, electronic device and computer-readable storage medium
WO2021204045A1 (en) Audio control method and electronic device
WO2015039445A1 (en) Notification message display method and apparatus, and electronic device
WO2021052413A1 (en) Energy-saving signal monitoring time determination and configuration method, and related device
US11658932B2 (en) Message sending method and terminal device
WO2021083040A1 (en) Message viewing method and terminal
WO2015043194A1 (en) Virtual keyboard display method and apparatus, and terminal
WO2016197697A1 (en) Gesture control method, device and system
WO2021104230A1 (en) Synchronization method and electronic device
US11354017B2 (en) Display method and mobile terminal
WO2015078145A1 (en) Method and apparatus for enlarging display font
JP2021536077A (en) Information processing method and terminal
US11989330B2 (en) Permission management method and terminal device
WO2018040813A1 (en) Audio/video communication method, terminal, server, and storage medium
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2020042921A1 (en) Screen control method and electronic device
WO2021190373A1 (en) Interaction method, interaction system, and display device
CN110072013B (en) Terminal control method and device
WO2019034110A1 (en) Button control method, storage medium, and smart terminal
WO2022110352A1 (en) Smart home control method and apparatus, and terminal and storage medium
WO2019042478A1 (en) Control method for input method soft keyboard of mobile terminal, storage medium, and mobile terminal
WO2021190353A1 (en) Interaction method and display device
CN111694537B (en) Audio playing method, electronic equipment and readable storage medium
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20963240

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20963240

Country of ref document: EP

Kind code of ref document: A1