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

Access control system awakening method and device Download PDF

Info

Publication number
CN112148105B
CN112148105B CN202010963407.XA CN202010963407A CN112148105B CN 112148105 B CN112148105 B CN 112148105B CN 202010963407 A CN202010963407 A CN 202010963407A CN 112148105 B CN112148105 B CN 112148105B
Authority
CN
China
Prior art keywords
distance
ultrasonic
preset
time period
target object
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
CN202010963407.XA
Other languages
Chinese (zh)
Other versions
CN112148105A (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

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 application provides a method and a device for waking up an access control system, wherein the method comprises the following steps: transmitting a first ultrasonic wave in a preset time period through an ultrasonic wave fluctuation detection sensor, and receiving a second ultrasonic wave after the first ultrasonic wave is reflected by a target object in a detection area; determining a distance change of the target object according to the transmission time of the first ultrasonic wave and the receiving time of 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 the access control system is not triggered or is touched by mistake due to the fact that the passive infrared used by the access control system at present can be solved, the probability of false awakening is greatly reduced, the waiting is not needed, and the user experience is improved.

Description

Access control system awakening method and device
Technical Field
The application 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 doors and windows of the households become important points of protection. The identity of the visitor before entering the home is predicted to be obvious, so that the visitor outside the door can be checked through the traditional cat eye or the intelligent visual doorbell, but the traditional cat eye has potential safety hazard and has the problems of smaller visual angle and inconvenience. The problem of traditional cat eye has been solved to a certain extent to intelligent visual doorbell, but general doorbell all adopts traditional PIR to trigger, often leads to the mistake to touch frequently and change battery cycle frequently, leads to the user experience relatively poor.
How to perfect the dynamic detection mechanism of the low-power doorbell system, improve the detection accuracy of the low-power doorbell and improve the service life of the battery is an urgent problem to be solved.
In the related art, it is proposed to detect the residence time of a visitor in front of a door by using an ultrasonic ranging module, and if the residence time is reached, start the subsequent verification. The visitor is required to stay for a certain time, which can lead to poor experience; the problem of false alarm caused by the fact that an object is placed in front of a door for a long time by a person cannot be avoided; because of the problem of multipath reflections in ultrasound, it is also possible to trigger the system if a person is standing at the edge of the detection zone.
Aiming at the problems that in the related art, a visitor is required to stay for a certain time to cause poor experience and has high possibility of false wake-up due to the fact that the stay time of the visitor in front of a door is detected through an ultrasonic ranging module, and the passive infrared used by an access control system at present can be touched or not triggered by mistake due to temperature and the like, no solution is provided yet.
Disclosure of Invention
The embodiment of the application provides a wake-up method and device for an access control system, which at least solve the problems that in the related art, a visitor is required to stay for a certain time to cause poor experience, the possibility of false wake-up is high, and the passive infrared used by the access control system at present can be touched or not triggered by mistake due to temperature and the like in a mode of detecting the residence time of the visitor in front of the door through an ultrasonic ranging module.
According to one embodiment of the application, there is provided an access control system wake-up method, including:
transmitting a first ultrasonic wave in a preset time period through an ultrasonic wave fluctuation detection sensor, and receiving a second ultrasonic wave after the first ultrasonic wave is reflected by a target object in a detection area;
determining a distance change of the target object according to the transmission time of the first ultrasonic wave and the receiving time of the second ultrasonic wave;
and waking up 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 the first ultrasonic wave is transmitted;
after the second ultrasonic wave is received, the receiving time and the intensity information of the second ultrasonic wave are acquired.
Optionally, waking up the access control system when the distance change of the target object meets the preset condition includes:
determining information intensity variation according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance variation of the target object meets the preset condition;
judging whether the information intensity change is a preset linear change or not;
and waking up the access control system under the condition that the information intensity changes in a preset linear change.
Optionally, under the condition that the information intensity change is a preset linear change, waking up the access control system includes:
judging whether the distance between the target object and the ultrasonic fluctuation 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 waking up the access control system under the condition that the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than the preset threshold value.
Optionally, under the condition that the information intensity change is a preset linear change, waking up the access control system includes:
determining whether a difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to a first preset distance threshold value under the condition that the distance between the current time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to the preset threshold value;
and under the condition that the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the first preset distance threshold, the target object is kept to be detected, and if the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to a second preset distance threshold, the access control system is awakened, wherein the second preset distance threshold is larger than the first preset distance threshold.
Optionally, determining the change in the distance of the target object according to the transmission time of the first ultrasonic wave and the reception time of the second ultrasonic wave includes:
for each time period, determining a time difference of each time period according to the recorded receiving time and the acquired transmitting time;
determining the distance between the ultrasonic fluctuation detection sensor and the target object in each time period according to the time difference of each time period;
and determining the distance change of the target object according to the distance between the target object and the ultrasonic fluctuation detection sensor in each time period.
According to another embodiment of the present application, there is also provided an access control system wake-up device, including:
the sending module is used for sending first ultrasonic waves through the ultrasonic fluctuation detection sensor in a preset time period and receiving second ultrasonic waves after the first ultrasonic waves are reflected by a target object in a detection area;
a determining module, configured to determine 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 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;
and the acquisition module is used for acquiring the receiving time and the intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
Optionally, the wake-up module includes:
a first determining sub-module, configured to determine an information intensity change according to the intensity information of the second ultrasonic wave acquired in the predetermined time period, in a case where a distance change of the target object satisfies the preset condition;
the judging submodule is used for judging whether the information intensity change is a preset linear change or not;
and the awakening sub-module is used for awakening the access control system under the condition that the information intensity changes in a preset linear change.
Optionally, the wake-up submodule includes:
the judging unit is used for judging whether the distance between the target object and the ultrasonic fluctuation 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 fluctuation detection sensor in the current time period is smaller than the preset threshold value.
Optionally, the wake-up submodule includes:
the determining unit is used for determining whether the distance difference between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to a first preset distance threshold value or not under the condition that the distance between the current time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to the preset threshold value;
the wake-up unit is used for keeping detecting the target object under the condition that the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the first preset distance threshold value, and waking up the access control system if the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to a second preset distance threshold value, wherein the second preset distance threshold value is larger than the first preset distance threshold value.
Optionally, the determining module includes:
a second determining sub-module, configured to determine, for each time period, a time difference of the each time period according to the recorded receiving time and the acquired transmitting time;
a third determining submodule, configured to determine a distance between the ultrasonic fluctuation detection sensor and the target object in each time period according to the time difference of each time period;
and a fourth determining sub-module, configured to determine a change in distance of the target object according to the distance between the target object and the ultrasonic fluctuation detection sensor in each time period.
According to a further embodiment of the application, there is also provided a computer-readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, the ultrasonic wave fluctuation detection sensor is used for sending the first ultrasonic wave in a preset time period, and receiving the second ultrasonic wave after the first ultrasonic wave is reflected by the target object in the detection area; determining a distance change of the target object according to the transmission time of the first ultrasonic wave and the receiving time of 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 the access control system is awakened only when the distance change meets the preset condition by detecting the distance change of the target object, the possibility of false awakening is greatly reduced, waiting is not needed, and user experience is improved due to the fact that the visitor needs to stay for a certain time to cause poor experience and the possibility of false awakening is high.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. 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 application;
FIG. 2 is a flow chart of a wake-up method of an access control system according to an embodiment of the present application;
FIG. 3 is a block diagram of a low power access control system according to an embodiment of the present application;
FIG. 4 is a flow chart of a low power access control system dynamic detection method according to an embodiment of the application;
fig. 5 is a block diagram of an access control system wake-up device according to an embodiment of the present application.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The method according to the first embodiment of the present application may be implemented 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 the access control system wake-up method according to an embodiment of the present application, as shown in fig. 1, the mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for a communication function and an input/output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. 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 of an application software and a module, such as a computer program corresponding to the wake-up method of the access control system in the embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the method described above. 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 remotely located relative to the processor 102, which may be connected to the mobile terminal via 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 means 106 is arranged to receive or transmit 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 (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a wake-up method of an access control system operating on the mobile terminal or the network architecture is provided, fig. 2 is a flowchart of the wake-up method of an access control system according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, transmitting first ultrasonic waves through an ultrasonic fluctuation detection sensor in a preset time period, and receiving second ultrasonic waves after the first ultrasonic waves are reflected by a target object in a detection area;
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 the embodiment of the present application, the step S204 may specifically include: for each time period, determining a time difference of each time period according to the recorded receiving time and the acquired transmitting time; determining the distance between the ultrasonic fluctuation detection sensor and the target object in each time period according to the time difference of each time period; and determining the distance change of the target object according to the distance between the target object and the ultrasonic fluctuation detection sensor in each time period, for example, the distance between the T1 moment and the ultrasonic fluctuation detection sensor is L1, the distance between the T2 moment and the ultrasonic fluctuation detection sensor is L2, the distance between the T3 moment and the ultrasonic fluctuation detection sensor is L3, the distance between the T4 moment and the target object is L4, and the distance change of the target object can be determined according to L1, L2, L3, L4 and the like.
Step S206, waking up 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 application can be specifically a doorbell system, a door lock system and the like.
Further, whether the L1, L2, L3 and L4 show decreasing trend is judged, if yes, it is indicated that the target object approaches the access control system, and the target object approaches the access control system according to a certain rule (if uniform speed, acceleration or deceleration), it can be determined that the distance change of the target object meets preset conditions, and the preset conditions can be preset and stored in the system.
Through the steps S202 to S206, the problem that in the related art, when the ultrasonic ranging module detects the residence time of the visitor in front of the door, the visitor needs to stay for a certain time to cause poor experience, the possibility of false wake-up is high, and the passive infrared used by the access control system at present can be touched or not triggered by mistake due to temperature and other reasons can be solved, and when the distance change meets the preset condition, the access control system is waken up, so that the possibility of false wake-up is greatly reduced, residence waiting is not needed, and the user experience is improved.
In the embodiment of the application, in order to reduce the possibility of false awakening, the intensity information of the second ultrasonic wave can be considered, the comprehensive intensity information and the distance change of the target object can be used for determining whether to awaken the access control system, and correspondingly, after each first ultrasonic wave is transmitted, the transmission time is recorded, namely, the transmission time is recorded as long as the first ultrasonic wave is transmitted; and after each second ultrasonic wave is received, acquiring the receiving time and the intensity information of the second ultrasonic wave, namely acquiring the receiving time and the intensity information of the second ultrasonic wave as long as the second ultrasonic wave is received. Correspondingly, the step S206 may specifically include: determining information intensity variation according to the intensity information of the second ultrasonic wave acquired in the preset time period under the condition that the distance variation of the target object meets the preset condition; judging whether the information intensity change is a preset linear change or not; the access control system is awakened under the condition that the information intensity change is a preset linear change, and further, whether the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than a preset threshold value or not is judged under the condition that the information intensity change is the preset linear change; and waking up the access control system under the condition that the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than a preset threshold value. Determining whether a difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to a first preset distance threshold value under the condition that the distance between the current time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to a preset threshold value; and under the condition that the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the first preset distance threshold, the target object is kept to be detected, and if the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to a second preset distance threshold, the access control system is awakened, wherein the second preset distance threshold is larger than the first preset distance threshold. On the premise that the information intensity change is in a preset linear change, a small distance change detection is carried out (namely, target objects are kept to be detected), the difference value between the current time period and the distance between the previous time period and the ultrasonic fluctuation detection sensor is larger than a second preset distance threshold value, and the target objects start to move again, so that 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 application, as shown in fig. 3, the access control system includes an ultrasonic fluctuation 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 Sensor, an image Sensor, a voice acquisition interaction unit, etc., where the difference between the proposal and other schemes is that the dynamic detection Sensor uses the ultrasonic fluctuation Sensor, and the other hardware modules have no large difference, so that much description will not be made here.
The ultrasonic fluctuation sensor can not simultaneously transmit and receive based on the principle of time-sharing operation, but can only transmit ultrasonic waves in T1 time, the internal switch is switched in T2 time to receive the ultrasonic waves which are emitted in T1 time and are bounced back, the sampling frequency of the ultrasonic fluctuation sensor can be set in advance to enable the ultrasonic fluctuation sensor to work independently, and the ultrasonic sensor with the characteristics can be CH101 or CH201 of TDK (the ultrasonic fluctuation sensor is not limited to the two types).
Fig. 4 is a flowchart of a low power consumption access control system dynamic detection method according to an embodiment of the present application, as shown in fig. 4, including:
step S401, the sensor detects in real time, and specifically, ultrasonic waves are sent in a preset time period;
step S402, judging whether data return is received, namely judging whether the ultrasonic wave reflected by the target is ended, if yes, executing step S403, otherwise returning to step S401;
step S403, calculating the movement distance of the target object;
step S404, judging whether the distance is changed, if yes, executing step S405, otherwise executing step S411;
step S405, calculating signal intensity variation;
step S406, judging whether the signal intensity change is linear change, executing step S407 if the judgment result is yes, otherwise executing step S411;
step S407, judging whether the current distance is smaller than a preset threshold value, executing step S408 if the judgment result is yes, otherwise returning to step S409;
step S408, confirming and reporting the target;
step S409, calculating a micro distance, specifically, calculating a difference between a distance between the target object and the ultrasonic fluctuation detection sensor in a current time period and a distance between the target object and the ultrasonic fluctuation detection sensor in a previous time period;
step S410, judging whether a tiny distance change exists, specifically, judging whether the distance difference is larger than or equal to a first preset distance threshold, if yes, executing step S412, otherwise executing step S411;
step S411, eliminating target detection;
step S412, maintaining target detection;
step S413, it is determined whether the distance is changed again, and if the determination result is 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 is not reflected back, and the natural sensor does not receive any data. When an object or person appears in the detection range, the sensor receives the data of the distance information and the intensity information, at this time, differential operation is performed according to the returned distance information, if the sampling frequency is 1Hz, namely, the distance between every two seconds is performed with differential operation, if no obvious differential exists in the data, the system eliminates target monitoring, if obvious differential exists in the data, differential operation is performed on the incoming signal intensity, if the intensity signal does not conform to the expected linear change, the system also directly eliminates target monitoring, if the intensity signal conforms to the expected linear change, the system enters the current distance threshold value for interpretation, if the threshold value reaches the set threshold value, the target is considered to be a correct target, and system awakening is performed. If the threshold value does not reach the threshold value line set at present, the detection of the tiny distance change is entered, if the tiny distance change occurs to the current target, the monitoring is kept, and when the distance change occurs to the target again, the new flow detection is entered again, and when the tiny distance change does not occur to the detected target, the system cancels the monitoring of the target.
The following is an example in connection with the actual situation.
In combination with the apparatus block diagram shown in fig. 3, the motion detection sensor used in this embodiment is an ultrasonic sensor, and the sensor is integrated with transceiver, and the ultrasonic sensor can be set in advance and 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 by using the MCU after the startup (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 are all in a dormant state.
The effect of the ultrasonic sensor combined with the dynamic detection method is exemplified below in practical cases.
Case 1: the person actually walks from a distance to the doorbell or door lock.
For case 1 where the person walks from a distance to the doorbell or door lock, this process can be broken down into two processes, far to near and finally standing in front of the door.
People are far to near: when a person enters a detection area, an ultrasonic sensor sends interrupt information to wake up an MCU, and simultaneously continuously sends data of distance information and intensity information to the MCU, wherein the distance is L1 at the moment T1, the intensity is Q1, the distance is L2 at the moment T2, the intensity information is Q2, at the moment, the MCU firstly makes L1-L2, the distance change between the moment T1 and the moment T2 is found to be obvious, then intensity analysis is performed according to the distance between the moment T1 and the moment T2, and the Q2 shows linear change and accords with the linear rate preset in the MCU at the earlier stage when the distance between the moment Q1 and the moment L2 is close when the distance L1 is far.
The final foothold is in front of the door: firstly, when the MCU detects that the process is free of problems, the MCU can judge whether a person stands in front of a door at present by a proper distance, namely, when the distance value is basically fixed, whether the current distance exceeds 1m (the door opening distance is far as being more than 1m, and the conventional intercom and door opening distance is not met), and when the distance value is less than 1m, the MCU wakes up the DSP and each module to work.
Case 2: sundries are suddenly piled up in front of the door.
For the case 2 that the sundries are piled up by people, the process can be decomposed into the process that the sundries are carried in by people and the sundries are placed in the detection range for a long time.
The person carries in sundries: this process is the same as the person in case 1 far to near, and will also cause the MCU to send an interrupt to wake up the MCU and return data information, the same process will not be described here too much. The difference is that if sundries and people enter the range of 1m at the same time, the system triggers each module such as DSP and the like, which accords with design logic; if the sundries and the person do not enter the range of 1m at the moment, the MCU enters a detection flow for the tiny action, the detection distance does not change by the tiny distance (the distance change of about 10cm can be judged temporarily) because the object does not move by the MCU, so the system eliminates the detection of the target, and if the person moves at the moment, the tiny distance change is affirmed, the system enters continuous monitoring.
Sundries are placed for a long time: when the sundries exist at a fixed object position for a long time after people leave, the moving detection flow easily judges that the sundries are interference items according to the fact that the distance is unchanged.
Case 3: when the person gets far and near but stands at the middle distance for a period of time, the person gets closer.
For case 3 where the person is far from near but walks around after the intermediate distance is stationary for a period of time, the process can be broken down into the person being far from near, stationary at the intermediate distance and continuing to walk ahead to the door.
From far to near: reference is made directly to the explanation of case 1 in which the person is far to near.
Intermediate distance standing: when the flow from far to near passes the detection (i.e. the distance and intensity information meets the flow requirement), but eventually the threshold value of the front door distance is not reached, the micro-motion detection is started, and the system continuously detects the target because the personnel always have some motions, so that the micro-distance change detection passes.
Continuing to advance to reach the front of the door: the system continues to detect the target, when the system continues to go forward, the process is consistent with the information from far to near, and finally the judgment of the distance threshold value is met, and the system can successfully wake up the modules such as the DSP and the like to work.
Case 4: as the person walks around the detection zone.
Before explaining the condition 4, it is explained that because the ultrasonic waves are reflected and refracted uncontrollably when striking on the nearby wall, when the surrounding environment is uncontrollable, the angle of ultrasonic wave detection is also uncontrollably, if the reflected waves are reflected back according to the original path after being blocked by pedestrians, the ultrasonic sensor can feed back corresponding data.
When the person walks near the detection area, if the data generated by the reflected wave is triggered, and when the distance information just accords with the flow rule (although the probability is small), the filtering can be performed according to the intensity information in the flow, and the energy level is obviously different because the ultrasonic wave caused by reflection is obviously lower than the direct wave because the path transmitted in the air is prolonged due to multiple reflections.
Because the actual installation environment of doorbell and door lock is complicated, increase the detection distance setting of user APP on the method of figure 4, namely the user can write in the distance value detection that suits the installation environment of oneself family on APP, when user sets up the furthest distance on cell-phone APP as L, its instruction can write into the MCU of doorbell through network transmission, can carry out parameter modification to the ultrasonic sensor immediately after MCU receives the instruction, its ultrasonic wave can not output interruption and data when detecting the distance and being greater than L after the modification, namely "data return" in the dynamic detection method has received the restriction of certain condition, be favorable to solving and often appear and accord with partial regular scene again, can improve the flexibility of scheme and reduce the frequency that MCU was awakened after increasing this extension.
The ultrasonic sensor is used as the dynamic detection sensor, false triggering (such as sunlight, temperature change and the like) caused by environmental factors can be avoided, so that dynamic detection is more accurate, and the standby working time of the system is longer; the dynamic detection method analyzes the parameters of 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 the characteristics of ultrasonic waves. False touch, such as multipath reflection and the like, and leakage triggering standing in a short time; 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 application, there is further 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 an embodiment of the present application, as shown in fig. 5, including:
a transmitting module 52, configured to transmit a first ultrasonic wave through the ultrasonic wave detection sensor for a predetermined period of time, and receive a second ultrasonic wave after the first ultrasonic wave is reflected by a target object in a detection area;
a determining module 54, configured to determine a change in distance 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 a wake-up module 56, configured to wake up the access control system if the distance change of the target object meets a preset condition.
Optionally, the apparatus further comprises:
a recording module for recording the transmission time after the first ultrasonic wave is transmitted;
and the acquisition module is used for acquiring the receiving time and the intensity information of the second ultrasonic wave after receiving the second ultrasonic wave.
Optionally, the wake-up module 56 includes:
a first determining sub-module, configured to determine an information intensity change according to the intensity information of the second ultrasonic wave acquired in the predetermined time period, in a case where a distance change of the target object satisfies the preset condition;
the judging submodule is used for judging whether the information intensity change is a preset linear change or not;
and the awakening sub-module is used for awakening the access control system under the condition that the information intensity changes in a preset linear change.
Optionally, the wake-up submodule includes:
the judging unit is used for judging whether the distance between the target object and the ultrasonic fluctuation 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;
the wake-up unit is used for waking up the access control system under the condition that the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than a preset threshold value.
Optionally, the wake-up submodule includes:
a determining unit, configured to determine, when a distance between the target object and the ultrasonic fluctuation detection sensor in a current time period is greater than or equal to a preset threshold, whether a difference between a distance between the target object and the ultrasonic fluctuation detection sensor in the current time period and a distance between the target object and the ultrasonic fluctuation detection sensor in a previous time period is greater than or equal to a first preset distance threshold;
the wake-up unit is used for keeping detecting the target object under the condition that the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the first preset distance threshold value, and waking up the access control system if the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to a second preset distance threshold value, wherein the second preset distance threshold value is larger than the first preset distance threshold value.
Optionally, the determining module 54 includes:
a second determining sub-module, configured to determine, for each time period, a time difference of the each time period according to the recorded receiving time and the acquired transmitting time;
a third determining submodule, configured to determine a distance between the ultrasonic fluctuation detection sensor and the target object in each time period according to the time difference of each time period;
and a fourth determining sub-module, configured to determine a change in distance of the target object according to the distance between the target object and the ultrasonic fluctuation detection sensor in each time period.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, transmitting first ultrasonic waves in a preset time period through an ultrasonic fluctuation detection sensor, and receiving second ultrasonic waves after the first ultrasonic waves are reflected by a target object in a detection area;
s2, 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;
s3, waking up the access control system under the condition that the distance change of the target object meets the preset condition.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Example 4
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, transmitting first ultrasonic waves in a preset time period through an ultrasonic fluctuation detection sensor, and receiving second ultrasonic waves after the first ultrasonic waves are reflected by a target object in a detection area;
s2, 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;
s3, waking up the access control system under the condition that the distance change of the target object meets the preset condition.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (6)

1. The method for waking up the access control system is characterized by comprising the following steps of:
transmitting a first ultrasonic wave in a preset time period through an ultrasonic wave fluctuation detection sensor, and receiving a second ultrasonic wave after the first ultrasonic wave is reflected by a target object in a detection area;
determining a distance change of the target object according to the transmission time of the first ultrasonic wave and the receiving time of the second ultrasonic wave;
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 change is a preset linear change or not; under the condition that the information intensity changes in a preset linear change, waking up an access control system;
the method further comprises the steps of:
recording the transmission time after the first ultrasonic wave is transmitted;
after receiving the second ultrasonic wave, acquiring the receiving time and the intensity information of the second ultrasonic wave;
under the condition that the information intensity change is a preset linear change, waking up the access control system comprises:
judging whether the distance between the target object and the ultrasonic fluctuation 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 waking up the access control system under the condition that the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than the preset threshold value.
2. The method of claim 1, wherein waking up the access control system in the event that the information intensity change is a preset linear change comprises:
determining whether a difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to a first preset distance threshold value under the condition that the distance between the current time period and the ultrasonic fluctuation detection sensor of the target object is larger than or equal to the preset threshold value;
and under the condition that the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the first preset distance threshold, the target object is kept to be detected, and if the difference value between the distance between the current time period and the ultrasonic fluctuation detection sensor and the distance between the last time period and the ultrasonic fluctuation detection sensor is larger than or equal to the second preset distance threshold, the access control system is awakened, wherein the second preset distance threshold is locked to be larger than the first preset distance threshold.
3. The method according to any one of claims 1 to 2, wherein determining the change in the distance of the target object from the transmission time of transmitting the first ultrasonic wave and the reception time of receiving the second ultrasonic wave comprises:
for each time period, determining a time difference of each time period according to the recorded receiving time and the acquired transmitting time;
determining the distance between the ultrasonic fluctuation detection sensor and the target object in each time period according to the time difference of each time period;
and determining the distance change of the target object according to the distance between the target object and the ultrasonic fluctuation detection sensor in each time period.
4. An access control system wake-up device, comprising:
the sending module is used for sending first ultrasonic waves through the ultrasonic fluctuation detection sensor in a preset time period and receiving second ultrasonic waves after the first ultrasonic waves are reflected by a target object in a detection area;
a determining module, configured to determine 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 wake-up module 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; judging whether the information intensity change is a preset linear change or not; under the condition that the information intensity changes in a preset linear change, waking up an access control system;
the apparatus further comprises:
a recording module for recording the transmission time after the first ultrasonic wave is transmitted;
the acquisition module is used for acquiring the receiving time and the intensity information of the second ultrasonic wave after receiving the second ultrasonic wave;
under the condition that the information intensity change is a preset linear change, waking up the access control system comprises:
judging whether the distance between the target object and the ultrasonic fluctuation 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 waking up the access control system under the condition that the distance between the target object and the ultrasonic fluctuation detection sensor in the current time period is smaller than the preset threshold value.
5. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of claims 1 to 3 when run.
6. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 3.
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 CN112148105A (en) 2020-12-29
CN112148105B true 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)

Families Citing this family (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
CN113467299B (en) * 2021-06-28 2023-08-18 青岛海尔科技有限公司 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

Also Published As

Publication number Publication date
CN112148105A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
KR101787293B1 (en) Method and device for waking up mcu chip
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
CN102592385B (en) Security detection system
CN113296163B (en) Human body detection method, device and system, compound sensor and storage medium
EP3779105A1 (en) Door lock, door lock control method and device
US10713452B2 (en) Sensor data correlation system
CN110306878A (en) Door lock alarm method, device, intelligent door lock and read/write memory medium
CN111047758A (en) Awakening method and system of intelligent electronic equipment
CN109613299A (en) Viberation detector, method, intelligent door lock and system
CN104751586A (en) Terminal, information processing method and information processing device
CN106020447A (en) A touch-type electronic apparatus proximity sensor parameter adjusting method and system
CN111325877B (en) Electronic equipment control method and device and electronic equipment
CN106375882A (en) Intelligent identification and control method for building intercom system
CN112888118A (en) Lighting lamp control method and device, electronic equipment and storage medium
CN107097752B (en) Control method and device for intelligent wearable automobile key
CN113484856B (en) Control method, processor, control device for household appliance and household appliance
CN107065627A (en) The control method of smart machine, apparatus and system, storage medium
CN108387201B (en) Opening and closing distance detection method, device and equipment
CN105167345A (en) Automatic alarm method and intelligent walking stick
CN220829663U (en) Human sense remote control circuit and remote controller
CN117215769A (en) Robot task awakening method, device, equipment and storage medium
US11832028B2 (en) Doorbell avoidance techniques
CN201917988U (en) Alarm with panoramic scanning and active detecting functions

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