CN106609605B - Door lock state detection method and device and door lock state detector - Google Patents

Door lock state detection method and device and door lock state detector Download PDF

Info

Publication number
CN106609605B
CN106609605B CN201510691369.6A CN201510691369A CN106609605B CN 106609605 B CN106609605 B CN 106609605B CN 201510691369 A CN201510691369 A CN 201510691369A CN 106609605 B CN106609605 B CN 106609605B
Authority
CN
China
Prior art keywords
characteristic value
door lock
state
vibration data
lock
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
CN201510691369.6A
Other languages
Chinese (zh)
Other versions
CN106609605A (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.)
Xiaomi Inc
Shenzhen Lutuo Technology Co Ltd
Original Assignee
Xiaomi Inc
Shenzhen Lutuo 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 Xiaomi Inc, Shenzhen Lutuo Technology Co Ltd filed Critical Xiaomi Inc
Priority to CN201510691369.6A priority Critical patent/CN106609605B/en
Publication of CN106609605A publication Critical patent/CN106609605A/en
Application granted granted Critical
Publication of CN106609605B publication Critical patent/CN106609605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B17/00Accessories in connection with locks
    • E05B17/22Means for operating or controlling lock or fastening device accessories, i.e. other than the fastening members, e.g. switches, indicators

Landscapes

  • Lock And Its Accessories (AREA)
  • Burglar Alarm Systems (AREA)

Abstract

The disclosure relates to a door lock state detection method, a door lock state detection device and a door lock state detector, wherein the door lock state detection method comprises the following steps: acquiring vibration data of a lock tongue of a door lock; and comparing the acquired vibration data with the initial vibration characteristic value, and determining the state of the door lock according to the comparison result. According to the embodiment of the disclosure, the acquired vibration data of the lock tongue of the door lock is compared with the initial vibration characteristic value, and the state of the door lock is determined according to the comparison result, so that the whole implementation process does not need to transform the door lock, the implementation is simple, and the implementation cost is low.

Description

