CN112148105A - Access control system awakening method and device - Google Patents

Access control system awakening method and device Download PDF

Info

Publication number
CN112148105A
CN112148105A CN202010963407.XA CN202010963407A CN112148105A CN 112148105 A CN112148105 A CN 112148105A CN 202010963407 A CN202010963407 A CN 202010963407A CN 112148105 A CN112148105 A CN 112148105A
Authority
CN
China
Prior art keywords
ultrasonic wave
distance
target object
preset
time period
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.)
Granted
Application number
CN202010963407.XA
Other languages
Chinese (zh)
Other versions
CN112148105B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010963407.XA priority Critical patent/CN112148105B/en
Publication of CN112148105A publication Critical patent/CN112148105A/en
Application granted granted Critical
Publication of CN112148105B publication Critical patent/CN112148105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The invention provides a method and a device for waking up an access control system, wherein the method comprises the following steps: sending a first ultrasonic wave at a preset time period through an ultrasonic wave dynamic detection sensor, and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave by a target object in a detection area; determining a distance change of the target object according to a transmission time of transmitting the first ultrasonic wave and a reception time of receiving the second ultrasonic wave; under the condition that the distance change of the target object meets the preset condition, the access control system is awakened, the problem that in the prior art, the visitor is awakened in the mode that the ultrasonic ranging module detects the standing time of the visitor in front of the door, the visitor is required to be subjected to standing for a certain time, the experience is poor, the possibility of mistaken awakening is high, the problem that passive infrared used by the access control system at present is mistakenly touched or not triggered due to reasons such as temperature and the like is solved, the possibility of mistaken awakening is greatly reduced, the standing waiting is not needed, and the user experience is improved.

Description

