CN104727658B - Smart lock, Intelligent key and its control method and device - Google Patents

Smart lock, Intelligent key and its control method and device Download PDF

Info

Publication number
CN104727658B
CN104727658B CN201510037901.2A CN201510037901A CN104727658B CN 104727658 B CN104727658 B CN 104727658B CN 201510037901 A CN201510037901 A CN 201510037901A CN 104727658 B CN104727658 B CN 104727658B
Authority
CN
China
Prior art keywords
smart lock
intelligent key
checking
ciphertext data
signal
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.)
Expired - Fee Related
Application number
CN201510037901.2A
Other languages
Chinese (zh)
Other versions
CN104727658A (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.)
HUNAN YINBAO TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
HUNAN YINBAO TECHNOLOGY DEVELOPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HUNAN YINBAO TECHNOLOGY DEVELOPMENT Co Ltd filed Critical HUNAN YINBAO TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201510037901.2A priority Critical patent/CN104727658B/en
Publication of CN104727658A publication Critical patent/CN104727658A/en
Application granted granted Critical
Publication of CN104727658B publication Critical patent/CN104727658B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of smart lock, Intelligent key and its control method and device, wherein, the control method of smart lock includes:Checking plaintext sequence is generated, and checking plaintext sequence is sent to Intelligent key;The first ciphertext data that Intelligent key sends are received, the first ciphertext data are that Intelligent key is generated to verifying that plaintext sequence is encrypted calculating according to itself No. ID;Verified with Intelligent key ID identicals ID and checking plaintext sequence pair the first ciphertext data according in smart lock;After passing through to the first ciphertext data verification, the mechanical door lock of the smart lock is opened.Technical scheme is verified according to the unlocking to carry out smart lock and Intelligent key as checking using corresponding No. ID unique with Intelligent key, it is possible to increase the safety verified to Intelligent key by smart lock.

Description

