CN108921988B - Door lock system and control method - Google Patents

Door lock system and control method Download PDF

Info

Publication number
CN108921988B
CN108921988B CN201810658020.6A CN201810658020A CN108921988B CN 108921988 B CN108921988 B CN 108921988B CN 201810658020 A CN201810658020 A CN 201810658020A CN 108921988 B CN108921988 B CN 108921988B
Authority
CN
China
Prior art keywords
door lock
door
key application
mobile equipment
door key
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
CN201810658020.6A
Other languages
Chinese (zh)
Other versions
CN108921988A (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.)
Xian Shiyou University
Original Assignee
Xian Shiyou University
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 Xian Shiyou University filed Critical Xian Shiyou University
Priority to CN201810658020.6A priority Critical patent/CN108921988B/en
Publication of CN108921988A publication Critical patent/CN108921988A/en
Application granted granted Critical
Publication of CN108921988B publication Critical patent/CN108921988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The invention discloses a door lock system and a control method. The door lock system includes: the system comprises a door lock main body, a distance sensing module, a camera module, a door lock management module and mobile equipment; the distance sensing module and the camera module are both connected with a door lock management module fixed on the door lock main body, and the distance sensing module is used for detecting whether objects such as mobile equipment and the like are close to the periphery of the door lock main body; when objects such as mobile equipment and the like are positioned in a set distance range around the door lock main body, the camera module is started; the image output end of the camera module is connected with the data input end of the door lock management module; the mobile equipment is provided with a door key application program related to user information; the door lock management module is positioned on the door lock main body; the door lock management module is used for generating a door key application program and verifying the bar code shot by the camera module, and when the bar code passes the verification, unlocking operation is executed. By adopting the door lock system or the control method, the door lock cost can be reduced, and the safety can be improved.

Description