Access control system awakening method and device
Technical Field
The invention relates to the field of image processing, in particular to a method and a device for waking up an access control system.
Background
With the development of modern technology, people pay more and more attention to the safety protection of residences, wherein the door and the window of the residence become the key point of protection. This wherein visitor's identity prescient before registering one's residence shows is important and urgent especially, and everybody can look over the visitor who is out of door exactly through traditional cat eye or the visual doorbell of intelligence at present, but traditional cat eye not only itself has the potential safety hazard and its visual angle is less, the problem of inconvenience is more outstanding. The problem of traditional cat eye has been solved to a certain extent to the visual doorbell of intelligence, but general doorbell all adopts traditional PIR to trigger, often leads to the mistake to touch frequently and change the battery cycle frequently, leads to the user to experience relatively poorly.
How to perfect the dynamic checking mechanism of the low-power doorbell system, and to improve the detection accuracy of the low-power doorbell and the service cycle of the battery are problems which need to be solved urgently.
In the related art, the ultrasonic ranging module is used for detecting the standing time of a visitor in front of a door, and if the standing time is reached, the follow-up verification is started. The visitor is required to stay for a certain time, which can result in poor experience; the problem of false alarm caused by that a person puts an object in front of a door for a long time cannot be avoided; because of the problems of multi-path reflections in ultrasound, it is also possible for a person to trigger the system, e.g. by staying at the edge of the detection zone.
The problem that in the prior art, the visitor needs to stay for a certain time to cause poor experience due to the fact that the visitor wakes up in a mode of detecting the standing time of the visitor in front of a door through an ultrasonic ranging module, the possibility of mistaken wake-up is high, and passive infrared used by an access control system at present can be mistakenly touched or not triggered due to the reasons of temperature and the like is solved.
Disclosure of Invention
The embodiment of the invention provides a method and a device for waking up an access control system, which are used for at least solving the problems that in the related art, the visitor needs to stay for a certain time to cause poor experience and high possibility of mistaken waking up in a way of waking up by detecting the standing time of the visitor in front of a door through an ultrasonic ranging module, and the passive infrared used by the access control system is mistakenly touched or not triggered due to the reasons of temperature and the like.
According to an embodiment of the present invention, there is provided an entry control system wake-up method, including:
sending a first ultrasonic wave at a preset time period through an ultrasonic wave dynamic detection sensor, and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave by a target object in a detection area;
determining a distance change of the target object according to a transmission time of transmitting the first ultrasonic wave and a reception time of receiving the second ultrasonic wave;
and awakening the access control system under the condition that the distance change of the target object meets the preset condition.
Optionally, the method further comprises:
recording the transmission time after transmitting the first ultrasonic wave;
acquiring the reception time and intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
Optionally, when the distance change of the target object meets the preset condition, waking up the access control system includes:
determining information intensity change according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance change of the target object meets the preset condition;
judging whether the information intensity changes in a preset linear way or not;
and awakening the access control system under the condition that the information intensity changes in a preset linear change mode.
Optionally, when the information intensity changes in a preset linear change, the access control system is awakened to include:
under the condition that the information intensity change is in a preset linear change, judging whether the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is smaller than a preset threshold value or not;
and awakening the access control system under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than the preset threshold value.
Optionally, when the information intensity changes in a preset linear change, the access control system is awakened to include:
determining whether the difference value between the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic wave dynamic detection sensor in the last time period is greater than or equal to a first preset distance threshold value or not under the condition that the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is greater than or equal to the preset threshold value;
and if the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the last time period is greater than or equal to a second preset distance threshold value, awakening the access control system, wherein the second preset distance threshold value is greater than the first preset distance threshold value.
Optionally, determining the change in the distance to the target object according to the transmission time of the first ultrasonic wave and the reception time of the second ultrasonic wave comprises:
for each time period, determining the time difference of each time period according to the recorded receiving time and the acquired sending time;
determining a distance of the target object from the ultrasonic dynamic detection sensor at each time period according to the time difference of each time period;
determining a change in distance of the target object based on the distance of the target object from the ultrasonic dynamic detection sensor at each of the time periods.
According to another embodiment of the present invention, there is also provided an entry control system wake-up apparatus, including:
the device comprises a sending module, a detection module and a processing module, wherein the sending module is used for sending a first ultrasonic wave in a preset time period through an ultrasonic wave dynamic detection sensor and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave through a target object in a detection area;
a determination module for determining a distance change of the target object according to a transmission time for transmitting the first ultrasonic wave and a reception time for receiving the second ultrasonic wave;
and the awakening module is used for awakening the access control system under the condition that the distance change of the target object meets the preset condition.
Optionally, the apparatus further comprises:
a recording module for recording the transmission time after the first ultrasonic wave is transmitted;
an obtaining module, configured to obtain the receiving time and intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
Optionally, the wake-up module includes:
the first determining submodule is used for determining information intensity change according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance change of the target object meets the preset condition;
the judging submodule is used for judging whether the information intensity change is in a preset linear change or not;
and the awakening submodule is used for awakening the access control system under the condition that the information intensity change is in a preset linear change.
Optionally, the wake-up sub-module includes:
the judging unit is used for judging whether the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than a preset threshold value or not under the condition that the information intensity change is in a preset linear change;
and the awakening unit is used for awakening the access control system under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than the preset threshold value.
Optionally, the wake-up sub-module includes:
a determining unit, configured to determine whether a distance difference between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and a distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a first preset distance threshold value, if the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is greater than or equal to the preset threshold value;
and the awakening unit is used for keeping the target object to be detected under the condition that the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a first preset distance threshold value, if the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a second preset distance threshold value, awakening the access control system, wherein the second preset distance threshold value is greater than the first preset distance threshold value.
Optionally, the determining module includes:
the second determining submodule is used for determining the time difference of each time period according to the recorded receiving time and the acquired sending time for each time period;
a third determining submodule, configured to determine, according to the time difference of each time period, a distance between the target object and the ultrasonic dynamic detection sensor in each time period;
a fourth determining submodule, configured to determine a change in distance of the target object according to the distance between the target object and the ultrasonic dynamic detection sensor in each time period.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the ultrasonic wave dynamic detection sensor sends a first ultrasonic wave in a preset time period and receives a second ultrasonic wave reflected by a target object in a detection area; determining a distance change of the target object according to a transmission time of transmitting the first ultrasonic wave and a reception time of receiving the second ultrasonic wave; the distance change of the target object meets the preset condition, the access control system is awakened, the problem that the passive infrared used by the access control system at present is mistakenly touched or not triggered due to temperature and other reasons can be solved by awakening the way of detecting the standing time of a visitor in front of a door through the ultrasonic ranging module in the related technology, the visitor is required to be stood for a certain time, the possibility of mistaken awakening is high, the problem that the passive infrared used by the access control system is mistakenly touched or not triggered is solved, the distance change of the target object is detected, the access control system is awakened when the distance change meets the preset condition, the possibility of mistaken awakening is greatly reduced, the standing waiting is not needed, and the user experience is improved.
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 application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of an access control system wake-up method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a wake-up method for an access control system according to an embodiment of the present invention;
fig. 3 is a block diagram of a low power access control system according to an embodiment of the present invention;
FIG. 4 is a flowchart of a dynamic inspection method for a low power access control system according to an embodiment of the present invention;
fig. 5 is a block diagram of a wake-up apparatus of an access control system according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
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.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal of an access control system wake-up method according to an embodiment of the present invention, and as shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 and an input/output device 108 for a communication function. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application, such as a computer program corresponding to the access control system wake-up method in the embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to execute various functional applications and data processing, that is, to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for waking up an access control system running in the mobile terminal or the network architecture is provided, and fig. 2 is a flowchart of the method for waking up an access control system according to the embodiment of the present invention, as shown in fig. 2, the flow includes the following steps:
step S202, a first ultrasonic wave is sent by an ultrasonic wave dynamic detection sensor in a preset time period, and a second ultrasonic wave obtained by reflecting the first ultrasonic wave by a target object in a detection area is received;
step S204, determining the distance change of the target object according to the sending time of the first ultrasonic wave and the receiving time of the second ultrasonic wave;
in an embodiment of the present invention, the step S204 may specifically include: for each time period, determining the time difference of each time period according to the recorded receiving time and the acquired sending time; determining a distance of the target object from the ultrasonic dynamic detection sensor at each time period according to the time difference of each time period; determining the distance change of the target object according to the distance between the target object and the ultrasonic wave dynamic detection sensor in each time period, for example, the distance at the time T1 is L1, the distance at the time T2 is L2, the distance at the time T3 is L3, the distance at the time T4 is L4, and the distance change of the target object can be determined according to L1, L2, L3, L4 and the like.
And S206, awakening the access control system under the condition that the distance change of the target object meets the preset condition.
The access control system in the embodiment of the invention can be a doorbell system, a door lock system and the like.
Further, whether the L1, the L2, the L3, and the L4 show a decreasing trend or not is judged, if yes, it is indicated that the target object is approaching the access control system, and the target object approaches the access control system according to a certain rule (if the target object approaches the access control system at a constant speed, acceleration, or deceleration), so that it can be determined that the distance change of the target object meets a preset condition, and the preset condition can be preset and stored in the system.
Through the steps S202 to S206, the problem that the passive infrared used at present of the access control system is mistakenly touched or not triggered due to temperature and the like can be solved, the access control system is awakened only when the distance change meets the preset condition through detecting the distance change of a target object, the possibility of mistaken awakening is greatly reduced, the standing waiting is not needed, and the user experience is improved.
In the embodiment of the invention, in order to further reduce the possibility of false wake-up, the intensity information of the second ultrasonic wave, the comprehensive intensity information and the distance change of the target object can be considered to determine whether to wake up the access control system, and correspondingly, after the first ultrasonic wave is sent, the sending time is recorded, namely, the sending time is recorded as long as the first ultrasonic wave is sent; the reception time and the intensity information of the second ultrasonic wave are acquired each time after the second ultrasonic wave is received, that is, the reception time and the intensity information of the second ultrasonic wave are acquired as long as the second ultrasonic wave is received. Correspondingly, the step S206 may specifically include: determining information intensity change according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance change of the target object meets the preset condition; judging whether the information intensity changes in a preset linear way or not; when the information intensity change is in a preset linear change, waking up the access control system, and further, when the information intensity change is in a preset linear change, judging whether the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is smaller than a preset threshold value; and awakening the access control system under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than a preset threshold value. Determining whether a difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a first preset distance threshold value or not under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is greater than or equal to a preset threshold value; and if the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the last time period is greater than or equal to a second preset distance threshold value, awakening the access control system, wherein the second preset distance threshold value is greater than the first preset distance threshold value. On the premise that the information intensity change is in a preset linear change, micro distance change detection is carried out (namely, the target object is kept to be detected), and the difference value between the current time period and the last time period and the distance between the ultrasonic dynamic detection sensor and the ultrasonic dynamic detection sensor is larger than a second preset distance threshold value, so that the target object starts to move again, and the access control system is awakened.
Fig. 3 is a block diagram of a low power consumption access control system according to an embodiment of the present invention, as shown in fig. 3, the access control system includes an ultrasonic dynamic detection Sensor, a key module, an LED module, a low power consumption MCU, a Wi-Fi module, a power module, a DSP, a storage unit, a light sensing Sensor, an image Sensor, a voice acquisition interaction unit, and the like, which is different from other solutions in that the dynamic detection Sensor uses the ultrasonic dynamic detection Sensor, and other hardware modules have no great difference and are not described here.
The ultrasonic vibration detection sensor is based on the principle of time-sharing operation, namely, the ultrasonic vibration detection sensor cannot simultaneously transmit and receive, and only can transmit ultrasonic waves at the time of T1, an internal switch is switched at the time of T2 to receive the ultrasonic waves which are transmitted out at the time of T1 and are rebounded, the sampling frequency of the ultrasonic vibration detection sensor can be set in advance to enable the ultrasonic vibration detection sensor to independently operate, and the ultrasonic sensor with the characteristics can be CH101 or CH201 (not limited to the two models) of TDK.
Fig. 4 is a flowchart of a dynamic detection method of a low-power access control system according to an embodiment of the present invention, as shown in fig. 4, including:
step S401, a sensor carries out real-time detection, specifically, ultrasonic waves are sent in a preset time period;
step S402, judging whether data return is received or not, namely judging whether the ultrasonic wave reflected by the ultrasonic wave by the target is finished or not, if so, executing step S403, otherwise, returning to step S401;
step S403, calculating the movement distance of the target object;
step S404, judging whether the distance changes, if so, executing step S405, otherwise, executing step S411;
step S405, calculating signal intensity change;
step S406, judging whether the signal intensity change is linear change, if so, executing step S407, otherwise, executing step S411;
step S407, judging whether the current distance is smaller than a preset threshold value, if so, executing step S408, otherwise, returning to step S409;
step S408, confirming the target and reporting;
step S409, calculating a micro distance, specifically, calculating a difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period;
step S410, determining whether there is a small distance change, specifically, determining whether the distance difference is greater than or equal to a first preset distance threshold, if so, executing step S412, otherwise, executing step S411;
step S411, eliminating target detection;
step S412, keeping target detection;
in step S413, it is determined whether the distance has changed again, and if yes, the process returns to step S403, otherwise, the process returns to step S412.
The sensor detects in real time, and when no object or person exists in the space, the ultrasonic wave cannot be reflected back, and the natural sensor cannot receive any data. When an object or a person appears in the detection range, the sensor receives data of distance information and intensity information, difference value operation is carried out according to the returned distance information, if the sampling frequency is 1Hz, difference value operation is carried out on the distance between every two seconds, if no obvious difference value exists in the data, the system eliminates target monitoring, if the data has obvious difference, the signal intensity is carried out with difference value operation, if the intensity signal does not accord with the expected linear change, the system also directly eliminates target monitoring, if the intensity signal accords with the expected linear change, the current distance threshold value judgment is carried out, if the threshold value reaches the set threshold value, the target is considered to be the correct target, and the system is awakened. If the threshold value does not reach the currently set threshold value line, the micro distance change detection is carried out, if the current target has micro distance change, the monitoring is continuously kept, and when the distance of the target changes again, the new flow detection is carried out again, and when the micro distance change of the target does not occur, the system cancels the monitoring of the target.
The following is an example with reference to the actual situation.
In the device block diagram shown in fig. 3, the motion detection sensor used in this embodiment is an ultrasonic sensor, and the ultrasonic sensor is integrated with the motion detection sensor, and the ultrasonic sensor can be set in advance and can work alone, and has an event interrupt output function, a distance data output function, and an ultrasonic intensity data output function. The ultrasonic sensor can be set with sampling frequency by using the MCU (the lower the sampling frequency is, the lower the power consumption of the ultrasonic sensor is), the set frequency is assumed to be 1Hz, and after the function is set, other modules in the system except the ultrasonic sensor work in real time enter a dormant state.
The effect of the ultrasonic sensor in combination with the dynamic detection method is exemplified in practical cases as follows.
Case 1: the person actually walks from a distance in front of the doorbell or door lock.
For case 1 where a person walks from a distance to the front of the doorbell or door lock, the process can be broken down into two processes, namely, person-far-near and person-final-foot-front.
Human from far to near: when a person enters a detection area, the ultrasonic sensor sends interrupt information to wake up the MCU, and meanwhile data of distance information and intensity information are continuously sent to the MCU, if the distance at the time of T1 is L1, the intensity is Q1, the distance at the time of T2 is L2, and the intensity information is Q2, the MCU firstly makes L1-L2, and if the distance changes at the time of T1 and T2 are obvious, intensity analysis is performed according to the distance at the time of T1 and the time of T2, if the distance of L1 is far, Q2 shows linear change and meets the linear rate preset in the MCU in the early stage when Q1 and L2 are close.
The final foot is in front of the door: when the MCU detects that the process is free of problems, whether a person stands at a proper distance in front of a door or not is judged, namely whether the current distance exceeds 1m or not is judged when the distance value is basically fixed and unchanged (the door opening distance is far beyond 1m and is not in line with the conventional talkback and door opening distances) or not, and the MCU wakes up the DSP and each module to work when the distance value is less than 1 m.
Case 2: sundries are suddenly piled in front of the door.
In case 2, the sundries are stacked, the process can be decomposed into that people carry the sundries in and the sundries are placed in the detection range for a long time.
Carrying in sundries by a person: this process is the same as the case 1, but also causes the MCU to issue an interrupt to wake up the MCU and return data messages, and the same process will not be described in detail. The difference is that if sundries and people enter the range of 1m at the same time, the system can trigger various modules such as a DSP and the like, which also accords with the design logic; if sundries and people do not enter the range of 1m at the moment, the MCU enters a micro-motion detection process, the object cannot move by itself, the detection distance cannot change in a micro distance (the distance change of about 10cm can be temporarily determined), the system eliminates the detection of the target, and if the personnel move at the moment, the micro distance change is determined to occur, and the system enters continuous monitoring.
Placing sundries for a long time: when the sundries exist at a fixed position for a long time after the personnel leave, the interference item is easily judged by the dynamic detection process according to the fact that the distance is not changed.
Case 3: when the person moves from far to near but stays at the middle distance for a while, the person moves closer.
In case 3, the person is stopped from far to near but in the middle distance for a period of time and then approaches, and the process can be decomposed into stopping from far to near and in the middle distance and continuing to move forward to reach the front of the door.
From far to near: reference may be made directly to the case 1 explanation of the case where a person is far to near.
Standing at the middle distance: when the distance and the intensity information meet the flow requirements after the long and short flow passes the detection, but the distance and the intensity information do not reach the threshold value of the distance before the door, the micro-motion detection is started, because the personnel always have some motions, the change detection of the micro-distance passes, and the system can continuously detect the target.
Continuing to move forward to reach the front of the door: the system continues to detect the target, when the system continues to move ahead, the process is consistent with the information from far to near, and finally the judgment of the distance threshold is met, and the system can successfully wake up the DSP and other modules to work.
Case 4: when a person walks near the detection zone.
Before explaining the situation 4, it is explained that uncontrollable refraction and reflection of ultrasonic waves can occur on a nearby wall, so that when the surrounding environment is uncontrollable, the angle of ultrasonic wave detection can also be uncontrollable to some extent, and if the reflected waves are shielded by pedestrians and then are reflected back according to the original path with probability, the ultrasonic wave sensor can also feed back corresponding data at the moment.
When a person walks near the detection area, if data caused by reflected waves are triggered, when distance information just accords with a flow rule (although the probability is small), filtering can be performed according to intensity information in the flow, and because ultrasonic waves caused by reflection are obviously lower than direct waves due to the fact that the transmission path in the air is lengthened due to multiple reflections, the energy level of the ultrasonic waves is obviously different.
Because the actual installation environment of doorbell and lock is complicated, the detection distance setting of user APP is increased on the method of figure 4, namely the user can write in the distance value detection that is fit for the installation environment of own family on APP, when the user sets the farthest distance on cell-phone APP to be L, its instruction can be written in the MCU of doorbell through network transmission, after MCU receives the instruction immediately can carry out parameter modification to ultrasonic sensor, its ultrasonic wave after the modification can not output interruption and data when detecting the distance and being greater than L, that is to say, this step of "data return" in the dynamic inspection method has received the restriction of certain condition, be favorable to solving the scene that often someone appears and accord with partial law again, can improve the flexibility of scheme and reduce the frequency that MCU was awakened up after increasing this extension.
The ultrasonic sensor is used as the dynamic detection sensor, so that false triggering (such as sunshine, temperature change and the like) caused by environmental factors can be avoided, the dynamic detection is more accurate, and the standby working time of the system is longer; the dynamic detection method analyzes parameters in multiple dimensions (distance information and intensity information) and adds a keep-alive (tiny change of people and objects) strategy, thereby effectively solving false triggering and missed triggering caused by self characteristics of ultrasonic waves. Missed triggering such as multi-path reflection and the like, short-time standing; the expansion scheme improves the flexibility of equipment application and has better applicability, and further avoids false touch and saves power consumption.
Example 2
According to another embodiment of the present invention, there is also provided an access control system wake-up device, and fig. 5 is a block diagram of the access control system wake-up device according to the embodiment of the present invention, as shown in fig. 5, including:
a sending module 52, configured to send a first ultrasonic wave at a predetermined time period through an ultrasonic wave dynamic detection sensor, and receive a second ultrasonic wave obtained by reflecting the first ultrasonic wave by a target object in a detection area;
a determining module 54, configured to determine a distance change of the target object according to a transmission time of the first ultrasonic wave and a reception time of the second ultrasonic wave;
and the awakening module 56 is used for awakening the access control system under the condition that the distance change of the target object meets the preset condition.
Optionally, the apparatus further comprises:
a recording module for recording the transmission time after the first ultrasonic wave is transmitted;
an obtaining module, configured to obtain the receiving time and intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
Optionally, the wake-up module 56 includes:
the first determining submodule is used for determining information intensity change according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance change of the target object meets the preset condition;
the judging submodule is used for judging whether the information intensity change is in a preset linear change or not;
and the awakening submodule is used for awakening the access control system under the condition that the information intensity change is in a preset linear change.
Optionally, the wake-up sub-module includes:
the judging unit is used for judging whether the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than a preset threshold value or not under the condition that the information intensity change is in a preset linear change;
and the awakening unit is used for awakening the access control system under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is less than a preset threshold value.
Optionally, the wake-up sub-module includes:
the determining unit is used for determining whether the difference value between the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic wave dynamic detection sensor in the previous time period is greater than or equal to a first preset distance threshold value or not under the condition that the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is greater than or equal to a preset threshold value;
and the awakening unit is used for keeping the target object to be detected under the condition that the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a first preset distance threshold value, if the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the previous time period is greater than or equal to a second preset distance threshold value, awakening the access control system, wherein the second preset distance threshold value is greater than the first preset distance threshold value.
Optionally, the determining module 54 includes:
the second determining submodule is used for determining the time difference of each time period according to the recorded receiving time and the acquired sending time for each time period;
a third determining submodule, configured to determine, according to the time difference of each time period, a distance between the target object and the ultrasonic dynamic detection sensor in each time period;
a fourth determining submodule, configured to determine a change in distance of the target object according to the distance between the target object and the ultrasonic dynamic detection sensor in each time period.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, sending a first ultrasonic wave in a preset time period through an ultrasonic wave dynamic detection sensor, and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave through a target object in the detection area;
s2, determining a distance change of the target object based on a transmission time of the first ultrasonic wave and a reception time of the second ultrasonic wave;
and S3, awakening the access control system under the condition that the distance change of the target object meets the preset condition.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 4
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, sending a first ultrasonic wave in a preset time period through an ultrasonic wave dynamic detection sensor, and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave through a target object in the detection area;
s2, determining a distance change of the target object based on a transmission time of the first ultrasonic wave and a reception time of the second ultrasonic wave;
and S3, awakening the access control system under the condition that the distance change of the target object meets the preset condition.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An access control system awakening method is characterized by comprising the following steps:
sending a first ultrasonic wave at a preset time period through an ultrasonic wave dynamic detection sensor, and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave by a target object in a detection area;
determining a distance change of the target object according to a transmission time of transmitting the first ultrasonic wave and a reception time of receiving the second ultrasonic wave;
and awakening the access control system under the condition that the distance change of the target object meets the preset condition.
2. The method of claim 1, further comprising:
recording the transmission time after transmitting the first ultrasonic wave;
acquiring the reception time and intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
3. The method of claim 2, wherein waking up the access control system if the change in the distance to the target object satisfies the preset condition comprises:
determining information intensity change according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance change of the target object meets the preset condition;
judging whether the information intensity changes in a preset linear way or not;
and awakening the access control system under the condition that the information intensity changes in a preset linear change mode.
4. The method of claim 3, wherein waking up the access control system when the information intensity changes in a preset linear manner comprises:
under the condition that the information intensity change is in a preset linear change, judging whether the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is smaller than a preset threshold value or not;
and awakening the access control system under the condition that the distance between the target object and the ultrasonic dynamic detection sensor in the current time period is smaller than the preset threshold value.
5. The method of claim 4, wherein waking up the access control system when the information intensity changes in a preset linear manner comprises:
determining whether the difference value between the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic wave dynamic detection sensor in the last time period is greater than or equal to a first preset distance threshold value or not under the condition that the distance between the target object and the ultrasonic wave dynamic detection sensor in the current time period is greater than or equal to the preset threshold value;
and if the difference value between the distance between the target object and the ultrasonic dynamic detection sensor in the current time period and the distance between the target object and the ultrasonic dynamic detection sensor in the last time period is greater than or equal to a second preset distance threshold value, awakening the access control system, wherein the second preset distance threshold value is locked and is greater than the first preset distance threshold value.
6. The method of any one of claims 1 to 5, wherein determining the change in distance of the target object from the transmission time at which the first ultrasonic wave is transmitted and the reception time at which the second ultrasonic wave is received comprises:
for each time period, determining the time difference of each time period according to the recorded receiving time and the acquired sending time;
determining a distance of the target object from the ultrasonic dynamic detection sensor at each time period according to the time difference of each time period;
determining a change in distance of the target object based on the distance of the target object from the ultrasonic dynamic detection sensor at each of the time periods.
7. An access control system wake-up apparatus, comprising:
the device comprises a sending module, a detection module and a processing module, wherein the sending module is used for sending a first ultrasonic wave in a preset time period through an ultrasonic wave dynamic detection sensor and receiving a second ultrasonic wave obtained by reflecting the first ultrasonic wave through a target object in a detection area;
a determination module for determining a distance change of the target object according to a transmission time for transmitting the first ultrasonic wave and a reception time for receiving the second ultrasonic wave;
and the awakening module is used for awakening the access control system under the condition that the distance change of the target object meets the preset condition.
8. The apparatus of claim 7, further comprising:
a recording module for recording the transmission time after the first ultrasonic wave is transmitted;
an obtaining module, configured to obtain the receiving time and intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202010963407.XA 2020-09-14 2020-09-14 Access control system awakening method and device Active CN112148105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010963407.XA CN112148105B (en) 2020-09-14 2020-09-14 Access control system awakening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010963407.XA CN112148105B (en) 2020-09-14 2020-09-14 Access control system awakening method and device