Smart lock, Intelligent key and its control method and device
Technical field
The present invention relates to smart lock technical field, more specifically, is related to smart lock, Intelligent key and its control method And device.
Background technology
Intelligent lock system is the high-tech for facing the future based on the advanced technology such as computer technology and network service Product, is mainly used in the application scenarios such as bank's security protection, video monitoring, signal light control, electrically driven curtain control, video doorbell.
At present, the intelligent lock system in market mainly has intelligent card door lock system, fingerprint gate lock system, coding lock system.This Although a little door lock forms are different, its operation principle is essentially identical, is all being unlocked by recognizing the method for key.Example Such as:Intelligent card door lock system needs to carry smart card and swipes the card the key of entrance, but smart card is easily damaged and loss, causes Its safety is reduced;Though fingerprint gate lock system need not carry with key, have the disadvantage discrimination than relatively low, and need fingerprint Identity person gathers in person fingerprint and can just unlock, cumbersome, if while the fingerprint of other people obtain Fingerprint Identity person, will very Fingerprint gate lock is opened easily;Coding lock system needs user to remember that password can just be unlocked, and user easily forgets Password, therefore Requirement to user is higher, and password is easily stolen takes password, reduces the safety of coding lock system.
PKE (Passive Keyless Entry, keyless entry) smart lock is a kind of keyless access system, earliest Using on superior automobile door-locking system, and can compatible mechanical formula key door-opening mode, which passes through identification and to specified range Interior Intelligent key is verified to realize the switch of the mechanical door lock to smart lock.
But in prior art in PKE intelligent lock systems, in the unlocking proof procedure of smart lock and Intelligent key, to intelligence The checking foundation of key is often unique, therefore in unlocking proof procedure, smart lock easily carries out mistake to illegality equipment and tests The mechanical door lock of card and unlatching smart lock, so as to greatly reduce the safety of intelligent door lock.
In sum, how to improve the safety verified to Intelligent key by smart lock becomes current this area skill Art personnel technical problem urgently to be resolved hurrily.
The content of the invention
It is an object of the invention to provide a kind of control program of smart lock, to solve the existing skill described in background technology In art, to checking in the unlocking proof procedure of Intelligent key, according to not, uniquely, the smart lock for bringing easily carries out mistake and tests smart lock Card, the problem for causing safety to reduce.
In order to solve above-mentioned technical problem, the present invention provides following technical scheme:
The invention provides a kind of control method of smart lock, the smart lock is built-in with least one identification mark No. ID, methods described includes:
Checking plaintext sequence is generated, and the checking plaintext sequence is sent to Intelligent key;Receive the Intelligent key to send out The the first ciphertext data sent, the first ciphertext data are that the Intelligent key verifies plaintext sequence to described according to itself No. ID Row are encrypted calculating and generate;According to bright with the ID identicals ID of the Intelligent key and the checking in the smart lock Described in literary sequence pair, the first ciphertext data are verified;After passing through to the first ciphertext data verification, the intelligence is opened The mechanical door lock of lock.
Preferably, it is described checking is carried out to the first ciphertext data to include:According in the smart lock with the intelligence The ID identicals ID of key are encrypted calculating to the checking plaintext sequence and generate the second ciphertext data, and described second is close Literary data are identical with the first ciphertext data encryption computing mechanism;By the first ciphertext data and the second ciphertext data It is compared;When the first ciphertext data are identical with the second ciphertext data, the first ciphertext data verification is determined Pass through.
Preferably, the checking plaintext sequence is random data.
Preferably, also included before checking plaintext sequence is generated:Corresponding wake-up signal is generated according to No. ID for reading And broadcast wakeup signals, the wake-up signal carries No. ID of the smart lock;The Intelligent key feedback that reception is waken up Checking enabling signal, No. ID of the Intelligent key is carried in the checking enabling signal, it is described checking enabling signal by institute State that Intelligent key determined in the wake-up signal No. ID produces when identical with No. ID of the Intelligent key itself;Test when described Card enabling signal entrained by No. ID it is identical with No. ID of the smart lock when, perform it is described generate checking plaintext sequence step Suddenly.
Preferably, it is described to generate corresponding wake-up signal broadcast wakeup signals according to No. ID read, including:Read successively Take No. ID of the smart lock;According to reading order broadcast and No. ID corresponding wake-up signal of described No. ID;Work as reception To Intelligent key send checking enabling signal when, the wake-up signal of going off the air.
A kind of control method of Intelligent key is also proposed according to the second aspect of the invention, and the Intelligent key has body Part identification marking ID, methods described includes:Receive the checking plaintext sequence that smart lock sends;Known according to the identity of Intelligent key Not Biao Shi No. ID to it is described checking plaintext sequence be encrypted calculating generate the first ciphertext data;Send described to the smart lock First ciphertext data so that the smart lock using No. ID corresponding with the Intelligent key and it is described checking plaintext sequence pair The first ciphertext data are verified, and after being verified, open the mechanical door lock of the smart lock.
Preferably, also include:The wake-up signal that the smart lock sends is received, the wake-up signal carries the smart lock No. ID;Judge No. ID entrained by the wake-up signal it is whether identical with No. ID of the Intelligent key;Letter is waken up when described When No. ID entrained by number is identical with the Intelligent key self ID number, checking enabling signal is sent to the smart lock, it is described Checking enabling signal carries No. ID of the Intelligent key.
A kind of control device of smart lock is also proposed according to the third aspect of the invention we, and the smart lock is built-in with least One identification identifies No. ID, and described device includes:Signal generating unit, for generating checking plaintext sequence;First transmitting element, For sending the checking plaintext sequence to Intelligent key;First receiving unit, for receive that the Intelligent key sends the One ciphertext data, the first ciphertext data are that the Intelligent key is carried out to the checking plaintext sequence according to itself No. ID Computations are generated;Authentication unit, for according in the smart lock with ID identicals ID of the Intelligent key and described First ciphertext data described in checking plaintext sequence pair are verified;Opening unit, for when to the first ciphertext data verification By rear, the mechanical door lock of the smart lock is opened.
Preferably, the authentication unit is specifically included:Computation subunit, for according in the smart lock with the intelligence The ID identicals ID of key are encrypted calculating to the checking plaintext sequence and generate the second ciphertext data, and described second is close Literary data are identical with the first ciphertext data encryption computing mechanism;Comparing subunit, for close by receive described first Literary data are compared with the second ciphertext data;Determination subelement, for when the first ciphertext data and described second When ciphertext data are identical, determine that the first ciphertext data verification passes through.
Preferably, the checking plaintext sequence is random data.
Preferably, the signal generating unit, is additionally operable to generate corresponding wake-up signal, the control dress according to No. ID for reading Putting also includes:Second transmitting element, for broadcast wakeup signals, the wake-up signal carries No. ID of the smart lock;Second Receiving unit, for receiving the checking enabling signal of the Intelligent key feedback, carries the intelligence in the checking enabling signal Can No. ID of key, the checking enabling signal determines No. ID in the wake-up signal with the intelligence by the Intelligent key No. ID of key itself produces when identical;Judging unit, for judging No. ID of the smart lock with the checking enabling signal Whether entrained No. ID be identical, when No. ID entrained by the checking enabling signal is identical with No. ID of the smart lock, Checking plaintext sequence is generated by the signal generating unit.
Preferably, the signal generating unit is specifically for being successively read No. ID of the smart lock, according to the reading of described No. ID Order is taken, is generated and the wake-up signal according to described No. ID;Second transmitting element is believed specifically for broadcasting described wake-up Number and in described calling out of when second receiving unit receives the checking enabling signal that the Intelligent key sends, going off the air Awake signal.
A kind of control device of Intelligent key is also proposed according to the fourth aspect of the invention, and the Intelligent key has body Part identification marking ID, described device includes:First receiving unit, for receiving the checking plaintext sequence of smart lock transmission;It is raw Into unit, for No. ID according to the Intelligent key, calculating is encrypted to the checking plaintext sequence and generates the first ciphertext Data;First transmitting element, for sending the first ciphertext data to the smart lock so that the smart lock using with institute State Intelligent key corresponding No. ID and the first ciphertext data described in the checking plaintext sequence pair are verified, and it is logical in checking Later, open the mechanical door lock of the smart lock.
Preferably, also include:Second receiving unit, for receiving the wake-up signal that the smart lock sends, the wake-up Signal carries No. ID of the smart lock;Judging unit, for judging No. ID entrained by the wake-up signal with the intelligence Whether No. ID of key be identical;Second transmitting element, for the ID entrained by the wake-up signal is judged when the judging unit When number identical with No. ID of the Intelligent key, checking enabling signal is sent to the smart lock, the checking enabling signal is taken With the Intelligent key No. ID.
A kind of smart lock is proposed according to the fifth aspect of the invention also, including:Integrated circuit IC-card, is provided with identification Mark ID, the smart lock is carried out corresponding by described No. ID with the Intelligent key;IC-card draw-in groove, the IC-card are pluggable Be arranged in the IC-card draw-in groove;And, such as the control device of the smart lock described in above-mentioned any one technical scheme.
A kind of Intelligent key is also proposed according to the sixth aspect of the invention, including:Identification identifies No. ID, the body Part identification marking ID is corresponding with No. ID in the smart lock, every that Intelligent key is had unique No. ID, the intelligence Key is corresponding with smart lock by described No. ID;And, such as the control of the Intelligent key described in above-mentioned any one technical scheme Device processed.
Can be drawn by the above-mentioned course of work, the present invention provide smart lock control program, by using with intelligence The unique corresponding identification of key identifies No. ID as checking foundation to realize unlocking checking of the smart lock to Intelligent key.Together When according to the sent with Intelligent key ID identicals ID and the checking plaintext sequence pair Intelligent key for generating in smart lock One ciphertext data are verified so that smart lock only carries out unlocking checking to ID identicals Intelligent key, prevents to other intelligence Can key carry out unlocking checking, and then avoid the mechanical door lock of fault open smart lock, so as to improve the safety of smart lock Property, wherein, the identification ID of each Intelligent key is different from the identification ID of other Intelligent key.Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, for those of ordinary skills, do not paying creative work Property on the premise of, can be obtaining other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the control method of the smart lock shown in an exemplary embodiment of the invention;
Fig. 2 is a kind of flow chart of the cryptogram validation method shown in an exemplary embodiment of the invention;
Fig. 3 is the flow chart of the control method of another kind of smart lock shown in an exemplary embodiment of the invention;
Fig. 4 is a kind of flow chart of the awakening method shown in an exemplary embodiment of the invention;
Fig. 5 is a kind of flow chart of the control method of the Intelligent key shown in an exemplary embodiment of the invention;
Fig. 6 is a kind of flow chart of the awakening method of the Intelligent key shown in an exemplary embodiment of the invention;
Fig. 7 is a kind of structure chart of the control device of the smart lock shown in an exemplary embodiment of the invention;
Fig. 8 is a kind of structure chart of the authentication unit shown in an exemplary embodiment of the invention;
Fig. 9 is a kind of structure chart of the control device of the smart lock shown in an exemplary embodiment of the invention;
Figure 10 is a kind of structure chart of the control device of the Intelligent key shown in an exemplary embodiment of the invention;
Figure 11 is a kind of structure chart of the control device of the Intelligent key shown in an exemplary embodiment of the invention;
Figure 12 is a kind of hardware frame figure of the intelligent lock system shown in an exemplary embodiment of the invention;
Figure 13 is a kind of structural representation of many card read module circuit boards of IC shown in an exemplary embodiment of the invention;
Figure 14 is the anti-interference schematic diagram of wireless many Intelligent key shown in an exemplary embodiment of the invention;
Figure 15 is that the smart lock of an exemplary embodiment of the invention combines topological diagram with Intelligent key more.
Specific embodiment
The control program of smart lock provided in an embodiment of the present invention, solves the smart lock and intelligence described in background technology Can unlock in key identification process checking checking according to unique, the smart lock for bringing easily carries out errors validity, causes peace The problem that full property is reduced.
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real Apply the above-mentioned purpose of example, feature and advantage can become apparent from it is understandable, below in conjunction with the accompanying drawings to the technology in the embodiment of the present invention Scheme is described in further detail.
Accompanying drawing 1 is refer to, Fig. 1 is a kind of flow process of the control method of the smart lock shown in an exemplary embodiment of the invention Figure.The control method of smart lock provided in an embodiment of the present invention, it is adaptable to be built-in with the smart lock that identification identifies No. ID, such as Shown in Fig. 1, the control method of the smart lock includes:
Step S110, generates checking plaintext sequence, and sends the checking plaintext sequence to Intelligent key.
The checking plaintext sequence can be random data or rolling code, to improve the safety of unlocking proof procedure, For example:Checking plaintext sequence can have predetermined length scope by a string that smart lock is produced according to the identification marking of itself Random number sequences, and by this random number sequences, local zone time and smart lock identification marking of itself etc. according to certain party Formula is combined into checking plaintext sequence, is sent to Intelligent key, and checking is identified for which.Wherein it is possible to be believed using high frequency Number send it is described checking plaintext sequence.
Step S120, receives the first ciphertext data that the Intelligent key sends.
First ciphertext data are the checking plaintext sequence that the Intelligent key is sent to the smart lock according to self ID number It is encrypted calculating to generate, Intelligent key is identical with the calculating encryption mechanism of smart lock in the process.
Step S130, according to close with the ID identicals ID of Intelligent key and checking plaintext sequence pair first in smart lock Literary data are verified.
Multiple No. ID may be preserved in smart lock, due to smart lock using with the ID identicals ID of Intelligent key with And checking plaintext sequence pair the first ciphertext data that smart lock itself is generated are verified, as aforementioned intelligent is locked and Intelligent key Computations mechanism it is identical, therefore, can successfully to the by using identical ID and identical checking plaintext sequence One ciphertext data are verified.
Step S140, after passing through to the first ciphertext data verification, opens the mechanical door lock of smart lock.
The control method of the smart lock that the present embodiment is provided, by using with the unique corresponding identification mark of Intelligent key No. ID is known as checking according to verifying come the unlocking for carrying out smart lock and Intelligent key, verify in ensure that unlocking proof procedure The uniqueness of foundation.Smart lock is according to No. ID ciphertext number sent to Intelligent key of itself and Intelligent key ID identicals simultaneously According to being verified, it is ensured that smart lock is merely able to enter No. ID ciphertext data sent with smart lock ID identicals Intelligent key The correct checking of unlocking of row, prevents from carrying out unlocking checking, caused mistake from No. ID different illegality equipment in smart lock to No. ID Open the situation of mechanical door lock, so as to substantially increase the safety of smart lock, wherein each Intelligent key No. ID and other No. ID of any one Intelligent key is different.
Preferably, the checking plaintext sequence that smart lock is generated in embodiment illustrated in fig. 1 can be random data.
Alternatively, verifying that plaintext sequence can be randomly generated, being sent by intercepting and capturing the Intelligent key when there is illegality equipment The first ciphertext data, then forward the first ciphertext data to smart lock, gain smart lock by cheating and open the mechanical door lock of itself When, as previous smart lock carried out checking of unlocking to Intelligent key, therefore smart lock will be different by regenerating First ciphertext data of the above-mentioned illegality equipment forwarding of checking plaintext sequence pair are verified.Due to the checking plaintext sequence for regenerating Arrange different from the checking plaintext sequence used by the first ciphertext data that illegality equipment is intercepted and captured, therefore smart lock will be illegally set to this Standby authentication failed, opens the probability of smart lock so as to reduce illegality equipment.Simultaneously when smart lock receives other intelligent keys During the ciphertext data that spoon sends, use different from the first ciphertext data when ciphertext data are generated due to other Intelligent key Checking plaintext sequence, the Intelligent key will not be interfered, therefore be verified using different checking plaintext sequences Different Intelligent key can be distinguished, so as to improve the safety of checking.
Fig. 2 is a kind of flow chart of the cryptogram validation method shown in an exemplary embodiment of the invention.As shown in Fig. 2 should Method may comprise steps of:
Step S210, according to No. ID corresponding with the Intelligent key in the smart lock to the checking plaintext sequence It is encrypted calculating and generates the second ciphertext data.
Wherein, the second ciphertext data are identical with the first ciphertext data encryption computing mechanism.
Step S220, the first ciphertext data are compared with the second ciphertext data.
If the first ciphertext data are identical with the second ciphertext data, show that the Intelligent key for sending the first ciphertext data is tested Demonstrate,prove successfully;, whereas if the first ciphertext data are differed with the second ciphertext data, then show the intelligence to sending the first ciphertext data Can key authentication failure.
Step S230, when the first ciphertext data are identical with the second ciphertext data, determines first ciphertext Data verification passes through.
In an exemplary embodiment of the invention, smart lock can write the first ciphertext data in the IC-card of itself, and And, using No. ID of IC-card as No. ID inside smart lock, unlocking checking is carried out to Intelligent key using this No. ID, when checking is led to Later, unlocking operation will be carried out by the main control module inside smart lock, smart lock is driven by using high power DC driven signal The dead bolt of dynamic mechanical door lock is opening mechanical door lock.
Smart lock can be designed using many draw-in grooves, while arranging multiple IC-cards.The main control module of smart lock is total by serial Line is read and writen operation to multiple IC-cards.This design can allow smart lock to increase to IC-card in the case of not power-off Operation is deleted, and when IC-card is modified, the corresponding relation of the new Intelligent key of generation accurately and timely, and without the need for restarting Smart lock.
The control method of the smart lock that the present embodiment is provided, as the first ciphertext data are that Intelligent key uses the ID of itself Number to verify plaintext sequence be encrypted calculating generate, the second ciphertext data are by smart lock using the ID phases with the Intelligent key With No. ID and identical computations mechanism calculating is encrypted to the checking plaintext sequence and is generated, therefore smart lock can be with By judging whether the first ciphertext data are identical with the second ciphertext data, to determine whether the first ciphertext data are verified, from And realize carries out unlocking checking to specific Intelligent key, it is ensured that the uniqueness of checking foundation, smart lock is substantially increased Safety.Additionally, the first ciphertext data can use irreversible AES with the second ciphertext data, obtain so as to prevent The illegality equipment for getting the ciphertext data is decrypted.
Certainly, as a kind of exemplary embodiment, smart lock can also be using reversible AES to Intelligent key Verified, for example, the first ciphertext data are decrypted with operation by using No. ID with Intelligent key identical, judge decryption Whether checking plaintext sequence afterwards identical with the checking plaintext sequence that this smart lock is generated, checking plaintext sequence after decryption and When the checking plaintext sequence of this smart lock generation is identical, judgement is verified to the Intelligent key.
Fig. 3 is refer to, Fig. 3 is the control method of another kind of smart lock according to an exemplary embodiment of the invention Flow chart.Such as Fig. 3, the method comprise the steps:
Step S310, broadcast wakeup signals.
The wake-up signal is to be generated according to No. ID that the smart lock reads, and the wake-up signal carries the smart lock No. ID, by broadcasting the wake-up signal within the specific limits so that receive the wake-up signal Intelligent key judge should Whether No. ID in wake-up signal be identical with this Intelligent key No. ID, and when No. ID identical, Intelligent key enters normal work Make state and checking enabling signal is sent to smart lock.Wherein, wake-up signal can be low frequency signal, be beneficial to saving electric energy, Low frequency signal has certain Decay Rate simultaneously, can work as when Intelligent key is entered in the range of certain distance and search the intelligence Key.
Step S320, the checking enabling signal of the Intelligent key feedback that reception is waken up.
No. ID of the Intelligent key is carried in the checking enabling signal of Intelligent key feedback, because may include in smart lock Many No. ID, by the feedback checking enabling signal of No. ID comprising the Intelligent key, smart lock can be self-contained more This No. ID is found in individual No. ID, to enter into the unlocking Qualify Phase to Intelligent key;In one exemplary embodiment, intelligence After interlocking receives checking enabling signal, search and ID identicals ID of the Intelligent key from possible multiple No. ID immediately Number, when identical ID is found, start follow-up unlocking proof procedure immediately.
Step S330, when No. ID entrained by the checking enabling signal is identical with No. ID of the smart lock, performs It is described to generate the step of verifying plaintext sequence.
Smart lock containing the wake-up signal of self ID number by broadcast packet, can wake up No. ID it is a certain with the smart lock ID identical Intelligent key.Simultaneously by receiving the checking enabling signal for including self ID number that Intelligent key feeds back, make Smart lock can find ID identicals ID with the Intelligent key in all No. ID for itself being included, so that recognize should Intelligent key, beneficial to carry out it is follow-up ID identicals Intelligent key is carried out unlocking checking the step of.
Fig. 4 is a kind of flow chart of the awakening method shown in an exemplary embodiment of the invention, for being built-in with least one The smart lock of individual No. ID, as shown in figure 4, the method comprises the steps:
Step S410, No. ID be successively read in smart lock.
Step S420, according to the reading order of described No. ID, generates the wake-up signal according to described No. ID.
In smart lock No. ID there may be it is multiple, by generate according to the reading order of No. ID in smart lock and broadcast with No. ID corresponding wake-up signal, the confusion of order when being prevented from waking up Intelligent key, for example:Smart lock can be using inside Low frequency sending module, send poll wake-up signal periodically with to enter into can be in range of receiving Intelligent key carry out ID and recognize Card.
Step S430, broadcasts the wake-up signal and when the checking enabling signal that the Intelligent key sends is received, Go off the air the wake-up signal.
As an exemplary embodiment of the invention:Smart lock receives the ID phases with a certain wake-up signal in the given time After the checking enabling signal that corresponding Intelligent key sends, the wake operation to other Intelligent key will be stopped, to prevent intelligence Lock carries out unlocking checking to other Intelligent key;It is corresponding with No. ID of a certain wake-up signal when not receiving in the given time During the checking enabling signal that Intelligent key sends, wake-up signal will be resend.So as to ensure every a pair of smart locks with intelligent key The wireless communication of spoon will not be disturbed, and then to ensure the real-time and accuracy of Intelligent key enabling.
In the awakening method that the present invention is provided, generate and wide within a predetermined range according to the reading order of No. ID of smart lock Wake-up signal is broadcast, order is chaotic when being prevented from waking up Intelligent key, while starting in the checking for receiving Intelligent key transmission During signal, the wake-up signal gone off the air including this smart lock ID can carry out unlocking to the Intelligent key in smart lock and test During card, it is to avoid receive other Intelligent key and be waken up transmission checking enabling signal, and then the unlocking to above-mentioned Intelligent key is tested Card process is interfered, wherein will restart the operation of broadcast wakeup signals, or root after verifying to the Intelligent key Need to choose whether to restart broadcast wakeup signals according to user.
Fig. 5 is a kind of flow chart of the control method of the Intelligent key according to an exemplary embodiment of the invention, institute State Intelligent key and be built-in with identification mark ID, as shown in figure 5, the control method of the Intelligent key includes:
Step S510, receives the checking plaintext sequence that smart lock sends.
Step S520, is encrypted calculating to the checking plaintext sequence according to No. ID of Intelligent key and generates the first ciphertext Data.
Intelligent key is encrypted calculating to generate first ciphertext data to verifying plaintext sequence according to itself No. ID, its The encryption computing method of middle Intelligent key is identical with the encryption computing method of smart lock, at the same smart lock by using with the intelligence Key identical ID verified to the first ciphertext data, ensure that the ability after being verified to corresponding Intelligent key Open the mechanical door lock of the smart lock.
Step S530, sends the first ciphertext data to the smart lock so that the smart lock using with the intelligence The ID identicals ID of energy key and the first ciphertext data described in the checking plaintext sequence pair are verified, and are led in checking Later, open the mechanical door lock of the smart lock.
As an exemplary embodiment of the invention, when Intelligent key receives the checking plaintext sequence that the smart lock sends When, read itself No. ID, according to smart lock identical cryptographic operation order flow process, to verify plaintext sequence be encrypted meter Calculate, and generate ciphertext sequence;Smart lock is combined according to the set protocol format of communicating pair (i.e. smart lock and Intelligent key) The first ciphertext data are passed through in the form of protocol massages by the ciphertext sequence and Intelligent key ID with obtaining the first ciphertext data Send RF high-frequency signals and feed back to smart lock.Smart lock receives the first ciphertext number of feedback by the RF high frequencies transceiver module of itself According to being decrypted analysis, according to corresponding IC-card operational order, the first ciphertext data write into IC-card, directly in IC-card Verification operation is decrypted, after being verified, the main control module by the smart lock unlocking operation is carried out into.
In an embodiment of the present invention, Intelligent key is encrypted calculating to verifying plaintext sequence by itself No. ID, To generate the first ciphertext data, ensure that the first ciphertext data and itself No. ID is associated, i.e., with Intelligent key itself It is associated, it is ensured that the corresponding uniqueness of ciphertext data and the Intelligent key.Meanwhile, smart lock is merely able to use and the Intelligent key ID identicals ID could carry out correct verification to the first ciphertext data, it is therefore prevented that smart lock using with other intelligent keys The ID identicals ID of spoon carry out verifying the probability that can pass through to the ciphertext data so that smart lock is merely able to the intelligence Can key correctly unlocked verification operation, so as to substantially increase the safety of checking of unlocking to Intelligent key.
Fig. 6 is a kind of flow chart of the awakening method of the Intelligent key shown in an exemplary embodiment of the invention, such as Fig. 6 institutes Showed before the checking plaintext sequence that smart lock sends is received, also include:
Step S610, receives the wake-up signal that the smart lock sends.
Wake-up signal carries No. ID of the smart lock, therefore in the wake-up signal No. ID can be verified.
Step S620, judge No. ID entrained by the wake-up signal it is whether identical with No. ID of the Intelligent key.
Step S630, when No. ID entrained by the judgement wake-up signal is identical with the Intelligent key self ID number, Checking enabling signal is sent to the smart lock.
The checking enabling signal includes No. ID of the Intelligent key, when No. ID in wake-up signal and Intelligent key itself No. ID it is identical when, Intelligent key will be waken up enter into unlock checking stage, then start to smart lock send include The checking enabling signal of the Intelligent key ID, so that stage of the smart lock also into checking of unlocking.
Intelligent key is capable of identify that by receiving the wake-up signal for including No. ID in the smart lock that smart lock sends Whether this No. ID identical with No. ID of Intelligent key itself, so as to recognize the smart lock corresponding with the Intelligent key, while After recognizing smart lock corresponding with the Intelligent key, by sending the checking enabling signal for including self ID number, to tell No. ID of smart lock this Intelligent key, so that smart lock can find the intelligence in all No. ID for itself being included Key ID identicals ID, to recognize the Intelligent key, unlock to the ID identical Intelligent key beneficial to follow-up The step of checking.
Fig. 7 is a kind of structure chart of the control device of the smart lock shown in an exemplary embodiment of the invention, the intelligence Lock is built-in with least one identification and identifies No. ID, and the control device includes:
Signal generating unit 110, for generating checking plaintext sequence.
First transmitting element 120, for sending the checking plaintext sequence to Intelligent key.
The checking plaintext sequence can be random data or rolling code, to improve the safety of unlocking proof procedure, For example:The a string random digit sequences with predetermined length scope that can be produced according to the identification marking of itself by the smart lock Row, and the ID by this random number sequences, local zone time and smart lock etc. is combined into checking plaintext sequence according to ad hoc fashion Row are sent to Intelligent key, so that the Intelligent key is identified checking.Wherein it is possible to use strong antijamming capability and transmission distance High-frequency signal away from come send it is described checking plaintext sequence.
First receiving unit 130, for receiving the first ciphertext data that the Intelligent key sends.
First ciphertext data are the checking plaintext sequence that the Intelligent key is sent to the smart lock according to self ID number It is encrypted calculating to generate, Intelligent key is identical with the calculating encryption mechanism of smart lock in the process.
Authentication unit 140, for according in the smart lock with the ID identicals ID of the Intelligent key and described test First ciphertext data described in proving literary sequence pair are verified.
Multiple No. ID may be preserved in smart lock, due to smart lock using with the ID identicals ID of Intelligent key with And checking plaintext sequence pair the first ciphertext data that smart lock itself is generated are verified, simultaneously because smart lock and Intelligent key Computations mechanism it is identical, therefore, can successfully to first by using identical ID and identical checking plaintext sequence Ciphertext data are verified.
Opening unit 150, for, after the authentication unit passes through to the first ciphertext data verification, opening the intelligence The mechanical door lock that can be locked.
The control device of the smart lock that the present embodiment is provided, by using with the unique corresponding identification mark of Intelligent key No. ID is known as checking according to verifying come the unlocking for carrying out smart lock and Intelligent key, verify in ensure that unlocking proof procedure The uniqueness of foundation.Simultaneously ID identical ID of the smart lock according to itself with Intelligent key Intelligent key is sent first Ciphertext data carry out unlocking checking, it is ensured that smart lock be merely able to No. ID with smart lock ID identicals Intelligent key send Ciphertext data carry out correct checking of unlocking, it is therefore prevented that carry out unlocking with No. ID illegality equipment for differing of smart lock to No. ID and test The situation for opening mechanical door lock is opened by mistake caused by card, so as to substantially increasing the safety of smart lock, wherein each Intelligent key No. ID different from other any one Intelligent key No. ID.
Fig. 8 is a kind of structure chart of the authentication unit shown in an exemplary embodiment of the invention, and the authentication unit 140 is wrapped Include:
Computation subunit 1401, for according in the smart lock with Intelligent key ID identicals ID to described Checking plaintext sequence is encrypted calculating and generates the second ciphertext data.
Second ciphertext data are identical with the first ciphertext data encryption computing mechanism, because the second ciphertext data and first When ciphertext data are all to be encrypted calculating using identical ID and identical checking plaintext sequence to produce, the machine of computations System is also identical, so the second ciphertext data will be identical with the first ciphertext data.
Comparing subunit 1402, for the first ciphertext data are compared with the second ciphertext data.
If the first ciphertext data are identical with the second ciphertext data, illustrate that the first ciphertext data for receiving are the ID Number with smart lock ID identicals Intelligent key send;, whereas if the first ciphertext data are differed with the second ciphertext data, So illustrate that the first ciphertext data are not described No. ID and are sent with smart lock ID identicals Intelligent key, hereby it is ensured that opening The safety of lock checking.
Determination subelement 1403, for when the first ciphertext data are identical with the second ciphertext data, determining institute State the first ciphertext data verification to pass through.
In an exemplary embodiment of the invention, smart lock can be written to the first ciphertext data in the IC-card of itself, And, using No. ID corresponding with Intelligent key in IC-card as No. ID in smart lock, Intelligent key is carried out using this No. ID Unlocking and verifying, after being verified, unlocking operation will be carried out by the main control module inside smart lock, smart lock is by using Gao Gong The dead bolt of rate direct current driving machine tool door lock opens mechanical door lock.
The control device of the smart lock that the present embodiment is provided, as the first ciphertext data are that Intelligent key uses the ID of itself Number to verify plaintext sequence be encrypted calculating generate, the second ciphertext data are by smart lock using identical with Intelligent key No. ID No. ID generate to verifying that plaintext sequence is encrypted calculating, therefore smart lock can be by judging the first ciphertext data and second Whether ciphertext data are identical, to determine whether the first ciphertext data are verified, it is achieved thereby that to specific Intelligent key Carry out unlocking checking, it is ensured that the uniqueness of checking foundation, substantially increase the safety of smart lock.Additionally, the first ciphertext number Irreversible AES can be used according to the second ciphertext data, so as to prevent other from getting illegally setting for the ciphertext data It is standby to be decrypted.
During verifying to Intelligent key, the checking plaintext sequence can be random data.
Alternatively, verify that plaintext sequence can be randomly generated, when have that illegality equipment intercepts and captures that the Intelligent key sends the One ciphertext data, then forward the first ciphertext data to smart lock, gain the feelings that smart lock opens the mechanical door lock of itself by cheating During condition, as previous smart lock carried out checking of unlocking to Intelligent key, therefore smart lock will regenerate different testing Prove that the first ciphertext data that literary sequence pair illegality equipment is intercepted and captured are verified.Due to the checking plaintext sequence that regenerates with The checking plaintext sequence used during the first ciphertext data genaration that illegality equipment lock is intercepted and captured is different, therefore, smart lock will be to non- Method device authentication fails, and the probability of smart lock is opened so as to reduce illegality equipment.Simultaneously when smart lock receives other intelligence During the ciphertext data that energy key sends, as the ciphertext data that other Intelligent key are generated are used not with the first ciphertext data Same checking plaintext sequence, will not be interfered to the Intelligent key, therefore be tested using different checking plaintext sequences Card can distinguish different Intelligent key, so as to improve the safety of checking of unlocking.
Fig. 9 is a kind of structure chart of the control device of the smart lock shown in an exemplary embodiment of the invention, such as Fig. 9 institutes Show, the control device of the smart lock also includes in addition to the unit of the embodiment shown in Fig. 7:
Second transmitting element 160, for broadcast wakeup signals.
The wake-up signal is to be generated according to No. ID that the smart lock reads, and the wake-up signal carries the smart lock No. ID, by broadcasting the wake-up signal within a predetermined range, so as to receive the Intelligent key of the wake-up signal to judge Whether No. ID in the wake-up signal be identical with this Intelligent key No. ID, and when No. ID identical, Intelligent key will be into normally Working condition and to smart lock send checking enabling signal.Wherein, wake-up signal can be low frequency signal, be beneficial to energy-saving Electricity, while low frequency signal has certain Decay Rate, can work as to search when Intelligent key is entered in the range of certain distance and be somebody's turn to do Intelligent key.
Second receiving unit 170, for receiving the checking enabling signal of the Intelligent key feedback being waken up.
No. ID of the Intelligent key is carried in the checking enabling signal of Intelligent key feedback, because may include in smart lock Many No. ID, by the feedback checking enabling signal of No. ID comprising Intelligent key, smart lock can be at possible multiple No. ID In find this No. ID, to enter into the Qualify Phase to Intelligent key;In one exemplary embodiment, smart lock is received and is tested After card enabling signal, search and the ID identicals ID of the Intelligent key from possible multiple No. ID immediately, when finding During identical ID, start follow-up unlocking verification operation immediately.
Comparing unit 180, for No. ID of the comparison smart lock with No. ID entrained by the checking enabling signal, when When No. ID of smart lock is identical with No. ID entrained by checking enabling signal, performs signal generating unit 110 and generate checking plaintext sequence Deng the operation of follow-up checking of unlocking.
Smart lock contains the wake-up signal of self ID number by broadcast packet, can wake up a certain No. ID in No. ID and smart lock Identical Intelligent key, while the checking for including self ID number fed back by receiving the Intelligent key being waken up starts letter Number so that smart lock can be found in all No. ID for itself being included and Intelligent key ID identicals ID, with The Intelligent key is identified, beneficial to carrying out the follow-up process that unlocking checking is carried out to ID identicals Intelligent key.
In the control device of the smart lock shown in Fig. 9, the signal generating unit 110, for being successively read the smart lock No. ID, according to the reading order of described No. ID, the wake-up signal is generated according to described No. ID.
In smart lock No. ID there may be it is multiple, by generate according to the reading order of No. ID in smart lock and broadcast with No. ID corresponding wake-up signal, the confusion of order when being prevented from waking up Intelligent key, for example:Smart lock can be used Internal low frequency sending module, send poll wake-up signal periodically with to enter into can be in range of receiving Intelligent key carry out ID certifications.
Second transmitting element 160 is used to broadcast the wake-up signal and receive testing for the Intelligent key transmission During card enabling signal, the wake-up signal of going off the air.
As an exemplary embodiment of the invention:It is right with No. ID of a certain wake-up signal that smart lock is received in the given time After the checking enabling signal of the Intelligent key answered, the wake operation to other Intelligent key will be stopped, smart lock is prevented to which He carries out unlocking checking by Intelligent key;When not receiving No. ID corresponding intelligence with a certain wake-up signal in the given time During the checking enabling signal that key sends, wake-up signal will be resend.So as to ensure every a pair of smart locks with Intelligent key Wireless communication will not be disturbed, and then to ensure the real-time and accuracy of Intelligent key enabling.
Generate according to the reading order of No. ID of smart lock and broadcast wakeup signals within a predetermined range, be prevented from wake-up During Intelligent key order cause confusion, while receive Intelligent key transmission checking enabling signal when, go off the air including The wake-up signal that smart lock ID, can be when the smart lock be identified checking to the Intelligent key, it is to avoid receive which The checking enabling signal that his Intelligent key sends, and then the identification proof procedure to above-mentioned Intelligent key interferes.Wherein, when Rear smart lock is verified to the Intelligent key and will restart the flow process of broadcast wakeup signals, or need to select according to user Whether broadcast wakeup signals are restarted.
Figure 10 is a kind of structure chart of the control device of the Intelligent key shown in an exemplary embodiment of the invention, the intelligence Energy key is built-in with identification and identifies No. ID, and methods described includes:
First receiving unit 210, for receiving the checking plaintext sequence of smart lock transmission.
Signal generating unit 220, for being encrypted calculating to the checking plaintext sequence according to the Intelligent key No. ID Generate the first ciphertext data.
Intelligent key generates first ciphertext data with this to verifying that plaintext sequence is encrypted calculating according to itself No. ID, Wherein the encryption computing method of Intelligent key and the encryption computing method of smart lock are identical, at the same smart lock by using with intelligence Key identical ID, identical checking plaintext sequence pair the first ciphertext data are verified, be ensure that to corresponding Intelligent key could open the mechanical door lock of the smart lock after being verified.
First transmitting element 230, for sending the first ciphertext data to the smart lock, so that the intelligent Lock Lee With with the Intelligent key ID identicals ID and it is described checking plaintext sequence pair described in the first ciphertext data verified, and After being verified, the mechanical door lock of the smart lock is opened.
As one example embodiment of the present invention, when Intelligent key receives the checking plaintext sequence of smart lock transmission When, read itself No. ID, according to smart lock identical cryptographic operation order flow process, to verify plaintext sequence be encrypted meter Calculate, and generate ciphertext sequence;Smart lock is combined according to the set protocol format of communicating pair (i.e. smart lock and Intelligent key) The first ciphertext data are passed through in the form of protocol massages by the ciphertext sequence and Intelligent key ID with obtaining the first ciphertext data Send RF high-frequency signals and feed back to smart lock.Smart lock receives the first ciphertext number of feedback by the RF high frequencies transceiver module of itself According to being decrypted analysis, according to corresponding IC-card operational order, write the first ciphertext data, be directly decrypted in IC-card Main control module by the smart lock, after being verified, is started unlocking operation by verification operation.
In an embodiment of the present invention, Intelligent key is encrypted calculating to verifying plaintext sequence by itself No. ID, To generate the first ciphertext data, ensure that the first ciphertext data and itself No. ID is associated, i.e., with Intelligent key itself It is associated, so as to ensure the corresponding uniqueness of ciphertext data and the Intelligent key.Meanwhile, smart lock is merely able to use and the intelligence The ID identicals ID of key could carry out correct verification to the first ciphertext data, it is therefore prevented that smart lock using with other intelligence No. ID probability are verified by the first ciphertext data of ID identicals of energy key so that smart lock is merely able to right The Intelligent key is correctly unlocked verification operation, so as to substantially increase the safety of checking of unlocking to Intelligent key.
Figure 11 is a kind of structure chart of the control device of the Intelligent key shown in an exemplary embodiment of the invention, such as Figure 11 It is shown, including:
Second receiving unit 240, for receiving the wake-up signal that the smart lock sends, the wake-up signal carries described No. ID in smart lock.
Due to No. ID that carries smart lock in wake-up signal, therefore in the wake-up signal No. ID can be verified.
Judging unit 250, for No. ID of the Intelligent key whether to judge No. ID entrained by the wake-up signal It is identical.
Second transmitting element 260, for judging No. ID entrained by the wake-up signal and institute when the judging unit 250 State No. ID of Intelligent key it is identical when, send checking enabling signal to the smart lock, the checking enabling signal includes described No. ID of Intelligent key.
The checking enabling signal includes No. ID of the Intelligent key, when No. ID in wake-up signal and Intelligent key itself No. ID it is identical when, Intelligent key will be waken up enter into checking unlock stage, then start to smart lock send include The checking enabling signal of the Intelligent key ID, so that the stage that smart lock is unlocked also into checking.
Intelligent key is capable of identify that this by receiving the wake-up signal for including No. ID in the smart lock that smart lock is broadcasted Whether No. ID identical with Intelligent key self ID number, so as to recognize smart lock corresponding with the Intelligent key, while recognizing After smart lock corresponding with this Intelligent key, by sending the checking enabling signal for including self ID number, to tell smart lock No. ID of the Intelligent key, so that smart lock can be searched in all No. ID for itself being included and Intelligent key ID Number identical ID, to recognize the Intelligent key, beneficial to carry out it is follow-up checking carried out to the Intelligent key unlock the step of.
As an exemplary embodiment of the invention, it is also proposed that a kind of structure of smart lock (not marking in figure), including:Extremely A few integrated circuit IC-card, is built-in with identification and identifies No. ID, and the smart lock passes through described No. ID with the intelligent key Spoon carries out correspondence;Also include at least one IC-card draw-in groove, the IC-card is arranged in the IC-card draw-in groove pluggablely;And such as The control device of the smart lock described in any of the above-described embodiment.
Figure 12 is the hardware frame figure of the intelligent lock system shown in an exemplary embodiment of the invention, as shown in figure 12, should Intelligent lock system is made up of smart lock and Intelligent key two parts, wherein,
Smart lock at least includes that main control module, low frequencies module, RF high frequency transceiver modules, DC driven module, IC are more Card read module and power module, wherein, power module accesses 220V civil powers, and DC driven module is receiving the smart lock During the DC driven signal that main control module sends, to dead bolt executor sending signal opening the mechanical door lock of smart lock.
Intelligent key at least includes control module, RF high-frequency transceivers, low frequency reception module, triaxial antennas, No. ID reading Module and battery.
In embodiment shown in Figure 12, smart lock is as follows with the interaction flow of Intelligent key:
The low frequencies module of smart lock is responsible for periodically sending low-frequency wake-up signal to Intelligent key, to entering Intelligent key that can be in range of receiving carries out ID certifications.No. ID included when the wake-up signal is identical with Intelligent key No. ID When, Intelligent key will be waken up.
The low frequency reception module of Intelligent key is responsible for receiving low-frequency wake-up signal that smart lock sends, and is called out according to this No. ID included in awake signal is identified, and wakes up the Intelligent key control module of itself into normal work after being identified by Make state.
After Intelligent key enters into normal operating conditions, the first step first passes through the RF high-frequency transceivers of itself to smart lock Checking enabling signal is sent, form such as " ID+0x31+0x33+CRC of 1C1F+ Intelligent key ", notifies that with this smart lock is carried out The process of unlocking checking.After smart lock receives checking enabling signal, No. ID of Intelligent key is matched immediately, by smart lock The many card read modules of IC to being read and writen operation with No. ID corresponding IC-card in the smart lock.Grasped according to IC-card Order, after write " GET CHALLENGE " order, smart lock is returned by the random data generator in itself main control module One string length is the random number sequences of 6 to 18, and the main control module of smart lock is by this random number sequences, local zone time, intelligence ID etc. can be locked carries out the combination of ad hoc fashion, is combined into checking plaintext sequence, passes through RF high frequency transceiver modules according to clear-text way It is sent to Intelligent key.
The RF high-frequency transceivers of Intelligent key receive the checking plaintext sequence that smart lock sends, and read corresponding No. ID, root According to the cryptographic operation order flow process of known No. ID, calculating is encrypted to the checking plaintext sequence, generates ciphertext sequence;Intelligence The control module of key combines No. ID of the ciphertext sequence and the Intelligent key with life according to the set protocol format of communicating pair The first ciphertext data are fed back in the form of protocol massages by the first ciphertext data of Cheng Xin by the RF high-frequency transceivers of itself To smart lock.
Smart lock receives the first ciphertext data of feedback by internal RF high frequencies transceiver module, and to the first ciphertext number According to decryption is analyzed, according to the operational order of above known corresponding IC-card, first ciphertext is write into itself IC-card Data, are directly decrypted verification operation in IC-card, after being verified, many card read modules of IC by smart lock are notified master Control module to carry out unlocking operation, specifically, master control module controls DC driven module is directly believed using high power DC current Number driving dead bolt executor to open the mechanical door lock of the smart lock.
Wherein, the structure of many card read modules of IC in smart lock is as shown in figure 13, including:Communication interface 1304, and An IC-card can be placed in multiple IC-card draw-in grooves 1305, wherein each IC-card draw-in groove.The IC is more, and card read module can pass through Its internal communication interface 1304 respectively with DC driven module 1301,1303 phase of RF high frequencies transceiver module 1302 and main control module Even.As the smart lock is designed using many IC-card draw-in grooves, and due to an IC-card being provided with each IC-card draw-in groove (in figure Do not mark), therefore, the main control module 1303 of the smart lock can be by communicating with the connected universal serial bus of interface 1304 to many Open IC-card to be read out and write operation, the design of this multiple IC-card draw-in groove can allow smart lock in the case of not power-off to IC Card carries out additions and deletions operation, and when IC-card is modified, the accurately and timely corresponding relation of the Intelligent key of real estate tissue regeneration promoting, and need not Restarting smart lock.
Wherein, Intelligent key can be using AS3932 as low frequency reception module, and the chip can receive the low frequency of 125K Pumping signal, and adopt triaxial antennas to guarantee to receive low-frequency wake-up signal in any angle.
The RF high frequencies transceiver module of the RF high-frequency transceivers and smart lock of Intelligent key can adopt microprocessor CC1110F32, CC1110F32 are a low-power consumption of American TI Company, and broadband, the RF transceiving chips of integrated 51 kernel are somebody's turn to do Chip is also with the AES encryption/decryption kernel of 128.
Figure 14 is the anti-interference schematic diagram of wireless many Intelligent key shown in an exemplary embodiment of the invention, such as Figure 14 institutes Show, in this embodiment, smart lock is corresponding No. ID to each IC-card generation in itself multiple IC-card draw-in groove, according to single line Journey mode order sends wake-up signal, when receiving the checking enabling signal of corresponding Intelligent key feedback in the given time, The wake operation to other Intelligent key will be stopped.This design can ensure that each pair key will not phase with the wireless communication locked Mutually disturb, so as to ensure that the real-time and accuracy of Intelligent key unlocking checking.
Figure 15 is that the smart lock of an exemplary embodiment of the invention combines topological diagram with Intelligent key more.Such as Figure 15 institutes Show that design of the smart lock with Intelligent key by " combining more ", as smart lock can be designed using many IC-card draw-in grooves, can be inserted Enter multiple IC-cards, while multiple different No. ID can be derived on every of smart lock IC-card so that smart lock can be only Using an IC-card, by No. ID corresponding with multiple Intelligent key on the IC-card, it is possible to realize and different intelligent keys Spoon carries out correspondence;And same IC-card can be may be replicated when dispatching from the factory, it is placed on other smart locks, it is so above-mentioned many Can be with many correspondences for the smart lock with identical IC-card being completed combination in any Intelligent key.Designed using many IC-card draw-in grooves Smart lock simultaneously can support multiple IC-cards, therefore more Intelligent key can be supported, and then can adapt to various occasions Using, and the management of Intelligent key is only needed to complete as plugging SIM cards of mobile phones.Therefore above-mentioned design is a kind of Unusual simply and easily intelligent key management mode.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiments.
Invention described above embodiment, does not constitute limiting the scope of the present invention.It is any in the present invention Spirit and principle within modification, equivalent and the improvement made etc., should be included within the scope of the present invention.