Door lock system and control method
Technical Field
The invention relates to the field of intelligent door locks, in particular to a door lock system and a control method.
Background
After the modern door lock is integrated with the electronic technology, the modern door lock enters an intelligent era, and safer, more convenient and more function-rich user experience is provided for the home life of people. The mainstream intelligent door lock solution in the market at present finishes user identity authentication through fingerprints, so that the problems of low identification precision, low identification speed, incapability of identifying worn fingerprints and the like exist, and a special fingerprint identification device is required, so that the realization cost is high, and the large-scale popularization of the intelligent door lock is hindered. In recent years, some new intelligent lock control methods adopt wireless channels such as WIFI to control the door lock, but there is a risk that the wireless channels are monitored to cause secret key leakage.
Disclosure of Invention
The invention aims to provide a door lock system and a control method, which are used for reducing the cost of a door lock and improving the safety.
In order to achieve the purpose, the invention provides the following scheme:
a door lock system, comprising: the system comprises a door lock main body, a distance sensing module, a camera module, a door lock management module and mobile equipment;
the distance sensing module and the camera module are both connected with the door lock management module fixed on the door lock main body; the distance sensing module is used for detecting whether an object is close to the periphery of the door lock main body; when an object is located in a set distance range around the door lock main body, the door lock management module opens the camera module;
the mobile equipment is provided with a door key application program related to user information; the door key application program is installed on the mobile equipment through an installation package of the door key application program, the installation package of the door key application program is generated by the door lock management module according to door key data, a door key application password sent by the mobile equipment, hardware ID data of the mobile equipment and the like, a download address of the installation package or the installation package of the door key application program is transmitted to the mobile equipment through a network by the door lock management module, and the door key data is randomly generated by the door lock management module; when the mobile device is unlocked, the door key application program is used for generating a bar code and displaying the bar code on a display part of the mobile device; the camera is used for shooting a bar code displayed on the mobile equipment; the bar code comprises a one-dimensional code and a two-dimensional code;
the door lock management module is used for verifying according to the bar code shot by the camera module, and after the verification is passed, unlocking operation is executed.
Optionally, the distance sensing module is an ultrasonic sensor.
Optionally, the camera module is a high-resolution camera.
A door lock control method, comprising:
acquiring a door key application password sent by the mobile equipment and hardware ID data of the mobile equipment;
acquiring randomly generated door key data;
generating an installation package of a door key application program according to the door key application password, the hardware ID data of the mobile equipment and the door key data;
transmitting the installation package or the download address of the installation package of the door key application program to the mobile equipment through a network, wherein the mobile equipment installs the door key application program through the installation package of the door key application program;
the door key application generates a bar code and displays the bar code on a display component of the mobile equipment;
acquiring distance data acquired by a distance sensing module in a door lock system; the distance data is the distance between the object and the distance sensing module; the door lock system includes: the system comprises a door lock main body, a distance sensing module, a camera module, a door lock management module and mobile equipment; the distance sensing module and the camera module are both connected with the door lock management module fixed on the door lock main body;
judging whether the object is located within a set distance range around the door lock main body according to the distance data to obtain a first judgment result;
when the first judgment result shows that the object is located in the set distance range around the door lock main body, the camera module is started;
acquiring a bar code shot by the camera module; the bar code comprises a one-dimensional code and a two-dimensional code;
analyzing the bar code to obtain unlocking key data;
judging whether the unlocking key data are matched with the stored door key data or not to obtain a second judgment result;
when the second judgment result shows that the unlocking door key data is matched with the stored door key data, unlocking operation is executed, and the camera module is closed;
and when the second judgment result shows that the unlocking door key data is not matched with the stored door key data, closing the camera module.
Optionally, the mobile device installs the door key application through an installation package of the door key application, and before this, the method further includes:
acquiring hardware ID data of the mobile equipment;
verifying the matching of the installation package of the door key application program and the hardware ID data of the mobile equipment; when the verification is successful, the mobile equipment successfully installs the door key application program; when the authentication fails, the mobile device cannot install a key application.
Optionally, the acquiring a door key application password and hardware ID data of the mobile device sent by the mobile device further includes:
acquiring a door key application submitted by a user on mobile equipment;
acquiring a user name and a user password which are input by the user in the mobile equipment and are used for entering a door lock management module;
verifying the user name and the user password; when the authentication fails, returning to obtain the user name and the password input by the mobile equipment; and when the authentication is successful, acquiring the door key application password sent by the mobile device and the hardware ID data of the mobile device.
Optionally, the door key application generates a barcode and displays the barcode on the display component of the mobile device, and the method further includes:
verifying the user identity, wherein the mode for verifying the user identity comprises hardware ID data verification and door key application password verification of the mobile equipment; the hardware ID data of the mobile equipment is verified by acquiring the matching between the hardware ID data of the mobile equipment used by the user and a key application program; the door key application password authentication is user identity authentication by acquiring a door key application password input by a user in the door key application program;
when the user identity authentication fails, returning to 'authenticate the user identity';
and when the user identity authentication is successful, the door key application program generates a bar code and displays the bar code on a display part of the mobile equipment.
Optionally, the verifying the user identity further includes:
if the mode of verifying the user identity is hardware ID data verification of the mobile equipment, directly quitting the door key application program when the verification fails;
if the mode of verifying the user identity is door key application password verification, acquiring the times of user identity verification failure; judging whether the number of times of the user identity authentication failure is greater than a set threshold value or not to obtain a third judgment result; and when the third judgment result shows that the number of times of the user identity authentication failure is greater than a set threshold value, exiting the door key application program.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the application program on the mobile equipment is used as a carrier of door key data, and a special real object door key and a human body biological characteristic identification module are not needed during door opening, and any network support is not needed; the core door key data is hidden in the door key application program for transmission, so that the transmission of the core door key data on the network is avoided; the generation of the door key application program is limited to be carried out in a wired network or a WiFi coverage area in a house; these all reduce the risk of door key data leakage.
The installation package of the door key application program is bound with the hardware ID of the mobile equipment, and the installation package applied by the mobile equipment can only be installed or operated on the mobile equipment, so that the risks caused by the leakage and illegal installation and use of the installation package are avoided.
When the door key application program is used, the user identity needs to be verified, so that the safety risk caused by the loss of the mobile equipment is avoided; the door lock is unlocked by scanning the bar code displayed by the application program of the door key of the mobile terminal, and the whole process does not need to use a network channel to transmit data, so that the risk caused by key leakage is reduced, and the safety performance is improved.
The door lock management module, the camera module and the distance sensing module can be realized by relying on cheap open source hardware, and the system cost can be effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic view of the door latch system of the present invention;
fig. 2 is a flow chart of the door lock control method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic view showing the construction of the door lock system of the present invention. As shown in fig. 1, the door lock system includes: a door lock main body 101, a distance sensing module 102, a camera module 103, a door lock management module 104 and a mobile device 105;
the distance sensing module 102 and the camera module 103 are both connected with the door lock management module 104 fixed on the door lock main body 101; the distance sensing module 102 and the camera module 103 are adjacent to each other, and the distance between the two is small, and the distance data detected by the distance sensing module 102 can be equivalent to the distance of the object from the camera module 103. The image output end of the camera module 103 is connected with the data input end of the door lock management module 104.
The distance sensing module 102 is configured to detect whether an object such as a mobile device is near the door lock main body 101. When the distance sensing module 102 and the camera module 103 are located on the door lock main body, distance data obtained by the distance sensing module is the distance between an object such as a mobile device and the door lock main body 101; when the distance sensing module 102 and the camera module 103 are not located on the door lock main body 101, the distance of the mobile device from the door lock main body 101 can also be determined according to the distance data obtained by the distance sensing module 102, so as to detect whether an object such as the mobile device is close to the door lock main body. The distance sensing module 102 can be implemented by an ultrasonic sensor, and can also be implemented by other methods according to actual requirements, for example, an infrared distance sensing method. When an object such as a mobile device is within a set distance range from the periphery of the door lock main body 101, the door lock management module 104 controls the camera module 103 to turn on the camera function.
The camera module 103 can be implemented by, but not limited to, a high-resolution camera with a USB interface, and is configured to capture a scene outside the door lock main body 101, capture a barcode image displayed by the mobile device 105, and send the captured image to the door lock management module for analysis and verification. According to the invention, the detection data of the distance sensing module 102 is used as the condition for starting the camera module 103, and the starting condition and the starting time of the camera module 103 can be customized according to actual requirements. For example, for a particular residence, camera module 103 may be set to turn on at a particular point in time and turn off at a particular point in time.
A door key application program related to user information is installed on the mobile device 105; when the lock is unlocked, the door key application is used for generating a bar code to be displayed on the mobile device 105; the camera module 103 is used for shooting a bar code displayed on the mobile device 105; the bar code may be a one-dimensional code or a two-dimensional code.
The door lock management module 104 is located on the door lock main body 101; the door lock management module 104 is configured to perform matching according to the barcode photographed by the camera module 103, and execute an unlocking operation after the matching is passed. The door lock management module 104 may be, but is not limited to, a Web server running on the door lock main body embedded system, and is configured to receive the door key application and the related parameters sent by the mobile device 105, and randomly generate door key data. And then generating an installation package of the door key application program according to the door key data and the related parameters sent by the mobile equipment, so that the mobile equipment applying for the installation can obtain (download) the installation.
The mobile device 105 accesses the management background provided by the door lock management module 104 through the user's on-premises network, and after the authentication is passed, may submit a door key application and submit the door lock setting parameters to the management background for generating an installation package of a door key application. After receiving the installation package of the door key application program returned by the management background, the user installs the installation package on the mobile equipment. When the lock needs to be unlocked, the user operates the door key application program on the mobile equipment, after the user identity authentication is successfully carried out, the door key application program generates a door key bar code, and the bar code is displayed to the door lock main body, so that the unlocking operation can be realized. In the whole unlocking process, the mobile equipment does not need to be networked, the leakage risk caused by network transmission is avoided, and the use safety performance is improved.
Implementations of the door lock body 101 include, but are not limited to, an embedded system. For example, a raspberry development board can be used as a control core of a door lock main body, an SD memory card is loaded into an SD card slot on the raspberry development board for installing an operating system, application software (including but not limited to a door lock management module) and storing data, and functions of distance detection, barcode scanning and analysis, door key data verification, door lock opening and the like are realized by connecting a distance sensor, a camera, a relay and the like on pins or a USB interface of the raspberry development board and matching with the door lock management module.
The door lock main body 101 is matched with the distance sensing module 102 and the camera module 103, and identifies a correct door key by analyzing a bar code and controls the opening of the door lock.
According to the door lock system, the invention also provides a door lock control method, and fig. 2 is a flow schematic diagram of the door lock control method. As shown in fig. 2, the door lock control method includes:
step 100: and acquiring the door key application password sent by the mobile device and hardware ID data of the mobile device.
Step 200: randomly generated key data is acquired. The door key data is randomly generated by the door lock management module.
Step 300: and generating an installation package of the door key application program according to the door key application password, the hardware ID data of the mobile equipment and the door key data. The installation package is only used for installation of the mobile device. The generation of the installation package may also involve an automatic exit time for the key application. Through the automatic exit time (for example, 5 minutes) sent by the mobile device, the door lock management module generates an installation package of a door key application program for the mobile device to install according to door key data randomly generated by the door lock management module, hardware ID data of the mobile device, a door key application password sent by the mobile device and the automatic exit time sent by the mobile device, so that after the door key application program is installed by the mobile device, the program automatically exits from the running state after the program runs to the automatic exit time. The method avoids the leakage of unlocking information due to the long-time operation of the program when unlocking. The installation package corresponds to an operating system of the mobile equipment and comprises an Android version, an iOS version, a Windows version and the like.
Step 400: and transmitting the installation package of the door key application program or the download address of the installation package to the mobile equipment through the network, and installing the door key application program by the mobile equipment through the installation package of the door key application program. The transmission network of the installation package of the door key application program or the download address thereof is an internal network, and the internal network refers to the indoor network environment where the door lock main body is located and can be connected to the door lock management module, so that risks caused by using external network transmission are avoided. The mobile equipment accesses the door lock management module by connecting the internal network, and only in a safety range, the mobile equipment can access the door lock management module, so that the communication safety is ensured. When the mobile equipment installs the door key application program according to the installation package, the mobile equipment to be installed needs to be verified, and the hardware ID data is verified by acquiring the hardware ID data of the mobile equipment; when the verification is successful, the mobile equipment successfully installs the door key application program; when the authentication fails, the mobile device cannot install a key application. For a mobile device that does not support verification of hardware ID data at installation, the hardware ID data may be verified when the door key application is run after installation.
Step 500: a barcode is generated from a key application and presented on a display component of the mobile device. When an unlocking operation is required, the door lock application program is opened, and bar codes are automatically generated, wherein the bar codes comprise but are not limited to one-dimensional codes and two-dimensional codes.
Step 600: and acquiring distance data acquired by a distance sensing module in the door lock system.
Step 700: judging whether the object is located in a set distance range around the door lock main body according to the distance data; if yes, go to step 800; if not, return to step 600.
Step 800: and starting the camera module. Only when setting for the distance scope and including the object, just can trigger the camera module and open, avoid normally opening extravagant energy.
Step 900: and acquiring the bar code shot by the camera module.
Step 1000: and analyzing the bar code to obtain unlocking key data.
Step 1100: it is determined whether the lock key data matches the stored key data. If yes, go to step 1200; if not, step 1300 is performed. The matching process can be consistency matching, namely unlocking door key data is consistent with stored door key data; it is also possible to match the compatibility, i.e. the unlocking key data is matched to the stored key data.
Step 1200: and executing unlocking operation.
Step 1300: the camera module is turned off.
The method for obtaining the hardware ID data of the mobile device and the door key application password sent by the mobile device, namely the user applies for the installation package, comprises the following steps:
acquiring a door key application submitted by a user on mobile equipment;
acquiring a user name and a user password which are input by the user in the mobile equipment and are used for entering a door lock management module;
verifying the user name and the user password; when the authentication fails, returning to obtain the user name and the password input by the mobile equipment; and when the authentication is successful, acquiring the door key application password sent by the mobile device and the hardware ID data of the mobile device.
Before step 500 of the present invention, that is, when the door key application program is operated during unlocking, the user identity also needs to be verified, and the user identity is verified in a manner including hardware ID data verification and door key application password verification of the mobile device; the hardware ID data of the mobile equipment is verified by acquiring the matching between the hardware ID data of the mobile equipment used by the user and a key application program; the door key application password authentication is user identity authentication by acquiring a door key application password input by a user in the door key application program; when the user identity authentication fails, returning to 'authenticate the user identity'; and when the user identity authentication is successful, the door key application program generates a bar code and displays the bar code on a display part of the mobile equipment. The door key application program can simultaneously start two verification modes of door key application password verification and hardware ID data verification of the mobile equipment for dual verification, and can also adopt one verification mode to verify the identity of the user.
The user identity is verified, and then the method further comprises the following steps:
acquiring the number of times of user identity authentication failure;
judging whether the number of times of the user identity authentication failure is greater than a set threshold value or not to obtain a third judgment result;
when the third judgment result shows that the number of times of user identity authentication failure is greater than a set threshold value, if the mode of authenticating the user identity is door key application password authentication, locking the door key application program; and if the mode of verifying the user identity is hardware ID data verification of the mobile equipment, exiting the door key application program.
The core concept of the invention is that: the method comprises the steps that an application program of a mobile device is used as a door key data carrier, a door key application program installation package which is bound with ID data of a mobile terminal of a user and has a user identity verification function is generated through a door lock management module on a door lock main body, a bar code image containing door key data can be displayed to a camera on the door lock main body after installation and operation (the image can disappear or change within a limited time), and the door lock main body scans the bar code and executes unlocking operation after the door key data is read and verified.
The following describes the scheme of the present invention in detail with reference to the user's usage process, as a specific implementation, including the following steps:
s1, a mobile device is connected to a door lock management module on a door lock main body in a home WiFi or wired mode to submit a door key application;
s2, the door lock management module verifies the identity of the user, and the specific process comprises the following steps:
s21, the door lock management module requires the mobile equipment to input a user name and a password;
s22, if the password verification is successful, the step S3 is carried out;
s23, if the password authentication fails, returning to the step S21;
s3, the door lock management module requires the mobile equipment to input a door key application password and a hardware ID of the mobile equipment (only 1 of the mobile equipment can be required according to the requirement of the security level, and the automatic exit time of the program can be set);
s4, the door lock management module generates a string of random door key data, stores the door key data into a system, and generates a door key application program installation package according to the door key data, a door key application password and a hardware ID (which can also include program automatic exit time) of the mobile device;
s5, the door lock management module displays or pushes a downloading link of the door key application program installation package or the door key application program to the mobile equipment applying for the door key;
s6, the user installs the obtained installation package file on the mobile equipment, so that the mobile equipment is provided with a door key application program; when the program is installed, the hardware ID of the mobile equipment needs to be verified, and after the hardware ID passes the verification, the program is installed successfully.
S7, when the user unlocks, operating a door key application program on the mobile device, and firstly verifying the user identity by the door key application program, wherein the specific process comprises the following steps:
s71, the door key application program requires the user to input the door key application password set in S3, and the door key application password can also be verified with the hardware ID of the mobile equipment;
s72, if the verification is successful, the step S8 is carried out;
s73, if the verification fails, returning to the step S71; if the password authentication failure times exceed a certain threshold value, locking the application for a period of time; or directly quitting the door key application program after the hardware ID of the mobile equipment is not verified.
S8, after the door key application program is successfully opened, generating a bar code image (one-dimensional code or two-dimensional code) by using the door key data, and displaying the bar code on a display part of the mobile equipment;
s9, enabling the mobile equipment displaying the bar code image to be close to the door lock main body by a user to trigger the distance sensing module of the door lock main body, and enabling a camera on the door lock to start working and scanning the bar code;
s10, the door lock main body analyzes the bar code obtained by the camera to obtain unlocking key data, and verifies the unlocking key data, and the specific process comprises the following steps:
s101, if unlocking door key data obtained from the bar code is matched with door key data stored in a system, controlling a relay on a door lock main body to unlock, closing a camera at the same time, and automatically closing a door key application program within a certain time;
s102, if the door key data are not matched, closing the camera, and automatically closing the door key application program within a certain time.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (8)

1. A door lock system, characterized in that the door lock system comprises: the system comprises a door lock main body, a distance sensing module, a camera module, a door lock management module and mobile equipment;
the distance sensing module and the camera module are both connected with the door lock management module fixed on the door lock main body; the distance sensing module is used for detecting whether an object is close to the periphery of the door lock main body; when an object is located in a set distance range around the door lock main body, the door lock management module opens the camera module;
the mobile equipment is provided with a door key application program related to user information; the door key application program is installed on the mobile equipment through an installation package of the door key application program, the installation package of the door key application program is generated by the door lock management module according to door key data, a door key application password sent by the mobile equipment, hardware ID data of the mobile equipment and the like, a download address of the installation package or the installation package of the door key application program is transmitted to the mobile equipment through a network by the door lock management module, and the door key data is randomly generated by the door lock management module; the transmission network of the installation package of the door key application program or the download address thereof is an internal network; the internal network refers to an indoor network environment where the door lock main body is located and can be connected to the door lock management module; when the mobile device is unlocked, the door key application program is used for generating a bar code and displaying the bar code on a display part of the mobile device; the camera is used for shooting a bar code displayed on the mobile equipment; the bar code comprises a one-dimensional code and a two-dimensional code;
the door lock management module is used for verifying according to the bar code shot by the camera module, and after the verification is passed, unlocking operation is executed.
2. The door lock system of claim 1, wherein the distance sensing module is an ultrasonic sensor.
3. The door lock system of claim 1, wherein the camera module is a high resolution camera.
4. A door lock control method, characterized by comprising:
acquiring a door key application password sent by the mobile equipment and hardware ID data of the mobile equipment;
acquiring randomly generated door key data;
generating an installation package of a door key application program according to the door key application password, the hardware ID data of the mobile equipment and the door key data;
transmitting the installation package or the download address of the installation package of the door key application program to the mobile equipment through a network, wherein the mobile equipment installs the door key application program through the installation package of the door key application program; the transmission network of the installation package of the door key application program or the download address thereof is an internal network; the internal network refers to an indoor network environment where the door lock main body is located and can be connected to the door lock management module;
the door key application generates a bar code and displays the bar code on a display component of the mobile equipment;
acquiring distance data acquired by a distance sensing module in a door lock system; the distance data is the distance between the object and the distance sensing module; the door lock system includes: the system comprises a door lock main body, a distance sensing module, a camera module, a door lock management module and mobile equipment; the distance sensing module and the camera module are both connected with the door lock management module fixed on the door lock main body;
judging whether the object is located within a set distance range around the door lock main body according to the distance data to obtain a first judgment result;
when the first judgment result shows that the object is located in the set distance range around the door lock main body, the camera module is started;
acquiring a bar code shot by the camera module; the bar code comprises a one-dimensional code and a two-dimensional code;
analyzing the bar code to obtain unlocking key data;
judging whether the unlocking key data are matched with the stored door key data or not to obtain a second judgment result;
when the second judgment result shows that the unlocking door key data is matched with the stored door key data, unlocking operation is executed, and the camera module is closed;
and when the second judgment result shows that the unlocking door key data is not matched with the stored door key data, closing the camera module.
5. The door lock control method according to claim 4, wherein the mobile device installs the key application through an installation package of the key application, and before further comprising:
acquiring hardware ID data of the mobile equipment;
verifying the matching of the installation package of the door key application program and the hardware ID data of the mobile equipment; when the verification is successful, the mobile equipment successfully installs the door key application program; when the authentication fails, the mobile device cannot install a key application.
6. The door lock control method according to claim 4, wherein the obtaining of the door key application password and the hardware ID data of the mobile device sent by the mobile device further comprises:
acquiring a door key application submitted by a user on mobile equipment;
acquiring a user name and a user password which are input by the user in the mobile equipment and are used for entering a door lock management module;
verifying the user name and the user password; when the authentication fails, returning to obtain the user name and the password input by the mobile equipment; and when the authentication is successful, acquiring the door key application password sent by the mobile device and the hardware ID data of the mobile device.
7. The door lock control method according to claim 4, wherein the door key application generates a barcode and displays the barcode on the display unit of the mobile device, and before further comprising:
verifying the user identity, wherein the mode for verifying the user identity comprises hardware ID data verification and door key application password verification of the mobile equipment; the hardware ID data of the mobile equipment is verified by acquiring the matching between the hardware ID data of the mobile equipment used by the user and a key application program; the door key application password authentication is user identity authentication by acquiring a door key application password input by a user in the door key application program;
when the user identity authentication fails, returning to 'authenticate the user identity';
and when the user identity authentication is successful, the door key application program generates a bar code and displays the bar code on a display part of the mobile equipment.
8. The door lock control method according to claim 7, wherein the verifying the user identity further comprises:
if the mode of verifying the user identity is hardware ID data verification of the mobile equipment, directly quitting the door key application program when the verification fails;
if the mode of verifying the user identity is door key application password verification, acquiring the times of user identity verification failure; judging whether the number of times of the user identity authentication failure is greater than a set threshold value or not to obtain a third judgment result; and when the third judgment result shows that the number of times of the user identity authentication failure is greater than a set threshold value, exiting the door key application program.
CN201810658020.6A 2018-06-25 2018-06-25 Door lock system and control method Active CN108921988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810658020.6A CN108921988B (en) 2018-06-25 2018-06-25 Door lock system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810658020.6A CN108921988B (en) 2018-06-25 2018-06-25 Door lock system and control method

