CN111243133A - Bluetooth door lock system based on dynamic password generation and matching and unlocking method - Google Patents
Bluetooth door lock system based on dynamic password generation and matching and unlocking method Download PDFInfo
- Publication number
- CN111243133A CN111243133A CN202010015610.4A CN202010015610A CN111243133A CN 111243133 A CN111243133 A CN 111243133A CN 202010015610 A CN202010015610 A CN 202010015610A CN 111243133 A CN111243133 A CN 111243133A
- Authority
- CN
- China
- Prior art keywords
- module
- dynamic password
- door lock
- time
- password
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00817—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
- G07C2009/00412—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal being encrypted
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00817—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
- G07C2009/00825—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
The application discloses a Bluetooth door lock system based on dynamic password generation and matching and an opening method. The system comprises a user side and an equipment side, wherein: the user side comprises a first storage module, a dynamic password generation module and a first communication module; the equipment end comprises a second communication module, a login secret key generation module, an input module, a second storage module, a verification password generation module, a comparison module and a door lock module. The starting method comprises the following steps: the user side receives the login secret key generated by the equipment side, the user side and the equipment side respectively calculate the dynamic password and the verification password by adopting the same algorithm, the login secret key and the time factor, and if the dynamic password and the verification password are the same in comparison, the door lock is unlocked. The technical problem that current bluetooth lock security is low or with high costs among the correlation technique has been solved to this application.
Description
Technical Field
The application relates to the technical field of intelligent locks, in particular to a Bluetooth door lock system based on dynamic password generation and matching and an opening method.
Background
At present, the deployment of authentication is still difficult and the development scale is limited, and most authentication depends on managing the access rights of users and lacks the interoperability of hardware and software technologies. Some solutions force the coupling of hardware and software to generate tokens through proprietary techniques, resulting in high cost, inefficient adoption of solutions, and limited innovation. Some solutions allow a user to set a password, and the password is statically stored in a device, so that the password is easily copied and cracked, and the safety factor is low. With the development of networks, the rapid increase of network threats has exposed the shortcomings of static passwords as the main means. While one-time passwords are certainly one of the simplest and most popular passwords, and tokens using one-time passwords are generally more secure.
Bluetooth lock equipment is the novel intelligent tool to lock that appears in recent years, and this kind of tool to lock only need use the handheld smart machine that has the bluetooth function and collocation relevant software can be opened. However, in the existing bluetooth door lock device, the static password is not safe enough, the cost of generating the password by using hardware and software technology coupling is too high, and the adoption rate is low.
Disclosure of Invention
The main purpose of the present application is to provide a bluetooth door lock system and an unlocking method based on dynamic password generation and matching, so as to solve the problem that the security of bluetooth door lock equipment is not enough or the cost is too high in the related art.
In order to achieve the above object, in a first aspect, the present application provides a bluetooth door lock system based on dynamic password generation and matching.
The bluetooth lock system according to this application includes user end and equipment end, wherein:
the user side comprises a first storage module, a dynamic password generation module and a first communication module;
the communication module is used for sending a Bluetooth connection request to the equipment end and sending the received login key to the first storage module;
the first storage module is used for storing an algorithm, a login key and a time factor;
the dynamic password generating module is used for calculating a dynamic password by using the algorithm, the login secret key and the time factor stored in the first storage module;
the equipment end comprises a second communication module, a login secret key generation module, an input module, a second storage module, a verification password generation module, a comparison module and a door lock module;
the second communication module is used for receiving a Bluetooth connection request of the user side and realizing communication connection between the user side and the equipment side;
the login key generation module is used for generating a login key after receiving a Bluetooth connection request of the user side;
the second storage module is used for storing the algorithm, the login key and the time factor;
the verification password generation module is used for calculating a verification password by using the algorithm, the login secret key and the time factor stored in the second storage module;
the input module is used for inputting the dynamic password generated by the user side;
the comparison module is used for comparing the input dynamic password with the generated verification password;
the door lock module is used for opening or closing the door lock, and the door lock module receives an opening command sent by the second communication module.
Optionally, the dynamic password and the verification password are digital check codes calculated by using the same login key and the same time factor and using the same algorithm.
Optionally, the login key is a random string logic key obtained after the device receives a bluetooth connection request sent by the user side.
Optionally, the time factor is a time parameter calculated by using a UNIX timestamp.
Optionally, the time of the user side and the time of the equipment side are maintained respectively, and a time error within 5min is allowed.
Optionally, the dynamic password and the verification password are calculated by further including an administrator password.
In a second aspect, an embodiment of the present application further provides a bluetooth door lock unlocking method based on dynamic password generation and matching, including the following steps:
s1: the user side sends a Bluetooth connection request to the equipment side;
s2: the equipment end is matched with the user end,
if the matching is successful, the process proceeds to step S3,
if the matching fails, directly ending unlocking;
s3: the equipment side generates a login secret key and sends the login secret key to the user side;
s4: the user side calculates a dynamic password according to the stored algorithm, the received login secret key and the time factor;
s5: the equipment end calculates a verification password according to the stored algorithm, the login secret key and the time factor;
s6: inputting the dynamic password calculated by the user side at the equipment side;
s7: the equipment terminal compares the input dynamic password with the calculated verification password,
if the comparison is the same, the unlocking is successful,
if the comparison is not the same, the unlocking is directly finished.
Optionally, the Time factor is a Time parameter T calculated by using a UNIX timestamp, where T is (Current unixttime-T0)/X, the Current UNIX Time is a UNIX timestamp of a Current system, that is, seconds from 1/1970 to the Current Time, T0 is a start Time, which is set to 0, X is a step size, that is, an effective Time of the dynamic password, and the length of T is 8 bytes.
Optionally, the time error within 5min is allowed by the user side and the equipment side.
Optionally, in the calculation process of the dynamic password and the verification password in steps S4 and S5, an administrator password is further set to participate in the operation.
In the Bluetooth door lock system and the opening method based on dynamic password generation and matching provided by the embodiment of the application, the same algorithm, the login secret key and the time factor are stored at the user side and the equipment side, so that the dynamic password can be changed along with the change of time, meanwhile, the consistency of the passwords of the equipment side and the user side can be ensured, when the comparison of the passwords synchronously generated at the user side and the equipment side is the same, the door lock can be opened, compared with the password generation process of static passwords or the coupling of hardware and software technologies, the one-time random password generation method is simple, low in cost, higher in randomness, better in safety and capable of avoiding copying; and then solved among the prior art that current bluetooth lock security is low or with high costs technical problem.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a schematic structural diagram of a bluetooth door lock system based on dynamic password generation and matching according to an embodiment of the present application;
fig. 2 is a flowchart of a bluetooth door lock unlocking method based on dynamic password generation and matching according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "inner", "middle", "outer", "front", "rear", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "disposed," "connected," "disposed," and "communicating" are to be construed broadly. For example, "connected" may be a fixed connection, a detachable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, the present application relates to a bluetooth door lock system based on dynamic password generation and matching, including user end 1 and device end 2, wherein:
the user side 1 comprises a first storage module 11, a dynamic password generation module 12 and a first communication module 13;
the first communication module 13 is configured to send a bluetooth connection request to the device 2, and send the received login key to the first storage module 11;
the first storage module 11 is used for storing an algorithm, a login key and a time factor;
the dynamic password generating module 12 is configured to calculate a dynamic password by using the algorithm, the login key, and the time factor stored in the first storage module 11;
the device end 2 comprises a second communication module 21, a login secret key generation module 22, an input module 23, a second storage module 24, a verification password generation module 25, a comparison module 26 and a door lock module 27;
the second communication module 21 is configured to receive a bluetooth connection request of the user end 1, and implement communication connection between the user end 1 and the device end 2;
the login key generation module 22 is configured to generate a login key after receiving the bluetooth connection request of the user end 1;
the second storage module 24 is used for storing an algorithm, a login key and a time factor;
the verification password generation module 25 is configured to calculate a verification password by using the algorithm, the login key, and the time factor stored in the second storage module 24;
the input module 23 is used for inputting the dynamic password generated by the user terminal 1;
the comparison module 26 is used for comparing the input dynamic password with the generated verification password;
the door lock module 27 is used for opening or closing the door lock, and the door lock module 27 receives an opening command sent by the second communication module 21.
In some embodiments of the present application, the user terminal 1 may be a mobile phone or a computer with a bluetooth connection mode, and the device terminal 2 is a bluetooth door lock. In the initial stage, the user side 1 sends a bluetooth connection request to the device side 2, and the device side 2 sends the generated login key to the user side 1, and optionally, the login key is a random string login key generated during each pairing. It is understood that the logic key of the present application may be replaced by other random keys, and the present application is not limited in particular.
In the process that the user side 1 sends a Bluetooth connection request to the equipment side 2 and establishes connection, a pairing process is performed between the user side 1 and the equipment side 2, in the process, the equipment side 2 generates a random number, the random number is mixed in other information through a security encryption protocol and sent to the user side, the random number is stored after the user side analyzes the random number, and the random number is a login secret key. Each Bluetooth connection generates a different login password, the randomness and the uncopyable characteristic of the secret key are guaranteed, the transmission of the secret key is encrypted and mixed in other data, and the possibility of being captured and cracked is extremely small.
Optionally, the dynamic password and the verification password are digital check codes calculated by using the same login key and the same time factor and using the same algorithm, and preferably, the password is an 8-bit check code. As an embodiment of the present application, a hash algorithm is used, and the time factor is a time parameter calculated by using a UNIX timestamp.
Optionally, the time of the user side and the time of the equipment side are maintained respectively, and a time error within 5min is allowed. When the dynamic password is input within the time larger than the time error to compare with the verification password, the comparison fails, the door lock module keeps the door lock closed, and the password needs to be regenerated for matching. It is understood that the time error mentioned in this application is not limited to 5min, and may be any other error time, such as 4min, 6min, 7min, etc., and other time error settings are within the scope of the present application. The user side and the equipment side respectively have a clock, and the time difference is the error between the two clocks. When the device end and the user end establish connection, time can be automatically synchronized, and the time error exceeds the range, so that a consistent secret key cannot be calculated. The door lock cannot be opened, and the time of the equipment side and the time of the user side must be synchronized.
In the bluetooth door lock system based on dynamic password generation and matching provided by the embodiment of the application, the same algorithm, login key and time factor are respectively stored in the first storage module 11 and the second storage module 24 of the user side 1 and the equipment side 2, so that the door lock can be unlocked when the dynamic password and the verification password obtained by the user side 1 and the equipment side 2 are compared by the comparison module to realize consistency; meanwhile, when the UNIX timestamp and the logic key are used for pairing at different time, the obtained passwords are different, namely the dynamic password changes along with the change of time, so that the randomness of the password is realized, the safety is better, and the copying can be avoided.
Optionally, in some embodiments of the present application, the dynamic password and the verification password are calculated by further including an administrator password. Specifically, the method for the administrator to participate in the calculation includes, but is not limited to, performing AES operation with the last calculated dynamic password and the last calculated verification password, or performing addition, multiplication, and, phase, or the like on 8 bits.
Referring to fig. 2, based on the same technical concept, the embodiment of the present application further provides a bluetooth door lock unlocking method based on dynamic password generation and matching, including the following steps:
s1: the user side sends a Bluetooth connection request to the equipment side;
s2: the equipment end is matched with the user end,
if the matching is successful, the process proceeds to step S3,
if the matching fails, directly ending unlocking;
s3: the equipment side generates a login secret key and sends the login secret key to the user side;
s4: the user side calculates a dynamic password according to the stored algorithm, the received login secret key and the time factor;
s5: the equipment end calculates a verification password according to the stored algorithm, the login secret key and the time factor;
s6: inputting the dynamic password calculated by the user side at the equipment side;
s7: the equipment terminal compares the input dynamic password with the calculated verification password,
if the comparison is the same, the unlocking is successful,
if the comparison is not the same, the unlocking is directly finished.
According to the Bluetooth door lock opening method, the equipment end and the user end are connected through Bluetooth, the user end obtains the login secret key of the equipment end, and the user end and the equipment end calculate the dynamic password and the verification password respectively according to the login secret key and the time factor by adopting the same algorithm. The user manually inputs the generated dynamic password on the door lock panel, the equipment end compares the acquired dynamic password with the verification password, if the password is the same, the door lock is controlled to be unlocked, and if the password is different, the door lock is not unlocked. The starting method realizes the one-time password as the starting password, greatly improves the safety of the static password and avoids copying; meanwhile, two groups of same parameters and algorithms are adopted to respectively carry out password calculation and pairing, a high-cost mode of generating passwords by coupling hardware and software technologies is replaced, the cost is low, and the applicability is high.
Specifically, in some embodiments of the present application, the matching method of the user end and the device end in step S2 includes:
s201: scanning the device broadcast packet by the user side, pulling the corresponding secret _ key _1 from the server through the decrypted device _ id in the broadcast packet, and then establishing connection with the device side;
s202: the user end sends an 'acquisition device information' instruction encrypted by secret _ key _1 to the device end;
s203: the device terminal selects a corresponding decryption mode decryption instruction according to the self-binding state, selects a secret _ key _4 decryption instruction if the device terminal is in the bound state, selects a secret _ key _1 decryption instruction if the device terminal is in the unbound state, then responds to the instruction, encrypts the response instruction by using secret _ key _1 or secret _ key _4, and the response content comprises srand generated by the device, a device version number, a protocol version number, a device security level, a device binding mark, an auth _ key and the like;
s204: a user side initiates a pairing request instruction, wherein the pairing request instruction comprises device _ id and logic _ key of equipment, and is encrypted by secret _ key _ 2;
s205: the device side decrypts the pairing request instruction by using secret _ key _2, firstly judges whether the device _ id is matched with the device _ id, if the device _ id is not matched with the device _ id, the Bluetooth connection is disconnected, and if the device _ id is matched with the device _ id and the device _ id is bound successfully, the response instruction is encrypted by using session _ key.
Wherein: the bound device encrypts and sends a 'get device information instruction' through secret _ key _4 to obtain the srand of the device.
Optionally, in some embodiments of the present application, the Time factor is a Time parameter T calculated using a UNIX timestamp, where T is (Current UNIX Time-T0)/X, the Current UNIX Time is a UNIX timestamp of a Current system, that is, seconds from 1 month and 1 day 1970 to the Current Time, T0 is a start Time, which is set to 0, X is a step size, that is, an effective Time of the dynamic password, and T is 8 bytes in length.
Optionally, the time error within 5min is allowed by the user side and the equipment side. When the dynamic password is input within the time larger than the time error to compare with the verification password, the comparison fails, the door lock module keeps the door lock closed, and the password needs to be regenerated for matching. It is understood that the time error mentioned in this application is not limited to 5min, and may be any other error time, such as 4min, 6min, 7min, etc., and other time error settings are within the scope of the present application. The user side and the equipment side respectively have a clock, and the time difference is the error between the two clocks. When the device end and the user end establish connection, time can be automatically synchronized, and the time error exceeds the range, so that a consistent secret key cannot be calculated. The door lock cannot be opened, and the time of the equipment side and the time of the user side must be synchronized.
Optionally, in the calculation process of the dynamic password and the verification password in steps S4 and S5, an administrator password is further set to participate in the operation. Specifically, the method for the administrator to participate in the calculation includes, but is not limited to, performing AES operation with the last calculated dynamic password and the last calculated verification password, or performing addition, multiplication, and, phase, or the like on 8 bits.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. The utility model provides a bluetooth lock system based on dynamic password generates and matches which characterized in that, includes user side and equipment end, wherein:
the user side comprises a first storage module, a dynamic password generation module and a first communication module;
the first communication module is used for sending a Bluetooth connection request to the equipment terminal and sending the received login key to the first storage module;
the first storage module is used for storing an algorithm, a login key and a time factor;
the dynamic password generating module is used for calculating a dynamic password by using the algorithm, the login secret key and the time factor stored in the first storage module;
the equipment end comprises a second communication module, a login secret key generation module, an input module, a second storage module, a verification password generation module, a comparison module and a door lock module;
the second communication module is used for receiving a Bluetooth connection request of the user side and realizing communication connection between the user side and the equipment side;
the login key generation module is used for generating a login key after receiving a Bluetooth connection request of a user side;
the second storage module is used for storing an algorithm, a login key and a time factor;
the verification password generation module is used for calculating a verification password by using the algorithm, the login secret key and the time factor stored in the second storage module;
the input module is used for inputting the dynamic password generated by the user side;
the comparison module is used for comparing the input dynamic password with the generated verification password;
the door lock module is used for opening or closing a door lock, and the door lock module receives an opening command sent by the second communication module.
2. The bluetooth door lock system based on dynamic password generation and matching of claim 1, wherein the dynamic password and the verification password are digital check codes calculated by using the same algorithm using the same login key and time factor.
3. The bluetooth door lock system based on dynamic password generation and matching of claim 1, wherein the login key is a random string loginkey obtained after the device end receives a bluetooth connection request sent by the user end.
4. The bluetooth door lock system based on dynamic password generation and matching according to claim 1, wherein the time factor is a time parameter calculated using UNIX time stamp.
5. The Bluetooth door lock system based on dynamic password generation and matching of claim 4, wherein the time of the user side and the device side are maintained separately and allow time error within 5 min.
6. The Bluetooth door lock system based on dynamic password generation and matching of any one of claims 1-5, wherein the dynamic password and verification password calculation further comprises an administrator password participation calculation.
7. A Bluetooth door lock opening method based on dynamic password generation and matching is characterized by comprising the following steps:
s1: the user side sends a Bluetooth connection request to the equipment side;
s2: the equipment end is matched with the user end,
if the matching is successful, the process proceeds to step S3,
if the matching fails, directly ending unlocking;
s3: the equipment side generates a login secret key and sends the login secret key to the user side;
s4: the user side calculates a dynamic password according to the stored algorithm, the received login secret key and the time factor;
s5: the equipment end calculates a verification password according to the stored algorithm, the login secret key and the time factor;
s6: inputting the dynamic password calculated by the user side at the equipment side;
s7: the equipment terminal compares the input dynamic password with the calculated verification password,
if the comparison is the same, the unlocking is successful,
if the comparison is not the same, the unlocking is directly finished.
8. The bluetooth door lock opening method based on dynamic password generation and matching according to claim 7, wherein the Time factor is a Time parameter T calculated by using UNIX timestamp, T is (Current UNIX Time-T0)/X, the Current UNIX Time is the UNIX timestamp of the Current system, i.e. the number of seconds from 1/1970 to the Current Time, T0 is a start Time, which is set to 0, X is a step size, i.e. an effective Time of the dynamic password, and the length of T is 8 bytes.
9. The method of claim 8, wherein the time error is allowed within 5min for the user side and the device side.
10. The method for unlocking a bluetooth door lock based on dynamic password generation and matching of claim 7, wherein the dynamic password and verification password calculation process of steps S4 and S5 further comprises setting an administrator password to participate in the calculation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010015610.4A CN111243133A (en) | 2020-01-07 | 2020-01-07 | Bluetooth door lock system based on dynamic password generation and matching and unlocking method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010015610.4A CN111243133A (en) | 2020-01-07 | 2020-01-07 | Bluetooth door lock system based on dynamic password generation and matching and unlocking method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111243133A true CN111243133A (en) | 2020-06-05 |
Family
ID=70872299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010015610.4A Pending CN111243133A (en) | 2020-01-07 | 2020-01-07 | Bluetooth door lock system based on dynamic password generation and matching and unlocking method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111243133A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112084537A (en) * | 2020-09-02 | 2020-12-15 | 英博超算(南京)科技有限公司 | JTAG protection mechanism |
CN112333154A (en) * | 2020-10-16 | 2021-02-05 | 四川九八村信息科技有限公司 | Method for controlling authority based on dynamic password and plasma collector thereof |
CN113554793A (en) * | 2021-07-29 | 2021-10-26 | 西交利物浦大学 | Temporary access method, equipment, storage medium and system of intelligent access control system |
CN114362941A (en) * | 2021-12-30 | 2022-04-15 | 深圳市元征科技股份有限公司 | Offline mode authorization method and device, electronic equipment and storage medium |
CN114513301A (en) * | 2021-12-31 | 2022-05-17 | 唯思科技有限公司 | System and method for realizing dynamic Wi-Fi password display |
CN114694279A (en) * | 2020-12-28 | 2022-07-01 | 深圳Tcl新技术有限公司 | Method for acquiring offline password, computer readable storage medium and terminal device |
CN115273287A (en) * | 2022-08-03 | 2022-11-01 | 杭州恒生数字设备科技有限公司 | Bluetooth lock unlocking method and system and Bluetooth lock |
CN118233870A (en) * | 2024-05-22 | 2024-06-21 | 广州伟仕达电子科技有限公司 | Bluetooth sound automatic connection method, connection system, electronic device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593380A (en) * | 2008-05-28 | 2009-12-02 | 北京飞天诚信科技有限公司 | A kind of gate control system and authentication method that generates and verify based on dynamic password |
CN104821031A (en) * | 2015-05-27 | 2015-08-05 | 重庆大学 | Dynamic authentication method for intelligent lock control system of Bluetooth mobile phone |
CN106600775A (en) * | 2016-12-08 | 2017-04-26 | 南京魔格信息科技有限公司 | Non-networking dynamic password generation method used for intelligent access control system |
CN105184931B (en) * | 2015-09-30 | 2017-09-22 | 上海艾迅士建筑科技有限公司 | A kind of method for unlocking based on bluetooth, system, handheld terminal and electronic lock |
CN105488875B (en) * | 2015-11-25 | 2018-09-18 | 浙江宇视科技有限公司 | A kind of gate inhibition's verification method and device |
CN108737971A (en) * | 2018-05-11 | 2018-11-02 | 深圳市文鼎创数据科技有限公司 | Identity identifying method, equipment and storage medium |
CN109035500A (en) * | 2018-07-02 | 2018-12-18 | 深圳市沃特沃德股份有限公司 | Open the method and APP client of intelligent door lock |
-
2020
- 2020-01-07 CN CN202010015610.4A patent/CN111243133A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593380A (en) * | 2008-05-28 | 2009-12-02 | 北京飞天诚信科技有限公司 | A kind of gate control system and authentication method that generates and verify based on dynamic password |
CN104821031A (en) * | 2015-05-27 | 2015-08-05 | 重庆大学 | Dynamic authentication method for intelligent lock control system of Bluetooth mobile phone |
CN105184931B (en) * | 2015-09-30 | 2017-09-22 | 上海艾迅士建筑科技有限公司 | A kind of method for unlocking based on bluetooth, system, handheld terminal and electronic lock |
CN105488875B (en) * | 2015-11-25 | 2018-09-18 | 浙江宇视科技有限公司 | A kind of gate inhibition's verification method and device |
CN106600775A (en) * | 2016-12-08 | 2017-04-26 | 南京魔格信息科技有限公司 | Non-networking dynamic password generation method used for intelligent access control system |
CN108737971A (en) * | 2018-05-11 | 2018-11-02 | 深圳市文鼎创数据科技有限公司 | Identity identifying method, equipment and storage medium |
CN109035500A (en) * | 2018-07-02 | 2018-12-18 | 深圳市沃特沃德股份有限公司 | Open the method and APP client of intelligent door lock |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112084537A (en) * | 2020-09-02 | 2020-12-15 | 英博超算(南京)科技有限公司 | JTAG protection mechanism |
CN112084537B (en) * | 2020-09-02 | 2023-09-08 | 英博超算(南京)科技有限公司 | JTAG debugging system |
CN112333154A (en) * | 2020-10-16 | 2021-02-05 | 四川九八村信息科技有限公司 | Method for controlling authority based on dynamic password and plasma collector thereof |
CN114694279A (en) * | 2020-12-28 | 2022-07-01 | 深圳Tcl新技术有限公司 | Method for acquiring offline password, computer readable storage medium and terminal device |
CN113554793A (en) * | 2021-07-29 | 2021-10-26 | 西交利物浦大学 | Temporary access method, equipment, storage medium and system of intelligent access control system |
CN114362941A (en) * | 2021-12-30 | 2022-04-15 | 深圳市元征科技股份有限公司 | Offline mode authorization method and device, electronic equipment and storage medium |
CN114513301A (en) * | 2021-12-31 | 2022-05-17 | 唯思科技有限公司 | System and method for realizing dynamic Wi-Fi password display |
CN115273287A (en) * | 2022-08-03 | 2022-11-01 | 杭州恒生数字设备科技有限公司 | Bluetooth lock unlocking method and system and Bluetooth lock |
CN118233870A (en) * | 2024-05-22 | 2024-06-21 | 广州伟仕达电子科技有限公司 | Bluetooth sound automatic connection method, connection system, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111243133A (en) | Bluetooth door lock system based on dynamic password generation and matching and unlocking method | |
CN106789047B (en) | A kind of block chain identification system | |
CN109272606B (en) | Intelligent lock supervision equipment and method based on block chain and storage medium | |
EP3605475A1 (en) | Secure communication method based on smart door lock system and smart door lock system thereof | |
CN109495274B (en) | Decentralized intelligent lock electronic key distribution method and system | |
EP2912815B1 (en) | Method and apparatus for securing a connection in a communications network | |
EP2140711A1 (en) | An authentication method | |
EP1673898A1 (en) | Data communication security arrangement and method | |
CN111756530B (en) | Quantum service mobile engine system, network architecture and related equipment | |
US20070079142A1 (en) | Method and system for the cipher key controlled exploitation of data resources, related network and computer program products | |
CN112672342B (en) | Data transmission method, device, equipment, system and storage medium | |
CN109191616A (en) | intelligent lock system | |
CN108650219B (en) | User identity identification method, related device, equipment and system | |
CN109962781B (en) | Digital certificate distributing device | |
CN109003368A (en) | Bluetooth access control system offline password updating method and Bluetooth access control system | |
CN107888376B (en) | NFC authentication system based on quantum communication network | |
CN109087415A (en) | Cloud-based data transmission method and device | |
CN111489462B (en) | Personal Bluetooth key system | |
CN111563980B (en) | Bluetooth lock key generation and authentication method | |
CN112425116A (en) | Intelligent door lock wireless communication method, intelligent door lock, gateway and communication equipment | |
CN109949457B (en) | Intelligent door lock control method and related device | |
CN105743859B (en) | A kind of method, apparatus and system of light application certification | |
CN114170709B (en) | Cash box management method and system based on Internet of Things | |
CN112184960B (en) | Intelligent lock control method and device, intelligent lock system and storage medium | |
CN110022326A (en) | A kind of Internet of Things cipher authentication method using cipher table synchronization |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |
|
RJ01 | Rejection of invention patent application after publication |