CN108387945B - Sensor detection area determining method and device, storage medium and equipment - Google Patents

Sensor detection area determining method and device, storage medium and equipment Download PDF

Info

Publication number
CN108387945B
CN108387945B CN201810104937.1A CN201810104937A CN108387945B CN 108387945 B CN108387945 B CN 108387945B CN 201810104937 A CN201810104937 A CN 201810104937A CN 108387945 B CN108387945 B CN 108387945B
Authority
CN
China
Prior art keywords
detection
detected
sensor
detection area
human body
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
CN201810104937.1A
Other languages
Chinese (zh)
Other versions
CN108387945A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810104937.1A priority Critical patent/CN108387945B/en
Publication of CN108387945A publication Critical patent/CN108387945A/en
Application granted granted Critical
Publication of CN108387945B publication Critical patent/CN108387945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers

Abstract

The invention provides a method, a device, a storage medium and equipment for determining a sensor detection area, wherein the method comprises the following steps: acquiring a detection result of whether a human body exists in at least two preset detection areas detected by the sensor; and determining a detection area needing to be detected or a detection area not needing to be detected in the at least two preset detection areas according to the detection result, so that the sensor only detects the detection area needing to be detected or no longer detects the detection area not needing to be detected. The scheme provided by the invention can enable the sensor to only detect the detection area which needs to be detected, reduce the rotation range of the rotating mechanism of the sensor, improve the structural reliability and the service life of the rotating mechanism of the sensor, accurately adjust the detection area which needs to be detected by the sensor and reduce the time required by the sensor for detecting a human body once.

Description