Door lock state detection method and device and door lock state detector
Technical Field
The present disclosure relates to the field of security technologies, and in particular, to a method and an apparatus for detecting a state of a door lock, and a detector for detecting a state of a door lock.
Background
At present, after a user locks a door, the user needs to determine whether the door is locked or not by rotating a handle and the like. However, in the case of fast pace of life and high working pressure, people often feel as if the door is not locked or forget whether the door is locked after leaving home, and thus how to know the state of the door lock is a real and needed problem.
At present, a plurality of modes are provided to know the state of the door lock, but the modes need to modify the door lock, and the modification needs to be completed through tools, so that the realization is complex and the realization cost is high. Therefore, how to know the state of the door lock without modifying the door lock of a user is a technical problem which needs to be solved urgently at present.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a door lock state detection method, device and door lock state detector.
According to a first aspect of the embodiments of the present disclosure, there is provided a door lock state detection method, including:
acquiring vibration data of a lock tongue of a door lock;
and comparing the vibration data with the initial vibration characteristic value, and determining the state of the door lock according to the comparison result.
In an embodiment, the acquiring vibration data of the bolt of the door lock includes:
acquiring vibration data of a door lock latch bolt entering a lock hole; and/or
And acquiring vibration data of the square bolt of the door lock entering the lock hole.
In an embodiment, the method further comprises:
obtaining and saving the initial vibration characteristic value before the comparing the vibration data with the initial vibration characteristic value.
In one embodiment, the obtaining and saving the initial vibration feature value includes:
receiving an instruction from a mobile terminal;
and acquiring a parameter characteristic value of a sensor according to the instruction, and taking the acquired parameter characteristic value as the initial vibration characteristic value.
In an embodiment, the initial vibration characteristic value includes a lock characteristic value and/or an unlock characteristic value, the lock characteristic value includes the parameter characteristic value, the unlock characteristic value includes the parameter characteristic value, and the parameter characteristic value includes at least one of an attitude angle, a triaxial acceleration, an angular velocity, and geomagnetic data, and a mean value, a variance, an energy, a length, and a peak value of each of the attitude angle, the triaxial acceleration, the angular velocity, and the geomagnetic data.
In one embodiment, the comparing the vibration data with the initial vibration characteristic value and determining the state of the door lock according to the comparison result includes:
comparing vibration data of a door lock latch bolt entering a lock hole with a locking characteristic value, determining the door lock latch state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determining the door lock latch state if the difference between the vibration data and the locking characteristic value is not within the first numerical range; and/or
And comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range.
In an embodiment, the method further comprises:
and after the unlocking state is determined, sending a prompt tone through a buzzer to prompt a user to lock the door.
In an embodiment, the method further comprises:
and after the state of the door lock is determined according to the comparison result, the state of the door lock is sent to the mobile terminal so that a user can inquire the state of the door lock.
According to a second aspect of the embodiments of the present disclosure, there is provided a door lock state detection device including:
the acquiring module is configured to acquire vibration data of a lock tongue of the door lock;
and the comparison determination module is configured to compare the vibration data acquired by the acquisition module with an initial vibration characteristic value and determine the state of the door lock according to the comparison result.
In one embodiment, the obtaining module includes:
the first acquisition sub-module is configured to acquire vibration data of the door lock latch bolt entering the lock hole; and/or
And the second acquisition sub-module is configured to acquire vibration data of the square bolt of the door lock entering the lock hole.
In one embodiment, the apparatus further comprises:
an obtaining and saving module configured to obtain and save the initial vibration feature value before the comparison determination module compares the vibration data with the initial vibration feature value.
In one embodiment, the obtain-save module comprises:
a receiving submodule configured to receive an instruction from a mobile terminal;
and the acquisition determining submodule is configured to acquire a parameter characteristic value of the sensor according to the instruction received by the receiving submodule, and the acquired parameter characteristic value is used as the initial vibration characteristic value.
In an embodiment, the initial vibration characteristic value includes a lock characteristic value and/or an unlock characteristic value, the lock characteristic value includes the parameter characteristic value, the unlock characteristic value includes the parameter characteristic value, and the parameter characteristic value includes at least one of an attitude angle, a triaxial acceleration, an angular velocity, and geomagnetic data, and a mean value, a variance, an energy, a length, and a peak value of each of the attitude angle, the triaxial acceleration, the angular velocity, and the geomagnetic data.
In one embodiment, the comparison determination module comprises:
the first comparison and determination submodule is configured to compare vibration data of the door lock latch bolt entering the lock hole with a locking characteristic value, determine the door lock latch state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determine the door lock latch state if the difference between the vibration data and the locking characteristic value is not within the first numerical range; and/or
And the second comparison and determination submodule is configured to compare the vibration data of the lock square bolt entering the lock hole with the unlocking characteristic value, and determine the unlocking state if the difference between the two is within a second value range.
In one embodiment, the apparatus further comprises:
a first transmitting module configured to: and after the first comparison determination submodule determines that the door is in an unlocked state, sending a prompt tone through a buzzer to prompt a user to lock the door.
In one embodiment, the apparatus further comprises:
a second transmitting module configured to: and after the comparison determination module determines the state of the door lock according to the comparison result, the state of the door lock is sent to the mobile terminal so that a user can inquire the state of the door lock.
According to a third aspect of the embodiments of the present disclosure, there is provided a door lock state detector including:
a sensor configured to collect and store vibration data of a latch tongue of a door lock;
and the micro control unit MCU is connected with the sensor and is configured to read the vibration data in the sensor, compare the vibration data with an initial vibration characteristic value and determine the state of the door lock according to a comparison result.
In one embodiment, the method further comprises:
and the buzzer is connected with the MCU and is configured to receive a control instruction sent by the MCU after the state of the door lock is determined and send a prompt tone according to the control instruction.
In one embodiment, the method further comprises:
a power supply unit configured to supply power to the sensor and the MCU.
In an embodiment, the sensor comprises at least one of a gyroscope, an accelerometer, and a magnetometer; the vibration data of the lock tongue of the door lock comprises vibration data of the oblique lock tongue of the door lock entering the lock hole and/or vibration data of the square lock tongue of the door lock entering the lock hole.
In an embodiment, the MCU is further configured to:
obtaining and saving the initial vibration characteristic value before the comparing the vibration data with the initial vibration characteristic value.
In one embodiment, the MCU includes:
a receiving subunit configured to receive an instruction from a mobile terminal;
the acquisition subunit is configured to acquire a parameter characteristic value of the sensor according to the instruction received by the receiving subunit, and use the acquired parameter characteristic value as the initial vibration characteristic value.
In an embodiment, the initial vibration characteristic value includes a lock characteristic value and/or an unlock characteristic value, the lock characteristic value includes the parameter characteristic value, the unlock characteristic value includes the parameter characteristic value, and the parameter characteristic value includes at least one of an attitude angle, a triaxial acceleration, an angular velocity, and geomagnetic data, and a mean value, a variance, an energy, a length, and a peak value of each of the attitude angle, the triaxial acceleration, the angular velocity, and the geomagnetic data.
In an embodiment, the MCU further comprises:
a first comparison determination subunit configured to: comparing vibration data of a door lock latch bolt entering a lock hole with a locking characteristic value, determining the door lock latch state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determining the door lock latch state if the difference between the vibration data and the locking characteristic value is not within the first numerical range; and/or
A second comparison determination subunit configured to: and comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range.
In an embodiment, the MCU is further configured to:
and after the state of the door lock is determined according to the comparison result, the state of the door lock is sent to the mobile terminal so that a user can inquire the state of the door lock.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through comparing the vibration data of the lock tongue of the obtained door lock with the initial vibration characteristic value and determining the state of the door lock according to the comparison result, the whole implementation process does not need to transform the door lock, and the implementation is simple and low in cost.
Through the vibration data content of acquireing different spring bolts for data content is various.
By obtaining and saving the initial vibration characteristic value, conditions are provided for subsequent determination of the state of the door lock.
The implementation mode is simple by receiving the instruction from the mobile terminal, acquiring the parameter characteristic value of the sensor according to the instruction and taking the acquired parameter characteristic value as the initial vibration characteristic value.
The contents of the initial vibration characteristic value and the parameter characteristic value are clearly described.
The process of determining the state of the door lock by different comparison determination submodules is described, and the implementation mode is flexible and simple.
The buzzer sends a prompt tone which can be used for prompting a user to lock the door, and convenience is provided for the user.
By sending the state of the door lock to the mobile terminal, the user can inquire the state of the door lock through the mobile phone, and convenience is provided for the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a door lock status detection method according to an exemplary embodiment.
Fig. 2 is a schematic diagram of a door lock according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating another door lock status detection method according to an exemplary embodiment.
FIG. 4 is a flow chart illustrating a method of obtaining an initial vibration characteristic value according to an exemplary embodiment.
Fig. 5 is a flow chart illustrating yet another lock status detection method according to an exemplary embodiment.
Fig. 6 is a diagram illustrating a method of detecting a status of a door lock, according to an example embodiment.
Fig. 7 is a block diagram illustrating a door lock status detection apparatus according to an exemplary embodiment.
Fig. 8A is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 8B is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 8C is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 8D is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 8E is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 8F is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a door lock status detector in accordance with an exemplary embodiment.
Fig. 10A is a block diagram illustrating another door lock status detector in accordance with an exemplary embodiment.
Fig. 10B is a block diagram illustrating another door lock status detector in accordance with an exemplary embodiment.
FIG. 10C is a block diagram of an MCU shown in accordance with an exemplary embodiment.
Fig. 10D is a diagram illustrating the operation of a door lock status detector in accordance with an exemplary embodiment.
FIG. 10E is a block diagram illustrating another MCU in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a door lock state detection method according to an exemplary embodiment, which may be applied to a door lock state detector that may be fixed on or around a lock body in various ways, such as but not limited to an adhesive way, a screw connection, a snap connection, and other detachable connection ways, as shown in fig. 1, and the method includes the following steps S101-S102:
in step S101, vibration data of the latch tongue of the door lock is acquired.
In this embodiment, the door lock may include a lock body 21, a keyhole 22, and a locking bolt 23, wherein the locking bolt 23 may include a latch bolt 231 and a dead bolt 232, as shown in fig. 2; in addition, only the latch tongue 231 may be included, and only the dead tongue 232 may be included, but not shown in the drawings.
Because the door rotates to a fixed position, hits a door frame with a certain force and the bolt enters the keyhole every time the door is closed or locked, the door lock detector can acquire the vibration data of the bolt, for example, the vibration data of the bolt can be acquired through a sensor.
When the bolt only includes the oblique bolt, the vibration data of obtaining the lock bolt of the door lock can be: acquiring vibration data of the oblique bolt entering the keyhole; when the lock tongue only includes the square tongue, the vibration data of obtaining the lock tongue of the door lock can be: acquiring vibration data of the square bolt entering the keyhole; when the spring bolt includes latch bolt and square bolt, it can be for obtaining the vibration data of lock spring bolt: and acquiring vibration data of the oblique bolt entering the keyhole and vibration data of the square bolt entering the keyhole.
In step S102, the acquired vibration data is compared with the initial vibration characteristic value, and the state of the door lock is determined according to the comparison result.
In this embodiment, when the deadbolt includes only the deadbolt, the initial vibration characteristic value may include an on-lock characteristic value; when the deadbolt includes only a dead bolt, the initial vibration characteristic value may include an anti-lock characteristic value; when the locking tongue includes a latch tongue and a dead tongue, the initial vibration characteristic value may include a lock characteristic value and a lock reversal characteristic value.
After obtaining the vibration data of the bolt of the door lock, the obtained vibration data can be compared with the initial vibration characteristic value. When the initial vibration characteristic value includes the locking characteristic value, the vibration data of the latch bolt entering the lock hole may be compared with the locking characteristic value, and if the difference between the two is within a first value range, the latch state is determined, and if the difference between the two is not within the first value range, the latch state is determined. When the initial vibration characteristic value comprises the unlocking characteristic value, the vibration data of the door lock square bolt entering the lock hole can be compared with the unlocking characteristic value, and if the difference between the vibration data and the unlocking characteristic value is within a second value range, the unlocking state is determined. When the initial vibration characteristic value comprises a locking characteristic value and an unlocking characteristic value, comparing vibration data of the oblique bolt entering the lock hole with the locking characteristic value, if the difference between the two is within a first numerical range, determining the oblique bolt to be in a locking state, and if the difference between the two is not within the first numerical range, determining the oblique bolt to be in an unlocking state; and then comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range. The first numerical range and the second numerical range can be flexibly set according to needs.
In this embodiment, after the state of the door lock is determined, different operations may be performed according to the state of the door lock. For example, after determining that the door lock is in an unlocked state, an alert tone may be sent through a buzzer in the detector to alert the user to lock the door. For example, the air cleaner may be opened or a security may be automatically set after the door is locked.
According to the embodiment of the door lock state detection method, the obtained vibration data of the lock tongue of the door lock is compared with the initial vibration characteristic value, and the state of the door lock is determined according to the comparison result, so that the door lock is not required to be transformed in the whole implementation process, the implementation is simple, and the implementation cost is low.
Fig. 3 is a flowchart illustrating another door lock state detection method according to an exemplary embodiment, and as shown in fig. 3, before step S101, the following step S100 may be further included:
in step S100, an initial vibration characteristic value is obtained and saved.
In this embodiment, the initial vibration feature value may be obtained by a learning manner.
As shown in fig. 4, the process of obtaining the initial vibration feature value by learning may include:
in step S1001, an instruction from the mobile terminal is received.
In this embodiment, a mobile terminal, for example, a mobile phone may have an APP installed therein, and the APP may interact with the door lock state detector through a wireless network such as ZigBee (ZigBee) and bluetooth.
After the door lock state detector is powered on, the peripheral equipment, the wireless network and the sensor are initialized, and then the door lock state detector enters a low-power-consumption sleep state. The sensors may include, but are not limited to, a three-axis gyroscope, a three-axis accelerometer, and a three-axis magnetometer, among others.
When installing lock state detector on the door for the first time, need carry out machine learning to the vibration characteristic of lock, after lock state detector and cell-phone networking, the study mode is opened to the APP end, awakens up lock state detector through sending the instruction to the detector.
In step S1002, a parameter characteristic value of the sensor is acquired according to the instruction, and the acquired parameter characteristic value is used as an initial vibration characteristic value.
And after receiving the instruction, the door lock state detector acquires the parameter characteristic value of the sensor and takes the acquired parameter characteristic value as an initial vibration characteristic value.
The locking characteristic value may include the parameter characteristic value, and the unlocking characteristic value may also include the parameter characteristic value, and the parameter characteristic value may include, but is not limited to, attitude angle, triaxial acceleration, angular velocity, and geomagnetic data, and at least one of a mean, a variance, energy, length, and a peak of each of the parameter characteristic values.
When the sensor is static for a period of time and no subsequent action is confirmed, the learning process is automatically ended, and a sleeping state is entered; through a plurality of learning processes, an initial vibration characteristic value can be obtained.
According to the embodiment of the door lock state detection method, the instruction from the mobile terminal is received, the parameter characteristic value of the sensor is acquired according to the instruction, the acquired parameter characteristic value is used as the initial vibration characteristic value, the implementation mode is simple, and conditions are provided for subsequently determining the state of the door lock.
Fig. 5 is a flowchart illustrating a further door lock state detection method according to an exemplary embodiment, and as shown in fig. 5, after step S102, the following step S103 may be further included:
in step S103, the state of the door lock is transmitted to the mobile terminal for the user to inquire the state of the door lock.
In this embodiment, after determining the state of the door lock, the state of the door lock may be sent to the mobile terminal through the wireless network, so that the user may query the state of the door lock through the mobile phone.
According to the embodiment of the door lock state detection method, the state of the door lock is sent to the mobile terminal, so that a user can inquire the state of the door lock through a mobile phone, and the method is convenient to implement.
The present disclosure is exemplarily described below with reference to fig. 6, as shown in fig. 6, when the door lock detector 61 is installed around the door lock 62 for the first time, the mobile phone 63 installed with the preset APP may send an instruction to the door lock detector 61, and the door lock detector 61 acquires the parameter characteristic value of the sensor after receiving the instruction, and uses the acquired parameter characteristic value as the initial vibration characteristic value. Then, the door lock detector 61 enters a working mode because of detecting the vibration of the door lock, the door lock detector 61 firstly obtains the vibration data of the bolt of the door lock, then compares the obtained vibration data with the initial vibration characteristic value, determines the state of the door lock according to the comparison result, and then sends the state of the door lock to the mobile phone 63, so that if a user forgets to lock the door after leaving home, the state of the door lock can be inquired through the mobile phone 63, the realization process is simple, and convenience is provided for the user to inquire the state of the door lock.
Corresponding to the embodiment of the door lock state detection method, the invention also provides an embodiment of a door lock state detection device.
Fig. 7 is a block diagram illustrating a door lock state detecting apparatus according to an exemplary embodiment, and as shown in fig. 7, the door lock state detecting apparatus includes: an acquisition module 71 and a comparison determination module 72.
The acquisition module 71 is configured to acquire vibration data of the latch tongue of the door lock.
The comparison determination module 72 is configured to compare the vibration data acquired by the acquisition module 71 with the initial vibration characteristic value, and determine the state of the door lock according to the comparison result.
The apparatus shown in fig. 7 is used for implementing the method flow shown in fig. 1, and related contents are described the same, which are not described herein again.
According to the embodiment of the door lock state detection device, the vibration data of the lock tongue of the door lock acquired by the acquisition module is compared with the initial vibration characteristic value through the comparison determination module, the state of the door lock is determined according to the comparison result, the whole implementation process does not need to transform the door lock, and the implementation is simple and low in cost.
Fig. 8A is a block diagram of another door lock state detection apparatus according to an exemplary embodiment, and as shown in fig. 8A, on the basis of the embodiment shown in fig. 7, the obtaining module 71 may include: at least one of a first acquisition submodule 711 and a second acquisition submodule 712.
A first obtaining sub-module 711 configured to obtain vibration data of the door lock latch bolt entering the keyhole.
A second obtaining sub-module 712 configured to obtain vibration data of the door lock square bolt entering the keyhole.
It should be noted that fig. 8A only shows a case where the first obtaining submodule 711 and the second obtaining submodule 712 are included.
The apparatus shown in fig. 8A is used to implement the method flow shown in fig. 1, and related contents are described the same, which are not described herein again.
According to the embodiment of the door lock state detection device, the vibration data contents of different lock tongues are obtained through different obtaining sub-modules, and the data contents are various.
Fig. 8B is a block diagram illustrating another door lock state detecting apparatus according to an exemplary embodiment, and as shown in fig. 8B, the apparatus may further include, on the basis of the above-described embodiments shown in fig. 7 or fig. 8A: a save module 70 is obtained.
A obtain save module 70 configured to obtain and save the initial vibration characteristic value before the comparison determination module 72 compares the vibration data with the initial vibration characteristic value.
The apparatus shown in fig. 8B is used to implement the method flow shown in fig. 3, and related contents are described the same, which are not described herein again.
According to the embodiment of the door lock state detection device, the condition is provided for subsequently determining the state of the door lock by obtaining and storing the initial vibration characteristic value.
Fig. 8C is a block diagram illustrating another door lock state detecting apparatus according to an exemplary embodiment, and as shown in fig. 8C, on the basis of the embodiment shown in fig. 8B, the acquisition and saving module 70 may include: a receiving sub-module 701 and an acquisition determining sub-module 702.
The receiving submodule 701 is configured to receive an instruction from the mobile terminal.
And the acquisition determining submodule 702 is configured to acquire the parameter characteristic value of the sensor according to the instruction received by the receiving submodule 701, and use the acquired parameter characteristic value as the initial vibration characteristic value.
In one embodiment, the initial vibration characteristic value may include at least one of a lock characteristic value and an unlock characteristic value, the lock characteristic value may include the parameter characteristic value, the unlock characteristic value may include the parameter characteristic value, and the parameter characteristic value may include at least one of an attitude angle, a triaxial acceleration, an angular velocity, and geomagnetic data, and a mean value, a variance, an energy, a length, and a peak value thereof.
The apparatus shown in fig. 8C is used to implement the method flow shown in fig. 4, and related contents are described the same, which is not described herein again.
According to the embodiment of the door lock state detection device, the instruction from the mobile terminal is received, the parameter characteristic value of the sensor is acquired according to the instruction, and the acquired parameter characteristic value is used as the initial vibration characteristic value, so that the realization mode is simple.
Fig. 8D is a block diagram illustrating another door lock status detection apparatus according to an exemplary embodiment, and as shown in fig. 8D, on the basis of the embodiment shown in fig. 8C, the comparison determination module 72 may include: at least one of the first comparison determination submodule 721 and the second comparison determination submodule 722.
The first comparison determination sub-module 721 is configured to compare the vibration data of the door lock latch bolt entering the keyhole with the locking feature value, determine the locked state if the difference between the two is within the first value range, and determine the unlocked state if the difference between the two is not within the first value range.
And a second comparison determination submodule 722 configured to compare the vibration data of the door lock square bolt entering the lock hole with the unlocking characteristic value, and determine the unlocking state if the difference between the two values is within a second value range.
The apparatus shown in fig. 8D is used to implement the method flow shown in fig. 1, and related contents are described the same, which are not described herein again.
The embodiment of the door lock state detection device describes the process of determining the door lock state by different comparison determination submodules, and the implementation mode is flexible and simple.
Fig. 8E is a block diagram illustrating another door lock state detecting apparatus according to an exemplary embodiment, and as shown in fig. 8E, the apparatus may further include, on the basis of the embodiment shown in fig. 8D above: a first transmission module 73.
The first transmitting module 73 is configured to: after the first comparison determination sub-module 721 determines that it is in the unlocked state, an alert tone is transmitted through a buzzer to prompt the user to lock the door.
The apparatus shown in fig. 8E is used to implement the method flow shown in fig. 1, and related contents are described the same, which is not described herein again.
Above-mentioned lock state detection device embodiment sends the prompt tone through bee calling organ, can be used to the suggestion user and lock the door, provides convenience for the user.
Fig. 8F is a block diagram illustrating another door lock state detecting apparatus according to an exemplary embodiment, and as shown in fig. 8F, the apparatus may further include, on the basis of the embodiment shown in fig. 8D above: a second sending module 74.
The second sending module 74 is configured to: after the comparison determination module 72 determines the state of the door lock according to the comparison result, the state of the door lock is transmitted to the mobile terminal for the user to inquire the state of the door lock.
The apparatus shown in fig. 8F is used to implement the method flow shown in fig. 5, and related contents are described the same, which is not described herein again.
According to the embodiment of the door lock state detection device, the state of the door lock is sent to the mobile terminal, so that a user can inquire the state of the door lock through a mobile phone, and convenience is provided for the user.
With regard to the apparatus in the above embodiment, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
Corresponding to the embodiment of the door lock state detection method, the invention also provides an embodiment of a door lock state detector.
Fig. 9 is a block diagram illustrating a door lock state detector according to an exemplary embodiment, as shown in fig. 9, the door lock state detector includes a sensor 91 and a Micro Control Unit (MCU) 92.
The sensor 91 is configured to collect and store vibration data of the door lock bolt.
The MCU92 is coupled to the sensor 91 and is configured to read vibration data from the sensor 91, compare the vibration data to an initial vibration signature value, and determine the status of the door lock based on the comparison.
In addition, the door lock state detector may further include: a buzzer 93.
As shown in fig. 10A, the buzzer 93 is connected to the MCU92, and is configured to receive a control command transmitted from the MCU92 after determining the state of the door lock, and transmit a warning tone according to the control command.
Further, the door lock state detector may further include: a power supply unit 94.
As shown in fig. 10B, the power supply unit 94 is configured to supply power to the sensor 91 and the MCU92, and in addition, may supply power to the buzzer 93.
Wherein the sensor 91 may comprise at least one of a gyroscope, an accelerometer, and a magnetometer; the MCU92 can read vibration data in the sensor 91 through an Inter-Integrated Circuit (IIC) interface. The vibration data may include at least one of vibration data of the door lock latch bolt entering the keyhole and vibration data of the door lock square bolt entering the keyhole.
After the door lock state detector is powered on, the peripheral equipment, the wireless network and the sensor are initialized, and then the door lock state detector enters a low-power-consumption sleep state. When installing lock state detector on the door for the first time, need carry out machine learning to the vibration characteristic of lock, after lock state detector and mobile terminal networking, the APP that is located on the mobile terminal opens the study mode, awakens up lock state detector through sending the instruction to the detector. And after receiving the instruction, the MCU of the door lock state detector acquires and stores the initial vibration characteristic value.
Wherein, MCU92 may include: a receiving subunit 921 and an acquisition subunit 922, as shown in fig. 10C.
The receiving sub-unit 921 is configured to receive an instruction from the mobile terminal.
The acquisition subunit 922 is configured to acquire the parameter characteristic value of the sensor according to the instruction received by the receiving subunit 921, and to take the acquired parameter characteristic value as the initial vibration characteristic value.
In this embodiment, the initial vibration characteristic value may include at least one of an uplock characteristic value and an antilock characteristic value. The locking characteristic value may include the parameter characteristic value, and the unlocking characteristic value may also include the parameter characteristic value, and the parameter characteristic value may include, but is not limited to, attitude angle, triaxial acceleration, angular velocity, and geomagnetic data, and at least one of a mean, variance, energy, length, and peak value of each of the parameter characteristic values.
In this embodiment, the process of the MCU92 to obtain initial vibration characteristic values can be seen in fig. 10D.
The MCU92 continues to be in the sleep state after obtaining the initial vibration characteristic values. When the sensor triggers an interrupt in reaction to any action from the outside, the MCU92 is awakened. After the MCU92 is awakened, the MCU92 enters a working mode, and by reading the vibration data in the sensor, the vibration data is compared with the initial vibration characteristic value, and the state of the door lock is determined according to the comparison result, and reported to the APP on the mobile terminal in the form of an event, where the implementation process is as shown in fig. 10D.
In order to implement the above functions, as shown in fig. 10E, the MCU92 may further include: at least one of the first comparison determining subunit 923 and the second comparison determining subunit 924.
The first comparison determination subunit 923 is configured to: and comparing vibration data of the inclined bolt of the door lock entering the lock hole with the locking characteristic value, determining the lock state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determining the lock state if the difference between the vibration data and the locking characteristic value is not within the first numerical range.
The second comparative determination subunit 924 is configured to: and comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range.
Additionally, the MCU92 may also be configured to: and after determining the state of the door lock according to the comparison result, transmitting the state of the door lock to the mobile terminal for the user to inquire the state of the door lock.
The process of the door lock state detector for determining the door lock state may refer to corresponding parts of the method embodiments shown in fig. 1, fig. 3, fig. 4, or fig. 5, which are not described herein again.
With regard to the door lock status detector in the above-mentioned embodiment, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
Above-mentioned lock state detector embodiment gathers and saves the vibration data of lock tongue through the sensor, reads the vibration data in the sensor through MCU, compares vibration data and initial vibration eigenvalue to confirm the state of lock according to the comparative result, whole realization process need not reform transform the lock, realizes simply and realizes with low costs.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A method of detecting a state of a door lock, the method comprising:
acquiring vibration data of a lock tongue of a door lock, wherein the vibration data comprises an attitude angle, vibration data of a door lock oblique tongue entering a lock hole and/or vibration data of a door lock square tongue entering the lock hole;
and comparing the vibration data with an initial vibration characteristic value, and determining the state of the door lock according to the comparison result, wherein the initial vibration characteristic value comprises a locking characteristic value and/or an unlocking characteristic value, the locking characteristic value comprises a parameter characteristic value, the unlocking characteristic value comprises the parameter characteristic value, and the parameter characteristic value comprises the attitude angle and at least one of triaxial acceleration, angular velocity and geomagnetic data, and at least one of a mean value, a variance, energy, length and a peak value of the attitude angle and the triaxial acceleration, the angular velocity and the geomagnetic data.
2. The door lock status detection method according to claim 1, further comprising:
obtaining and saving the initial vibration characteristic value before the comparing the vibration data with the initial vibration characteristic value.
3. The door lock state detection method according to claim 2, wherein the obtaining and saving the initial vibration feature value includes:
receiving an instruction from a mobile terminal;
and acquiring a parameter characteristic value of a sensor according to the instruction, and taking the acquired parameter characteristic value as the initial vibration characteristic value.
4. The door lock state detection method according to claim 1, wherein the comparing the vibration data with an initial vibration characteristic value and determining the state of the door lock according to the comparison result comprises:
comparing vibration data of a door lock latch bolt entering a lock hole with a locking characteristic value, determining the door lock latch state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determining the door lock latch state if the difference between the vibration data and the locking characteristic value is not within the first numerical range; and/or
And comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range.
5. The door lock status detection method according to claim 4, further comprising:
and after the unlocking state is determined, sending a prompt tone through a buzzer to prompt a user to lock the door.
6. The door lock status detection method according to claim 4, further comprising:
and after the state of the door lock is determined according to the comparison result, the state of the door lock is sent to the mobile terminal so that a user can inquire the state of the door lock.
7. A door lock state detection device, characterized in that the device comprises:
the acquiring module is configured to acquire vibration data of a lock tongue of the door lock, wherein the vibration data comprises an attitude angle and vibration data of the lock tongue entering a lock hole, and/or vibration data of the lock square tongue entering the lock hole;
a comparison determination module configured to compare the vibration data acquired by the acquisition module with an initial vibration characteristic value and determine a state of the door lock according to a comparison result, where the initial vibration characteristic value includes a locking characteristic value and/or an unlocking characteristic value, the locking characteristic value includes a parameter characteristic value, the unlocking characteristic value includes the parameter characteristic value, and the parameter characteristic value includes the attitude angle and at least one of triaxial acceleration, angular velocity, and geomagnetic data, and at least one of a mean value, a variance, energy, a length, and a peak value of the parameter characteristic value.
8. A door lock status detector, comprising:
the sensor is configured to collect and store vibration data of a lock tongue of the door lock, wherein the vibration data comprises an attitude angle and vibration data of a lock oblique tongue entering a lock hole and/or vibration data of a lock square tongue entering the lock hole;
a Micro Control Unit (MCU) connected to the sensor and configured to read the vibration data in the sensor, compare the vibration data with an initial vibration characteristic value, and determine a state of the door lock according to the comparison result, wherein the initial vibration characteristic value includes a locking characteristic value and/or an unlocking characteristic value, the locking characteristic value includes a parameter characteristic value, the unlocking characteristic value includes the parameter characteristic value, and the parameter characteristic value includes the attitude angle and at least one of triaxial acceleration, angular velocity and geomagnetic data, and at least one of a mean value, a variance, energy, length and a peak value of the parameter characteristic value.
9. The door lock status detector according to claim 8, further comprising:
and the buzzer is connected with the MCU and is configured to receive a control instruction sent by the MCU after the state of the door lock is determined and send a prompt tone according to the control instruction.
10. The door lock status detector according to claim 8, further comprising:
a power supply unit configured to supply power to the sensor and the MCU.
11. The door lock status detector of claim 8, wherein the sensor comprises a gyroscope, and an accelerometer and/or magnetometer.
12. The door lock state detector of claim 11, wherein the MCU is further configured to:
obtaining and saving the initial vibration characteristic value before the comparing the vibration data with the initial vibration characteristic value.
13. The door lock state detector according to claim 12, wherein the MCU comprises:
a receiving subunit configured to receive an instruction from a mobile terminal;
the acquisition subunit is configured to acquire a parameter characteristic value of the sensor according to the instruction received by the receiving subunit, and use the acquired parameter characteristic value as the initial vibration characteristic value.
14. The door lock state detector according to claim 8, wherein the MCU further comprises:
a first comparison determination subunit configured to: comparing vibration data of a door lock latch bolt entering a lock hole with a locking characteristic value, determining the door lock latch state if the difference between the vibration data and the locking characteristic value is within a first numerical range, and determining the door lock latch state if the difference between the vibration data and the locking characteristic value is not within the first numerical range; and/or
A second comparison determination subunit configured to: and comparing the vibration data of the square bolt of the door lock entering the lock hole with the unlocking characteristic value, and determining the unlocking state if the difference between the vibration data and the unlocking characteristic value is within a second numerical value range.
15. The door lock state detector of claim 14, wherein the MCU is further configured to:
and after the state of the door lock is determined according to the comparison result, the state of the door lock is sent to the mobile terminal so that a user can inquire the state of the door lock.
CN201510691369.6A 2015-10-22 2015-10-22 Door lock state detection method and device and door lock state detector Active CN106609605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510691369.6A CN106609605B (en) 2015-10-22 2015-10-22 Door lock state detection method and device and door lock state detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510691369.6A CN106609605B (en) 2015-10-22 2015-10-22 Door lock state detection method and device and door lock state detector