Publications (2)

Publication Number Publication Date
CN112148105A true CN112148105A (en) 2020-12-29
CN112148105B CN112148105B (en) 2023-12-12

Family

ID=73892230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010963407.XA Active CN112148105B (en) 2020-09-14 2020-09-14 Access control system awakening method and device

Country Status (1)

Country Link
CN (1) CN112148105B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884996A (en) * 2021-01-13 2021-06-01 李琳琳 Method and system for receiving express by using doorbell and doorbell
CN113467299A (en) * 2021-06-28 2021-10-01 青岛海尔科技有限公司 Equipment door control method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6293608A (en) * 1985-10-21 1987-04-30 Kawasaki Steel Corp Method and apparatus for measuring roll profile
EP1659542A1 (en) * 2004-11-19 2006-05-24 DaimlerChrysler AG Locking system for a vehicle
CN109884644A (en) * 2019-04-09 2019-06-14 苏州顺憬志联新材料科技有限公司 A kind of ultrasonic distance measurement chip
WO2019228067A1 (en) * 2018-05-29 2019-12-05 奇酷互联网络科技(深圳)有限公司 Mobile terminal wakeup method and apparatus, and mobile terminal
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN111179489A (en) * 2018-11-29 2020-05-19 广东网深锐识科技有限公司 Dynamic portrait recognition control access control and dynamic portrait recognition control method
CN111332252A (en) * 2020-02-19 2020-06-26 上海商汤临港智能科技有限公司 Vehicle door unlocking method, device, system, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6293608A (en) * 1985-10-21 1987-04-30 Kawasaki Steel Corp Method and apparatus for measuring roll profile
EP1659542A1 (en) * 2004-11-19 2006-05-24 DaimlerChrysler AG Locking system for a vehicle
WO2019228067A1 (en) * 2018-05-29 2019-12-05 奇酷互联网络科技(深圳)有限公司 Mobile terminal wakeup method and apparatus, and mobile terminal
CN111179489A (en) * 2018-11-29 2020-05-19 广东网深锐识科技有限公司 Dynamic portrait recognition control access control and dynamic portrait recognition control method
CN109884644A (en) * 2019-04-09 2019-06-14 苏州顺憬志联新材料科技有限公司 A kind of ultrasonic distance measurement chip
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN111332252A (en) * 2020-02-19 2020-06-26 上海商汤临港智能科技有限公司 Vehicle door unlocking method, device, system, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884996A (en) * 2021-01-13 2021-06-01 李琳琳 Method and system for receiving express by using doorbell and doorbell
CN113467299A (en) * 2021-06-28 2021-10-01 青岛海尔科技有限公司 Equipment door control method and device, storage medium and electronic device
CN113467299B (en) * 2021-06-28 2023-08-18 青岛海尔科技有限公司 Equipment door control method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN112148105B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
US11257223B2 (en) Systems and methods for user detection, identification, and localization within a defined space
CN108733420B (en) Awakening method and device of intelligent equipment, intelligent equipment and storage medium
TWI714989B (en) A method including its equipment and storage medium to keep intelligent device continuously awake
CN109466506A (en) Vehicle key-free control system and method based on more bluetooth signal intensities
CN110286744B (en) Information processing method and device, electronic equipment and computer readable storage medium
CN112148105B (en) Access control system awakening method and device
US11105909B2 (en) Tracking system for persons and/or objects
US20190362111A9 (en) Tracking system for persons and/or objects
CN108156729A (en) The control method and device of lighting apparatus, lighting apparatus
CN109068176A (en) TV suspend mode control system
CN106375882A (en) Intelligent identification and control method for building intercom system
CN115550615B (en) Video recording method and device of intelligent equipment, electronic equipment and storage medium
CN116246402A (en) Monitoring method and device
CN107065627A (en) The control method of smart machine, apparatus and system, storage medium
CN211786151U (en) Sensing device for detecting object approaching
CN107800883A (en) Calendar reminding method for detecting abnormality, device and mobile terminal
CN113135161A (en) Identification system and identification method
CN108387201B (en) Opening and closing distance detection method, device and equipment
CN206226641U (en) A kind of building talkback outdoor unit
CN112020720A (en) Electronic work card, control method and device thereof, storage medium and attendance management system
CN116343418B (en) Intelligent monitoring method, intelligent door lock and intelligent door
CN220829663U (en) Human sense remote control circuit and remote controller
US11703583B1 (en) Reduced radar sensor power consumption
CN113960692B (en) Sensing method and device of millimeter wave, electronic equipment and storage medium
US11832028B2 (en) Doorbell avoidance techniques

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