Sensor detection area determining method and device, storage medium and equipment
Technical Field
The invention relates to the technical field of sensors, in particular to a method and a device for determining a sensor detection area, a storage medium and equipment.
Background
Some current intelligent air conditioners can increase infrared sensor and judge that there is information such as user, user position or room temperature in the room, but the detection range of sensor is limited, can have the detection blind area. Therefore, when the sensor structure is designed, a complex mechanism is added to move the sensor, for example, the sensor is rotated by a rotating mechanism with a motor and a gear, so that the detection range is enlarged. On one hand, the sensor always scans the whole space range on the air conditioner, the scanning period is long, and certain delay is caused to human body identification; on the other hand, the sensor always performs detection in the whole space range on the air conditioner, and the requirement for the sensor structure is high, and the service life of the air conditioner is long, so that the reliability of the sensor structure is also greatly required.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the prior art, and provides a method and an apparatus for determining a detection area of a sensor, a storage medium, and an air conditioner, so as to solve the problem of a long scanning period of a sensor in the prior art for performing a full-range scanning.
The invention provides a method for determining a sensor detection area, which comprises the following steps: acquiring a detection result of whether a human body exists in at least two preset detection areas detected by the sensor; and determining a detection area needing to be detected or a detection area not needing to be detected in the at least two preset detection areas according to the detection result, so that the sensor only detects the detection area needing to be detected or no longer detects the detection area not needing to be detected.
Optionally, obtaining a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, includes: acquiring the number of times that whether a human body exists in each detection area when the sensor detects whether the human body exists in the at least two detection areas within first preset time or continuous preset number of detection periods; determining a detection area needing to be detected or a detection area not needing to be detected in the at least two preset detection areas according to the detection result, wherein the method comprises the following steps: determining a detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is greater than or equal to a first preset number of times as a detection area to be detected; or determining that the detection area, in the at least two detection areas, in which the number of times of detecting the existence of the human body is less than a second preset number of times is a detection area not required to be detected; the detection period is the detection time required for the sensor to perform one detection on all the at least two detection areas.
Optionally, obtaining a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, includes: acquiring a detection area in which the sensor does not detect the existence of the human body in the at least two detection areas within a first preset time or a continuous preset number of detection periods; determining a region needing to be detected or a detection region not needing to be detected in the at least two preset detection regions according to the detection result, wherein the method comprises the following steps: and determining a detection area, in the at least two detection areas, in which the sensor does not detect the existence of the human body, as a detection area not needing detection.
Optionally, after determining, according to the detection result, a region that needs to be detected or a detection region that does not need to be detected in the preset at least two detection regions, the method further includes: controlling the sensor to perform third preset times of detection on the detection area which does not need to be detected every second preset time so as to detect whether a human body exists in the detection area which does not need to be detected; and if the human body is detected in the detection areas which do not need to be detected, re-acquiring the detection result of whether the human body exists in the at least two preset detection areas detected by the sensor.
Optionally, the detection area where the presence of the human body is not detected includes: and more than one detection area which are continuously adjacent.
Optionally, the preset at least two detection areas include: the detection range of the sensor is divided into at least two areas according to a preset angle.
Another aspect of the present invention provides a sensor detection area determination apparatus, including: the acquisition unit is used for acquiring a detection result of whether a human body exists in at least two preset detection areas detected by the sensor; and the determining unit is used for determining a detection area which needs to be detected or a detection area which does not need to be detected in the at least two preset detection areas according to the detection result acquired by the acquiring unit, so that the sensor only detects the area which needs to be detected or no longer detects the detection area which does not need to be detected.
Optionally, the obtaining unit obtains a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, and includes: acquiring the number of times that whether a human body exists in each detection area when the sensor detects whether the human body exists in the at least two detection areas within first preset time or continuous preset number of detection periods; the determining unit determines, according to the detection result obtained by the obtaining unit, a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas, including: determining a detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is greater than or equal to a first preset number of times as a detection area to be detected; or determining that the detection area, in the at least two detection areas, in which the number of times of detecting the existence of the human body is less than a second preset number of times is a detection area not required to be detected; the detection period is the detection time required for the sensor to perform one detection on all the at least two detection areas.
Optionally, the obtaining unit obtains a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, and includes: acquiring a detection area in which the sensor does not detect the existence of the human body in the at least two detection areas within a first preset time or a continuous preset number of detection periods; the determining unit determines, according to the detection result obtained by the obtaining unit, a region that needs to be detected or a detection region that does not need to be detected in the at least two preset detection regions, including: and determining a detection area, in the at least two detection areas, in which the sensor does not detect the existence of the human body, as a detection area not needing detection.
Optionally, the apparatus further comprises: the control unit is used for controlling the sensor to perform third preset times of detection on the detection area which does not need to be detected every second preset time after the determination unit determines the area which needs to be detected or the detection area which does not need to be detected in the at least two preset detection areas according to the detection result obtained by the obtaining unit so as to detect whether a human body exists in the detection area which does not need to be detected or not; if the detection areas which do not need to be detected detect the existence of the human body, the acquisition unit acquires the detection result of whether the human body exists in the at least two preset detection areas or not by the sensor again; the determining unit determines the area needing to be detected or the detection area not needing to be detected in the at least two preset detection areas again according to the detection result obtained by the obtaining unit.
Optionally, the detection area where the presence of the human body is not detected includes: and more than one detection area which are continuously adjacent.
Optionally, the preset at least two detection areas include: the detection range of the sensor is divided into at least two areas according to a preset angle.
Yet another aspect of the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
Yet another aspect of the invention provides an apparatus comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the program.
In a further aspect, the invention provides an apparatus comprising a sensor detection area determining device as described in any one of the preceding claims.
Optionally, the apparatus comprises: at least one of an air conditioner and an air purifier.
According to the technical scheme of the invention, the detection area needing to be detected or the detection area not needing to be detected in the at least two preset detection areas is determined according to the obtained detection result of whether the human body exists in the at least two preset detection areas detected by the sensor, so that the sensor only needs to detect the detection area needing to be detected and does not detect the detection area not needing to be detected, and the rotation range of the rotation mechanism of the sensor can be reduced under the condition of not changing the detection effect of the sensor in the working process of the sensor, thereby improving the structural reliability and the service life of the rotation mechanism of the sensor; to installing the equipment at room corner or edge, can change the detection angle of sensor, avoid invalid scanning, can reduce the wearing and tearing of sensor structure again to can the accurate adjustment sensor need carry out the detection area who detects, reduce the sensor and carry out the human required time that detects once, improve the human instantaneity of sensor detection, promote user's comfort.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a method for determining a detection area of a sensor according to an embodiment of the present invention;
FIG. 2 is a schematic view of a detection zone of a sensor according to an embodiment of the invention;
FIG. 3 is an exemplary diagram of an installation location of a device with sensors in a room according to an embodiment of the invention;
FIG. 4 is a method diagram of another embodiment of a method for determining a detection area of a sensor provided by the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a sensor detection area determining apparatus provided in the present invention;
fig. 6 is a schematic structural diagram of another embodiment of the sensor detection area determination device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a method for determining a sensor detection area. The method may be used in devices with sensors, including wind outlet devices, including, for example, air conditioners, air purifiers.
Fig. 1 is a schematic method diagram of an embodiment of a method for determining a detection area of a sensor provided by the present invention. As shown in fig. 1, according to an embodiment of the present invention, the sensor detection region determining method includes at least step S110 and step S120.
Step S110, obtaining a detection result of whether human bodies exist in at least two preset detection areas detected by the sensor.
FIG. 2 is a schematic diagram of a detection zone of a sensor according to an embodiment of the invention. As shown in fig. 2, taking an effective horizontal detection angle of the sensor as 90 degrees as an example, an effective detection distance of the sensor is 7 meters, and when the sensor is installed on an air conditioner, the sensor can be globally scanned by 180 degrees by the rotating mechanism, so as to detect whether a human body exists in a preset range centered on the sensor in a detection range of the sensor.
The preset at least two detection areas comprise: the detection range of the sensor is divided into at least two areas according to a preset angle. Wherein the detection range of the sensor includes a range within a rotatable angle of a rotation mechanism of the sensor and within an effective detection distance of the sensor. Taking fig. 2 as an example, the rotation angle range of the rotation mechanism of the sensor is 180 °, the effective detection distance of the sensor is 7 meters, and the detection range of the sensor is divided into 18 detection areas, namely an R-1 area, an R-2 area, an … area, an R-9 area and an L-1 area, an L-2 area, a … area and an L-9 area.
Fig. 3 is an exemplary view of an installation location of a device with a sensor in a room according to an embodiment of the present invention. In the process of detecting by the sensor rotating by 180 degrees, some areas may not detect human bodies, for example, as shown in fig. 3, when the detection area shown in fig. 2 is detected, the detection areas L-1 to L-9 may not detect human bodies when the air conditioner is installed at the position 1, and the detection areas R-1 to R-9 may not detect human bodies when the air conditioner is installed at the position 5.
Step S120, determining a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas according to the detection result, so that the sensor only detects the area that needs to be detected or no longer detects the detection area that does not need to be detected.
For example, if the sensors do not detect the presence of a human body all the time in the detection areas L-1 to L-9, it may be that since the air conditioner is installed at the position 1 as shown in FIG. 3, the detection of the detection areas L-1 to L-9 is unnecessary, and thus the detection areas L-1 to L-9 can be determined as areas where detection is unnecessary.
In a specific embodiment, the number of times that a human body is detected in each detection area when the sensor detects whether a human body exists in the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles is obtained in step S110; determining a detection area, in which the number of times of detecting the existence of the human body in the at least two detection areas is greater than or equal to a first preset number of times, as a detection area to be detected in step S120; or determining that the detection area, in the at least two detection areas, in which the number of times of detecting the existence of the human body is less than a second preset number of times is a detection area not required to be detected; wherein the detection period is a detection time required for the sensor to perform one detection on all the at least two detection areas.
For example, assuming that the first predetermined time is n1 days, the first preset number of times is t1 or the second preset number of times is t2, if the number of times that the human body is detected in the detection regions R-1 to R-9 is equal to or greater than t1 within n1 days after the sensor is turned on, the detection regions R-1 to R-9 are determined to be regions requiring detection, or the number of times that the human body is detected in the detection regions L-1 to L-9 is less than t2, the detection regions L-1 to L-9 are determined to be detection regions not requiring detection. Wherein n1 can be n1 is more than or equal to 5 days.
For another example, assuming that the predetermined number is n2, the first preset number is t1 or the second preset number is t2, if the number of times that the human body is detected in the detection regions R-1 to R-9 is greater than or equal to t1 in n2 detection cycles in which the sensor is turned on and the human body is continuously scanned globally, the detection regions R-1 to R-9 are determined as regions requiring detection, or the number of times that the human body is detected in the detection regions L-1 to L-9 is less than t2, the detection regions L-1 to L-9 are determined as detection regions not requiring detection. The detection period T of the sensor can be set to T ≦ 50S, and n2 can be n2 ≧ 2400.
In another specific embodiment, in step S110, a detection area where the sensor does not detect the presence of the human body is obtained from the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles; in step S120, a detection area where the sensor does not detect the presence of the human body is determined as a detection area where detection is not required.
That is, when the sensor detects whether a human body exists in the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles, the number of times that the sensor detects that a human body exists in the at least two detection areas is less than 1 (that is, when the preset number of times in the foregoing embodiment is 1), the detection area in which the number of times that a human body exists is less than 1 is determined as a detection area that does not need to be detected. Wherein the detection region where the presence of the human body is not detected includes: the sensor determines that the continuous adjacent detection area where the human body is not detected is a detection area where detection is not needed when the continuous adjacent detection area does not detect the human body.
For example, assuming that the first predetermined time is n1 days, if the presence of a human body is not detected in the detection areas L-1 to L-9 within n1 days when the sensor is turned on, the detection areas L-1 to L-9 are determined as detection areas that do not require detection. Wherein n1 can be n1 is more than or equal to 5 days.
For another example, assuming that the predetermined number is n2, if the presence of a human body is not detected in the detection areas L-1 to L-9 in n2 detection periods of continuous global scanning with the sensor turned on, the detection areas L-1 to L-9 are determined as detection areas that do not require detection. The detection period T of the sensor can be set to T ≦ 50S, and n2 can be n2 ≧ 2400.
Fig. 4 is a schematic method diagram of another embodiment of the method for determining the detection area of the sensor provided by the invention. As shown in fig. 4, based on the above embodiment, if the second specific implementation manner is adopted, that is, in step S110, a detection area where the sensor does not detect the presence of the human body in the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles is obtained, and in step S120, the detection area where the sensor does not detect the presence of the human body in the at least two detection areas is determined as a detection area where detection is not required, the method further includes step S130.
Step S130, controlling the sensor to perform a third preset number of detections on the detection area that does not need to be detected every second preset time, so as to detect whether a human body exists in the detection area that does not need to be detected.
After determining the areas needing to be detected or the areas not needing to be detected in the at least two preset detection areas according to the detection result, controlling the sensor to perform third preset times of detection on the areas not needing to be detected every second preset time so as to detect whether a human body exists in the detection areas not needing to be detected or not; and if the human body is detected in the detection areas which do not need to be detected, re-acquiring the detection result of whether the human body exists in the at least two preset detection areas detected by the sensor.
Specifically, when the second embodiment is adopted, the detection area not requiring detection is a detection area where no human body is detected in the at least two detection areas, so that the sensor is controlled to perform re-detection on the detection area where no human body is detected every second predetermined time to detect whether a human body is present in the detection area where no human body is detected, and if a human body is detected in the detection area where a human body is detected, a detection result that the sensor detects whether a human body is present in the at least two preset detection areas is re-obtained, that is, step S110 and step S120 are re-executed to avoid inaccurate detection caused by the change of the installation position of the device. For example, the situation that after the air conditioner is moved to the machine position, the sensor still only detects the originally determined detection area needing to be detected, and therefore detection is inaccurate is avoided.
For example, assuming that the second predetermined time is n2, the third predetermined number of times is t3, the detection regions L-1 to L-9 have been determined to be detection regions that do not require detection in step S120, and thereafter, every n2 days, the global scanning is performed t3 times, and if the detection regions L-1 to L-9 are scanned to have human bodies, the aforementioned step S110 and step S120 are performed again.
The invention also provides a device for determining the detection area of the sensor. The device can be used in equipment with a sensor, wherein the equipment comprises an air outlet device, and the air outlet device comprises an air conditioner and an air purifier.
Fig. 5 is a schematic structural diagram of an embodiment of the sensor detection area determination apparatus provided in the present invention. As shown in fig. 5, the sensor detection region determining apparatus 100 includes: an acquisition unit 110 and a determination unit 120.
The obtaining unit 110 is configured to obtain a detection result of whether a human body exists in at least two preset detection areas detected by the sensor.
FIG. 2 is a schematic diagram of a detection zone of a sensor according to an embodiment of the invention. As shown in fig. 2, taking the horizontal effective detection angle of the sensor as 90 °, when the sensor is mounted on the air conditioner, the rotating mechanism enables the sensor to perform 180 ° global scanning, so as to detect whether a human body exists in a preset range centered on the sensor within the detection range of the sensor. The preset at least two detection areas comprise: the detection range of the sensor is divided into at least two areas according to a preset angle. Taking fig. 2 as an example, the detection range of the sensor is divided into 18 detection regions, namely R-1, R-2, … and R-9 regions and L-1, L-2, … and L-9 regions.
Fig. 3 is an exemplary view of an installation location of an air conditioner in a room according to an embodiment of the present invention. In the process of detecting by the sensor rotating by 180 degrees, some areas may not detect human bodies, for example, as shown in fig. 3, when the detection area shown in fig. 2 is detected, the detection areas L-1 to L-9 may not detect human bodies when the air conditioner is installed at the position 1, and the detection areas R-1 to R-9 may not detect human bodies when the air conditioner is installed at the position 5.
The determining unit 120 is configured to determine, according to the detection result obtained by the obtaining unit, a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas, so that the sensor only detects the area that needs to be detected or no longer detects the detection area that does not need to be detected.
For example, if the sensors do not detect the presence of a human body all the time in the detection areas L-1 to L-9, it may be that since the air conditioner is installed at the position 1 as shown in FIG. 3, the detection of the detection areas L-1 to L-9 is unnecessary, and thus the detection areas L-1 to L-9 can be determined as areas where detection is unnecessary.
In a specific embodiment, the acquiring unit, which acquires a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, includes: acquiring the number of times that whether a human body exists in each detection area when the sensor detects whether the human body exists in the at least two detection areas within first preset time or continuous preset number of detection periods; the determining unit determines, according to the detection result obtained by the obtaining unit, a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas, including: and determining the detection area with the number of times of detecting the existence of the human body being more than or equal to a first preset number of times in the at least two detection areas as the detection area needing to be detected, or determining the detection area with the number of times of detecting the existence of the human body being less than a second preset number of times in the at least two detection areas as the detection area needing no detection. Wherein the detection period is a detection time required for the sensor to perform one detection on all the at least two detection areas.
For example, assuming that the first predetermined time is n1 days, the first preset number of times is t1 or the second preset number of times is t2, if the number of times that the human body is detected in the detection regions R-1 to R-9 is equal to or greater than t1 within n1 days after the sensor is turned on, the detection regions R-1 to R-9 are determined to be regions requiring detection, or the number of times that the human body is detected in the detection regions L-1 to L-9 is less than t2, the detection regions L-1 to L-9 are determined to be detection regions not requiring detection. Wherein n1 can be n1 is more than or equal to 5 days.
For another example, assuming that the predetermined number is n2, the first preset number is t1 or the second preset number is t2, if the number of times that the human body is detected in the detection regions R-1 to R-9 is greater than or equal to t1 in n2 detection cycles in which the sensor is turned on and the human body is continuously scanned globally, the detection regions R-1 to R-9 are determined as regions requiring detection, or the number of times that the human body is detected in the detection regions L-1 to L-9 is less than t2, the detection regions L-1 to L-9 are determined as detection regions not requiring detection. The detection period T of the sensor can be set to T ≦ 50S, and n2 can be n2 ≧ 2400.
In another specific embodiment, the obtaining unit 110 obtains a detection result of whether there is a human body in at least two preset detection areas detected by the sensor, including: acquiring a detection area in which the sensor does not detect the existence of the human body in the at least two detection areas within a first preset time or a continuous preset number of detection periods; the determining unit 120 determines, according to the detection result obtained by the obtaining unit, a region that needs to be detected or a detection region that does not need to be detected in the at least two preset detection regions, including: and determining a detection area, in the at least two detection areas, in which the sensor does not detect the existence of the human body, as a detection area not needing detection.
That is, when the obtaining unit 110 obtains a detection area in which the number of times that the sensor detects the presence of the human body is less than 1 time among the at least two detection areas when the sensor detects the presence of the human body in the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles (i.e., when the preset number of times in the foregoing embodiment is 1), the determining unit 120 determines the detection area in which the number of times that the presence of the human body is detected is less than 1 time as a detection area in which detection is not required. Wherein the detection region where the presence of the human body is not detected includes: the sensor determines that the continuous adjacent detection area where the human body is not detected is a detection area where detection is not needed when the continuous adjacent detection area does not detect the human body.
For example, assuming that the first predetermined time is n1 days, if the presence of a human body is not detected in the detection areas L-1 to L-9 within n1 days when the sensor is turned on, the detection areas L-1 to L-9 are determined as detection areas that do not require detection. Wherein n1 can be n1 is more than or equal to 5 days.
For another example, assuming that the predetermined number is n2, if the presence of a human body is not detected in the detection areas L-1 to L-9 in n2 detection periods of continuous global scanning with the sensor turned on, the detection areas L-1 to L-9 are determined as detection areas that do not require detection. The detection period T of the sensor can be set to T ≦ 50S, and n2 can be n2 ≧ 2400.
Fig. 6 is a schematic structural diagram of another embodiment of the sensor detection area determination device provided by the present invention. As shown in fig. 6, based on the above embodiment, if the second specific implementation manner is adopted, the obtaining unit 110 obtains a detection area where the sensor does not detect the presence of the human body in the at least two detection areas within a first predetermined time or a predetermined number of consecutive detection cycles; the determining unit 120 determines that the detection area where the sensor does not detect the presence of the human body is a detection area where detection is not needed, and the apparatus 100 further includes a control unit 130.
The control unit 130 is configured to, after the determining unit 120 determines, according to the detection result obtained by the obtaining unit 110, a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas, control the sensor to perform a third preset number of detections on the detection area that does not need to be detected every second preset time, so as to detect whether a human body exists in the detection area that does not need to be detected.
Further, if the sensor detects that a human body exists in the detection areas that do not need to be detected, the obtaining unit 110 obtains a detection result of whether the human body exists in the at least two preset detection areas detected by the sensor again; the determining unit 120 determines, according to the detection result obtained by the obtaining unit, an area that needs to be detected or an area that does not need to be detected in the at least two preset detection areas.
Specifically, when the second embodiment is adopted, the detection area not requiring detection is a detection area where no human body is detected in the at least two detection areas, so that the sensor is controlled to perform re-detection on the detection area where no human body is detected every second predetermined time to detect whether a human body exists in the detection area where no human body is detected, and if a human body is detected in the detection area where a human body is detected, the obtaining unit 110 re-obtains a detection result of whether a human body exists in the at least two preset detection areas detected by the sensor; the determining unit 120 determines, according to the detection result obtained by the obtaining unit, an area that needs to be detected or an area that does not need to be detected in the at least two preset detection areas again, so as to avoid inaccurate detection when the installation location of the device is changed. For example, the situation that after the air conditioner is moved to the machine position, the sensor still only detects the originally determined detection area needing to be detected, and therefore detection is inaccurate is avoided.
For example, assuming that the second predetermined time is n2, the third predetermined number of times is t3, the detection regions L-1 to L-9 have been determined to be detection regions that do not need to be detected in step S120, and thereafter, every n2 days, t3 times of global scanning are performed, and if the detection regions L-1 to L-9 are scanned to have human bodies, the obtaining unit 110 obtains the detection results of whether the human bodies exist in the at least two predetermined detection regions detected by the sensor again; the determining unit 120 determines, according to the detection result obtained by the obtaining unit, an area that needs to be detected or an area that does not need to be detected in the at least two preset detection areas.
The present invention also provides a computer-readable storage medium corresponding to the sensor detection region determining method, on which a computer program is stored, which when executed by a processor implements the steps of any of the methods described above.
The invention also provides a device corresponding to the sensor detection area determination method, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of any one of the methods. Optionally, the device comprises an air conditioner, an air purifier.
The invention also provides a device corresponding to the sensor detection area determining device, which comprises the sensor detection area determining device. Optionally, the device comprises an air conditioner, an air purifier.
According to the scheme provided by the invention, the detection area needing to be detected or the detection area not needing to be detected in the at least two preset detection areas is determined according to the detection result of whether the human body exists in the at least two preset detection areas detected by the sensor, so that the sensor only needs to detect the detection area needing to be detected and does not detect the detection area not needing to be detected, the rotation range of the rotation mechanism of the sensor can be reduced under the condition of not changing the detection effect of the sensor in the working process of the sensor, and the structural reliability and the service life of the rotation mechanism of the sensor are improved; to installing the equipment at room corner or edge, can change the detection angle of sensor, avoid invalid scanning, can reduce the wearing and tearing of sensor structure again to can the accurate adjustment sensor need carry out the detection area who detects, reduce the sensor and carry out the human required time that detects once, improve the human instantaneity of sensor detection, promote user's comfort.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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 and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (14)