Publications (2)

Publication Number Publication Date
CN106609605A CN106609605A (en) 2017-05-03
CN106609605B true CN106609605B (en) 2020-06-02

Family

ID=58610434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510691369.6A Active CN106609605B (en) 2015-10-22 2015-10-22 Door lock state detection method and device and door lock state detector

Country Status (1)

Country Link
CN (1) CN106609605B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109167B (en) * 2018-01-17 2021-12-07 深圳绿米联创科技有限公司 Door lock installation assisting method and device
CN108756483A (en) * 2018-05-25 2018-11-06 深圳市蓝恒电子科技有限公司 Door lock shutdown condition detection method and detecting system
CN109147119A (en) * 2018-08-01 2019-01-04 珠海格力电器股份有限公司 The operation of intelligent door lock, intelligent door lock executes method and device
CN109493464A (en) * 2018-10-09 2019-03-19 深圳中泰智丰物联网科技有限公司 Low power-consumption intelligent opal door lock monitoring system and door lock monitoring method
CN109972923B (en) * 2019-03-19 2021-01-22 陈坤 Locking control method based on door leaf behavior state
CN110145175A (en) * 2019-06-06 2019-08-20 百度在线网络技术(北京)有限公司 It locks a door alarm set, lock a door based reminding method and the door lock with the device
CN112446984A (en) * 2019-08-13 2021-03-05 云丁网络技术(北京)有限公司 Intelligent door lock control method and device
WO2021023164A1 (en) 2019-08-02 2021-02-11 云丁网络技术(北京)有限公司 Intelligent lock control method and system
WO2021023276A1 (en) 2019-08-06 2021-02-11 云丁网络技术(北京)有限公司 Smart lock control method and device
CN112343429B (en) * 2019-08-06 2021-12-24 云丁网络技术(北京)有限公司 Door lock state detection method, device and system
CN110344675A (en) * 2019-08-12 2019-10-18 广州市卓明建材有限公司 A kind of lockset
CN111946170B (en) * 2020-08-14 2021-11-09 北京骑胜科技有限公司 Lock state detection method and device, shared vehicle and storage medium
CN116311714A (en) * 2023-04-24 2023-06-23 深圳市锦锐科技股份有限公司 Method and system for preventing false alarm of intelligent door lock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2401658Y (en) * 1999-06-30 2000-10-18 金述强 Theft-proof lock with vibration sensor
CN103955976A (en) * 2014-04-28 2014-07-30 佛山市顺德区兴益康金属科技有限公司 Intelligent door lock and method for detecting use state of intelligent door lock
JP2014167226A (en) * 2013-02-28 2014-09-11 Nec Corp Locking/unlocking detector, locking/unlocking detection method, and program
JP2015007327A (en) * 2013-06-25 2015-01-15 日本電気株式会社 Detector and locking/unlocking detection method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006161429A (en) * 2004-12-08 2006-06-22 Matsushita Electric Ind Co Ltd Door handle device and keyless entry device equipped with the same
US20080246607A1 (en) * 2007-04-09 2008-10-09 Honeywell International Inc. Method of detecting lock bumping
CN201381691Y (en) * 2009-01-08 2010-01-13 方长江 Antitheft alarm lock

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2401658Y (en) * 1999-06-30 2000-10-18 金述强 Theft-proof lock with vibration sensor
JP2014167226A (en) * 2013-02-28 2014-09-11 Nec Corp Locking/unlocking detector, locking/unlocking detection method, and program
JP2015007327A (en) * 2013-06-25 2015-01-15 日本電気株式会社 Detector and locking/unlocking detection method
CN103955976A (en) * 2014-04-28 2014-07-30 佛山市顺德区兴益康金属科技有限公司 Intelligent door lock and method for detecting use state of intelligent door lock