Claims (12)

1. a kind of control method of smart lock, it is characterised in that the smart lock is built-in with least one identification mark ID Number, methods described includes:
Checking plaintext sequence is generated, and the checking plaintext sequence is sent to Intelligent key;
The first ciphertext data that the Intelligent key sends are received, the first ciphertext data are the Intelligent key according to itself No. ID to it is described checking plaintext sequence be encrypted calculating generate;
The according in the smart lock with the ID identicals ID of the Intelligent key and the checking plaintext sequence pair One ciphertext data are verified;
After passing through to the first ciphertext data verification, the mechanical door lock of the smart lock is opened;
Methods described also includes:
Corresponding wake-up signal is generated according to No. ID for reading, and broadcasts the wake-up signal, the wake-up signal carries described No. ID of smart lock;
The checking enabling signal of the Intelligent key feedback is received, the ID of the Intelligent key in the checking enabling signal, is carried Number, the checking enabling signal determines No. ID in the wake-up signal with the Intelligent key itself by the Intelligent key No. ID produces when identical;
When No. ID entrained by the checking enabling signal is identical with No. ID of the smart lock, performs described generation and verify bright The step of literary sequence.
2. the control method of smart lock according to claim 1, it is characterised in that described that the first ciphertext data are entered Row checking, including:
The checking plaintext sequence is encrypted according to the ID identicals ID in the smart lock with the Intelligent key Calculate and generate the second ciphertext data, the second ciphertext data are identical with the first ciphertext data encryption computing mechanism;
The first ciphertext data are compared with the second ciphertext data;
When the first ciphertext data are identical with the second ciphertext data, determine that the first ciphertext data verification passes through.
3. the control method of smart lock according to claim 1, it is characterised in that the checking plaintext sequence is random number According to.
4. the control method of smart lock according to claim 1, it is characterised in that described according to No. ID read generation phase The wake-up signal answered, and broadcast wakeup signals include:
No. ID be successively read in the smart lock;
According to the reading order of described No. ID, the wake-up signal is generated according to described No. ID;
Broadcast the wake-up signal and when the checking enabling signal that the Intelligent key sends is received, described calling out of going off the air Awake signal.
5. a kind of control method of Intelligent key, it is characterised in that there is the Intelligent key identification to identify No. ID, described Method includes:
The wake-up signal that the smart lock sends is received, the wake-up signal carries No. ID of the smart lock;
Judge No. ID entrained by the wake-up signal it is whether identical with No. ID of the Intelligent key;
When No. ID entrained by the wake-up signal is identical with No. ID of the Intelligent key, sends to the smart lock and verify Enabling signal, the checking enabling signal carry No. ID of the Intelligent key;
Receive the checking plaintext sequence that smart lock sends;
No. ID is identified according to the identification of Intelligent key, calculating is encrypted to the checking plaintext sequence and is generated the first ciphertext Data;
The first ciphertext data are sent to the smart lock, so that the smart lock is using corresponding with the Intelligent key No. ID and the first ciphertext data described in the checking plaintext sequence pair are verified, and after being verified, open the intelligence The mechanical door lock of lock.
6. a kind of control device of smart lock, it is characterised in that the smart lock is built-in with least one identification mark ID Number, described device includes:
Signal generating unit, for generating checking plaintext sequence;
First transmitting element, for sending the checking plaintext sequence to Intelligent key;
First receiving unit, for receiving the first ciphertext data that the Intelligent key sends, the first ciphertext data are institute State Intelligent key and calculating generation is encrypted to the checking plaintext sequence according to itself No. ID;
Authentication unit, for according in the smart lock with the ID identicals ID of the Intelligent key and it is described checking plaintext sequence Row are verified to the first ciphertext data;
Opening unit, for, after passing through to the first ciphertext data verification, opening the mechanical door lock of the smart lock;
The signal generating unit is additionally operable to generate corresponding wake-up signal according to No. ID for reading, and described device also includes:
Second transmitting element, for broadcasting the wake-up signal, the wake-up signal carries No. ID of the smart lock;
Second receiving unit, for receiving the checking enabling signal of the Intelligent key feedback, takes in the checking enabling signal With the Intelligent key No. ID, the checking enabling signal by the Intelligent key determine No. ID in the wake-up signal with No. ID of the Intelligent key itself produces when identical;
Whether judging unit, No. ID for judging the smart lock are identical with No. ID entrained by the checking enabling signal, When No. ID entrained by the checking enabling signal is identical with No. ID of the smart lock, is generated by the signal generating unit and verified Plaintext sequence.
7. the control device of smart lock according to claim 6, it is characterised in that the authentication unit is specifically included:
Computation subunit, for according to bright to the checking with the ID identicals ID of the Intelligent key in the smart lock Literary sequence is encrypted calculating and generates the second ciphertext data, and the second ciphertext data are calculated with the first ciphertext data encryption Mechanism is identical;
Comparing subunit, for the first ciphertext data are compared with the second ciphertext data;
Determination subelement, for when the first ciphertext data are identical with the second ciphertext data, determining that described first is close Literary data verification passes through.
8. the control device of smart lock according to claim 6, it is characterised in that the checking plaintext sequence is random number According to.
9. the control device of smart lock according to claim 6, it is characterised in that the signal generating unit is specifically for successively No. ID in the smart lock is read, and according to the reading order of described No. ID, the wake-up signal is generated according to described No. ID;
Second transmitting element is specifically for broadcasting the wake-up signal and described in receive when second receiving unit During the checking enabling signal that Intelligent key sends, the wake-up signal of going off the air.
10. a kind of control device of Intelligent key, it is characterised in that there is the Intelligent key identification to identify No. ID, institute Stating device includes:
First receiving unit, for receiving the checking plaintext sequence of smart lock transmission;
Signal generating unit, for No. ID according to the Intelligent key, is encrypted calculating to the checking plaintext sequence and generates the One ciphertext data;
First transmitting element, for sending the first ciphertext data to the smart lock so that the smart lock using with institute State Intelligent key corresponding No. ID and the first ciphertext data described in the checking plaintext sequence pair are verified, and it is logical in checking Later, open the mechanical door lock of the smart lock;
Described device also includes:
Second receiving unit, for receiving the wake-up signal that the smart lock sends, the wake-up signal carries the smart lock No. ID;
Judging unit, for judge No. ID entrained by the wake-up signal it is whether identical with No. ID of the Intelligent key;
Second transmitting element, for when No. ID entrained by the judging unit judgement wake-up signal and the Intelligent key No. ID it is identical when, send checking enabling signal to the smart lock, the checking enabling signal carries the Intelligent key No. ID.
11. a kind of smart locks, it is characterised in that include:
Integrated circuit IC-card, is provided with identification and identifies No. ID, and the smart lock passes through described No. ID with the Intelligent key Carry out correspondence;
IC-card draw-in groove, the IC-card are arranged in the IC-card draw-in groove pluggablely;
And, the control device of the smart lock as described in any one of claim 6-9.
12. a kind of Intelligent key, it is characterised in that include:
No. ID corresponding No. ID is identified with the identification in the smart lock;
And, the control device of Intelligent key as claimed in claim 10.
CN201510037901.2A 2015-01-26 2015-01-26 Smart lock, Intelligent key and its control method and device Expired - Fee Related CN104727658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510037901.2A CN104727658B (en) 2015-01-26 2015-01-26 Smart lock, Intelligent key and its control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510037901.2A CN104727658B (en) 2015-01-26 2015-01-26 Smart lock, Intelligent key and its control method and device

