CN109362124B - Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment - Google Patents

Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment Download PDF

Info

Publication number
CN109362124B
CN109362124B CN201811319166.4A CN201811319166A CN109362124B CN 109362124 B CN109362124 B CN 109362124B CN 201811319166 A CN201811319166 A CN 201811319166A CN 109362124 B CN109362124 B CN 109362124B
Authority
CN
China
Prior art keywords
pir
low
power
signal
trigger signal
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
CN201811319166.4A
Other languages
Chinese (zh)
Other versions
CN109362124A (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.)
Zhangzhou Lidaxin Optoelectronic Technology Co ltd
Original Assignee
Zhangzhou Lidaxin Optoelectronic Technology 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 Zhangzhou Lidaxin Optoelectronic Technology Co ltd filed Critical Zhangzhou Lidaxin Optoelectronic Technology Co ltd
Priority to CN201811319166.4A priority Critical patent/CN109362124B/en
Publication of CN109362124A publication Critical patent/CN109362124A/en
Application granted granted Critical
Publication of CN109362124B publication Critical patent/CN109362124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses an infrared detection false triggering prevention method, an infrared detection false triggering prevention device, low-power consumption wireless equipment and a storage medium, wherein the method comprises the following steps: acquiring a dormancy awakening signal, and judging whether the dormancy awakening signal is a PIR trigger signal or not; when the PIR trigger signal is the PIR trigger signal, judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal; when a human body moves, judging whether the low-power wireless equipment is sending wireless messages or not; when the low-power consumption wireless equipment sends a wireless message, clearing the PIR trigger signal; when the low-power wireless equipment is not sending wireless messages, judging whether PIR triggering meets preset normal triggering conditions or not according to the sleep time of the low-power wireless equipment; and when the PIR trigger does not accord with the preset normal trigger condition, clearing the PIR trigger signal. By the embodiment of the invention, the possibility of false triggering of the low-power-consumption wireless equipment can be reduced, the reliability of the equipment is greatly improved, and the user experience is improved.