1. A sensor detection area determination method, comprising:
obtain whether there is the testing result that human exists in sensor detection two predetermined at least detection regions, include: acquiring the number of times that a human body is detected in each detection area when the sensor detects whether the human body exists in the at least two detection areas within a first preset time or a preset number of continuous detection periods, or acquiring a detection area in which the human body is not detected by the sensor in the at least two detection areas within the first preset time or the preset number of continuous detection periods;
determining a detection area which needs to be detected or a detection area which does not need to be detected in the at least two preset detection areas according to the detection result, so that the sensor only detects the detection area which needs to be detected or no longer detects the detection area which does not need to be detected, comprising:
determining a detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is greater than or equal to a first preset number of times as a detection area to be detected; alternatively, the first and second electrodes may be,
determining the detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is less than a second preset number of times, as a detection area not needing to be detected; alternatively, the first and second electrodes may be,
determining a detection area, which does not detect the existence of the human body, of the at least two detection areas as a detection area not needing to be detected;
the detection period is the detection time required for the sensor to perform one detection on all the at least two detection areas.
2. The method according to claim 1, further comprising, after determining, according to the detection result, a detection area that needs to be detected or a detection area that does not need to be detected in the preset at least two detection areas:
controlling the sensor to perform third preset times of detection on the detection area which does not need to be detected every second preset time so as to detect whether a human body exists in the detection area which does not need to be detected;
and if the human body is detected in the detection areas which do not need to be detected, re-acquiring the detection result of whether the human body exists in the at least two preset detection areas detected by the sensor.
3. The method according to claim 1 or 2, wherein the detection area where the presence of a human body is not detected comprises: and more than one detection area which are continuously adjacent.
4. The method according to claim 1 or 2, wherein the preset at least two detection areas comprise: the detection range of the sensor is divided into at least two areas according to a preset angle.
5. The method of claim 3, wherein the predetermined at least two detection regions comprise: the detection range of the sensor is divided into at least two areas according to a preset angle.
6. A sensor detection area determination device characterized by comprising:
the acquisition unit is used for obtaining whether there is the testing result that human body exists in sensor detection two predetermined at least detection regions, includes:
acquiring the number of times that a human body is detected in each detection area when the sensor detects whether the human body exists in the at least two detection areas within a first preset time or a preset number of continuous detection periods, or acquiring a detection area in which the human body is not detected by the sensor in the at least two detection areas within the first preset time or the preset number of continuous detection periods;
the determining unit is used for determining a detection area which needs to be detected or a detection area which does not need to be detected in the at least two preset detection areas according to the detection result obtained by the obtaining unit, so that the sensor only detects the area which needs to be detected or no longer detects the detection area which does not need to be detected;
the determining unit determines, according to the detection result obtained by the obtaining unit, a detection area that needs to be detected or a detection area that does not need to be detected in the at least two preset detection areas, including:
determining a detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is greater than or equal to a first preset number of times as a detection area to be detected; alternatively, the first and second electrodes may be,
determining the detection area, in the at least two detection areas, of which the number of times of detecting the existence of the human body is less than a second preset number of times, as a detection area not needing to be detected; alternatively, the first and second electrodes may be,
determining a detection area, which does not detect the existence of the human body, of the at least two detection areas as a detection area not needing to be detected;
the detection period is the detection time required for the sensor to perform one detection on all the at least two detection areas.
7. The apparatus of claim 6, further comprising: the control unit is used for controlling the sensor to perform third preset times of detection on the detection area which does not need to be detected every second preset time after the determination unit determines the area which needs to be detected or the detection area which does not need to be detected in the at least two preset detection areas according to the detection result obtained by the obtaining unit so as to detect whether a human body exists in the detection area which does not need to be detected or not;
if the detection areas which do not need to be detected detect the existence of the human body, the acquisition unit acquires the detection result of whether the human body exists in the at least two preset detection areas or not by the sensor again;
the determining unit determines the area needing to be detected or the detection area not needing to be detected in the at least two preset detection areas again according to the detection result obtained by the obtaining unit.
8. The apparatus of claim 6 or 7, wherein the detection region where the presence of the human body is not detected comprises: and more than one detection area which are continuously adjacent.
9. The apparatus of claim 6 or 7, wherein the predetermined at least two detection areas comprise: the detection range of the sensor is divided into at least two areas according to a preset angle.
10. The apparatus of claim 8, wherein the predetermined at least two detection regions comprise: the detection range of the sensor is divided into at least two areas according to a preset angle.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
12. An apparatus comprising a sensor, further comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of claims 1-5 when executing the program.
13. An apparatus comprising a sensor and further comprising a sensor detection region determining device according to any one of claims 6 to 10.
14. The apparatus according to claim 12 or 13, characterized in that it comprises: at least one of an air conditioner and an air purifier.
CN201810104937.1A 2018-02-02 2018-02-02 Sensor detection area determining method and device, storage medium and equipment Active CN108387945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810104937.1A CN108387945B (en) 2018-02-02 2018-02-02 Sensor detection area determining method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810104937.1A CN108387945B (en) 2018-02-02 2018-02-02 Sensor detection area determining method and device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN108387945A CN108387945A (en) 2018-08-10
CN108387945B true CN108387945B (en) 2020-01-24