Publications (2)

Publication Number Publication Date
CN104727658A CN104727658A (en) 2015-06-24
CN104727658B true CN104727658B (en) 2017-03-29

Family

ID=53452011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510037901.2A Expired - Fee Related CN104727658B (en) 2015-01-26 2015-01-26 Smart lock, Intelligent key and its control method and device

Country Status (1)

Country Link
CN (1) CN104727658B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578511A (en) * 2017-09-15 2018-01-12 林海航 A kind of smart lock and its Intelligent key

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105006051B (en) * 2015-07-31 2018-02-23 深圳广田智能科技有限公司 The wireless communications method and system of intelligent distant control door lock
CN105184929B (en) * 2015-09-30 2018-09-14 深圳市章陈融通科技有限公司 Intelligent door lock control method and device
CN108122307A (en) * 2016-11-29 2018-06-05 上海慧流云计算科技有限公司 Access control management method, apparatus and system
CN108198274A (en) * 2016-12-08 2018-06-22 上海慧流云计算科技有限公司 Apparatus control method and device
CN106971441B (en) * 2017-04-28 2020-04-17 深圳星普森信息技术有限公司 Unlocking method, door lock, key and lockset
CN107558821A (en) * 2017-10-10 2018-01-09 珠海唯码科技有限公司 A kind of intelligent door lock and its method for unlocking
CN110211258B (en) * 2018-02-28 2023-04-18 京东方科技集团股份有限公司 Master security device, slave security device, security lock system and control method thereof
CN109741067B (en) * 2018-12-19 2023-05-30 广州羊城通有限公司 Data processing method and device based on IC card unlocking
CN110047183B (en) * 2019-04-23 2021-09-28 广东省海洋工程装备技术研究所 Door lock system adopting laser frequency coding and working method thereof
CN110443915B (en) * 2019-06-24 2023-04-18 深圳绿米联创科技有限公司 Door lock control method, control device, door lock and storage medium
CN110533815A (en) * 2019-09-02 2019-12-03 深圳市缤果时代科技有限公司 It is a kind of to pass through the method for the smart lock and unlatching smart lock that electronic key is opened
CN110920562B (en) * 2019-11-05 2021-04-02 北京经纬恒润科技股份有限公司 Vehicle welcome method and device
CN114360100A (en) * 2020-09-27 2022-04-15 比亚迪半导体股份有限公司 Control method, device, system and medium for intelligent door lock
CN114339972B (en) * 2021-12-30 2023-05-26 北京纬百科技有限公司 IOT equipment remote wakeup method, terminal and IOT equipment
CN114626868A (en) * 2022-03-22 2022-06-14 歌尔股份有限公司 Intelligent doorbell piracy prevention method and system, intelligent doorbell and readable storage medium
CN115331332A (en) * 2022-06-30 2022-11-11 中国第一汽车股份有限公司 Intelligent lock based on chip encryption and unlocking method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1719863A1 (en) * 2003-12-10 2006-11-08 Matsushita Electric Industrial Co., Ltd. Theft prevention system
CN101457610A (en) * 2009-01-05 2009-06-17 许李纳 Non-key system for automobile and communication encrypting method thereof
CN103178966B (en) * 2013-03-19 2015-08-12 北京经纬恒润科技有限公司 The KPD authentication method of vehicle and Intelligent key, vehicle base station and system
CN203769461U (en) * 2013-05-17 2014-08-13 湖南美通智能工程技术有限公司 Wireless intelligent lock based on encryption IC cards

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578511A (en) * 2017-09-15 2018-01-12 林海航 A kind of smart lock and its Intelligent key