Also Published As

Publication number Publication date
CN106609605A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN106609605B (en) Door lock state detection method and device and door lock state detector
JP5298807B2 (en) Electronic key system
CN205677500U (en) A kind of Intelligent automatic locking theftproof door
CN101525958B (en) Anti-theft lock
CN105630171B (en) A kind of intelligent spire lamella and the control method for vehicle based on the intelligent spire lamella
CN106476703A (en) A kind of intelligent vehicle boot
JP6011445B2 (en) Vehicle theft reporting system
US8674832B1 (en) Wireless bolt lock remote
CN104276135A (en) Children lock control method and device
WO2018054128A1 (en) Fingerprint lock, fingerprint processing apparatus, and fingerprint lock system
CN202810384U (en) Physical union intelligent anti-theft security door lock
JP2017120001A (en) Determination device, lock device, attachment, human detection sensor, control method, and control program
CN106761000A (en) The external control system of intelligent door lock and method
CN110667514B (en) Vehicle door unlocking method and device
JP2016000916A (en) Locking-unlocking sensor and locking-unlocking check system using the same
CN208027438U (en) A kind of vehicle unlocking control device, monitoring device and system
JP2020100965A (en) Access control system
JP6964976B2 (en) Vehicle communication device
CN205750959U (en) A kind of car key
CN109389717A (en) A kind of electronic lock, electronic lock, electronic lock management system and method for the vehicles
KR101948195B1 (en) Smart nfc lock device
JP2016215779A (en) User specification system
KR20190046031A (en) Fingerprint recognition electronic lock system equipped with alarm function and interlocked with smart phone and security management method using the lock system
WO2017092038A1 (en) Lock monitoring device, method and system for monitoring lock
JP2012184609A (en) Keyless entry device

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