Publications (2)

Publication Number Publication Date
CN108921988A CN108921988A (en) 2018-11-30
CN108921988B true CN108921988B (en) 2021-04-02

Family

ID=64420003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810658020.6A Active CN108921988B (en) 2018-06-25 2018-06-25 Door lock system and control method

Country Status (1)

Country Link
CN (1) CN108921988B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919269A (en) * 2019-03-08 2019-06-21 大唐东营发电有限公司 A kind of faulty action preventing system based on two dimensional code
CN110232755B (en) * 2019-04-25 2023-11-21 赖雨薇 Open intelligent steamer-sorting channel system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205302437U (en) * 2015-12-31 2016-06-08 深圳先进技术研究院 Novel intelligent tool to lock
CN106204843A (en) * 2016-07-13 2016-12-07 尹博实 A kind of door-control lock and gate control system
CN107392194A (en) * 2017-09-22 2017-11-24 贵州维讯光电科技有限公司 Safety box iris intelligent identifying system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751538B (en) * 2013-12-26 2017-07-04 联芯科技有限公司 The implementation method and gate control system of a kind of opening gate
CN104410813B (en) * 2014-10-24 2018-01-05 浙江宇视科技有限公司 User account number and the binding method and device of monitoring device in video monitoring system
CN104484925B (en) * 2014-12-08 2016-09-07 重庆桦哲科技有限公司 Intelligent lock control system
CN105069876B (en) * 2015-08-04 2018-06-22 珠海格力电器股份有限公司 The method and system of intelligent entrance guard control
CN105139491B (en) * 2015-08-10 2017-11-28 闻泰通讯股份有限公司 A kind of cell phone access control based on ciphering type Quick Response Code
CN105225314A (en) * 2015-09-18 2016-01-06 张福伟 A kind of dynamic two-dimension code door control system based on pseudo-random sequence
CN106875515B (en) * 2015-12-11 2019-10-29 中国移动通信集团辽宁有限公司 Gate inhibition verifies system and its gate inhibition's verification method
GB2553258A (en) * 2016-04-12 2018-03-07 Stephen Frew Access authentication method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205302437U (en) * 2015-12-31 2016-06-08 深圳先进技术研究院 Novel intelligent tool to lock
CN106204843A (en) * 2016-07-13 2016-12-07 尹博实 A kind of door-control lock and gate control system
CN107392194A (en) * 2017-09-22 2017-11-24 贵州维讯光电科技有限公司 Safety box iris intelligent identifying system