Also Published As

Publication number Publication date
CN104727658A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104727658B (en) Smart lock, Intelligent key and its control method and device
CN106780901A (en) A kind of intelligent door lock system and its application based on mobile phone MAC Address
CN109905235A (en) A kind of smart lock unlocking method, smart lock, terminal, server and system
CN104134253A (en) Entrance guard system and entrance guard opening method
CN209103378U (en) A kind of access control system with speech recognition
CN211396994U (en) NB-IoT (NB-IoT) safety communication intelligent door control device
CN108541324A (en) A kind of unlocking method of electronic lock device, client and its electronic lock device
CN106761052B (en) A kind of automobile door control remote-control key radio frequency Replay Attack system of defense based on timestamp
CN201570073U (en) Automobile remote control key
CN204463267U (en) A kind of intelligent access control system
CN206551993U (en) A kind of PKE automobile encrypted antitheft systems based on quantum key card
CN109872424A (en) A kind of unlocking method, device, electronic equipment and storage medium
CN106600783A (en) Intelligent door magnetic system having built-in secure chip and usage method thereof
CN104652964A (en) Intelligent RFID (Radio Frequency Identification Device) alarm lock device and intelligent alarm method thereof
CN107967731A (en) Door-locking system based on two-dimensional code scanning unlock
CN203769461U (en) Wireless intelligent lock based on encryption IC cards
CN109801409A (en) Voice method for unlocking, electronic equipment
CN202939674U (en) Multiple safety management security device and system
JP2007265321A (en) Personal identification system and personal identification method
CN104821028A (en) Information-sharable internet home guard information service system
CN204595973U (en) A kind of intelligent security protection equipment
JP2019512786A (en) Authorization authorization method, authorization device and authorization system
CN204609502U (en) A kind of security device of intelligent antitheft mechanical lock
CN205302421U (en) Mobile terminal , gate host computer and entrance guard system of unblanking in entrance guard system of unblanking
CN104835227B (en) A kind of intelligent security protection equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170329

Termination date: 20180126

CF01 Termination of patent right due to non-payment of annual fee