Family

ID=63075029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810104937.1A Active CN108387945B (en) 2018-02-02 2018-02-02 Sensor detection area determining method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN108387945B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110195918B (en) * 2019-05-24 2020-12-11 珠海格力电器股份有限公司 Control method and device for reducing equipment power consumption, storage medium and electronic device
CN111780340B (en) * 2020-07-17 2021-06-29 珠海格力电器股份有限公司 Control method and device of air conditioner and air conditioner
CN111981652B (en) * 2020-07-23 2021-07-23 珠海格力电器股份有限公司 Control method and control device of air conditioner and air conditioner

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308575A (en) * 2008-07-08 2008-11-19 北京中星微电子有限公司 Target positioning method and sight protective apparatus
JP2014059302A (en) * 2012-09-18 2014-04-03 Sick Ag Photoelectric sensor and object detection method
CN103778442A (en) * 2014-02-26 2014-05-07 哈尔滨工业大学深圳研究生院 Central air-conditioner control method based on video people counting statistic analysis
CN103793703A (en) * 2014-03-05 2014-05-14 北京君正集成电路股份有限公司 Method and device for positioning face detection area in video
CN103886618A (en) * 2014-03-12 2014-06-25 新奥特(北京)视频技术有限公司 Ball detection method and device
CN104137155A (en) * 2012-02-29 2014-11-05 皇家飞利浦有限公司 Apparatus, method and system for monitoring presence of persons in an area
JP2015055493A (en) * 2013-09-10 2015-03-23 株式会社リコー Human body detection device, human body detection method and electronic device
CN105874284A (en) * 2014-05-27 2016-08-17 松下电器(美国)知识产权公司 Method for controlling sensor executed by air conditioner
CN106874867A (en) * 2017-02-14 2017-06-20 江苏科技大学 A kind of face self-adapting detecting and tracking for merging the colour of skin and profile screening
CN106874848A (en) * 2017-01-06 2017-06-20 深圳市保千里电子有限公司 A kind of pedestrian detection method and system
CN106960195A (en) * 2017-03-27 2017-07-18 深圳市丰巨泰科电子有限公司 A kind of people counting method and device based on deep learning
CN107062552A (en) * 2017-05-03 2017-08-18 珠海格力电器股份有限公司 Air conditioning control device and method
CN107480607A (en) * 2017-07-28 2017-12-15 青岛大学 A kind of method that standing Face datection positions in intelligent recording and broadcasting system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759173B (en) * 2011-04-26 2014-09-03 珠海格力电器股份有限公司 Method for controlling operation mode of air conditioner, and air conditioner
CN105540355A (en) * 2015-12-31 2016-05-04 百川伟业(天津)建筑科技股份有限公司 Elevator running monitoring system based on BIM
CN106288188B (en) * 2016-08-16 2019-02-12 深圳万城节能股份有限公司 Air conditioning control method
CN106440277A (en) * 2016-10-20 2017-02-22 深圳市立冰节能科技有限公司 Intelligent energy-saving air conditioner

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308575A (en) * 2008-07-08 2008-11-19 北京中星微电子有限公司 Target positioning method and sight protective apparatus
CN104137155A (en) * 2012-02-29 2014-11-05 皇家飞利浦有限公司 Apparatus, method and system for monitoring presence of persons in an area
JP2014059302A (en) * 2012-09-18 2014-04-03 Sick Ag Photoelectric sensor and object detection method
JP2015055493A (en) * 2013-09-10 2015-03-23 株式会社リコー Human body detection device, human body detection method and electronic device
CN103778442A (en) * 2014-02-26 2014-05-07 哈尔滨工业大学深圳研究生院 Central air-conditioner control method based on video people counting statistic analysis
CN103793703A (en) * 2014-03-05 2014-05-14 北京君正集成电路股份有限公司 Method and device for positioning face detection area in video
CN103886618A (en) * 2014-03-12 2014-06-25 新奥特(北京)视频技术有限公司 Ball detection method and device
CN105874284A (en) * 2014-05-27 2016-08-17 松下电器(美国)知识产权公司 Method for controlling sensor executed by air conditioner
CN106874848A (en) * 2017-01-06 2017-06-20 深圳市保千里电子有限公司 A kind of pedestrian detection method and system
CN106874867A (en) * 2017-02-14 2017-06-20 江苏科技大学 A kind of face self-adapting detecting and tracking for merging the colour of skin and profile screening
CN106960195A (en) * 2017-03-27 2017-07-18 深圳市丰巨泰科电子有限公司 A kind of people counting method and device based on deep learning
CN107062552A (en) * 2017-05-03 2017-08-18 珠海格力电器股份有限公司 Air conditioning control device and method
CN107480607A (en) * 2017-07-28 2017-12-15 青岛大学 A kind of method that standing Face datection positions in intelligent recording and broadcasting system

