CN103306546A - Radio frequency communication-based password lock control method and system - Google Patents

Radio frequency communication-based password lock control method and system Download PDF

Info

Publication number
CN103306546A
CN103306546A CN2012100673341A CN201210067334A CN103306546A CN 103306546 A CN103306546 A CN 103306546A CN 2012100673341 A CN2012100673341 A CN 2012100673341A CN 201210067334 A CN201210067334 A CN 201210067334A CN 103306546 A CN103306546 A CN 103306546A
Authority
CN
China
Prior art keywords
secret key
coded lock
terminal
defined algorithm
unblanking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100673341A
Other languages
Chinese (zh)
Other versions
CN103306546B (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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201210067334.1A priority Critical patent/CN103306546B/en
Publication of CN103306546A publication Critical patent/CN103306546A/en
Application granted granted Critical
Publication of CN103306546B publication Critical patent/CN103306546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a radio frequency communication-based password lock control method, which is used for unlocking and locking a password lock by a key terminal in a password lock system comprising the key terminal and the password lock. The method comprises the following steps that the password lock updates and stores a starting key according to a predetermined period and a predetermined algorithm; the key terminal transmits an unlocking verification request and an unlocking key to the password lock, wherein the unlocking key is updated according to the predetermined period and predetermined algorithm; the password lock reads the starting key in response to the unlocking verification request, compares the unlocking key and the starting key, judges whether the unlocking key and the starting key are consistent, and drives an unlocking mechanism to unlock if the unlocking key is consistent with the starting key. Therefore, the key can be updated synchronously and automatically between the key terminal and the password lock without manual operation of a user in preset time. The safety and the convenience of the password lock are improved. In addition, the invention provides a radio frequency communication-based password lock control system.

Description

Coded lock control method and system based on radio communication
[technical field]
The present invention relates to coded lock control, relate in particular to a kind of coded lock control method and system based on radio communication.
[background technology]
Prior mechanical coded lock or electronic type coded lock, operate comparatively loaded down with trivial details---the user need remember password artificially, and for security consideration, the unlatching password of coded lock need regularly be changed.This is that memory poor people, particularly the elderly have brought great inconvenience.Secondly, when needs are unblanked, need the user manually to input password, cause password to be revealed easily, have certain potential safety hazard.
[summary of the invention]
Based on this, be necessary to provide a kind of coded lock control method based on radio communication that can reduce the memory cipher burden and need not manually to input password.
A kind of coded lock control method based on radio communication is used for coded lock being unblanked and locking control by the secret key terminal at the coding lock system that comprises secret key terminal and coded lock, may further comprise the steps:
Coded lock upgrades according to predetermined period and pre-defined algorithm and secret key is opened in storage;
The secret key terminal sends unblank checking request and the secret key of unblanking to coded lock, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm;
Described coded lock responds the described checking request of unblanking, and reads described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
Preferably, also comprise:
The secret key terminal is initiated synchronization request to coded lock, and cycle and coded lock that request is upgraded the secret key of unblanking with the secret key terminal upgrade the cycle synchronisation of opening secret key;
Coded lock responds described synchronization request, and sets up synchronous communication with the secret key terminal and be connected.
Preferably, described coded lock responds described synchronization request, and sets up the synchronous communication step of connecting with the secret key terminal and specifically comprise:
Coded lock sends the time threshold of internal timer to the secret key terminal;
The secret key terminal is set the time threshold of secret key terminal inner timer according to the time threshold of the internal timer of coded lock, connects thereby finish synchronous communication.
Preferably, described coded lock control method based on radio communication also comprises:
Described coded lock is under the time threshold of internal timer drives, generate new unlatching secret key according to described pre-defined algorithm, described secret key terminal synchronizes ground generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives.
Preferably, described coded lock control method based on radio communication also comprises:
The secret key terminal sends initialization request to coded lock;
Coded lock sends current unlatching secret key and secret key generate pattern identification code to the secret key terminal after receiving described initialization request;
Secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence;
Preferably, secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the step that the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence comprises:
The memory address that described secret key terminal will be opened secret key sends to the secret key generate pattern and activates the unit;
Described secret key generate pattern activates the unit and selects the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and memory address is recorded in the corresponding address search table of pre-defined algorithm.
Preferably, described coded lock control method based on radio communication also comprises:
After the described pre-defined algorithm corresponding with coded lock generates the new secret key of unblanking, the described new secret key of unblanking covers the old unlatching secret key of this address correspondence in the described secret key memory cell according to the address of recording in the described corresponding address search table of pre-defined algorithm corresponding with coded lock.
Preferably, described secret key terminal has multiple pre-defined algorithm, a kind of corresponding in the multiple pre-defined algorithm in the pre-defined algorithm in the described coded lock and the secret key terminal.
Preferably, described coded lock control method based on radio communication also comprises: transmit secret key according to transmitting the secret key request between described secret key terminal and the secret key terminal.
In addition, also be necessary to provide a kind of coded lock control system based on radio communication that can reduce the memory cipher burden and need not manually to input password.
A kind of coded lock control system based on radio communication is used for coded lock being unblanked and locking control by the secret key terminal at the coding lock system that comprises secret key terminal and coded lock, comprises coded lock and secret key terminal,
Described coded lock is used for upgrading and storage unlatching secret key according to predetermined period and pre-defined algorithm;
Described secret key terminal is used for sending unblank checking request and the secret key of unblanking to coded lock, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm;
Described coded lock also for responding the described checking request of unblanking, reads described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
Preferably, described secret key terminal also is used for initiating synchronization request to coded lock, and cycle and coded lock that request is upgraded the secret key of unblanking with the secret key terminal upgrade the cycle synchronisation of opening secret key;
Described coded lock is used for the described synchronization request of response, and sets up synchronous communication with the secret key terminal and be connected.
Preferably, described coded lock also is used for sending to the secret key terminal time threshold of internal timer;
Described secret key terminal also is used for setting the time threshold of secret key terminal inner timer according to the time threshold of the internal timer of coded lock, connects thereby finish synchronous communication.
Preferably, described coded lock is under the time threshold of internal timer drives, generate new unlatching secret key according to described pre-defined algorithm, described secret key terminal synchronizes ground generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives.
Preferably, described coded lock comprises coded lock transceiver module, coded lock secret key generation module, coded lock timer and access control module, described coded lock transceiver module is connected with coded lock secret key generation module and access control module, and described coded lock secret key generation module is connected with the coded lock timer;
Described secret key terminal comprises secret key terminal transceiver module, secret key terminal secret key generation module, secret key terminal timer, described secret key terminal transceiver module is connected with secret key terminal secret key generation module, and described coded lock secret key generation module is connected with secret key terminal timer;
Described secret key terminal transceiver module is used for sending initialization request to coded lock;
Described coded lock transceiver module is used for receiving described initialization request and sends current unlatching secret key and secret key generate pattern identification code to the secret key terminal;
Described secret key terminal transceiver module is used for receiving described unlatching secret key and secret key generate pattern identification code;
Secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence;
Described secret key terminal timer is used for setting the time threshold that synchronously drives the secret key terminal, described secret key terminal synchronizes ground generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives;
Described secret key terminal transceiver module also is used for sending the secret key of unblanking of unblanking to verify request and current generation to coded lock;
Described access control module basis is unblanked to verify and is asked the secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
Preferably, described secret key terminal secret key generation module comprises that secret key memory cell, secret key generation unit and secret key generate pattern activate the unit; Described secret key generate pattern activates the unit and is connected with described secret key memory cell, and described secret key memory cell is connected with the secret key generation unit, and described secret key terminal timer activates the unit with the secret key generate pattern and is connected;
Described secret key memory cell is used for storage and opens secret key, and the memory address that described secret key generation unit will be opened secret key sends to the secret key generate pattern and activates the unit;
Described secret key generate pattern activates the unit and is used for selecting the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and memory address is recorded in the corresponding address search table of pre-defined algorithm;
Described secret key generation unit is used for when internal timer reaches threshold value, generates the new secret key of unblanking with activating the pre-defined algorithm corresponding with coded lock;
After the described pre-defined algorithm corresponding with coded lock generates the new secret key of unblanking, the described new secret key of unblanking covers the old unlatching secret key of this address correspondence in the described secret key memory cell according to the address of recording in the described corresponding address search table of pre-defined algorithm corresponding with coded lock;
Described coded lock secret key generation module comprises coded lock memory cell, coded lock secret key generation unit, described coded lock memory cell is connected with the coded lock transceiver module, and described coded lock secret key generation unit is connected with coded lock memory cell and coded lock timer simultaneously;
Described coded lock secret key generation unit is used for generating new unlatching secret key according to described pre-defined algorithm under the time threshold of internal timer drives;
Described coded lock memory module is used for the described unlatching secret key of storage.
Above-mentioned coded lock control method based on radio communication can make coded lock and secret key terminal form pairing initialized the time, make the secret key terminal can obtain unlatching secret key and the secret key generating algorithm of coded lock, thereby under can driving at the time threshold of internal timer, coded lock and secret key terminal synchronizes are upgraded and are opened secret key, realization can arrange upgrades secret key temporally synchronously automatically between secret key terminal and coded lock, need not user's manual operation.Safety and the convenience of coded lock have been improved.
[description of drawings]
Fig. 1 is based on the flow chart of the coded lock control method of radio communication;
Fig. 2 (a) and Fig. 2 (b) are the structural representation based on the coded lock control system of radio communication;
Fig. 3 is the structural representation of unblanking between coded lock and the secret key terminal;
Fig. 4 is the mutual schematic diagram of the secret key between the secret key terminal.
[specific embodiment]
As shown in Figure 1, be the coded lock control method flow diagram based on radio communication of an embodiment.The method of present embodiment is used for coded lock being unblanked and locking control by the secret key terminal at the coding lock system that comprises secret key terminal and coded lock, specifically may further comprise the steps:
Step S110, coded lock upgrades according to predetermined period and pre-defined algorithm and secret key is opened in storage.
Coded lock is the mechanical lock with control module, and control module is unblanked the unlatching secret key of secret key and coded lock storage inside when consistent in checking, and the indication mechanical lock is unblanked.Stored pre-defined algorithm in the control module, and the time that pre-defined algorithm generate to be opened secret key preset, namely coded lock can upgrade the unlatching secret key with pre-defined algorithm by predetermined period.Pre-defined algorithm is the secret key generating algorithm, is to generate the mode of opening secret key, and pre-defined algorithm can generate different unlatching secret keys.In unlatching secret key cycle rise time that predetermined period arranges for the user, for example, it is 24 hours that the user arranges predetermined period, and pre-defined algorithm was then just generating new unlatching secret key every 24 hours so.
The secret key terminal is equivalent to open the key of coded lock.After setting up synchronous communication between secret key terminal palpus and the coded lock, the secret key terminal can generate the secret key of unblanking according to the pre-defined algorithm corresponding with coded lock, and the secret key of unblanking is that the secret key terminal is used for opening coded lock, and pre-defined algorithm is the secret key generating algorithm.Because the pre-defined algorithm in the coded lock is fixed, be benchmark with the predetermined period in the coded lock simultaneously, the condition that makes the secret key terminal can open coded lock is: consistent in the pre-defined algorithm of secret key terminal and the coded lock, and predetermined period and coded lock are synchronous.
The step that secret key terminal and coded lock are set up synchronous communication is specially following two steps:
1. the secret key terminal is initiated synchronization request to coded lock, and cycle and coded lock that request is upgraded the secret key of unblanking with the secret key terminal upgrade the cycle synchronisation of opening secret key.
2. coded lock responds described synchronization request, and sets up synchronous communication with the secret key terminal and be connected.
In the above-mentioned step of setting up synchronous communication, the secret key terminal sends synchronization request namely asks coded lock to send the predetermined period of coded lock to the secret key terminal.The predetermined period that coded lock response synchronization request is about in the coded lock sends to the secret key terminal, thereby coded lock is consistent with the predetermined period of secret key terminal, namely sets up synchronous communication and connects.
In the present embodiment, coded lock responds described synchronization request, and sets up the synchronous communication step of connecting with the secret key terminal and specifically comprise:
1. coded lock sends the time threshold of internal timer to the secret key terminal.
2. the secret key terminal is set the time threshold of secret key terminal inner timer according to the time threshold of the internal timer of coded lock, connects thereby finish synchronous communication.
The time threshold of coded lock internal timer is predetermined period, and the coded lock internal timer carries out timing according to predetermined period, reaches with predetermined period in timing to be worth when identical, namely reaches time threshold, and the pre-defined algorithm in the coded lock then generates new unlatching secret key.
After coded lock sends to the secret key terminal with the time threshold of internal timer, the secret key terminal changes to the time threshold of internal timer consistent with the internal timer of coded lock, therefore, the secret key terminal is consistent with the predetermined period of coded lock, it is consistent with the Time And Frequency of opening secret key namely to generate the secret key of unblanking, and connects thereby finish synchronous communication.
In the present embodiment, coded lock is under the time threshold of internal timer drives, according to the new unlatching secret key of predetermined generation, described secret key terminal synchronizes ground generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives.Concrete steps are: the time of the internal timer of coded lock is activated pre-defined algorithm and generates new unlatching secret key when reaching threshold value.
The time threshold of the internal timer of secret key terminal is corresponding with the threshold value of coded lock, when reaching threshold value, generates new unlatching secret key with activating the pre-defined algorithm corresponding with coded lock.
In the present embodiment, coded lock has unique and identical pre-defined algorithm with the secret key terminal, thereby only predetermined period need be made as unanimity and synchronously, just can realize that the secret key of unblanking that unlatching secret key that coded lock generates and secret key terminal generate is consistent constantly.
In a further embodiment, the secret key terminal can be stored multiple different pre-defined algorithm, and each pre-defined algorithm can correspond to the unique pre-defined algorithm that has in the coded lock.And generally, the cycle of each pre-defined algorithm renewal secret key is inequality.Because the update cycle difference of different pre-defined algorithm, so corresponding in the secret key terminal have several timers, be connected with corresponding secret key generation unit respectively.Has only a kind of pre-defined algorithm in the coded lock, therefore, coded lock only need send to the secret key terminal with the secret key generate pattern identification code of pre-defined algorithm, inform that the used algorithm of secret key terminal unlatching secret key is which kind of algorithm in the secret key terminal, corresponding in the coded lock have only a timer, synchronous with timer corresponding in the secret key terminal.Coded lock is by sending secret key generate pattern identification code, make that the pre-defined algorithm in the secret key terminal is identical with pre-defined algorithm in the coded lock, simultaneously, update time again can be synchronous, generate the effect of identical secret key simultaneously so can realize coded lock and secret key terminal, accomplish that secret key regularly upgrades operation automation, transparent fully to the user, the safety that has improved coded lock.
Between secret key terminal and coded lock, set up communicate by letter after, the secret key terminal sends initialization request to coded lock, request definite with coded lock in consistent pre-defined algorithm, thereby all consistent with coded lock with pre-defined algorithm in predetermined period, thus coded lock is controlled.
Coded lock sends current unlatching secret key and secret key generate pattern identification code to the secret key terminal after receiving initialization request.
Coded lock sends to the secret key terminal with current unlatching secret key and the secret key generate pattern identification code that is stored in the coded lock after receiving initialization request.Current unlatching secret key is the secret key of unblanking that the authentication password interlocking is received, secret key generate pattern identification code is used for identifying pre-defined algorithm, in coded lock, pre-defined algorithm in the secret key generate pattern identification code uniquely tagged coded lock, but in the secret key terminal, stored multiple algorithm, therefore, have only when consistent in the secret key generate pattern identification code of the algorithm in the secret key terminal and the coded lock, this secret key terminal can be controlled and open this coded lock.
Secret key was opened in storage after the secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of corresponding pre-defined algorithm and is specially: select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, namely have with coded lock in the algorithm of identical secret key generate pattern identification code, and the memory address that will open secret key is recorded in the corresponding address search table of pre-defined algorithm.
Open the address that the secret key correspondence the secret key memory cell, namely open the memory address of secret key.Open the content correspondence of secret key and the data that the secret key memory cell is stored.Stored some pre-defined algorithms in the secret key terminal, every kind of pre-defined algorithm all has an address search table, has recorded in the address search table and has adopted this pre-defined algorithm to carry out the secret key memory address that secret key is upgraded in the secret key memory cell.When pre-defined algorithm generated new secret key, the secret key generation unit override corresponding secret key in the secret key memory cell with new secret key according to the memory address in the look-up table of address.
In the present embodiment, after the secret key terminal receives and opens secret key and secret key generate pattern identification code, with current unlatching secret key storage, simultaneously this secret key is sent to the secret key generate pattern in memory address and activate the unit, the secret key generate pattern activates the unit and comes down to a multi channel selecting module, it is according to the secret key generate pattern identification code from coded lock, select a path corresponding with current unlatching secret key, be connected with the corresponding pre-defined algorithm of coded lock in this path and the secret key generation unit, be recorded in the corresponding address search table of pre-defined algorithm by the memory address of this path with current unlatching secret key then.
Step S120, the secret key terminal sends unblank checking request and the secret key of unblanking to coded lock, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm.
The secret key terminal need send unblank checking request and the secret key of unblanking to coded lock when unblanking, the secret key of wherein unblanking is upgraded according to predetermined period and pre-defined algorithm.Stored the pre-defined algorithm corresponding with coded lock in the secret key terminal, pre-defined algorithm also is to upgrade by predetermined period.Pre-defined algorithm in the secret key terminal also upgrades by predetermined period, will generate the secret key of unblanking.Be connected owing to set up synchronous communication between coded lock and the secret key terminal, therefore, under the cycle situation identical with algorithm, can generate corresponding unblank secret key and unlatching secret key synchronously.
Step S130, coded lock respond the described checking request of unblanking, and read described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judge whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
After coded lock and secret key terminal established a communications link, the secret key terminal sent the checking request of unblanking to coded lock, sent the secret key of unblanking that is stored in the secret key terminal simultaneously.Coded lock receives after the checking request of unblanking from the secret key terminal, and makes response---and namely from the coded lock memory cell, read current unlatching secret key, compare with secret key from the secret key terminal then.If two secret key unanimities then send the index signal of unblanking to the access control module, drive unlocking mechanism and unblank; If two secret keys are inconsistent, then send miscue information to the secret key terminal.
In the present embodiment, described secret key terminal has multiple pre-defined algorithm, a kind of corresponding in the multiple pre-defined algorithm in the pre-defined algorithm in the described coded lock and the secret key terminal.Have only a kind of pre-defined algorithm in the coded lock, and have multiple pre-defined algorithm in the secret key terminal, therefore, just can control this coded lock as long as have with the coded lock corresponding algorithm in the secret key terminal, thereby a secret key terminal can be controlled a plurality of coded locks.
In the present embodiment, transmit the secret key of unblanking according to transmitting the secret key request between secret key terminal and the secret key terminal.Be to set up communication between the secret key terminal, the secret key of unblanking of storing in the secret key terminal sent to other secret key terminal.Owing to the pre-defined algorithm that does not have in the secret key terminal that receives the secret key of unblanking in the coded lock corresponding with the secret key of unblanking, therefore, receiving the secret key terminal of opening secret key can not upgrade the unlatching secret key synchronously with coded lock.
Based on above-mentioned all embodiment, the operating process of coded lock control method is as follows: carry out initialization between coded lock and the secret key terminal, be that coded lock will pass to the secret key terminal with information and the secret key generate pattern identification code of opening secret key, the secret key terminal is by preserving the unlatching secret key and selecting to generate the pre-defined algorithm of opening secret key according to secret key generate pattern identification code and realize initialization procedure.After finishing initialization between coded lock and the secret key terminal, coded lock is namely set up complete synchronous communication with the secret key terminal, and the secret key terminal can be controlled unlocking coded lock and locking.
Coded lock and secret key terminal are in initialized process, and information and secret key generate pattern identification code that coded lock will be opened secret key pass to the secret key terminal.The secret key terminal is selected corresponding pre-defined algorithm according to secret key generate pattern identification code, and will open secret key and store and memory address is recorded in the corresponding address search table of pre-defined algorithm.
After stating operation in realization, coded lock and secret key terminal can generate new unlatching secret key according to pre-defined algorithm under the driving of the time threshold of internal timer.The pre-defined algorithm of coded lock generation unlatching secret key is identical with a kind of pre-defined algorithm in the secret key terminal, and therefore, when identical in the time, pre-defined algorithm generates identical unlatching secret key.
In the present embodiment, the information transmission between coded lock and the secret key terminal is finished by radiofrequency signal.
In the present embodiment, shown in Fig. 2 a and Fig. 2 b, for control the structural representation of system based on the coded lock of radio communication.
Coded lock control system's bag coded lock 20 and secret key terminal 30.
Coded lock 20 is used for upgrading and storage unlatching secret key according to predetermined period and pre-defined algorithm.
Secret key terminal 30 is used for sending unblank checking request and the secret key of unblanking to coded lock 20, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm.
Coded lock 20 also for responding the described checking request of unblanking, reads described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
In the present embodiment, secret key terminal 30 also is used for initiating synchronization request to coded lock 20, and cycle and coded lock 20 that request is upgraded the secret key of unblanking with secret key terminal 30 upgrade the cycle synchronisation of opening secret key.
Coded lock 20 is used for the described synchronization request of response, and sets up synchronous communication with secret key terminal 30 and be connected.
In the present embodiment, coded lock 20 also is used for sending to secret key terminal 30 time threshold of internal timer.
Secret key terminal 30 also is used for setting the time threshold of secret key terminal 30 internal timers according to the time threshold of the internal timer of coded lock 20, connects thereby finish synchronous communication.
In the present embodiment, coded lock 20 is under the time threshold of internal timer drives, generate new unlatching secret key according to described pre-defined algorithm, secret key terminal 30 synchronously under the time threshold of internal timer drives, pre-defined algorithm generation with coded lock corresponding the unblank secret key corresponding according to described and coded lock 20.
Shown in Fig. 2 a, coded lock 20 comprises coded lock transceiver module 210, coded lock secret key generation module 220, coded lock timer 230 and access control module 240.Coded lock transceiver module 210 is connected with coded lock secret key generation module 220 and access control module 240, and coded lock secret key generation module 220 is connected with coded lock timer 230.
Shown in Fig. 2 b, secret key terminal 30 comprises secret key terminal transceiver module 310, secret key terminal secret key generation module 320, secret key terminal timer 330.Secret key terminal transceiver module 310 is connected with secret key terminal secret key generation module 320, and coded lock secret key generation module 320 is connected with secret key terminal timer 330.
Secret key terminal transceiver module 310 is used for sending initialization request to coded lock 20.
Coded lock transceiver module 210 is used for receiving the initialization request that secret key terminal 30 sends to coded lock 20, and sends current unlatching secret key and secret key generate pattern identification code according to described initialization request to secret key terminal 30.
Secret key terminal transceiver module 310 is used for receiving described unlatching secret key and secret key generate pattern identification code.
In the present embodiment, transmit information by radiofrequency signal between coded lock transceiver module 210 and the secret key terminal transceiver module 310.
Secret key terminal secret key generation module 320 is used for storage and opens secret key, and according to secret key generate pattern identification code select with coded lock 20 in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence.
Coded lock timer 230 is used for setting the time threshold that drives coded lock 20, and coded lock secret key generation module 220 is used for coded lock 20 under the time threshold of internal timer drives, and generates new unlatching secret key according to pre-defined algorithm.
Secret key terminal timer 330 is used for setting the time threshold that synchronously drives secret key terminal 30, secret key terminal 30 generates new the unblank secret key corresponding with coded lock according to the pre-defined algorithm corresponding with coded lock 20 synchronously under the time threshold of internal timer drives.
In the present embodiment, secret key terminal secret key generation module 320 comprises that secret key memory cell 322, secret key generation unit 324 and secret key generate pattern activate unit 326.Secret key memory cell 322, secret key generate pattern activate unit 326 and are connected with secret key generation unit 324, and secret key terminal timer 330 activates unit 326 with the secret key generate pattern and is connected.
Secret key memory cell 322 is used for storage and opens secret key, and secret key generation unit 324 will be opened the secret key memory address and send to secret key generate pattern activation unit 326.
The secret key generate pattern activates unit 326 and is used for selecting the pre-defined algorithm corresponding with coded lock 20 according to secret key generate pattern identification code, and memory address is recorded in the corresponding address search table of pre-defined algorithm.
Secret key generation unit 324 is used for when internal timer reaches threshold value, will activate the new unlatching secret key of the pre-defined algorithm generation corresponding with coded lock 20.
In the present embodiment, secret key memory cell 322 is used for the described pre-defined algorithm generation new unlatching secret key corresponding with coded lock 20 of storage, and lock recording address in the corresponding address search table according to described and coded lock 20 corresponding pre-defined algorithms, described new unlatching secret key is covered the old secret key that is in corresponding address in the secret key memory cell 322.
In the present embodiment, coded lock secret key generation module 220 comprises coded lock memory cell 222 and coded lock secret key generation unit 224.Coded lock memory cell 222 is connected with coded lock secret key generation unit 224, and coded lock secret key generation unit 224 is connected with coded lock timer 230.
Coded lock secret key generation unit 224 is used for generating new unlatching secret key according to pre-defined algorithm under the time threshold of internal timer drives.
Coded lock memory cell 222 is used for the described unlatching secret key of storage.
Secret key terminal transceiver module 310 also is used for sending the unlatching secret key of unblanking to verify request and current generation to coded lock 20.
Access control module 240 bases are unblanked to verify and are asked the secret key of unblanking is compared with the unlatching secret key, judge whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
Above-mentioned coded lock control system comprises coded lock 20 and secret key terminal 30.Coded lock 20 has identical pre-defined algorithm with secret key terminal 30, when the time threshold of the timer of setting is identical, can generate identical unlatching secret key simultaneously, therefore can realize the renewal automatically synchronously of the unlatching secret key between coded lock and the secret key terminal.
Based on above-described embodiment, as shown in Figure 3, be the structural representation of unblanking between coded lock and the secret key terminal.Set up between coded lock 20 and the secret key terminal 30 communicate by letter after, secret key terminal 30 can send the request unblanked to coded lock 20 by secret key terminal transceiver module 310, and transmission simultaneously is stored in the secret key of unblanking of secret key memory cell 322, after coded lock 20 receives the request unblanked and the secret key of unblanking by coded lock transceiver module 210, coded lock 20 is compared the unlatching secret key of storage in the coded lock memory cell 222 and the secret key of unblanking of reception, and comparison result sent to access control module 240, access control module 240 sends the order of unblanking or not unblanking according to comparison result, wherein, compare and successfully then send unlock command, the comparison failure is sending the order of not unblanking.
As shown in Figure 4, be the mutual schematic diagram of the secret key between the secret key terminal.After finishing initialization between secret key terminal 30 and the coded lock 20, stored the unblank secret key corresponding with coded lock 20 in the secret key terminal 30.Can transmit the unlatching secret key between the secret key terminal 30.For example, the secret key terminal sends the secret key request of transmitting by secret key terminal transceiver module 310 to another secret key terminal, and another secret key terminal receives the unlatching secret key that will be stored in the secret key memory cell 322 after the secret key transmission request and passes to request secret key terminal.To open secret key after the request secret key terminal reception unlatching secret key is stored in the secret key memory cell 322.
Above-mentioned coded lock control method based on radio communication can make coded lock and secret key terminal form pairing initialized the time, make the secret key terminal can obtain unlatching secret key and the pre-defined algorithm of coded lock, thereby under can driving at the time threshold of internal timer, coded lock and secret key terminal synchronizes are upgraded and are opened secret key, realization can arrange upgrades secret key temporally synchronously automatically between secret key terminal and coded lock, need not user's manual operation.Safety and the convenience of coded lock have been improved.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (15)

1. the coded lock control method based on radio communication is used for coded lock being unblanked and locking control by the secret key terminal at the coding lock system that comprises secret key terminal and coded lock, may further comprise the steps:
Coded lock upgrades according to predetermined period and pre-defined algorithm and secret key is opened in storage;
The secret key terminal sends unblank checking request and the secret key of unblanking to coded lock, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm;
Described coded lock responds the described checking request of unblanking, and reads described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
2. the coded lock control method based on radio communication according to claim 1 is characterized in that, also comprises:
The secret key terminal is initiated synchronization request to coded lock, and cycle and coded lock that request is upgraded the secret key of unblanking with the secret key terminal upgrade the cycle synchronisation of opening secret key;
Coded lock responds described synchronization request, and sets up synchronous communication with the secret key terminal and be connected.
3. the coded lock control method based on radio communication according to claim 2 is characterized in that described coded lock responds described synchronization request, and sets up the synchronous communication step of connecting with the secret key terminal and specifically comprise:
Coded lock sends the time threshold of internal timer to the secret key terminal;
The secret key terminal is set the time threshold of secret key terminal inner timer according to the time threshold of the internal timer of coded lock, connects thereby finish synchronous communication.
4. the coded lock control method based on radio communication according to claim 3 is characterized in that, described coded lock control method based on radio communication also comprises:
Described coded lock is under the time threshold of internal timer drives, generate new unlatching secret key according to described pre-defined algorithm, described secret key terminal synchronizes ground generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives.
5. the coded lock control method based on radio communication according to claim 1 is characterized in that, described coded lock control method based on radio communication also comprises:
The secret key terminal sends initialization request to coded lock;
Coded lock sends current unlatching secret key and secret key generate pattern identification code to the secret key terminal after receiving described initialization request;
Secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence.
6. the coded lock control method based on radio communication according to claim 5, it is characterized in that, secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the step that the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence comprises:
The memory address that described secret key terminal will be opened secret key sends to the secret key generate pattern and activates the unit;
Described secret key generate pattern activates the unit and selects the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and memory address is recorded in the corresponding address search table of pre-defined algorithm.
7. the coded lock control method based on radio communication according to claim 6 is characterized in that, described coded lock control method based on radio communication also comprises:
After the described pre-defined algorithm corresponding with coded lock generates the new secret key of unblanking, the described new secret key of unblanking covers the old unlatching secret key of this address correspondence in the described secret key memory cell according to the address of recording in the described corresponding address search table of pre-defined algorithm corresponding with coded lock.
8. according to any described coded lock control method based on radio communication of claim 1 to 7, it is characterized in that, described secret key terminal has multiple pre-defined algorithm, a kind of corresponding in the multiple pre-defined algorithm in the pre-defined algorithm in the described coded lock and the secret key terminal.
9. according to any described coded lock control method based on radio communication of claim 1 to 7, it is characterized in that described coded lock control method based on radio communication also comprises: transmit secret key according to transmitting the secret key request between described secret key terminal and the secret key terminal.
10. the coded lock control system based on radio communication is used for coded lock being unblanked and locking control by the secret key terminal at the coding lock system that comprises secret key terminal and coded lock, it is characterized in that, comprises coded lock and secret key terminal,
Described coded lock is used for upgrading and storage unlatching secret key according to predetermined period and pre-defined algorithm;
Described secret key terminal is used for sending unblank checking request and the secret key of unblanking to coded lock, and the described secret key of unblanking is upgraded according to described predetermined period and pre-defined algorithm;
Described coded lock also for responding the described checking request of unblanking, reads described unlatching secret key, and the described secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
11. the coded lock control system based on radio communication according to claim 10, it is characterized in that, described secret key terminal also is used for initiating synchronization request to coded lock, and cycle and coded lock that request is upgraded the secret key of unblanking with the secret key terminal upgrade the cycle synchronisation of opening secret key;
Described coded lock is used for the described synchronization request of response, and sets up synchronous communication with the secret key terminal and be connected.
12. the coded lock control system based on radio communication according to claim 11 is characterized in that described coded lock also is used for sending to the secret key terminal time threshold of internal timer;
Described secret key terminal also is used for setting the time threshold of secret key terminal inner timer according to the time threshold of the internal timer of coded lock, connects thereby finish synchronous communication.
13. the coded lock control system based on radio communication according to claim 12, it is characterized in that, described coded lock is under the time threshold of internal timer drives, generate new unlatching secret key according to described pre-defined algorithm, described secret key terminal synchronizes ground generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives.
14. the coded lock control system based on radio communication according to claim 10, it is characterized in that, described coded lock comprises coded lock transceiver module, coded lock secret key generation module, coded lock timer and access control module, described coded lock transceiver module is connected with coded lock secret key generation module and access control module, and described coded lock secret key generation module is connected with the coded lock timer;
Described secret key terminal comprises secret key terminal transceiver module, secret key terminal secret key generation module, secret key terminal timer, described secret key terminal transceiver module is connected with secret key terminal secret key generation module, and described coded lock secret key generation module is connected with secret key terminal timer;
Described secret key terminal transceiver module is used for sending initialization request to coded lock;
Described coded lock transceiver module is used for receiving described initialization request and sends current unlatching secret key and secret key generate pattern identification code to the secret key terminal;
Described secret key terminal transceiver module is used for receiving described unlatching secret key and secret key generate pattern identification code;
Secret key was opened in storage after described secret key terminal received described unlatching secret key and secret key generate pattern identification code, and according to secret key generate pattern identification code select with coded lock in corresponding pre-defined algorithm, and the memory address that will open secret key is recorded in the address search table of pre-defined algorithm of correspondence;
Described secret key terminal timer is used for setting the time threshold that synchronously drives the secret key terminal, described secret key terminal synchronizes ground generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock under the time threshold of internal timer drives;
Described secret key terminal transceiver module also is used for sending the secret key of unblanking of unblanking to verify request and current generation to coded lock;
Described access control module basis is unblanked to verify and is asked the secret key of unblanking is compared with the unlatching secret key, judges whether the described secret key of unblanking is consistent with the unlatching secret key, if then drive unlocking mechanism and unblank.
15. the coded lock control system based on radio communication according to claim 14 is characterized in that described secret key terminal secret key generation module comprises that secret key memory cell, secret key generation unit and secret key generate pattern activate the unit; Described secret key generate pattern activates the unit and is connected with described secret key memory cell, and described secret key memory cell, secret key generate pattern activate the unit and be connected with the secret key generation unit, and described secret key terminal timer activates the unit with the secret key generate pattern and is connected;
Described secret key memory cell is used for storage and opens secret key, and the memory address that described secret key generation unit will be opened secret key sends to the secret key generate pattern and activates the unit;
Described secret key generate pattern activates the unit and is used for selecting the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and memory address is recorded in the corresponding address search table of pre-defined algorithm;
Described secret key generation unit is used for when internal timer reaches threshold value, generates the new secret key of unblanking with activating the pre-defined algorithm corresponding with coded lock;
After the described pre-defined algorithm corresponding with coded lock generates the new secret key of unblanking, the described new secret key of unblanking covers the old unlatching secret key of this address correspondence in the described secret key memory cell according to the address of recording in the described corresponding address search table of pre-defined algorithm corresponding with coded lock;
Described coded lock secret key generation module comprises coded lock memory cell, coded lock secret key generation unit, described coded lock memory cell is connected with the coded lock transceiver module, and described coded lock secret key generation unit is connected with coded lock memory cell and coded lock timer simultaneously;
Described coded lock secret key generation unit is used for generating new unlatching secret key according to described pre-defined algorithm under the time threshold of internal timer drives;
Described coded lock memory module is used for the described unlatching secret key of storage.
CN201210067334.1A 2012-03-14 2012-03-14 Coded lock based on radio communication controls method and system Active CN103306546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210067334.1A CN103306546B (en) 2012-03-14 2012-03-14 Coded lock based on radio communication controls method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210067334.1A CN103306546B (en) 2012-03-14 2012-03-14 Coded lock based on radio communication controls method and system

Publications (2)

Publication Number Publication Date
CN103306546A true CN103306546A (en) 2013-09-18
CN103306546B CN103306546B (en) 2016-02-10

Family

ID=49132226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210067334.1A Active CN103306546B (en) 2012-03-14 2012-03-14 Coded lock based on radio communication controls method and system

Country Status (1)

Country Link
CN (1) CN103306546B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157416A (en) * 2016-07-28 2016-11-23 黄仲波 A kind of electronic password lock and anti-counterfeit package, method for anti-counterfeit
CN107564143A (en) * 2017-08-18 2018-01-09 黎辉 A kind of encrypting and decrypting method for unlocking of dynamic two-dimension code door lock
CN108038938A (en) * 2017-11-30 2018-05-15 成都科力夫科技有限公司 Attendance checking system based on Radio Frequency Identification Technology
CN108711209A (en) * 2018-07-19 2018-10-26 江苏恒宝智能系统技术有限公司 dynamic password generation and verification method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043752A (en) * 1996-12-25 2000-03-28 Mitsubishi Denki Kabushiki Kaisha Integrated remote keyless entry and ignition disabling system for vehicles, using updated and interdependent cryptographic codes for security
CN1956374A (en) * 2005-10-28 2007-05-02 腾讯科技(深圳)有限公司 Device and method for providing data encipher to identity authentication
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
US7496204B2 (en) * 2004-03-08 2009-02-24 Asahi Denso Co., Ltd. Passive entry system
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
CN102118250A (en) * 2011-01-10 2011-07-06 上海众人网络安全技术有限公司 System and method for indentifying dynamic password based on double-interface intelligent card

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043752A (en) * 1996-12-25 2000-03-28 Mitsubishi Denki Kabushiki Kaisha Integrated remote keyless entry and ignition disabling system for vehicles, using updated and interdependent cryptographic codes for security
US7496204B2 (en) * 2004-03-08 2009-02-24 Asahi Denso Co., Ltd. Passive entry system
CN1956374A (en) * 2005-10-28 2007-05-02 腾讯科技(深圳)有限公司 Device and method for providing data encipher to identity authentication
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
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
CN102118250A (en) * 2011-01-10 2011-07-06 上海众人网络安全技术有限公司 System and method for indentifying dynamic password based on double-interface intelligent card

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157416A (en) * 2016-07-28 2016-11-23 黄仲波 A kind of electronic password lock and anti-counterfeit package, method for anti-counterfeit
CN107564143A (en) * 2017-08-18 2018-01-09 黎辉 A kind of encrypting and decrypting method for unlocking of dynamic two-dimension code door lock
CN108038938A (en) * 2017-11-30 2018-05-15 成都科力夫科技有限公司 Attendance checking system based on Radio Frequency Identification Technology
CN108711209A (en) * 2018-07-19 2018-10-26 江苏恒宝智能系统技术有限公司 dynamic password generation and verification method and system

Also Published As

Publication number Publication date
CN103306546B (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN105006051B (en) The wireless communications method and system of intelligent distant control door lock
US8971857B2 (en) Communication system, communication method, and portable machine
CN115190482A (en) Vehicle door lock state synchronization method, server and synchronization system based on mobile phone screen
CN1684011B (en) Method for data transmission between bidirectional objects
EP2966623B1 (en) Lock control method
CN104050742A (en) Intelligent door and control method and system thereof
KR101733453B1 (en) A Locking System and Method Comprising Smart Phone Mobile Key
CN104851167A (en) Non-contact unlocking method and lock body device
CN103473832A (en) Electronic key registration system
CN109840975A (en) Remote authorization unlocking system and method without networking
CN107146307A (en) A kind of method of securely unlocking of intelligent lock system
CN101784049A (en) Method and system thereof for controlling cars through mobile terminal
CN103306546B (en) Coded lock based on radio communication controls method and system
CN106652117A (en) Method and system for enabling dynamic passwords to realize offline unlocking, mobile terminal and server
KR101534702B1 (en) Keyless entry system and control method for the same
WO2014036453A1 (en) One-way key fob and vehicle pairing verification, retention, and revocation
CN105459956A (en) Vehicle door unlocking control device and method and vehicle
CN102436686B (en) Method and device for locking or unlocking wireless radio frequency (RF) electronic lockset
CN101298817A (en) Lock body control device and method thereof
CN109326032B (en) Lock leasing method and leasing device applying same
KR200478030Y1 (en) A Remote Lock System using Wireless Communications
CN208429365U (en) A kind of locker and storage system
KR20220012909A (en) Configurable Access Controller and Related Systems, Methods and Devices
CN206961200U (en) A kind of safe and intelligent lock system
CN105096421A (en) Intelligent lock system and method thereof for automatically setting parameters through Bluetooth at short distance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130918

Assignee: Dongguan Shenglian Network Information Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980039406

Denomination of invention: Control Method and System of Password Lock Based on RF Communication

Granted publication date: 20160210

License type: Common License

Record date: 20230810

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130918

Assignee: Shenzhen Zhangchao Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980043397

Denomination of invention: Control Method and System of Password Lock Based on RF Communication

Granted publication date: 20160210

License type: Common License

Record date: 20231013

EE01 Entry into force of recordation of patent licensing contract