Also Published As

Publication number Publication date
CN108921988A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US9953151B2 (en) System and method identifying a user to an associated device
KR101960799B1 (en) biometric recognition access control system having IoT and its control methods
KR101218297B1 (en) System and Method for Controlling Door Lock
CN104794798A (en) Bluetooth door lock control device based on mobile intelligent terminal and management method thereof
CN105719374A (en) Door access control method
US9111084B2 (en) Authentication platform and related method of operation
CN105046767A (en) Bluetooth door lock based on mobile intelligent terminal and management method
CN110009776B (en) Identity authentication method and device
CN108921988B (en) Door lock system and control method
CN105243314A (en) USB-key based security system and usage method therefor
KR20130105098A (en) Access authorization system using bluetooth communication
CN109067881A (en) Remote-authorization method and its device, equipment and storage medium
CN114120487B (en) Automobile digital key management method, system, equipment and storage medium
CN102316132A (en) The network equipment login method and the network equipment
CN109273009A (en) Access control method, device, computer equipment and storage medium
KR101577036B1 (en) Access authentication system and method based ip camera
KR101345018B1 (en) Teminal and security certification system therewith
CN109949466A (en) A kind of intelligent entrance guard control system and method
CN102546169B (en) For controlling by the method and system of the execution of the function of user authentication protection
US9769656B2 (en) Electronic device and communication method
CN110651448B (en) Chip access method, microchip, smart card and debugging equipment
KR20180062692A (en) Method, user terminal, door lock device and entry security system for controlling of opening and closing door
KR101407443B1 (en) User authentication system and method using near field communication
KR101613476B1 (en) Face recognition based authenticable door-lock control system
CN110738759A (en) fingerprint storage method, identity verification method, device and system

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