Also Published As

Publication number Publication date
CN108387945A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN108387945B (en) Sensor detection area determining method and device, storage medium and equipment
CN106440245B (en) Human body position obtaining method and device
CN106979596B (en) Method, device and system for controlling air conditioner and air conditioner
CN107062552B (en) Air conditioner control device and method
CN110749061A (en) Air conditioner, air conditioner control method and device and readable storage medium
CN105373006B (en) Intelligent household management system based on Internet of Things and method
CN107084795A (en) Studies of Human Body Heat source discrimination, device and the equipment with the device
CN110925969B (en) Air conditioner control method and device, electronic equipment and storage medium
EP3650775A1 (en) Air conditioning control device, environment setting terminal, air conditioning control method, and program
CN106403072B (en) Outdoor unit and dust deposition detection method thereof
CN108302729B (en) Human body detection method, human body detection equipment and air conditioner
CN108507132B (en) Infrared sensor adjusting method and device, readable storage medium and air conditioner
CN109186772B (en) Human body judgment method based on infrared detector and electric appliance
CN105371421A (en) Air conditioner control method and air conditioner
CN115111816A (en) Method and device for detecting electronic expansion valve and storage medium
CN113834184B (en) Control method and device for air conditioner and server
CN113310182B (en) Control method of temperature adjusting equipment and electronic equipment
CN106303215A (en) The acquisition method of a kind of image and device
CN108489048B (en) Air conditioner installation position determining method and device, readable storage medium and air conditioner
CN109990428B (en) Method and device for determining installation position of air conditioner
CN108981076B (en) Unit control method and system and air conditioner
JP2019015414A (en) Air conditioning control device, environment setting terminal, air conditioning control method, and program
CN103142247B (en) Control method and system for focus position and image depth in ultrasonic diagnostic equipment
CN108195036B (en) Air conditioner control method and device
JP6038830B2 (en) Seat allocation information providing device, tenant building system, and program

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