CN110207333B - Control method and device for human body detection, air conditioner and storage medium - Google Patents

Control method and device for human body detection, air conditioner and storage medium Download PDF

Info

Publication number
CN110207333B
CN110207333B CN201910509377.2A CN201910509377A CN110207333B CN 110207333 B CN110207333 B CN 110207333B CN 201910509377 A CN201910509377 A CN 201910509377A CN 110207333 B CN110207333 B CN 110207333B
Authority
CN
China
Prior art keywords
human body
detection
target area
air conditioner
area
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910509377.2A
Other languages
Chinese (zh)
Other versions
CN110207333A (en
Inventor
段晓华
陈志斌
梁文潮
郑伟锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910509377.2A priority Critical patent/CN110207333B/en
Publication of CN110207333A publication Critical patent/CN110207333A/en
Application granted granted Critical
Publication of CN110207333B publication Critical patent/CN110207333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/10Occupancy
    • F24F2120/12Position of occupants

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a control method for human body detection, which is applied to an air conditioner, wherein the air conditioner comprises a human body sensor and a driving device for driving the human body sensor to move, and the control method for human body detection comprises the following steps: determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner; and controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area. The invention also discloses a human body detection control device, an air conditioner and a storage medium. The detection range of the human body sensor can be adjusted according to the accumulated time length of the human body, so that the human body is easy to detect, and the accuracy of human body detection is improved.

Description

Control method and device for human body detection, air conditioner and storage medium
Technical Field
The invention relates to the field of air conditioner control, in particular to a control method and device for human body detection, an air conditioner and a storage medium.
Background
The control method of the intelligent air conditioner is commonly used at present by detecting the human body characteristics of the acting space of the air conditioner through a human body sensor and then controlling the operation of the air conditioner according to the detected human body characteristics. Because human body sensor has the detection range restriction, can't detect the whole effect space of air conditioner, at present, generally set up human body sensor's detection range to the region directly in front of the air conditioner air outlet, however, user's home range is not necessarily in the region directly in front of the air conditioner air outlet, and consequently human body detection's degree of accuracy is lower.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method and device for human body detection, an air conditioner and a storage medium, and aims to solve the technical problem that the detection range of a human body sensor is set to be an area right in front of an air outlet of the air conditioner at present, and the human body detection accuracy is low.
In order to achieve the above object, the present invention provides a control method for human body detection, which is applied to an air conditioner, the air conditioner includes a human body sensor and a driving device for driving the human body sensor to move, the control method for human body detection includes the following steps:
determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner;
and controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area.
Preferably, the step of determining a target area in a preset detection area includes:
acquiring a preset time period of a current time point;
and determining a target area corresponding to the preset time period in a preset detection area, wherein the target area is the detection area in which the accumulated time length of the human body in the preset time period meets the preset condition.
Preferably, the step of determining a target area in a preset detection area includes:
acquiring a user currently using the air conditioner;
and determining a target area corresponding to the user in a preset detection area, wherein the target area is a detection area in which the accumulated time of the human body corresponding to the user meets a preset condition.
Preferably, the preset conditions include:
greater than or equal to a preset duration threshold.
Preferably, the controlling the driving device according to the target area, and the adjusting the detection position of the human body sensor includes:
determining a detection angle range corresponding to the human body sensor according to the target area, wherein the area corresponding to the detection angle range comprises the target area;
and controlling the driving device according to the determined detection angle range of the human body sensor to drive the human body sensor to rotate to a position corresponding to the detection angle range.
Preferably, the step of controlling the driving device to adjust the detection position of the human body sensor according to the target area includes:
when the target area comprises a plurality of detection areas and the angle range of the target area exceeds the detection angle range of the human body sensor, determining the sequence of each detection area according to the accumulated time length corresponding to the detection area, wherein the longer the accumulated time length is, the earlier the sequence is;
determining each detection angle range corresponding to the human body sensor according to each detection area, wherein the area corresponding to each detection angle range comprises each detection area;
and controlling the driving device to drive the human body sensors to sequentially rotate to positions corresponding to the detection angle ranges according to the sequence so as to sequentially detect human body characteristics in the detection areas according to the sequence.
Preferably, after the step of controlling the driving device to drive the human body sensor according to the target area so that the human body sensor detects the human body feature in the target area, the method further includes:
when the human body sensor detects human body characteristics, acquiring a detection area corresponding to the human body characteristics;
and storing the time length of the human body and the detection area corresponding to the human body characteristic in an associated manner.
In addition, to achieve the above object, the present invention also provides a human body detection control device, including: the human body detection control method comprises a driving device, a human body sensor, a memory, a processor and a human body detection control program which is stored on the memory and can run on the processor, wherein the steps of the human body detection control method are realized when the human body detection control program is executed by the processor.
Further, to achieve the above object, the present invention also provides an air conditioner including: the human body detection control method comprises a driving device, a human body sensor, a memory, a processor and a human body detection control program which is stored on the memory and can run on the processor, wherein the steps of the human body detection control method are realized when the human body detection control program is executed by the processor.
In addition, to achieve the above object, the present invention further provides a storage medium having a human body detection control program stored thereon, wherein the human body detection control program, when executed by a processor, implements the steps of the human body detection control method according to any one of the above aspects.
The embodiment of the invention provides a control method and a device for human body detection, an air conditioner and a storage medium, wherein the control method for human body detection is applied to the air conditioner, the air conditioner comprises a human body sensor and a driving device for driving the human body sensor to move, and the control method for human body detection comprises the following steps: determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner; controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects human body characteristics in the target area; the detection range of the human body sensor can be adjusted according to the accumulated time length of the human body, so that the human body can be detected more easily, and the accuracy of human body detection is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a control method for human body detection according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a driving device and a human body sensor according to the scheme of the invention;
FIG. 4 is a flowchart illustrating a control method for human body detection according to a second embodiment of the present invention;
fig. 5 is a flowchart illustrating a control method for human body detection according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner;
and controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area.
Because the scanning period of the human body detection method in the prior art is long, a moving human body cannot be easily detected, and the human body detection accuracy is low.
The invention provides a solution, the detection range of the human body sensor can be adjusted according to the accumulated time length of the human body, so that the human body can be detected more easily, and the accuracy of human body detection is improved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a driving device and a body sensor, the driving device is connected to the body sensor through a transmission part to drive the body sensor to rotate within a preset angle range, and the body sensor may include one of an infrared sensor, a radar sensor, an image sensor, and an ultrasonic sensor.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a human body detection control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call up a control program for human detection stored in the memory 1005, and perform the following operations:
determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner;
and controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
acquiring a preset time period of a current time point;
and determining a target area corresponding to the preset time period in a preset detection area, wherein the target area is the detection area in which the accumulated time length of the human body in the preset time period meets the preset condition.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
acquiring a user currently using the air conditioner;
and determining a target area corresponding to the user in a preset detection area, wherein the target area is a detection area in which the accumulated time of the human body corresponding to the user meets a preset condition.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
greater than or equal to a preset duration threshold.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
determining a detection angle range corresponding to the human body sensor according to the target area, wherein the area corresponding to the detection angle range comprises the target area;
and controlling the driving device according to the determined detection angle range of the human body sensor to drive the human body sensor to rotate to a position corresponding to the detection angle range.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
when the target area comprises a plurality of detection areas and the angle range of the target area exceeds the detection angle range of the human body sensor, determining the sequence of each detection area according to the accumulated time length corresponding to the detection area, wherein the longer the accumulated time length is, the earlier the sequence is;
determining each detection angle range corresponding to the human body sensor according to each detection area, wherein the area corresponding to each detection angle range comprises each detection area;
and controlling the driving device to drive the human body sensors to sequentially rotate to positions corresponding to the detection angle ranges according to the sequence so as to sequentially detect human body characteristics in the detection areas according to the sequence.
Further, the processor 1001 may call a control program for human detection stored in the memory 1005, and also perform the following operations:
when the human body sensor detects human body characteristics, acquiring a detection area corresponding to the human body characteristics;
and storing the time length of the human body and the detection area corresponding to the human body characteristic in an associated manner.
According to the scheme, the control method for human body detection is applied to the air conditioner, the air conditioner comprises the human body sensor and the driving device for driving the human body sensor to move, and the control method for human body detection comprises the following steps: determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner; controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects human body characteristics in the target area; the detection range of the human body sensor can be adjusted according to the accumulated time length of the human body, so that the human body can be detected more easily, and the accuracy of human body detection is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a control method for human body detection according to the present invention, the control method for human body detection is applied to an air conditioner, the air conditioner includes a human body sensor and a driving device for driving the human body sensor to move, and the control method for human body detection includes:
step S10, determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of human body occurrence in a preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by an action space of an air conditioner;
the control method for human body detection provided by the invention is mainly used in the field of human body detection control, and is particularly used for controlling the human body characteristic detection when the air conditioner is controlled to run according to the human body characteristic. The control method for human body detection provided by the invention can be applied to an air conditioner, the air conditioner comprises a driving device and a human body sensor, as shown in fig. 3, fig. 3 is a structural schematic diagram of the driving device and the human body sensor according to the scheme of the invention, the driving device 10 is linked with the human body sensor 30 through a transmission part 20, the driving device comprises a motor, and the driving device can be fixed on the positions of the air conditioner, a wall or a ceiling, and the like. When the driving device 10 operates, the driving part 20 is driven to rotate, the driving part 20 drives the human body sensor 30 to rotate when rotating, and the detection range of the human body sensor is adjusted, so that the human body sensor 30 can detect human body characteristics of each region in the action space of the air conditioner, wherein the human body sensor can comprise one of an infrared sensor, a radar sensor, an image sensor and an ultrasonic sensor.
The execution subject of the present invention may be an air conditioner, or may be a server, or another terminal, and the following explains an embodiment of the present invention with an air conditioner as an execution subject.
In practical use, when the air conditioner is installed, the angle range of the air conditioner action space can be obtained according to the installation position of the air conditioner, then the action space of the air conditioner is divided into a plurality of detection areas, the division standard can be divided according to the angle, for example, the action space of the air conditioner can be equally divided into a plurality of detection areas, the angle range corresponding to each detection area is the same, optionally, the division of the detection areas can be divided by combining the detection angle range of the human body sensor, for example, when the total angle of the action space of the air conditioner is 180 degrees, and the detection angle of the human body sensor is 90 degrees, the action space of the air conditioner can be divided into 3 detection areas, the angle of each detection area is 60 degrees, one boundary of the action spaces of the air conditioner is set as a starting edge, the angle ranges corresponding to the detection areas are 0-60 degrees respectively, 60 degrees to 120 degrees and 120 degrees to 180 degrees; alternatively, the operating space of the air conditioner may be divided into smaller regions, for example, the operating space of the air conditioner may be divided into 12 detection regions on average, and each detection region may have an angle of 15 °.
When the air conditioner is operated and is controlled according to the human body characteristics, the human body sensor detects the human body characteristics in real time, when the human body is detected, the air conditioner controls the air conditioner according to the detected human body characteristics, meanwhile, the detection area where the human body is located and the time length of the human body are recorded, and the time length of the human body and the detection area where the human body is located are stored in a correlated mode, so that the air conditioner can obtain the accumulated time length of the human body corresponding to each detection area.
When the air conditioner operates, a target area in a preset detection area is determined, the target area is a detection area with the accumulated time length of a human body in a preset time length (first preset time length) meeting a preset condition, and the preset detection area comprises a plurality of detection areas divided by an action space of the air conditioner. Specifically, the air conditioner acquires the accumulated time length of the human body appearing in each detection area within a preset time length, the ending time point of the preset time length is the current time point, the starting time point is the time point (the starting time point is before the ending time point) which is separated from the current time point by the preset time length, the preset time length can be set according to the actual situation, for example, the preset time length can be set to be one day or one week and the like. And then acquiring a detection area with the accumulated duration meeting a preset condition, and taking the acquired detection area as the target area. The preset conditions can be set according to actual conditions, and in practical use, the range of motion of a user in the air conditioner action space generally has strong regularity, for example, when the action space of the air conditioner is a bedroom, the user mainly moves in a detection area where a bed is located in the air conditioner action space, so that the greater the cumulative duration of a human body in each detection area, the greater the probability that the user moves in the detection area, and therefore, the preset conditions can be set to be greater than or equal to the preset duration threshold value, that is, when the cumulative duration of the human body is greater than or equal to the preset duration threshold value, the cumulative duration of the human body meets the preset conditions, and the corresponding detection area is taken as the target area. It is understood that there may be a plurality of detection regions where the accumulated time length of the human body is greater than or equal to the preset time length threshold. The preset duration can be set according to the actual situation, and is not particularly limited herein, for example, the preset duration threshold can be set according to the frequency of the user activity in the air conditioner action space. In addition, the detection area where the cumulative duration of the human body appears is the area where the user most frequently moves, so optionally, the preset condition may also be set to be the maximum in each cumulative duration, that is, when the cumulative duration of the human body appears is the maximum in each cumulative duration, and the cumulative duration of the human body appears meets the preset condition, the detection area corresponding to the cumulative duration of the human body appears is taken as the target area.
It can be understood that, when the air conditioner is used for the first time or the use time is shorter than the preset time, the accumulated time of the human body appearing in each region in the preset time cannot be acquired, at this time, the device can be driven to drive the human body sensor to perform human body detection (for example, performing reciprocating scanning in the whole action space of the air conditioner) in a conventional manner, and when the human body is detected, the time of the human body appearing is stored in association with each detection region; or, the preset duration may be scanned for each detection area, and when a human body is detected, the duration in which the human body appears is stored in association with each detection area.
And step S20, controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area.
After the target area is obtained, the obtained target area is an area where a user frequently moves, the air conditioner controls the driving device according to the target area, and the detection position of the human body sensor is adjusted, so that the human body sensor detects human body characteristics in the target area.
Specifically, the air conditioner may determine a detection angle range corresponding to the human body sensor according to the target area, where an area corresponding to the detection angle range includes the target area. The detection angle range corresponding to the human body sensor can be determined according to the angle range corresponding to the target area and the detection angle of the human body sensor, for example, the detection angle of the human body sensor is 90 degrees, one boundary of an action space of the air conditioner is set as a starting edge, and the angle ranges corresponding to the detection areas are respectively 0-60 degrees, 60-120 degrees and 120-180 degrees (the angle in the angle range is an angle relative to the starting edge, the same applies below). When the angle range corresponding to the target region is 60 ° to 120 ° (60 ° in size), the position in the air conditioner operation space at one boundary of the detection range of the human body sensor is 30 ° to 60 ° (in this case, the position in the air conditioner operation space at the other boundary of the detection range of the human body sensor opposite to the boundary is 120 ° to 150 °). The detection angle range of the human body sensor is symmetrically distributed by taking the angle of the position of the human body sensor as a center, so that the position of the human body sensor is the position corresponding to the center angle of the detection angle range of the human body sensor. After the detection angle range of the human body sensor is determined, the position of the human body sensor can be obtained. The air conditioner controls the driving device to drive the human body sensor to rotate to a position corresponding to the detection angle range, so that the human body sensor can detect the human body in the region corresponding to the detection angle range, and the region corresponding to the detection angle range comprises the target region, so that the human body characteristics in the target region can be detected when the human body detection is carried out. For example, when the detection angle of the human body sensor is 90 °, and the angle range corresponding to the target area is 60 ° to 120 °, the position range of the human body sensor is 75 ° to 105 °, that is, the air conditioner control driving device drives the human body sensor to rotate to any angle within the range of 75 ° to 105 °.
Optionally, the air conditioner may control the driving device to drive the human body sensor to rotate to a central angle of an angle range corresponding to the target area, so that the human body sensor performs human body feature detection on an action space of the air conditioner by using the target area as a detection center. For example, when the angle range corresponding to the target area is 60 degrees to 120 degrees, the central angle of the angle range corresponding to the target area is 90 degrees, and the air conditioner controls the driving device to drive the human body sensor to rotate to a 90-degree position.
In practical use, a user may have a plurality of frequent moving areas, at this time, the target area includes a plurality of detection areas, when the target area includes a plurality of detection areas, the air conditioner determines whether the angle range of the target area exceeds the detection angle range of the human body sensor, and when the angle range of the target area does not exceed the detection angle range of the human body sensor, the position of the human body detection sensor can be determined according to any one of the above methods for adjusting the detection position of the human body sensor, which is not described herein again.
When the angle range of the target area exceeds the detection angle range of the human body sensor, the air conditioner can determine the sequence of each detection area according to the accumulated time length corresponding to each detection area contained in the target area, wherein the longer the accumulated time length is, the more the sequence is; and then, sequentially controlling the driving device to adjust the position of the human body sensor according to the detection sequence and each detection area so as to sequentially detect human body characteristics in each detection area according to the sequence. Specifically, the air conditioner determines each detection angle range corresponding to the human body sensor according to each detection area, and the area corresponding to each detection angle range comprises each detection area; and then controlling the driving device to drive the human body sensors to sequentially rotate to positions corresponding to the detection angle ranges according to the sequence so as to sequentially detect human body characteristics in the detection areas according to the sequence. And determining the detection angle ranges of the human body sensor and the corresponding positions of the detection angle ranges. Optionally, after the air conditioner controls the driving device to drive the human body sensor to rotate to the position corresponding to the detection area, the human body sensor is controlled to continue human body detection at the current position for a second preset time period, and when human body characteristics are detected within the second preset time period, the human body sensor is controlled to continue human body detection at the current position; and when the human body characteristics are detected within the second preset time, controlling the driving device to drive the human body sensor to rotate to the position corresponding to the next detection area so as to continuously detect the human body in the next detection area for the second preset time until the human body characteristics are detected.
Optionally, when the angle range of the target area exceeds the detection angle range of the human body sensor, the air conditioner may further determine the detection angle range of the human body sensor according to the detection area with the largest accumulated time length of the human body appearing in each detection area included in the target area, and then control the driving device to drive the human body sensor to rotate to the position corresponding to the detection angle range.
The air conditioner controls the human body sensor to detect human body characteristics of an action space in the target area, and when the human body characteristics are detected, the operation of the air conditioner can be controlled according to the detected human body characteristics, for example, operation parameters corresponding to the human body characteristics are acquired to control the operation of the air conditioner, or the position information of the human body is acquired, and a non-wind-sensing mode of the air conditioner is controlled according to the position information.
Further, when the air conditioner detects the human body characteristics, the time length of the human body appearing is recorded, and meanwhile, the time length of the human body appearing is stored in association with the target area so as to update the accumulated time length of the human body appearing corresponding to the target area.
In addition, in other embodiments of the present application, optionally, the target area may be set as an area that is the least frequently present for a user, and then the driving device is controlled to drive the human body sensor to avoid the target area, so that the human body sensor detects human body features in the air conditioner action space outside the target area. Specifically, the preset condition may be set to be minimum in each accumulated time, that is, when the accumulated time during which the human body appears is minimum in each accumulated time, and the accumulated time during which the human body appears meets the preset condition, the detection area corresponding to the accumulated time during which the human body appears is taken as a target area, and the driving device is controlled to drive the human body sensor to perform human body feature detection in the detection area outside the target area.
In this embodiment, a target area in a preset detection area is determined, where the target area is a detection area where the cumulative time length of the occurrence of the human body in a preset time length meets a preset condition, and the preset detection area includes a plurality of detection areas divided by an action space of the air conditioner; controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects human body characteristics in the target area; the detection range of the human body sensor can be adjusted according to the accumulated time length of the human body, so that the human body can be detected more easily, and the accuracy of human body detection is improved.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of the control method for human body detection according to the present invention, and based on the first embodiment, the step S10 includes:
step S11, acquiring a preset time period of the current time point;
step S12, determining a target area corresponding to the preset time period in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time period meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner.
In practical use of the air conditioner, the positions of users in the action space of the air conditioner are different at different time periods, for example, the users are generally in the area of a bed at night, and the users generally move in the area of a desk, a sofa and the like at daytime; because the range of the user's activities is different at different time periods, the detection area of the human body sensor also needs to be adjusted correspondingly along with the time periods, so as to accurately detect the human body characteristics. Therefore, in this embodiment, the accumulated time length of the human body appearing in each detection area is recorded according to different time periods, and then the target area is determined according to the accumulated time length of the human body appearing in the time period of the current time point.
Specifically, when the air conditioner runs, a preset time period where the current time point is located is obtained, and the preset time period can be set according to actual conditions, for example, two preset time periods can be set according to the conventional work and rest time of people, wherein the two preset time periods are respectively a first preset time period 9: 00-21: 00 and a second preset time period 21: 00-the next day at 9: 00; or, the user can set the preset time period according to the living habits of the user. When the air conditioner operates, after a preset time period corresponding to the current time point is obtained, a target area corresponding to the preset time period in a preset detection area is determined, wherein the target area is the detection area in which the accumulated time length of a human body in the preset time period meets a preset condition. Namely, after the air conditioner acquires the preset time period corresponding to the current time point, the accumulated time of each detection area of the preset time period in the preset time period is further acquired, and then the detection area with the accumulated time meeting the preset condition is taken as the target area. Further, the driving device is controlled according to the target area, the detection position of the human body sensor is adjusted, human body characteristic detection is carried out, when the human body characteristics are detected, the time length of the human body is recorded, and meanwhile, a detection area corresponding to the human body characteristics is obtained; and associating and storing the detection area corresponding to the human body appearing time length and the human body characteristic with the preset time period so as to update the accumulated human body appearing time length of the target area in the preset time period.
For example, the preset time duration may be set to be one week, when the air conditioner is running, if the current time point is 10:10, and the preset time period in which the air conditioner obtains the current time point is the first preset time period of 9: 00-21: 00, the air conditioner further obtains the accumulated time duration of human bodies appearing in each detection area of the time periods of 9: 00-21: 00 in one week, and the detection area with the largest accumulated time duration is taken as the target area. Further, the air conditioner controls the driving device to drive the human body sensor according to the target area, human body characteristic detection is conducted, when human body characteristics are detected, the time length of the occurrence of a human body is recorded, meanwhile, a detection area corresponding to the human body characteristics is obtained, the time length of the occurrence of the human body and the detection area corresponding to the human body characteristics are stored in an associated mode, the detection area corresponding to the time length of the occurrence of the human body and the human body characteristics and a first preset time period 9: 00-21: 00 are stored in an associated mode, and therefore the accumulated time length of the occurrence of the human body in the detection area corresponding to the human body characteristics in the first preset time period 9: 00-21: 00 is updated.
In this embodiment, a preset time period in which the current time point is located is obtained; the method comprises the steps of obtaining a target area corresponding to a preset time period, wherein the target area is a detection area, the accumulated time length of a human body in the preset time period meets preset conditions, and the target area is determined according to the accumulated time length of the human body in different time periods and accords with the activity ranges of different time periods of a user, so that the human body detection is more accurate.
Referring to fig. 5, fig. 5 is a flowchart illustrating a control method for human body detection according to a third embodiment of the present invention, where based on the first embodiment, the step S10 includes:
step S13, acquiring the user currently using the air conditioner;
step S14, determining a target area corresponding to the user in a preset detection area, wherein the target area is a detection area in which the accumulated time of the human body corresponding to the user meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner.
In the practical use of the air conditioner, a plurality of users may use the air conditioner, for example, a user having a plurality of family members may use the air conditioner, and each family member may use the air conditioner. When different users use the air conditioner, the moving range of the users may be different. Therefore, in this embodiment, the cumulative duration of the human body appearing in each detection area is recorded according to different users, and then the target area is determined according to the cumulative duration of the human body appearing corresponding to the user currently using the air conditioner.
Specifically, when the air conditioner runs, a user currently using the air conditioner is acquired, wherein the method for acquiring the user currently using the air conditioner may include acquiring through applications such as an APP associated with the air conditioner, for example, when the user starts the air conditioner through the APP, account information of the APP is acquired when the air conditioner starts, and the account information is used as user information; or, a fingerprint identification system can be arranged on the air conditioner to input the paper print information of each user, and when the user uses the air conditioner, the user who uses the air conditioner at present is obtained through fingerprint detection; or, the face information or the posture information of each user can be stored in the air conditioner, when the air conditioner runs, the human body image is obtained through the camera, then the human body image is analyzed to obtain the face information or the posture information, and then the user using the air conditioner at present is obtained through the face information or the posture information.
After the air conditioner acquires a user who uses the air conditioner at present, a target area corresponding to the user in a preset detection area is determined, wherein the target area is the detection area where the accumulated time of a human body corresponding to the user meets a preset condition. Specifically, the air conditioner acquires the accumulated time length of the human body information corresponding to the user appearing in each detection area within the preset time length, and then takes the detection area with the accumulated time length meeting the preset condition as the target area. Further, the air conditioner controls the driving device according to the target area, adjusts the detection position of the human body sensor, detects human body characteristics, records the time length of the human body when the human body characteristics are detected, simultaneously acquires the detection area corresponding to the human body characteristics, and stores the time length of the human body, the detection area corresponding to the human body characteristics and the user currently using the air conditioner in an associated manner so as to update the accumulated time length of the human body corresponding to the user currently using the air conditioner in the detection area corresponding to the human body characteristics.
For example, the preset time duration may be set to one week, three users, namely xiaoming, xiaohong and xianling, are stored in the air conditioner, when the air conditioner is operated, the user currently using the air conditioner is obtained as xiaoming, the air conditioner further obtains the accumulated time duration of the human body corresponding to the xiaoming of each detection area within one week (within the preset time duration), then uses the detection area corresponding to the largest accumulated time duration of each accumulated time duration as the target area, further, the air conditioner controls the driving device according to the target area, adjusts the detection position of the human body sensor, performs human body characteristic detection, records the time duration of the human body when the human body characteristic is detected, simultaneously obtains the detection area corresponding to the human body characteristic, and associates and stores the time duration of the human body with the detection area corresponding to the human body characteristic and the xiaoming (the user currently using the air conditioner), and updating the accumulated time length of the human body corresponding to the occurrence of the Mingmen in the detection area corresponding to the human body characteristics.
In addition, in other embodiments of the present invention, the scheme of this embodiment may be further combined with the technical scheme provided in the second embodiment, that is, when the air conditioner is running, the current time point and the user currently using the air conditioner are obtained, the cumulative time length of the human body corresponding to the user currently using the air conditioner appearing at the preset time point in each detection area within the preset time length is obtained, and then the detection area whose cumulative time length meets the preset condition is taken as the target area. Further, the air conditioner controls the driving device according to the target area, adjusts the detection position of the human body sensor, detects human body characteristics, records the time length of the human body when the human body characteristics are detected, simultaneously acquires the detection area corresponding to the human body characteristics, and stores the time length of the human body, the detection area corresponding to the human body characteristics, the preset time point and the user currently using the air conditioner in a correlated manner so as to update the accumulated time length of the human body corresponding to the user currently using the air conditioner in the detection area corresponding to the human body characteristics in the preset time period.
In the embodiment, a user who currently uses the air conditioner is acquired; the target area corresponding to the user is obtained, the target area is a detection area where the accumulated time of the human body corresponding to the user meets a preset condition, and the target area is determined according to the accumulated time of the human body corresponding to the current user in the preset time, so that the respective frequent activity areas of different users can be accurately determined, and the human body detection is more accurate.
In addition, to achieve the above object, an embodiment of the present invention further provides a human body detection control device, including: the human body detection control method comprises a driving device, a human body sensor, a memory, a processor and a human body detection control program which is stored on the memory and can run on the processor, wherein the steps of the human body detection control method according to any one of the above embodiments are realized when the human body detection control program is executed by the processor.
In addition, to achieve the above object, an embodiment of the present invention further provides an air conditioner, including: the human body detection control method comprises a driving device, a human body sensor, a memory, a processor and a human body detection control program which is stored on the memory and can run on the processor, wherein the steps of the human body detection control method according to any one of the above embodiments are realized when the human body detection control program is executed by the processor.
In addition, to achieve the above object, an embodiment of the present invention further provides a storage medium, where a human body detection control program is stored, and the human body detection control program, when executed by a processor, implements the steps of the human body detection control method according to any one of the above embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method for human body detection is applied to an air conditioner, the air conditioner comprises a human body sensor and a driving device for driving the human body sensor to move, and the control method for human body detection is characterized by comprising the following steps:
determining a target area in a preset detection area, wherein the target area is a detection area in which the accumulated time length of the human body in the preset time length meets a preset condition, and the preset detection area comprises a plurality of detection areas divided by the action space of the air conditioner;
and controlling the driving device according to the target area, and adjusting the detection position of the human body sensor so that the human body sensor detects the human body characteristics in the target area.
2. The method for controlling human detection according to claim 1, wherein the step of determining a target area in a preset detection area comprises:
acquiring a preset time period of a current time point;
and determining a target area corresponding to the preset time period in a preset detection area, wherein the target area is the detection area in which the accumulated time length of the human body in the preset time period meets the preset condition.
3. The method for controlling human detection according to claim 1, wherein the step of determining a target area in a preset detection area comprises:
acquiring a user currently using the air conditioner;
and determining a target area corresponding to the user in a preset detection area, wherein the target area is a detection area in which the accumulated time of the human body corresponding to the user meets a preset condition.
4. The control method for human detection according to claim 1, wherein the preset condition includes:
greater than or equal to a preset duration threshold.
5. The method of controlling human detection according to claim 1, wherein the controlling the driving means according to the target area, and the adjusting the detection position of the human sensor comprises:
determining a detection angle range corresponding to the human body sensor according to the target area, wherein the area corresponding to the detection angle range comprises the target area;
and controlling the driving device according to the determined detection angle range of the human body sensor to drive the human body sensor to rotate to a position corresponding to the detection angle range.
6. The method of controlling human detection according to claim 1, wherein the step of controlling the driving means to adjust the detection position of the human sensor according to the target area comprises:
when the target area comprises a plurality of detection areas and the angle range of the target area exceeds the detection angle range of the human body sensor, determining the sequence of each detection area according to the accumulated time length corresponding to the detection area, wherein the longer the accumulated time length is, the earlier the sequence is;
determining each detection angle range corresponding to the human body sensor according to each detection area, wherein the area corresponding to each detection angle range comprises each detection area;
and controlling the driving device to drive the human body sensors to sequentially rotate to positions corresponding to the detection angle ranges according to the sequence so as to sequentially detect human body characteristics in the detection areas according to the sequence.
7. The method as claimed in any one of claims 1 to 6, wherein after the step of controlling the driving device to drive the human body sensor according to the target area, the step of controlling the human body sensor to detect the human body feature in the target area further comprises:
when the human body sensor detects human body characteristics, acquiring a detection area corresponding to the human body characteristics;
and storing the time length of the human body and the detection area corresponding to the human body characteristic in an associated manner.
8. A control device for human detection, comprising: a driving device, a human body sensor, a memory, a processor and a human body detection control program stored on the memory and operable on the processor, the human body detection control program when executed by the processor implementing the steps of the human body detection control method according to any one of claims 1 to 7.
9. An air conditioner, characterized in that the air conditioner comprises: a driving device, a human body sensor, a memory, a processor and a human body detection control program stored on the memory and operable on the processor, the human body detection control program when executed by the processor implementing the steps of the human body detection control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a control program for human body detection, which when executed by a processor implements the steps of the control method for human body detection according to any one of claims 1 to 7.
CN201910509377.2A 2019-06-12 2019-06-12 Control method and device for human body detection, air conditioner and storage medium Active CN110207333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910509377.2A CN110207333B (en) 2019-06-12 2019-06-12 Control method and device for human body detection, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910509377.2A CN110207333B (en) 2019-06-12 2019-06-12 Control method and device for human body detection, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN110207333A CN110207333A (en) 2019-09-06
CN110207333B true CN110207333B (en) 2020-09-11

Family

ID=67792465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910509377.2A Active CN110207333B (en) 2019-06-12 2019-06-12 Control method and device for human body detection, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN110207333B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769204B (en) * 2019-11-13 2021-04-30 秒针信息技术有限公司 Management method and device for image acquisition
CN111692698B (en) * 2020-06-23 2022-01-11 宁波奥克斯电气股份有限公司 Intelligent air supply control method and device, air conditioner and computer readable storage medium
CN113483467A (en) * 2021-06-25 2021-10-08 青岛海尔空调器有限总公司 Function display method of air conditioner

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5180333A (en) * 1991-10-28 1993-01-19 Norm Pacific Automation Corp. Ventilation device adjusted and controlled automatically with movement of human body
KR0182727B1 (en) * 1996-10-08 1999-05-01 삼성전자주식회사 Wind direction control method of airconditioner
US8770490B2 (en) * 2010-08-18 2014-07-08 Emerson Electric Co. Programmable thermostat
CN107084795B (en) * 2017-04-19 2020-06-02 珠海格力电器股份有限公司 Human body heat source identification method and device and equipment with device
CN107726560B (en) * 2017-09-30 2024-01-30 珠海格力电器股份有限公司 Image acquisition equipment, air conditioner and control method of air conditioner
CN108302729B (en) * 2018-01-03 2020-06-05 广东美的制冷设备有限公司 Human body detection method, human body detection equipment and air conditioner

Also Published As

Publication number Publication date
CN110207333A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN110207333B (en) Control method and device for human body detection, air conditioner and storage medium
CN107763812B (en) Air conditioner control method, air conditioner and computer readable storage medium
CN106406710B (en) Screen recording method and mobile terminal
CN108255382B (en) Method and device for recommending floating menu content
US20050223030A1 (en) Method and apparatus for context enabled search
US20160055825A1 (en) Electronic device and method of adjusting user interface thereof
CN110186161B (en) Default parameter updating method, air conditioner self-learning control method and air conditioner
EP3217373A1 (en) Terminal with infrared remote control function and infrared remote control pairing method
JP6258439B1 (en) Elevator air conditioning control device and elevator air conditioning control system
CN106597951A (en) Method for controlling vehicle and terminal thereof
CN107135316B (en) method and device for adjusting call volume, storage medium and terminal
EP3125506A1 (en) Method and apparatus for adjusting mode
CN112856739B (en) Control method, system and device for air conditioner and air conditioner
WO2018087912A1 (en) Control device and control system
CN110363036B (en) Code scanning method and device based on wire controller and code scanning system
CN109737563B (en) Control method and device based on induction array, storage medium and computer equipment
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium
CN111973076A (en) Room attribute identification method and device, sweeping robot and storage medium
US20050080601A1 (en) Traffic and geometry modeling with sensor networks
WO2015045844A1 (en) Robot, control method, and program
CN114743239A (en) Control method, device and system of intelligent equipment and electronic equipment
CN113938734A (en) Smart television control method, device and equipment based on radar and storage medium
CN111338330B (en) Job position determination method, self-moving device, and storage medium
CN110953683A (en) Air conditioner adjusting method and device, storage medium and air conditioner
CN110738777A (en) Property management method and system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant