CN103306546B - Coded lock based on radio communication controls method and system - Google Patents

Coded lock based on radio communication controls method and system Download PDF

Info

Publication number
CN103306546B
CN103306546B CN201210067334.1A CN201210067334A CN103306546B CN 103306546 B CN103306546 B CN 103306546B CN 201210067334 A CN201210067334 A CN 201210067334A CN 103306546 B CN103306546 B CN 103306546B
Authority
CN
China
Prior art keywords
secret key
coded lock
terminal
defined algorithm
unlatching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210067334.1A
Other languages
Chinese (zh)
Other versions
CN103306546A (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

Abstract

A kind of coded lock control method based on radio communication, for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, comprise the following steps: coded lock upgrades according to predetermined period and pre-defined algorithm and stores opens secret key; Secret key terminal sends to coded lock unblank checking request and secret key of unblanking, and secret key of unblanking upgrades according to predetermined period and pre-defined algorithm; Coded lock response unblanks checking request, read open secret key, and will unblank secret key and open secret key compare, judge unblank secret key and open secret key whether consistent, if so, then driving unlocking mechanism unblank.Thus can realize between secret key terminal and coded lock, synchronously automatically can upgrading secret key, without the need to user's manual operation setup times.Improve safety and the convenience of coded lock.A kind of coded lock control system based on radio communication is provided in addition.

Description

Coded lock based on radio communication controls method and system
[technical field]
The present invention relates to coded lock to control, particularly relate to a kind of coded lock based on radio communication and control method and system.
[background technology]
Existing mechanical code lock or electronic type coded lock, operate comparatively loaded down with trivial details---and user needs to remember password artificially, and in order to security consideration, the unlatching password of coded lock needs regularly to change.This is that the poor people, particularly the elderly of memory brings great inconvenience.Secondly, when needs are unblanked, need user manually to input password, cause password easily to be revealed, there is certain potential safety hazard.
[summary of the invention]
Based on this, be necessary to provide a kind of and can reduce memory cipher burden and the coded lock control method based on radio communication without the need to manually inputting password.
Based on a coded lock control method for radio communication, for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, comprise the following steps:
Coded lock upgrades according to predetermined period and pre-defined algorithm and stores opens secret key;
Secret key terminal sends to coded lock unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm;
Unblank to verify request described in described coded lock response, read described unlatching secret key, and described secret key of unblanking compared with unlatching secret key, whether secret key of unblanking described in judgement is consistent with unlatching secret key, and if so, then driving unlocking mechanism is unblanked.
Preferably, also comprise:
Secret key terminal initiates synchronization request to coded lock, asks secret key terminal to upgrade unblank cycle of secret key and coded lock and upgrades the cycle synchronisation of opening secret key;
Coded lock responds described synchronization request, and sets up synchronous communication with secret key terminal and be connected.
Preferably, described coded lock responds described synchronization request, and sets up with secret key terminal the step that synchronous communication is connected and specifically comprise:
Coded lock sends the time threshold of internal timer to secret key terminal;
Secret key terminal according to the time threshold of the time threshold setting secret key terminal inner timer of the internal timer of coded lock, thus completes synchronous communication connection.
Preferably, the described coded lock control method based on radio communication also comprises:
Described coded lock is under the time threshold of internal timer drives, new unlatching secret key is generated according to described pre-defined algorithm, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock.
Preferably, the described coded lock control method based on radio communication also comprises:
Secret key terminal sends initialization requests to coded lock;
Current unlatching secret key and secret key generate pattern identification code is sent to secret key terminal after coded lock receives described initialization requests;
Described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the memory address of opening secret key is recorded in the address search table of corresponding pre-defined algorithm;
Preferably, described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the step memory address of opening secret key be recorded in the address search table of corresponding pre-defined algorithm comprises:
The memory address of opening secret key sends to secret key generate pattern to activate unit by described secret key terminal;
Described secret key generate pattern activates 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 address search table corresponding to pre-defined algorithm.
Preferably, the described coded lock control method based on radio communication also comprises:
After the described pre-defined algorithm corresponding with coded lock generates new secret key of unblanking, the address of recording in the described address search table of secret key corresponding to the described pre-defined algorithm corresponding with coded lock of unblanking newly, covers the old unlatching secret key that this address in described secret key memory cell is corresponding.
Preferably, described secret key terminal has multiple pre-defined algorithm, and the pre-defined algorithm in described coded lock is corresponding with the one in the multiple pre-defined algorithm in secret key terminal.
Preferably, the described coded lock control method based on radio communication also comprises: according to transmitting secret key request forwarding secret key between described secret key terminal and secret key terminal.
In addition, there is a need to provide a kind of and can reduce memory cipher burden and the coded lock control system based on radio communication without the need to manually inputting password.
Based on a coded lock control system for radio communication, for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, comprise coded lock and secret key terminal,
Described coded lock is used for upgrading according to predetermined period and pre-defined algorithm and storing opening secret key;
Described secret key terminal is used for sending to coded lock unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm;
Described coded lock also unblanks to verify request described in responding, and reads described unlatching secret key, and described secret key of unblanking is compared with unlatching secret key, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, and if so, then driving unlocking mechanism is unblanked.
Preferably, described secret key terminal, also for initiating synchronization request to coded lock, being asked secret key terminal to upgrade unblank cycle of secret key and coded lock and being upgraded the cycle synchronisation of opening secret key;
Described coded lock for responding described synchronization request, and is set up synchronous communication with secret key terminal and is connected.
Preferably, described coded lock is also for sending the time threshold of internal timer to secret key terminal;
Described secret key terminal also for the time threshold of the time threshold setting secret key terminal inner timer of the internal timer according to coded lock, thus completes synchronous communication connection.
Preferably, described coded lock is under the time threshold of internal timer drives, new unlatching secret key is generated according to described pre-defined algorithm, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock.
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 and coded lock secret key generation module and access control model calling, described coded lock secret key generation module is connected with 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 requests to coded lock;
Described coded lock transceiver module is for receiving described initialization requests and sending current unlatching secret key and secret key generate pattern identification code to secret key terminal;
Described secret key terminal transceiver module is for receiving described unlatching secret key and secret key generate pattern identification code;
Described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the memory address of opening secret key is recorded in the address search table of corresponding pre-defined algorithm;
Described secret key terminal timer synchronously drives the time threshold of secret key terminal for setting, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock;
Described secret key terminal transceiver module is also for sending the secret key of unblanking unblanking to verify request and current generation to coded lock;
Described access control module is compared with unlatching secret key according to checking request dual lock secret key of unblanking, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, if so, then drives unlocking mechanism to unblank.
Preferably, described secret key terminal secret key generation module comprises secret key memory cell, secret key generation unit and secret key generate pattern activation unit; Described secret key generate pattern activates unit and is connected with described secret key memory cell, and described secret key memory cell is connected with secret key generation unit, and described secret key terminal timer activates unit with secret key generate pattern and is connected;
Described secret key memory cell is for storing unlatching secret key, and the memory address of opening secret key sends to secret key generate pattern to activate unit by described secret key generation unit;
Described secret key generate pattern activates 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 address search table corresponding to pre-defined algorithm;
Described secret key generation unit is used for when internal timer reaches threshold value, generates new secret key of unblanking by activating the pre-defined algorithm corresponding with coded lock;
After the described pre-defined algorithm corresponding with coded lock generates new secret key of unblanking, the address of recording in the described address search table of secret key corresponding to the described pre-defined algorithm corresponding with coded lock of unblanking newly, covers the old unlatching secret key that this address in described secret key memory cell is corresponding;
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 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, under the time threshold of internal timer drives, generating new unlatching secret key according to described pre-defined algorithm;
Described coded lock memory module is for storing described unlatching secret key.
The above-mentioned coded lock control method based on radio communication can make coded lock and secret key terminal be formed to match initialized time, secret key terminal is enable to obtain unlatching secret key and the secret key generating algorithm of coded lock, thus can under the time threshold of internal timer drives, coded lock and secret key terminal synchronizes upgrade opens secret key, realization synchronously automatically can upgrade secret key, without the need to user's manual operation setup times between secret key terminal and coded lock.Improve safety and the convenience of coded lock.
[accompanying drawing explanation]
Fig. 1 is based on the flow chart of the coded lock control method of radio communication;
Fig. 2 (a) and Fig. 2 (b) is the structural representation of the coded lock control system based on radio communication;
Fig. 3 is the unlocking structure schematic diagram between coded lock and secret key terminal;
Fig. 4 is the mutual schematic diagram of secret key between secret key terminal.
[detailed description of the invention]
As shown in Figure 1, be an embodiment the coded lock based on radio communication control method flow diagram.The method of the present embodiment is used for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, specifically comprises the following steps:
Step S110, coded lock upgrades according to predetermined period and pre-defined algorithm and stores opens secret key.
Coded lock is the mechanical lock with control module, and control module is when verifying that secret key of unblanking is consistent with the unlatching secret key of coded lock storage inside, and instruction mechanical lock is unblanked.Store pre-defined algorithm in control module, and preset the time of pre-defined algorithm generation unlatching secret key, namely coded lock can upgrade unlatching secret key by predetermined period with pre-defined algorithm.Pre-defined algorithm and secret key generating algorithm, be generate the mode of opening secret key, pre-defined algorithm can generate different unlatching secret keys.Predetermined period is unlatching secret key cycle rise time that user is arranged, and such as, it is 24 hours that user arranges predetermined period, and so pre-defined algorithm was then just generating new unlatching secret key every 24 hours.
Secret key terminal is equivalent to the key opening coded lock.After setting up synchronous communication between secret key terminal palpus and coded lock, secret key terminal can generate according to the pre-defined algorithm corresponding with coded lock secret key of unblanking, and secret key of unblanking is that secret key terminal is used for opening coded lock, pre-defined algorithm and secret key generating algorithm.Because the pre-defined algorithm in coded lock is fixing, simultaneously with the predetermined period in coded lock for benchmark, the condition making secret key terminal can open coded lock is: the pre-defined algorithm of secret key terminal and consistent in coded lock, and predetermined period is synchronous with coded lock.
The step that synchronous communication set up by secret key terminal and coded lock is specially following two steps:
1. secret key terminal initiates synchronization request to coded lock, asks secret key terminal to upgrade unblank cycle of secret key and coded lock and upgrades the cycle synchronisation of opening secret key.
2. coded lock responds described synchronization request, and sets up synchronous communication with secret key terminal and be connected.
Above-mentionedly set up in the step of synchronous communication, namely secret key terminal sends synchronization request asks coded lock to send the predetermined period of coded lock to secret key terminal.Coded lock response synchronization request sends to secret key terminal by the predetermined period in coded lock, thus 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 with secret key terminal the step that synchronous communication is connected and specifically comprise:
1. coded lock sends the time threshold of internal timer to secret key terminal.
2. secret key terminal is according to the time threshold of the time threshold setting secret key terminal inner timer of the internal timer of coded lock, thus completes synchronous communication connection.
The time threshold of coded lock internal timer and predetermined period, coded lock internal timer carries out timing according to predetermined period, when timing reaches identical with predetermined period value, namely reaches time threshold, and the pre-defined algorithm in coded lock then generates new unlatching secret key.
After the time threshold of internal timer is sent to secret key terminal by coded lock, the time threshold of internal timer changes to consistent with the internal timer of coded lock by secret key terminal, therefore, secret key terminal is consistent with the predetermined period of coded lock, namely generate secret key of unblanking consistent with the Time And Frequency opening secret key, thus complete synchronous communication connection.
In the present embodiment, coded lock is under the time threshold of internal timer drives, the unlatching secret key new according to predetermined generation, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock.Concrete steps are: when the time of the internal timer of coded lock reaches threshold value, activate pre-defined algorithm and generate new unlatching secret key.
The time threshold of the internal timer of secret key terminal is corresponding with the threshold value of coded lock, when reaching threshold value, the activation pre-defined algorithm corresponding with coded lock is generated new unlatching secret key.
In the present embodiment, coded lock has unique and identical pre-defined algorithm with secret key terminal, thus only need predetermined period to be set to consistent and synchronous, just can realize unlatching secret key that coded lock generates and the secret key moment of unblanking that secret key terminal generates is consistent.
In a further embodiment, secret key terminal can store multiple different pre-defined algorithm, and each pre-defined algorithm can correspond to the unique pre-defined algorithm had in a coded lock.And under normal circumstances, the cycle of each pre-defined algorithm renewal secret key is not identical.Because the update cycle of different pre-defined algorithms is different, so corresponding in secret key terminal, there is several timers, be connected with corresponding secret key generation unit respectively.A kind of pre-defined algorithm is only had in coded lock, therefore, coded lock only needs the secret key generate pattern identification code of pre-defined algorithm to send to secret key terminal, informing that secret key terminal opens secret key algorithm used is which kind of algorithm in secret key terminal, in coded lock, correspondence only has a timer, the timer synchronization corresponding with secret key terminal.Coded lock is by sending secret key generate pattern identification code, make the pre-defined algorithm in secret key terminal identical with the pre-defined algorithm in coded lock, simultaneously, update time again can be synchronous, so the effect that coded lock and secret key terminal generate identical secret key can be realized simultaneously, accomplish the automation of secret key timing renewal rewards theory, completely transparent to user, improve the safety of coded lock.
Secret key terminal with set up between coded lock and communicate after, secret key terminal sends initialization requests to coded lock, and the pre-defined algorithm consistent with coded lock is determined in request, thus all consistent with coded lock with pre-defined algorithm in predetermined period, thus controls coded lock.
Coded lock sends current unlatching secret key and secret key generate pattern identification code to secret key terminal after receiving initialization requests.
The current unlatching secret key be stored in coded lock and secret key generate pattern identification code are sent to secret key terminal after receiving initialization requests by coded lock.Current unlatching secret key is used to the secret key of unblanking of authentication password interlocking receipts, secret key generate pattern identification code is used to mark pre-defined algorithm, in coded lock, pre-defined algorithm in secret key generate pattern identification code uniquely tagged coded lock, but in secret key terminal, store many algorithms, therefore, only have when the secret key generate pattern identification code of the algorithm in secret key terminal is with consistent in coded lock, this secret key terminal can control to open this coded lock.
Secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and be specially opening the memory address of secret key and being recorded in the address search table of corresponding pre-defined algorithm: select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, namely there is the algorithm of the secret key generate pattern identification code identical with coded lock, and the memory address of opening secret key is recorded in the address search table corresponding to pre-defined algorithm.
Open secret key and correspond to secret key access unit address, namely open the memory address of secret key.Open the content of secret key and correspond to the data that secret key memory cell stores.Store some pre-defined algorithms in secret key terminal, often kind of pre-defined algorithm, all with an address search table, have recorded in secret key memory cell the secret key memory address adopting this pre-defined algorithm to carry out secret key renewal in address search table.When pre-defined algorithm generates new secret key, new secret key is override corresponding secret key in secret key memory cell according to the memory address in the look-up table of address by secret key generation unit.
In the present embodiment, after secret key terminal receives and opens secret key and secret key generate pattern identification code, current unlatching secret key is stored, send to secret key generate pattern to activate unit in memory address this secret key simultaneously, it is in fact a multi channel selecting module that secret key generate pattern activates unit, it is according to the secret key generate pattern identification code from coded lock, select the path that corresponding with current unlatching secret key, this path is connected with the pre-defined algorithm corresponding to coded lock with secret key generation unit, then by this path, the memory address of current unlatching secret key is recorded in the address search table corresponding to pre-defined algorithm.
Step S120, secret key terminal sends to coded lock unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm.
Secret key terminal is when unblanking, and need to send to coded lock unblank checking request and secret key of unblanking, secret key of wherein unblanking upgrades according to predetermined period and pre-defined algorithm.In secret key terminal, store the pre-defined algorithm corresponding with coded lock, pre-defined algorithm is also upgrade by predetermined period.When the pre-defined algorithm in secret key terminal also upgrades by predetermined period, secret key of unblanking will be generated.Be connected owing to establishing synchronous communication between coded lock with secret key terminal, therefore, when the cycle is identical with algorithm, synchronously can generate corresponding unblank secret key and unlatching secret key.
Step S130, checking request of unblanking described in coded lock response, reads described unlatching secret key, and described secret key of unblanking is compared with unlatching secret key, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, if so, then drives unlocking mechanism to unblank.
After coded lock and secret key terminal establish a communications link, secret key terminal sends to coded lock checking request of unblanking, and sends the secret key of unblanking be stored in secret key terminal simultaneously.Coded lock makes response after receiving the checking request of unblanking from secret key terminal---and namely from coded lock memory cell, read current unlatching secret key, then contrast with the secret key from secret key terminal.If two secret keys are consistent, then send to access control module index signal of unblanking, drive unlocking mechanism to unblank; If two secret keys are inconsistent, then send miscue information to secret key terminal.
In the present embodiment, described secret key terminal has multiple pre-defined algorithm, and the pre-defined algorithm in described coded lock is corresponding with the one in the multiple pre-defined algorithm in secret key terminal.Only have a kind of pre-defined algorithm in coded lock, and have multiple pre-defined algorithm in secret key terminal, therefore, as long as there be the algorithm corresponding with coded lock just can control this coded lock in secret key terminal, thus a secret key terminal can control multiple coded lock.
In the present embodiment, to unblank secret key according to transmitting secret key request forwarding between secret key terminal and secret key terminal.Namely can also set up communication between secret key terminal, the secret key of unblanking stored be sent to other secret key terminal in secret key terminal.Owing to receiving the pre-defined algorithm in coded lock not corresponding with secret key of unblanking in the secret key terminal of secret key of unblanking, therefore, receive the secret key terminal of opening secret key and can not open secret key with coded lock synchronized update.
Based on above-mentioned all embodiments, the operating process of coded lock control method is as follows: initialize between coded lock and secret key terminal, namely the information and secret key generate pattern identification code of opening secret key will be passed to secret key terminal by coded lock, and secret key terminal realizes initialization procedure by preserving to open secret key and select to generate the pre-defined algorithm opening secret key according to secret key generate pattern identification code.After completing initialization between coded lock and secret key terminal, namely coded lock sets up complete synchronous communication with secret key terminal, and secret key terminal can control unlocking coded lock and locking.
Coded lock and secret key terminal are in initialized process, and the information and secret key generate pattern identification code of opening secret key are passed to secret key terminal by coded lock.Secret key terminal selects corresponding pre-defined algorithm according to secret key generate pattern identification code, and unlatching secret key is stored and memory address is recorded in the address search table corresponding to pre-defined algorithm.
After stating operation in realization, coded lock and secret key terminal under the driving of the time threshold of internal timer, can generate new unlatching secret key according to pre-defined algorithm.It is identical with a kind of pre-defined algorithm in secret key terminal that coded lock generates the pre-defined algorithm opening secret key, and therefore, when the time is identical, pre-defined algorithm generates identical unlatching secret key.
In the present embodiment, the information transmission between coded lock and secret key terminal is completed by radiofrequency signal.
In the present embodiment, as shown in Fig. 2 a and Fig. 2 b, it is the structural representation of the coded lock control system based on radio communication.
Coded lock control system bag coded lock 20 and secret key terminal 30.
Coded lock 20 opens secret key for upgrading according to predetermined period and pre-defined algorithm and storing.
Secret key terminal 30 for sending to coded lock 20 unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm.
Coded lock 20 also unblanks to verify request described in responding, and reads described unlatching secret key, and described secret key of unblanking is compared with unlatching secret key, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, and if so, then driving unlocking mechanism is unblanked.
In the present embodiment, secret key terminal 30, also for initiating synchronization request to coded lock 20, being asked secret key terminal 30 to upgrade unblank cycle of secret key and coded lock 20 and being upgraded the cycle synchronisation of opening secret key.
Coded lock 20 for responding described synchronization request, and is set up synchronous communication with secret key terminal 30 and is connected.
In the present embodiment, coded lock 20 is also for sending the time threshold of internal timer to secret key terminal 30.
Secret key terminal 30 also for the time threshold of time threshold setting secret key terminal 30 internal timer of the internal timer according to coded lock 20, thus completes synchronous communication connection.
In the present embodiment, coded lock 20 is under the time threshold of internal timer drives, new unlatching secret key is generated according to described pre-defined algorithm, secret key terminal 30 synchronously, under the time threshold of internal timer drives, generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock 20.
As shown in Figure 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.
As shown in Figure 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 for sending initialization requests to coded lock 20.
The initialization requests that coded lock transceiver module 210 sends to coded lock 20 for receiving secret key terminal 30, and send current unlatching secret key and secret key generate pattern identification code according to described initialization requests to secret key terminal 30.
Secret key terminal transceiver module 310 is for receiving described unlatching secret key and secret key generate pattern identification code.
In the present embodiment, between coded lock transceiver module 210 and secret key terminal transceiver module 310 by radiofrequency signal transmission of information.
Secret key terminal secret key generation module 320 for storing unlatching secret key, and selects the pre-defined algorithm corresponding with coded lock 20 according to secret key generate pattern identification code, and the memory address of opening secret key is recorded in the address search table of corresponding pre-defined algorithm.
Coded lock timer 230 drives the time threshold of coded lock 20 for setting, coded lock secret key generation module 220 under the time threshold of internal timer drives, generates new unlatching secret key according to pre-defined algorithm for coded lock 20.
Secret key terminal timer 330 synchronously drives the time threshold of secret key terminal 30 for setting, secret key terminal 30 synchronously, under the time threshold of internal timer drives, generates new the unblank secret key corresponding with coded lock according to the pre-defined algorithm corresponding with coded lock 20.
In the present embodiment, secret key terminal secret key generation module 320 comprises secret key memory cell 322, secret key generation unit 324 and secret key generate pattern activation 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 and secret key generate pattern activate unit 326 and be connected.
Secret key memory cell 322 is for storing unlatching secret key, and unlatching secret key memory address sends to secret key generate pattern to activate unit 326 by secret key generation unit 324.
Secret key generate pattern activates unit 326 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 address search table corresponding to pre-defined algorithm.
The activation pre-defined algorithm corresponding with coded lock 20, for when internal timer reaches threshold value, is generated new unlatching secret key by secret key generation unit 324.
In the present embodiment, secret key memory cell 322 generates new unlatching secret key for storing the described pre-defined algorithm corresponding with coded lock 20, and the recording address in address search table corresponding to locking according to the described pre-defined algorithm corresponding with coded lock 20, described unlatching secret key is newly covered the old secret key being in corresponding address in 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, under the time threshold driving of internal timer, generates new unlatching secret key according to pre-defined algorithm.
Coded lock memory cell 222 is for storing described unlatching secret key.
Secret key terminal transceiver module 310 is also for sending the unlatching secret key unblanking to verify request and current generation to coded lock 20.
Access control module 240 is compared with unlatching secret key according to checking request dual lock secret key of unblanking, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, if so, then drives unlocking mechanism to 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 set is identical, can generates identical unlatching secret key simultaneously, automatically upgrade therefore, it is possible to realize the synchronous of the unlatching secret key between coded lock with secret key terminal.
Based on above-described embodiment, as shown in Figure 3, be the unlocking structure schematic diagram between coded lock and secret key terminal.Set up after communicating between coded lock 20 with secret key terminal 30, secret key terminal 30 can send to coded lock 20 request unblanked by secret key terminal transceiver module 310, and send the secret key of unblanking being stored in secret key memory cell 322 simultaneously, after coded lock 20 receives the request unblanked and secret key of unblanking by coded lock transceiver module 210, the secret key of unblanking of the unlatching secret key stored in coded lock memory cell 222 and reception is compared by coded lock 20, and comparison result is sent to access control module 240, access control module 240 sends the order unblanked or do not unblank according to comparison result, wherein, comparison success then sends unlock command, comparison failure is sending the order do not unblanked.
As shown in Figure 4, be the mutual schematic diagram of the secret key between secret key terminal.After completing initialization between secret key terminal 30 and coded lock 20, in secret key terminal 30, store the unblank secret key corresponding with coded lock 20.Unlatching secret key can be transmitted between secret key terminal 30.Such as, secret key terminal sends the request of transmission secret key by secret key terminal transceiver module 310 to another secret key terminal, the unlatching secret key be stored in secret key memory cell 322 is passed to request secret key terminal after another secret key terminal receives secret key transmission request.Unlatching secret key is stored in secret key memory cell 322 after receiving and opening secret key by request secret key terminal.
The above-mentioned coded lock control method based on radio communication can make coded lock and secret key terminal be formed to match initialized time, secret key terminal is enable to obtain unlatching secret key and the pre-defined algorithm of coded lock, thus can under the time threshold of internal timer drives, coded lock and secret key terminal synchronizes upgrade opens secret key, realization synchronously automatically can upgrade secret key, without the need to user's manual operation setup times between secret key terminal and coded lock.Improve safety and the convenience of coded lock.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It 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 (14)

1., based on a coded lock control method for radio communication, for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, comprise the following steps:
Coded lock upgrades according to predetermined period and pre-defined algorithm and stores opens secret key;
Secret key terminal sends to coded lock unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm;
Unblank to verify request described in described coded lock response, read described unlatching secret key, and described secret key of unblanking compared with unlatching secret key, whether secret key of unblanking described in judgement is consistent with unlatching secret key, and if so, then driving unlocking mechanism is unblanked;
Pre-defined algorithm in coded lock is fixing, simultaneously with the predetermined period in coded lock for benchmark, the condition making secret key terminal can open coded lock is: the pre-defined algorithm of secret key terminal and consistent in coded lock, and predetermined period is synchronous with coded lock;
The multiple different pre-defined algorithm of secret key terminal storage, a kind of in multiple pre-defined algorithm can correspond to the unique pre-defined algorithm had in a coded lock;
The described coded lock control method based on radio communication also comprises:
Secret key terminal sends initialization requests to coded lock;
Current unlatching secret key and secret key generate pattern identification code is sent to secret key terminal after coded lock receives described initialization requests;
Described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the memory address of opening secret key is recorded in the address search table of corresponding pre-defined algorithm.
2. the coded lock control method based on radio communication according to claim 1, is characterized in that, also comprise:
Secret key terminal initiates synchronization request to coded lock, asks secret key terminal to upgrade unblank cycle of secret key and coded lock and upgrades the cycle synchronisation of opening secret key;
Coded lock responds described synchronization request, and sets up synchronous communication with secret key terminal and be connected.
3. the coded lock control method based on radio communication according to claim 2, it is characterized in that, described coded lock responds described synchronization request, and sets up with secret key terminal the step that synchronous communication is connected and specifically comprise:
Coded lock sends the time threshold of internal timer to secret key terminal;
Secret key terminal according to the time threshold of the time threshold setting secret key terminal inner timer of the internal timer of coded lock, thus completes synchronous communication connection.
4. the coded lock control method based on radio communication according to claim 3, is characterized in that, the described coded lock control method based on radio communication also comprises:
Described coded lock is under the time threshold of internal timer drives, new unlatching secret key is generated according to described pre-defined algorithm, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock.
5. the coded lock control method based on radio communication according to claim 1, it is characterized in that, described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the step memory address of opening secret key be recorded in the address search table of corresponding pre-defined algorithm comprises:
The memory address of opening secret key sends to secret key generate pattern to activate unit by described secret key terminal;
Described secret key generate pattern activates 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 address search table corresponding to pre-defined algorithm.
6. the coded lock control method based on radio communication according to claim 5, is characterized in that, the described coded lock control method based on radio communication also comprises:
After the described pre-defined algorithm corresponding with coded lock generates new secret key of unblanking, the address of recording in the described address search table of secret key corresponding to the described pre-defined algorithm corresponding with coded lock of unblanking newly, covers the old unlatching secret key that this address in described secret key memory cell is corresponding.
7. the coded lock control method based on radio communication according to claim 1 to 6 any one, it is characterized in that, described secret key terminal has multiple pre-defined algorithm, and the pre-defined algorithm in described coded lock is corresponding with the one in the multiple pre-defined algorithm in secret key terminal.
8. the coded lock control method based on radio communication according to claim 1 to 6 any one, it is characterized in that, the described coded lock control method based on radio communication also comprises: according to transmitting secret key request forwarding secret key between described secret key terminal and secret key terminal.
9. based on a coded lock control system for radio communication, for being unblanked and lock-in control to coded lock by secret key terminal in the coding lock system comprising secret key terminal and coded lock, it is characterized in that, comprising coded lock and secret key terminal,
Described coded lock is used for upgrading according to predetermined period and pre-defined algorithm and storing opening secret key;
Described secret key terminal is used for sending to coded lock unblank checking request and secret key of unblanking, described in secret key of unblanking upgrade according to described predetermined period and pre-defined algorithm;
Described coded lock also unblanks to verify request described in responding, and reads described unlatching secret key, and described secret key of unblanking is compared with unlatching secret key, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, and if so, then driving unlocking mechanism is unblanked;
Pre-defined algorithm in coded lock is fixing, simultaneously with the predetermined period in coded lock for benchmark, the condition making secret key terminal can open coded lock is: the pre-defined algorithm of secret key terminal and consistent in coded lock, and predetermined period is synchronous with coded lock;
The multiple different pre-defined algorithm of secret key terminal storage, a kind of in multiple pre-defined algorithm can correspond to the unique pre-defined algorithm had in a coded lock;
Described secret key terminal comprises secret key terminal transceiver module, and described coded lock comprises coded lock transceiver module;
Described secret key terminal transceiver module is used for sending initialization requests to coded lock;
Described coded lock transceiver module is for receiving described initialization requests and sending current unlatching secret key and secret key generate pattern identification code to secret key terminal;
Described secret key terminal transceiver module is for receiving described unlatching secret key and secret key generate pattern identification code;
Described secret key terminal stores after receiving described unlatching secret key and secret key generate pattern identification code and opens secret key, and select the pre-defined algorithm corresponding with coded lock according to secret key generate pattern identification code, and the memory address of opening secret key is recorded in the address search table of corresponding pre-defined algorithm.
10. the coded lock control system based on radio communication according to claim 9, it is characterized in that, described secret key terminal, also for initiating synchronization request to coded lock, being asked secret key terminal to upgrade unblank cycle of secret key and coded lock and being upgraded the cycle synchronisation of opening secret key;
Described coded lock for responding described synchronization request, and is set up synchronous communication with secret key terminal and is connected.
The 11. coded lock control systems based on radio communication according to claim 10, is characterized in that, described coded lock is also for sending the time threshold of internal timer to secret key terminal;
Described secret key terminal also for the time threshold of the time threshold setting secret key terminal inner timer of the internal timer according to coded lock, thus completes synchronous communication connection.
The 12. coded lock control systems based on radio communication according to claim 11, it is characterized in that, described coded lock is under the time threshold of internal timer drives, new unlatching secret key is generated according to described pre-defined algorithm, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock.
The 13. coded lock control systems based on radio communication according to claim 9, it is characterized in that, described coded lock also comprises coded lock secret key generation module, coded lock timer and access control module, described coded lock transceiver module and coded lock secret key generation module and access control model calling, described coded lock secret key generation module is connected with coded lock timer;
Described secret key terminal comprises secret key terminal secret key generation module, secret key terminal timer, and 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 timer synchronously drives the time threshold of secret key terminal for setting, described secret key terminal synchronizes ground, under the time threshold of internal timer drives, generates new the unblank secret key corresponding with coded lock according to the described pre-defined algorithm corresponding with coded lock;
Described secret key terminal transceiver module is also for sending the secret key of unblanking unblanking to verify request and current generation to coded lock;
Described access control module is compared with unlatching secret key according to checking request dual lock secret key of unblanking, and whether secret key of unblanking described in judgement is consistent with unlatching secret key, if so, then drives unlocking mechanism to unblank.
The 14. coded lock control systems based on radio communication according to claim 13, is characterized in that, described secret key terminal secret key generation module comprises secret key memory cell, secret key generation unit and secret key generate pattern and activates unit; Described secret key generate pattern activates unit and is connected with described secret key memory cell, and described secret key memory cell, secret key generate pattern activate unit and be connected with secret key generation unit, and described secret key terminal timer activates unit with secret key generate pattern and is connected;
Described secret key memory cell is for storing unlatching secret key, and the memory address of opening secret key sends to secret key generate pattern to activate unit by described secret key generation unit;
Described secret key generate pattern activates 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 address search table corresponding to pre-defined algorithm;
Described secret key generation unit is used for when internal timer reaches threshold value, generates new secret key of unblanking by activating the pre-defined algorithm corresponding with coded lock;
After the described pre-defined algorithm corresponding with coded lock generates new secret key of unblanking, the address of recording in the described address search table of secret key corresponding to the described pre-defined algorithm corresponding with coded lock of unblanking newly, covers the old unlatching secret key that this address in described secret key memory cell is corresponding;
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 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, under the time threshold of internal timer drives, generating new unlatching secret key according to described pre-defined algorithm;
Described coded lock memory module is for storing described unlatching secret key.
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 CN103306546A (en) 2013-09-18
CN103306546B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN103306546A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
US8971857B2 (en) Communication system, communication method, and portable machine
US11189117B2 (en) Method and system for controlling a smart lock
CN115190482A (en) Vehicle door lock state synchronization method, server and synchronization system based on mobile phone screen
KR101733453B1 (en) A Locking System and Method Comprising Smart Phone Mobile Key
CN109586915A (en) Automobile no-key controls authentication method, user terminal, car-mounted device and server
CN103763107A (en) Intelligent household appliance system secret key control method and intelligent household appliance system
CN109840975A (en) Remote authorization unlocking system and method without networking
CN104050742A (en) Intelligent door and control method and system thereof
CN103306546B (en) Coded lock based on radio communication controls method and system
CN104851167A (en) Non-contact unlocking method and lock body device
CN105551118A (en) Electronic key opening access control method, and apparatus and system thereof
CN104282061B (en) Unlocking method for safety intelligent lock system
CN101784049A (en) Method and system thereof for controlling cars through mobile terminal
US10706649B2 (en) Dual card programming for access control system
JP6717793B2 (en) Car sharing system and car sharing device
CN105046796A (en) Unlocking control method, device and system for electronic lock
KR101534702B1 (en) Keyless entry system and control method for the same
CN104052817A (en) Intelligent door and intelligent door control method and system
CN104484918A (en) NFC-based Android intelligent door lock opening method
CN105459956A (en) Vehicle door unlocking control device and method and vehicle
CN111768517A (en) Door lock control system, method and device of logistics object management device and electronic equipment
CN104217481B (en) A kind of door lock of optical cable cross system
CN109326032B (en) Lock leasing method and leasing device applying same
KR101599055B1 (en) a locking control apparatus using a password
CN204010103U (en) A kind of door lock of optical cable cross system

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
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