Description

Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment
Technical Field
The invention belongs to the technical field of infrared detection, and particularly relates to an infrared detection false triggering prevention method and device, low-power-consumption wireless equipment and a computer readable storage medium.
Background
At present, infrared technology detection is widely applied in the fields of modern science and technology, national defense science and technology, industrial and agricultural science and technology and the like. The infrared sensor can be classified into a photon detector and a thermal detector according to detection mechanisms.
Due to the wide application of the internet of things technology, a pyroelectric infrared sensor (PIR) can be often arranged in low-power-consumption wireless internet of things equipment and used for detecting human body movement. The low-power-consumption wireless Internet of things equipment needs to enter a sleep state when not working, and when the infrared sensor acquires the wake-up signal, the infrared sensor wakes up from the sleep state and executes corresponding actions. Due to the characteristics of the infrared heat detection technology, the low-power-consumption wireless Internet of things equipment can often have the conditions of false detection and false triggering. Although the existing infrared sensor is provided with a false triggering prevention mechanism, the existing infrared sensor is used for filtering weak triggering signals to ensure the reliability of equipment. But the false trigger prevention mechanism of the infrared sensor cannot filter most false trigger signals.
Disclosure of Invention
However, in the research process, the inventor finds that the power fluctuation of the VDD terminal of the PIR affects the level change of the PIR output pin to cause false detection, and the power fluctuation of the VDD terminal mainly comes from the process of the low-power-consumption wireless device entering the sleep state from the wake-up state when the low-power-consumption wireless device sends a wireless message.
Based on this, the technical problem to be solved by the present invention is to provide an infrared detection false triggering prevention method and apparatus, a low power consumption wireless device, and a computer readable storage medium, so as to prevent false triggering caused when the low power consumption wireless device sends a wireless message and the low power consumption wireless device enters a sleep state from an awake state, improve device reliability, and improve user experience.
The first aspect of the embodiments of the present invention provides an infrared detection false triggering prevention method, which is applied to a low power consumption wireless device, where the low power consumption wireless device includes a pyroelectric infrared sensor, and the infrared detection false triggering prevention method includes:
acquiring a sleep wake-up signal, and judging whether the sleep wake-up signal is a PIR trigger signal;
when the sleep wake-up signal is the PIR trigger signal, judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal;
when a human body moves, judging whether the low-power wireless equipment is sending wireless messages or not;
clearing the PIR trigger signal when the low-power wireless device is sending a wireless message;
when the low-power wireless equipment is not sending wireless messages, judging whether PIR triggering meets a preset normal triggering condition or not according to the sleeping time of the low-power wireless equipment;
and when the PIR trigger does not accord with the preset normal trigger condition, clearing the PIR trigger signal.
Optionally, judging whether the PIR trigger meets a preset normal trigger condition according to the sleep time of the low-power-consumption wireless device includes:
when the sleep time of the low-power wireless device is greater than a first preset threshold or equal to zero, PIR triggering meets the preset normal triggering condition;
when the sleep time of the low-power wireless device is greater than zero and less than or equal to the first preset threshold, the PIR trigger does not meet the preset normal trigger condition.
Optionally, the method further comprises:
and when the PIR trigger meets the preset normal trigger condition, the PIR trigger signal is cleared and the sleep time is cleared after the PIR operation is executed according to the PIR trigger signal.
Optionally, performing a PIR operation according to the PIR trigger signal, comprising:
and uploading feedback information to a monitoring platform of the low-power-consumption wireless equipment according to the PIR trigger signal.
Optionally, the method further comprises:
when no human body movement is detected, resetting the sleep time or clearing the PIR trigger signal and then resetting the sleep time, and judging whether the low-power wireless equipment meets the condition of entering the sleep state;
when the low-power consumption wireless equipment meets the condition of entering a dormant state, starting a dormant time count and then entering the dormant state;
and when the low-power consumption wireless equipment does not meet the condition of entering the sleep state, returning to the step of acquiring the sleep wake-up signal and judging whether the sleep wake-up signal is the PIR trigger signal.
Optionally, the determining whether the low power consumption wireless device meets a condition for entering a sleep state includes:
judging whether the execution action corresponding to the dormancy awakening signal is finished or not;
when the execution action corresponding to the dormancy awakening signal is finished, the low-power wireless equipment meets the condition of entering a dormancy state;
when the execution action corresponding to the sleep wake-up operation is not completed, the low power consumption wireless device is not in compliance with the condition for entering the sleep state.
A second aspect of an embodiment of the present invention provides an infrared detection false triggering prevention device, which is integrated in a low power consumption wireless device, where the low power consumption wireless device includes a pyroelectric infrared sensor, and the infrared detection false triggering prevention device includes:
the first judgment module is used for acquiring a dormancy awakening signal and judging whether the dormancy awakening signal is a PIR trigger signal;
the second judgment module is used for judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal when the dormancy awakening signal is the PIR trigger signal;
the third judging module is used for judging whether the low-power wireless equipment is sending wireless messages or not when human body moves;
a first clearing module, configured to clear the PIR trigger signal when the low power consumption wireless device is sending a wireless message;
the fourth judging module is used for judging whether PIR triggering meets a preset normal triggering condition or not according to the sleeping time of the low-power-consumption wireless equipment when the low-power-consumption wireless equipment does not send a wireless message;
and the second clearing module is used for clearing the PIR trigger signal when the PIR trigger does not accord with the preset normal trigger condition.
Optionally, the method further comprises:
a fifth judging module, configured to judge whether the low-power wireless device meets a condition for entering a sleep state after clearing the sleep time when no human motion is detected or after clearing the PIR trigger signal and then clearing the sleep time;
the sleep module is used for starting sleep time counting and then entering a sleep state when the low-power wireless equipment meets the condition of entering the sleep state;
and the return module is used for returning to the steps of acquiring the dormancy wakeup signal and judging whether the dormancy wakeup signal is the PIR trigger signal when the low-power-consumption wireless equipment does not meet the condition of entering the dormancy state.
A third aspect of embodiments of the present invention provides a low power wireless device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to any one of the above-mentioned first aspects.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, when the PIR trigger signal is received and human body movement is detected, whether the low-power wireless equipment sends the wireless message is judged, if yes, the PIR trigger signal is a false touch signal, the PIR trigger signal is cleared, and false triggering is prevented; when the low-power wireless equipment is determined not to send the wireless message, judging whether the sleeping time of the low-power wireless equipment meets a preset normal triggering condition or not so as to judge whether the low-power wireless equipment enters a sleeping state from a wake-up state or not, if not, determining that the PIR triggering signal is a false triggering signal, and clearing the PIR triggering signal. Therefore, the possibility of false triggering of the low-power-consumption wireless equipment is reduced, the reliability of the equipment is greatly improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an infrared detection false triggering prevention method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a hardware implementation of a PIR sensor according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating an infrared detection false triggering prevention method according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a structure of an infrared detection false triggering prevention device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a low power consumption wireless device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
The technical scheme provided by the embodiment of the invention is particularly applied to low-power-consumption wireless equipment, the equipment is low-power-consumption wireless Internet of things equipment, and the equipment can support one or more of wireless protocols such as WIFI, Zigbee, NB-loT, eMTC, Z-wave, LoRa, SigFox, RF (radio frequency), Bluetooth and the like. The low-power-consumption wireless equipment can be specifically installed on the intelligent door and used for detecting whether a person approaches the intelligent door; and may also be specifically configured in other application scenarios, which are not limited herein.
The technical solutions provided by the embodiments of the present invention are described in detail below.
Referring to fig. 1, a schematic flow chart of an infrared detection false triggering prevention method provided in an embodiment of the present invention is specifically applicable to a low power consumption wireless device, where the low power consumption wireless device includes a pyroelectric infrared sensor, and the infrared detection false triggering prevention method may include the following steps:
step S101, acquiring a sleep wake-up signal, and judging whether the sleep wake-up signal is a PIR trigger signal.
It will be appreciated that in order to ensure low power consumption of the device, a low power wireless device may need to enter a sleep state when not in an active state, and if a sleep wake-up signal is received, may enter a wake-up state and perform corresponding actions.
It should be noted that the sleep wake-up signal may include various types of signals, including, but not limited to, a PIR trigger signal, a key trigger signal, and a timing trigger signal.
And S102, when the sleep awakening signal is a PIR trigger signal, judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal.
Specifically, when the sleep wake-up signal is the PIR trigger signal, whether a human body moves in the PIR monitoring range is judged according to the signal type of the PIR trigger signal. For example, the PIR trigger signal is a specific level signal, and when human body movement is preset, the trigger signal is a high level, otherwise, the trigger signal is a low level; at this time, when the PIR trigger signal is at a high level, the human body moves in the PIR monitoring area, otherwise, the human body does not move.
And step S103, judging whether the low-power wireless equipment is sending wireless messages or not when human body movement occurs.
And step S104, when the low-power wireless equipment sends the wireless message, clearing the PIR trigger signal.
Specifically, when human body movement is detected, whether the device is sending wireless messages or not is judged, and when the device is sending wireless messages, the PIR trigger signal can be cleared. While clearing the PIR trigger signal may specifically be accomplished by pulling a pin level signal low or high. When the human body movement is not detected, the sleep time can be cleared, and then whether the human body enters the sleep state or not is determined.
And S105, when the low-power wireless equipment does not send the wireless message, judging whether PIR triggering meets a preset normal triggering condition or not according to the dormancy time of the low-power wireless equipment.
It should be noted that the preset normal trigger condition is an empirical condition obtained through a lot of experiments, and is used for determining the influence of the device on the trigger signal from waking to sleeping. The preset normal trigger condition may specifically be that the sleep time is greater than a first preset threshold or equal to zero, that is, when the sleep time is greater than the first preset threshold or equal to zero, the PIR trigger is a normal trigger; otherwise, if the sleeping time is greater than zero and less than or equal to the first preset threshold, the PIR trigger is a false trigger.
The first preset threshold may be set according to actual conditions. Preferably, the first preset threshold may be specifically 500 ms.
And S106, when the PIR trigger does not accord with the preset normal trigger condition, clearing the PIR trigger signal.
Specifically, when the PIR trigger is a false trigger, then the PIR trigger signal may be cleared. And clearing the PIR trigger signal can be realized by pulling a level signal of a corresponding pin down or pulling a level signal of a corresponding pin up. And when the PIR trigger is a normal trigger, corresponding PIR operation may be performed, for example, reporting the PIR trigger signal to the monitoring platform, and then clearing the sleep time and clearing the PIR trigger signal.
In the embodiment, when the motion of a human body is detected through the received PIR trigger signal, whether the low-power wireless equipment sends a wireless message is judged, if so, the PIR trigger signal is a false touch signal, and the PIR trigger signal is cleared to prevent false triggering; when the low-power wireless equipment is determined not to send the wireless message, judging whether the sleeping time of the low-power wireless equipment meets a preset normal triggering condition or not so as to judge whether the low-power wireless equipment enters a sleeping state from a wake-up state or not, if not, determining that the PIR triggering signal is a false triggering signal, and clearing the PIR triggering signal. Therefore, the possibility of false triggering of the low-power-consumption wireless equipment is reduced, the reliability of the equipment is greatly improved, and the user experience is improved.
Example two
Through the technical scheme of the embodiment of the invention, the false triggering caused when the wireless equipment sends the wireless message or the equipment wakes up to sleep can be prevented. First, the hardware implementation of the PIR sensor shown in fig. 2 will be described. As shown in FIG. 2, U1 is a PIR sensor, specifically model E931.96B, which includes pins VDD, INT/DOC1, PIRIN, TEST, etc., and some necessary peripheral circuitry on the sensor periphery. E931.96B the sensor can detect the change of infrared ray intensity of human body radiation, and the change can be used as a standard for human movement. Generally, in the E931.96B monitoring area, if no human being appears or does not move, the signal intensity curve detected by E931.96B is almost flat, and when a human body appears or moves, the signal intensity curve fluctuates greatly, and according to the fluctuation characteristic, whether the human body moves or not can be judged.
In the research process, through a large amount of test and research work, the applicant finds that the power supply fluctuation of the VDD end can affect the change of the output level of a PIR _ INTDOC pin, so that false triggering and false detection are caused, the power supply fluctuation of the VDD end mainly occurs when the device sends a wireless signal and when the device wakes up to sleep, and based on the finding, the applicant shields the PIR triggering signal in the scene that the device sends a wireless message and the like, and prevents the false triggering and the false detection.
Referring to fig. 3, another schematic flow chart of an infrared detection false triggering prevention method according to an embodiment of the present invention is shown, where the method includes the following steps:
step S301, if receiving the sleep wake-up signal, judging whether the received sleep wake-up signal is a PIR trigger signal, if so, entering step S302, and if not, entering step S306.
Step S302, judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal, if so, entering step S303, and if not, entering step S306 after clearing the sleep time.
Step S303, judging whether the low-power wireless device is sending wireless information, if not, entering step S305, if yes, clearing the PIR trigger signal, and entering step S306 after clearing the dormancy time.
Step S304, judging whether PIR triggering accords with a preset normal triggering condition or not according to the sleeping time of the low-power-consumption wireless equipment, and when the sleeping time of the low-power-consumption wireless equipment is larger than a first preset threshold value or equal to zero, the PIR triggering accords with the preset normal triggering condition, and entering step S305; when the sleep time of the low-power-consumption wireless device is greater than zero and less than or equal to a first preset threshold, the PIR trigger does not meet a preset normal trigger condition, the PIR trigger signal is cleared, the sleep time is cleared, and then the step S306 is executed.
The first preset threshold may be set according to actual conditions. Preferably, the first preset threshold may be specifically 500 ms. That is, when the sleep time is greater than 500ms or equal to 0ms, the process proceeds to step S305, and when the sleep time is greater than 0ms and less than or equal to 500ms, the process proceeds to step S306.
And S305, after PIR operation is executed according to the PIR trigger signal, clearing the PIR trigger signal and clearing the sleep time.
It can be understood that the low-power wireless internet of things devices all have monitoring platforms thereof, and the monitoring platforms can be, for example, intelligent terminals such as mobile phones and computers. Therefore, in some embodiments of the present invention, the performing the PIR operation according to the PIR trigger signal may specifically be: and uploading feedback information to a monitoring platform of the low-power-consumption wireless equipment according to the PIR trigger signal. That is, based on the PIR trigger signal, feedback to the monitoring platform accordingly may be made. For example, when the low-power wireless device is specifically arranged on the smart door, when the PIR sensor of the low-power wireless device detects that a person approaches, corresponding feedback information is uploaded to a mobile phone of a user so as to inform the user that the person approaches.
Step S306, judging whether the low-power wireless equipment meets the condition of entering the dormant state, and entering step S308 when the low-power wireless equipment meets the condition of entering the dormant state; when the low power consumption wireless device does not meet the condition for entering the sleep state, the process returns to step S301.
Because the low-power wireless equipment needs to enter the sleep state when not working, after the sleep time is cleared when no human body movement is detected, or after the PIR trigger signal is cleared and the sleep time is cleared, whether the low-power wireless equipment meets the condition of entering the sleep state or not can be judged, if yes, the low-power wireless equipment enters the sleep state and is subjected to sleep counting, and if not, the step S301 is returned, and whether the trigger signal exists or not is monitored continuously.
In some embodiments of the present invention, the specific process of determining whether the low power consumption wireless device meets the condition of entering the sleep state may be: judging whether the execution action corresponding to the dormancy awakening signal is finished or not; when the execution action corresponding to the dormancy wakeup signal is completed, the low-power wireless equipment meets the condition of entering the dormancy state; when the execution action corresponding to the sleep wake-up operation is not completed, the low power wireless device is not eligible to enter a sleep state.
It can be understood that, when the sleep wake-up signal is a key wake-up or a timing wake-up, the executed action is correspondingly an action corresponding to the wake-up operation. For example, when the timer is timed wake-up, the timed wake-up is the remaining time of the timer for resetting the device, and at this time, if the device has reset the timer, it is considered that the execution action corresponding to the timed wake-up is already completed, and it is in accordance with the condition of entering the sleep state. And when the sleeping wake-up signal is a PIR trigger signal, the execution action is to clear the PIR trigger signal or clear the PIR trigger signal after the PIR operation is executed, if the PIR trigger is determined to be false trigger, the PIR trigger signal is cleared, and after the clearing is finished, the execution action is considered to be finished and accords with the condition of entering the sleeping state.
Step S307, starting the sleep time count, and then entering the sleep state.
In the embodiment, when the motion of a human body is detected through the received PIR trigger signal, whether the low-power wireless equipment sends a wireless message is judged, if so, the PIR trigger signal is a false touch signal, and the PIR trigger signal is cleared to prevent false triggering; when the low-power wireless equipment is determined not to send the wireless message, judging whether the sleeping time of the low-power wireless equipment meets a preset normal triggering condition or not so as to judge whether the low-power wireless equipment enters a sleeping state from a wake-up state or not, if not, determining that the PIR triggering signal is a false triggering signal, and clearing the PIR triggering signal. Therefore, the possibility of false triggering of the low-power-consumption wireless equipment is reduced, the reliability of the equipment is greatly improved, and the user experience is improved
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
EXAMPLE III
Referring to fig. 4, a block diagram schematically illustrates a structure of an infrared detection false triggering prevention apparatus according to an embodiment of the present invention, where the apparatus may be specifically integrated in a low power consumption wireless device, the low power consumption wireless device includes a pyroelectric infrared sensor, and the infrared detection false triggering prevention apparatus may include:
a first determining module 41, configured to obtain a sleep wake-up signal, and determine whether the sleep wake-up signal is a PIR trigger signal;
the second judgment module 42 is configured to, when the PIR trigger signal is the PIR trigger signal, judge whether a human body moves within the PIR monitoring range according to the PIR trigger signal;
a third determining module 43, configured to determine whether the low-power wireless device is sending a wireless message when there is a human body movement;
a first clearing module 44, configured to clear the PIR trigger signal when the low power consumption wireless device is sending a wireless message;
a fourth judging module 45, configured to, when the low-power-consumption wireless device is not sending a wireless message, judge whether the PIR trigger meets a preset normal trigger condition according to the sleep time of the low-power-consumption wireless device;
and a second clearing module 46, configured to clear the PIR trigger signal when the sleep time does not meet the preset normal trigger condition.
In some embodiments of the present invention, the fourth determining module may include:
the device comprises a first judgment unit, a second judgment unit and a third judgment unit, wherein the first judgment unit is used for enabling PIR triggering to accord with a preset normal triggering condition when the sleeping time of the low-power-consumption wireless device is larger than a first preset threshold or equal to zero;
and the second judgment unit is used for judging that the PIR trigger does not accord with the preset normal trigger condition when the dormancy time of the low-power wireless equipment is greater than zero and less than or equal to a first preset threshold value.
In some embodiments of the present invention, the apparatus may further include:
and the execution module is used for clearing the PIR trigger signal and clearing the sleep time after the PIR trigger meets the preset normal trigger condition and executing the PIR operation according to the PIR trigger signal.
Further, the execution module may include:
and the uploading unit is used for uploading the feedback information to a monitoring platform of the low-power-consumption wireless equipment according to the PIR trigger signal.
In some embodiments of the present invention, the apparatus may further include:
the fifth judgment module is used for judging whether the low-power wireless equipment meets the condition of entering the sleep state or not after the sleep time is cleared or the PIR trigger signal is cleared and then the sleep time is cleared when no human body movement is detected;
the sleep module is used for starting sleep time counting and then entering a sleep state when the low-power-consumption wireless equipment meets the condition of entering the sleep state;
and the return module is used for returning to the steps of acquiring the dormancy wakeup signal and judging whether the dormancy wakeup signal is the PIR trigger signal when the low-power-consumption wireless equipment does not meet the condition of entering the dormancy state.
In some embodiments of the present invention, the fifth determining module may include:
a third judging unit, configured to judge whether an execution action corresponding to the sleep wakeup signal is completed; when the execution action corresponding to the dormancy wakeup signal is completed, the low-power wireless equipment meets the condition of entering the dormancy state; when the execution action corresponding to the sleep wake-up operation is not completed, the low power wireless device is not eligible to enter a sleep state.
In the embodiment, when the motion of a human body is detected through the received PIR trigger signal, whether the low-power wireless equipment sends a wireless message is judged, if so, the PIR trigger signal is a false touch signal, and the PIR trigger signal is cleared to prevent false triggering; when the low-power wireless equipment is determined not to send the wireless message, judging whether the sleeping time of the low-power wireless equipment meets a preset normal triggering condition or not so as to judge whether the low-power wireless equipment enters a sleeping state from a wake-up state or not, if not, determining that the PIR triggering signal is a false triggering signal, and clearing the PIR triggering signal. Therefore, the possibility of false triggering of the low-power-consumption wireless equipment is reduced, the reliability of the equipment is greatly improved, and the user experience is improved
Example four
Fig. 5 is a schematic diagram of a low power consumption wireless device according to an embodiment of the present invention. As shown in fig. 5, the low power consumption wireless device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50 executes the computer program 52 to implement the steps in the above-mentioned embodiments of the infrared detection false triggering prevention method, such as the steps S101 to S106 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 46 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules, units or units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the low power wireless device 5. For example, the computer program 52 may be divided into a first determining module, a second determining module, a third determining module, a first clearing module, a fourth determining module, and a second clearing module, and each module has the following specific functions:
the first judgment module is used for acquiring the dormancy awakening signal and judging whether the dormancy awakening signal is a PIR trigger signal;
the second judgment module is used for judging whether a human body moves in the PIR monitoring range or not according to the PIR trigger signal when the PIR trigger signal is the PIR trigger signal;
the third judgment module is used for judging whether the low-power wireless equipment is sending wireless messages or not when human body moves;
the device comprises a first clearing module, a second clearing module and a third clearing module, wherein the first clearing module is used for clearing the PIR trigger signal when the low-power-consumption wireless equipment sends a wireless message;
the fourth judgment module is used for judging whether PIR triggering meets the preset normal triggering condition or not according to the dormancy time of the low-power-consumption wireless equipment when the low-power-consumption wireless equipment does not send the wireless message;
and the second clearing module is used for clearing the PIR trigger signal when the dormancy time does not accord with the preset normal trigger condition.
The low power wireless device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a low power wireless device 5 and does not constitute a limitation of the low power wireless device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the low power wireless device may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the low power consumption wireless device 5, such as a hard disk or a memory of the low power consumption wireless device 5. The memory 51 may also be an external storage device of the low power consumption wireless device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the low power consumption wireless device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the low power consumption wireless device 5. The memory 51 is used for storing the computer programs and other programs and data required by the low power wireless device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus and the terminal device are merely illustrative, and for example, the division of the module or the unit is only one logical function division, and there may be another division in actual implementation, for example, a plurality of units or components may be combined or may be 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, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules, units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An infrared detection false triggering prevention method is applied to low-power wireless equipment, wherein the low-power wireless equipment comprises a pyroelectric infrared sensor, and the infrared detection false triggering prevention method comprises the following steps:
acquiring a sleep wake-up signal, and judging whether the sleep wake-up signal is a PIR trigger signal;
when the sleep wake-up signal is the PIR trigger signal, judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal;
when a human body moves, judging whether the low-power wireless equipment is sending wireless messages or not;
clearing the PIR trigger signal when the low-power wireless device is sending a wireless message;
when the low-power wireless equipment is not sending wireless messages, judging whether PIR triggering meets a preset normal triggering condition or not according to the sleeping time of the low-power wireless equipment;
and when the PIR trigger does not accord with the preset normal trigger condition, clearing the PIR trigger signal.
2. The method of claim 1, wherein determining whether the PIR trigger meets a preset normal trigger condition based on the sleep time of the low power wireless device comprises:
when the sleep time of the low-power wireless device is greater than a first preset threshold or equal to zero, PIR triggering meets the preset normal triggering condition;
when the sleep time of the low-power wireless device is greater than zero and less than or equal to the first preset threshold, the PIR trigger does not meet the preset normal trigger condition.
3. The method of claim 2, further comprising:
and when the PIR trigger meets the preset normal trigger condition, the PIR trigger signal is cleared and the sleep time is cleared after the PIR operation is executed according to the PIR trigger signal.
4. The method of claim 3, wherein performing PIR operations in accordance with the PIR trigger signal comprises:
and uploading feedback information to a monitoring platform of the low-power-consumption wireless equipment according to the PIR trigger signal.
5. The method of any of claims 1 to 4, further comprising:
when no human body movement is detected, resetting the sleep time or clearing the PIR trigger signal and then resetting the sleep time, and judging whether the low-power wireless equipment meets the condition of entering the sleep state;
when the low-power consumption wireless equipment meets the condition of entering a dormant state, starting a dormant time count and then entering the dormant state;
and when the low-power consumption wireless equipment does not meet the condition of entering the sleep state, returning to the step of acquiring the sleep wake-up signal and judging whether the sleep wake-up signal is the PIR trigger signal.
6. The method of claim 5, wherein determining whether the low power wireless device is eligible to enter a sleep state comprises:
judging whether the execution action corresponding to the dormancy awakening signal is finished or not;
when the execution action corresponding to the dormancy awakening signal is finished, the low-power wireless equipment meets the condition of entering a dormancy state;
when the execution action corresponding to the sleep wake-up operation is not completed, the low power consumption wireless device is not in compliance with the condition for entering the sleep state.
7. An infrared detection false triggering prevention device, which is integrated in a low-power wireless device, the low-power wireless device including a pyroelectric infrared sensor, the infrared detection false triggering prevention device comprising:
the first judgment module is used for acquiring a dormancy awakening signal and judging whether the dormancy awakening signal is a PIR trigger signal;
the second judgment module is used for judging whether a human body moves in a PIR monitoring range or not according to the PIR trigger signal when the dormancy awakening signal is the PIR trigger signal;
the third judging module is used for judging whether the low-power wireless equipment is sending wireless messages or not when human body moves;
a first clearing module, configured to clear the PIR trigger signal when the low power consumption wireless device is sending a wireless message;
the fourth judging module is used for judging whether PIR triggering meets a preset normal triggering condition or not according to the sleeping time of the low-power-consumption wireless equipment when the low-power-consumption wireless equipment does not send a wireless message;
and the second clearing module is used for clearing the PIR trigger signal when the PIR trigger does not accord with the preset normal trigger condition.
8. The apparatus of claim 7, further comprising:
a fifth judging module, configured to judge whether the low-power wireless device meets a condition for entering a sleep state after clearing the sleep time when no human motion is detected or after clearing the PIR trigger signal and then clearing the sleep time;
the sleep module is used for starting sleep time counting and then entering a sleep state when the low-power wireless equipment meets the condition of entering the sleep state;
and the return module is used for returning to the steps of acquiring the dormancy wakeup signal and judging whether the dormancy wakeup signal is the PIR trigger signal when the low-power-consumption wireless equipment does not meet the condition of entering the dormancy state.
9. A low power consumption wireless device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in 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 6.
CN201811319166.4A 2018-11-07 2018-11-07 Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment Active CN109362124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811319166.4A CN109362124B (en) 2018-11-07 2018-11-07 Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811319166.4A CN109362124B (en) 2018-11-07 2018-11-07 Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment

Publications (2)

Publication Number Publication Date
CN109362124A CN109362124A (en) 2019-02-19
CN109362124B true CN109362124B (en) 2021-04-09

Family

ID=65344459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811319166.4A Active CN109362124B (en) 2018-11-07 2018-11-07 Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment

Country Status (1)

Country Link
CN (1) CN109362124B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110044487A (en) * 2019-03-26 2019-07-23 深圳市共进电子股份有限公司 Solve PIR false triggering method, apparatus and terminal device
CN111542157A (en) * 2020-04-23 2020-08-14 青岛亿联客信息技术有限公司 Lamp control method, device, equipment and storage medium
CN112153279A (en) * 2020-08-20 2020-12-29 瑞芯微电子股份有限公司 Intelligent device false wake-up filtering method and system
CN112504467A (en) * 2020-11-18 2021-03-16 上海迈外迪网络科技有限公司 Passenger flow analysis apparatus and control method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729995A (en) * 2013-12-31 2014-04-16 福建智恒电子新技术有限公司 Wireless remote-transmission meter reading device with ultralow-power-consumption awakening function and awakening method thereof
CN106406640A (en) * 2016-09-30 2017-02-15 维沃移动通信有限公司 Touch operation determining method and mobile terminal
CN106452413A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Method and device of preventing key from being triggered mistakenly
CN206132220U (en) * 2016-08-31 2017-04-26 惠州市尊宝智能控制股份有限公司 Wireless low -power consumption infrared sensor
US9666063B2 (en) * 2015-04-09 2017-05-30 Google Inc. Motion sensor adjustment
CN107228715A (en) * 2017-07-27 2017-10-03 重庆中科芯亿达电子有限公司 A kind of rpyroelectric infrared control chip
CN108205836A (en) * 2017-12-21 2018-06-26 广东汇泰龙科技有限公司 A kind of the smart home interlock method and system of the infrared human body sensing based on cloud lock
CN108307074A (en) * 2018-02-05 2018-07-20 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108376086A (en) * 2018-02-05 2018-08-07 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10075919B2 (en) * 2015-05-21 2018-09-11 Motorola Mobility Llc Portable electronic device with proximity sensors and identification beacon

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729995A (en) * 2013-12-31 2014-04-16 福建智恒电子新技术有限公司 Wireless remote-transmission meter reading device with ultralow-power-consumption awakening function and awakening method thereof
US9666063B2 (en) * 2015-04-09 2017-05-30 Google Inc. Motion sensor adjustment
CN206132220U (en) * 2016-08-31 2017-04-26 惠州市尊宝智能控制股份有限公司 Wireless low -power consumption infrared sensor
CN106406640A (en) * 2016-09-30 2017-02-15 维沃移动通信有限公司 Touch operation determining method and mobile terminal
CN106452413A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Method and device of preventing key from being triggered mistakenly
CN107228715A (en) * 2017-07-27 2017-10-03 重庆中科芯亿达电子有限公司 A kind of rpyroelectric infrared control chip
CN108205836A (en) * 2017-12-21 2018-06-26 广东汇泰龙科技有限公司 A kind of the smart home interlock method and system of the infrared human body sensing based on cloud lock
CN108307074A (en) * 2018-02-05 2018-07-20 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108376086A (en) * 2018-02-05 2018-08-07 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium

Also Published As

Publication number Publication date
CN109362124A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109362124B (en) Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment
CN107272872A (en) Electricity-saving control method and Related product
US9252890B2 (en) Near field communication device and method for saving applied power
KR102211783B1 (en) Electronic device group paging method and electronic device thereof
CN104166542A (en) Method and device for detecting electricity consumption of application
CN107534805B (en) Signal transmitting method and device based on sensor
CN106096356A (en) A kind of solution lock control method and mobile terminal
CN106022062B (en) Unlocking method and mobile terminal
CN110572868B (en) Method and device for reducing power consumption of electronic device
CN105808108A (en) Unlocking control method and mobile terminal
CN115396860A (en) NFC chip intelligent regulation method, device, equipment and storage medium
CN106886702A (en) A kind of unlocked by fingerprint method and relevant device
CN108845727B (en) Mutual capacitance type touch screen based awakening method and device
CN106648021B (en) The data broadcasting method and low consumption circuit of low consumption circuit
CN107515765B (en) Alarm turn-off method, system and terminal equipment
CN106095566A (en) A kind of response control mehtod and mobile terminal
CN105721671A (en) Portable terminal sleeping method of mis-awakening and portable terminal
CN107169472B (en) Fingerprint operation method, mobile terminal and storage medium
CN104869617A (en) Terminal control method
CN111711944A (en) Bluetooth electronic equipment and Bluetooth connection system
CN108646909B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN105208225A (en) Method and device for reducing power consumption of smart watch
CN111132288B (en) Method for reducing specific absorption rate and terminal equipment
CN113132535B (en) Screen state control method and device, storage medium and mobile terminal
CN112214098B (en) IO wake-up circuit, microcontroller and IO wake-up method

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