The content of the invention
The main object of the present invention is to provide a kind of physics pairing for collecting electromechanical key and electronic key is paired into oneBody, improve the intelligent door lock of security performance.
It is a further object of the present invention to provide a kind of physics pairing for collecting electromechanical key and electronic key to be paired into oneBody, improve the method for unlocking of the intelligent door lock of security performance.
In order to realize above-mentioned main purpose, intelligent door lock provided by the invention, including electromechanical key, lock core and controlCircuit, lock core include lock core shell, lock core inner bag, electric locking device, mechanical locking device and electronic signal transmission device, lockIn-core courage is plugged in lock core shell, and lock core inner bag is provided with keyhole corresponding with electromechanical key, electromechanical keyWith the pluggable connection of lock core inner bag;The tartar of mechanical locking device and electromechanical key is equipped with;Electromechanical key hasThere are corresponding with electronic signal transmission device electric contact and safety chip, electric contact to be electrically connected with safety chip, electric contact and electricitySubsignal transmission apparatus electricity touches;Control circuit electrically connects with electronic signal transmission device and electric locking device respectively, controlCircuit carries out information exchange by electronic signal transmission device and safety chip, and control circuit sends to electric locking device and switchedSignal.
From such scheme, intelligent door lock of the invention makes electromechanics by setting electric contact on the key in electromechanicalSafety chip on integral key carries out information transfer by the control circuit in electric contact and lock core, reduces the dry of outer signalsDisturb.Meanwhile mechanical locking device and electric locking device are set, intelligent door lock need to carry out mechanical pairing and electronic key when unlockingPairing, improve the security performance of electronic lock.
In further scheme, electronic signal transmission device includes long probe component and short probe assembly, long probe componentIn lock core shell, long probe component electrically connects with control circuit, and short probe assembly is located in lock core inner bag, short probe assemblyTouched with electric contact electricity, long probe component touches with short probe assembly.
As can be seen here, because lock core inner bag need to rotate when unlocking in lock core shell, and keyhole is generally located on lockThe center of in-core courage, for the ease of unlocking, electronic signal transmission device is arranged to the long probe component of separation and short spyNeedle assemblies, the rotation of lock core inner bag is carried out when can be easy to unlock and is easy to carry out information transfer when inserting key.
In further scheme, short probe assembly includes the first pars contractilis, the first fixed part and the first elastomeric element, theThe both ends of one elastomeric element abut with the first pars contractilis and the first fixed part respectively;A part for first pars contractilis exposes to firstFixed part.
As can be seen here, the both ends of the first elastomeric element abut with the first pars contractilis and the first fixed part respectively, can be achieved theOne pars contractilis carries out flexible effect, meanwhile, it can be in close contact the electric contact of the first pars contractilis and electromechanical key, preventThere is information transmission failure.
In further scheme, long probe component includes the second pars contractilis, the second fixed part and the second elastomeric element, theThe both ends of two elastomeric elements abut with the second pars contractilis and the second fixed part respectively;A part for second pars contractilis exposes to secondFixed part, the second pars contractilis abut with the first fixed part.
As can be seen here, the both ends of the second elastomeric element abut with the second pars contractilis and the second fixed part respectively, can be achieved theTwo pars contractilis carry out flexible effect, meanwhile, the second pars contractilis can be made to be in close contact with short probe assembly, prevent information biographyPass failure.
In further scheme, electric locking device includes magnetic bullet and bobbin, and bobbin is set in magnetic bulletOn, bobbin electrically connects with control circuit.
As can be seen here, by the use of magnetic bullet and bobbin as electric locking device, can preferably realize in intelligent door lockIn progress electronics lock and unlock operation.
In further scheme, lock core inner bag is provided with locking groove, and locking groove is set towards electric locking device.
As can be seen here, lock core inner bag sets locking groove, is easy to electric locking device latch lock core inner bag.
In order to realize above-mentioned another object, the method for unlocking of intelligent door lock provided by the invention includes:Examined in control circuitWhen measuring the insertion of electromechanical key, control circuit sends upper lock signal and sent to mobile terminal and prompts to electric locking deviceInformation, electric locking device latch lock core shell and lock core inner bag;The tartar of electromechanical key of the lock core to being inserted is carried outMechanical matching and to electromechanical key carry out electronic match;If tartar the match is successful and electromechanical key electronic matching intoWork(, then locking of the lock core releasing to lock core inner bag.
From such scheme, when being not inserted into electromechanical key, electronics closes the method for unlocking of intelligent door lock of the present inventionLock device is in released state, by mechanical locking device latch lock core shell and lock core inner bag.When inserting electromechanical key,Control circuit sends upper lock signal to electric locking device, makes electric locking device latch lock core shell and lock core inner bag, completesMechanical locking device and electric locking device lock lock core shell and lock core inner bag simultaneously.When tartar, the match is successful and electromechanicalFor key electronic when the match is successful, lock core just releases the locking to lock core inner bag.This can cause intelligent door lock in power-off or electronicsIt in the case of circuit communication failure, can be unlocked by mechanical locking device, prevent from unlocking, meanwhile, it is normal in circuitIn the case of insert electromechanical key, mechanical locking device and electric locking device can be ensured while worked, reinforcement intelligent door lockSecurity.Control circuit also sends prompt message while lock signal is sent to electric locking device to mobile terminal,For reminding user, it is easy to user further to judge the key of insertion, and is sent and controlled to control circuit by mobile terminalInformation processed, carry out the real-time management and control of lock core.
In further scheme, lock core carries out electronic match to electromechanical key, including:Control circuit obtains electromechanics oneThe id information backward security chip of the safety chip of body key sends random number information;Safety chip is according to random number information, IDInformation and key information generate the first cipher-text information, and safety chip sends the first cipher-text information to control circuit;Control electricityFirst cipher-text information compared with the second cipher-text information, is obtained electronic match result by road, wherein, the second cipher-text information is by controllingCircuit processed generates according to random number information, id information and key information;Control circuit is electromechanical according to electronic match results verificationWhether electronic match is successful for integral key.
As can be seen here, the validation-cross of row information is entered by control circuit and safety chip, improves the secrecy of electronic matchProperty, prevent chip information to be stolen and distort, improve the security performance of intelligent door lock.
In further scheme, control circuit according to electronic match results verification electromechanical key whether electronic matchAfter success, the method for unlocking of intelligent door lock also includes:If control circuit confirms electromechanical key electronic, the match is successful, controlsWhether circuit judges electromechanical key meets unlocking condition, if so, control circuit sends unlocking signal to electric locking device,Electric locking device unlocks lock core shell and lock core inner bag.
As can be seen here, carrying out after electronic match success, also needing to carry out the judgement of unlocking condition, such as judge insertionThe key of insertion has been reported the loss or judged to electromechanical key whether in period unlocked etc., so as to improve intelligenceThe security of door lock.
In further scheme, control circuit according to electronic match results verification electromechanical key whether electronic matchAfter success, the method for unlocking of intelligent door lock also includes:If control circuit confirms electromechanical key electronic, it fails to match, controlsWhether circuit judges electromechanical key belongs to unregistered key, if so, control circuit obtains registration operation information, control circuitElectromechanical key is registered according to registration operation information.
As can be seen here, intelligent door lock of the invention can also be registered to electromechanical key, so that user obtains newlyUnlocking key, the registration that user needs to use independent read-write to carry out key is avoided, improve the experience of user.
Embodiment
The intelligent door lock of the present invention is also provided with electronic key certification in addition to being provided with the basic function of tradition machinery lockPart, the machinery pairing and electronic key pairing for realizing electromechanical key are integrated, and improve the security performance of intelligent door lock.
As depicted in figs. 1 and 2, intelligent door lock of the invention includes lock core 1, electromechanical key 2 and control circuit 3, lockCore 1 includes lock core shell 11, lock core inner bag 12, electric locking device 13, mechanical locking device 14 and electronic signal transmission device15, lock core inner bag 12 is plugged in lock core shell 11, and lock core inner bag 12 is provided with and 2 corresponding keyhole of electromechanical key121, electromechanical key 2 and the 12 pluggable connection of lock core inner bag.The tartar 23 of mechanical locking device 14 and electromechanical keyIt is equipped with.Electromechanical key 2 has electric contact 22 corresponding with electronic signal transmission device 15 and safety chip 21, and electricity touchesPoint 22 electrically connects with safety chip 21, and electric contact 22 touches with the electricity of electronic signal transmission device 15.Control circuit 3 respectively with electronicsSignal transmission device part 15 and electric locking device 13 electrically connect, and control circuit 3 passes through electronic signal transmission device 15 and safe corePiece 21 carries out information exchange, and control circuit 3 sends switching signal to electric locking device 13.
Mechanical locking device 14 can be the mechanical locking device of vane type or the mechanical locking device of cylinder type, this implementationIn example, mechanical locking device 14 is the mechanical locking device of cylinder type.Mechanical locking device 14 includes spring 141, the first pellet142 and second pellet 143, the pellet 142 of spring 141 and first be located in lock core shell 11, the second pellet 143 is located at lock core inner bag12, the first pellet 142 abuts with the pellet 143 of spring 141 and second respectively, and the second pellet 143 is provided with hemisphere face, and hemisphere face is stretchedEnter in keyhole 121, the second pellet 143 is touched by the tartar 23 of hemisphere face and key 2, so as to realize mechanical matching.
Referring to Fig. 3, electronic signal transmission device 15 includes long probe component 16 and short probe assembly 17, long probe component 16In lock core shell 11, long probe component 16 electrically connects with control circuit 3, and short probe assembly 17 is located in lock core inner bag 12,Short probe assembly 17 touches with the electricity of electric contact 22, and long probe component 16 touches with short probe assembly 17.Wherein, short probe assembly 17Including the first pars contractilis 171, the first fixed part 173 and the first elastomeric element 172, the both ends of the first elastomeric element 172 are distinguishedAbutted with the first pars contractilis 171 and the first fixed part 173.A part for first pars contractilis 171 exposes to the first fixed part 173,The part that first pars contractilis 171 exposes to the first fixed part 173 is provided with hemisphere face, prevents interim card occur when unlocking and rotating.Long probe component 16 includes the second pars contractilis 161, the second fixed part 163 and the second elastomeric element 162, the second elastomeric element162 both ends abut with the second pars contractilis 161 and the second fixed part 163 respectively.A part for second pars contractilis 161 exposes toTwo fixed parts 163, the part that the second pars contractilis 161 exposes to the second fixed part 163 are provided with hemisphere face, prevent lock core inner bag12 there is interim card when unlocking and rotating.In non-unlocking condition, the second pars contractilis 161 abuts with the first fixed part 163, unlocksAfterwards, segmented state is in referring to Fig. 4, the second pars contractilis 161 and the first fixed part 173, no longer enters the transmission of horizontal electrical signal.
Referring to Fig. 5, lock core inner bag 12 is provided with locking groove 122, and locking groove 122 is set towards electric locking device 13Put, it is preferred that the opening of locking groove 122 is set towards the earth's core, and electric locking device 13 is located under the opening of locking groove 122Side.Electric locking device 13 includes magnetic bullet 132 and bobbin 131, and bobbin 131 is set on magnetic bullet 132, coilingPipe 131 electrically connects with control circuit 3.When bobbin 131 connects electricity and produces magnetic field, magnetic bullet 132 can be because of magnetic force bulletRise, into locking groove 122, stuck lock core inner bag 12.
Referring to Fig. 6, in the present embodiment, control circuit 3 is in addition to including the circuit for controlling electric locking device 13, controlCircuit 3 processed also includes master controller 31, audible alarm circuit 32, indicator light circuit 33, radio communication circuit 34, power circuit 35And functional module interface 36, power circuit 35 are master controller 31, audible alarm circuit 32, indicator light circuit 33, channel radioBelieve that circuit 34 and functional module interface 36 provide power supply.Audible alarm circuit 32, indicator light circuit 33, the and of radio communication circuit 34Functional module interface 36 electrically connects with master controller 31 respectively.Master controller 31 sends audible alarm letter to audible alarm circuit 32Number, master controller 31 sends indication signal to indicator light circuit 33, and master controller 31 is set by radio communication circuit 34 with the external worldIt is standby to carry out information exchange.Wherein, master controller 31 is single-chip microcomputer, and radio communication circuit 34 includes WIFI communication modules, bluetooth is led toBelieve at least one of module, Zigbee communication module, Z-Wave communication modules, NB-IoT communication modules or gsm communication module.Functional module interface 36 is at least one of IIC functional modules interface or serial port function module interface, multi-functional for realizingLinkage, be used to interact with lock core for example, accessing fingerprint recognition, password identification, card recognition etc. by functional module interface 36Equipment, realize the Function Extension of intelligent door lock.The also settable voltage detection circuit of control circuit 3(It is not shown), master controlDevice 31 processed obtains the voltage detecting data of voltage detection circuit in real time, and sends to mobile terminal.
In addition, lock core shell 11 is additionally provided with circuit groove 111, to accommodate the circuit board of lock core 1 or electronic circuit.
The present invention is carried out with detailed description with reference to the method for unlocking of intelligent door lock.
Referring to Fig. 7, step S1 is first carried out when being unlocked in intelligent door lock of the invention, is detected in control circuit 3When electromechanical key 2 inserts, control circuit 3 sends upper lock signal and sent to mobile terminal and prompts to electric locking device 13Information, electric locking device 13 lock lock core shell 11 and lock core inner bag 12.When inserting electromechanical key 2, due to electromechanicsIntegral key 2 is conductive metal, and electromechanical key 2 touches the change of generation voltage after electronic signal transmission device 15,Change of the control circuit 3 by judging voltage is confirmed whether there is key insertion, when judging to have key insertion, the electricity of control circuit 3Sub- fastening device 13 sends upper lock signal, makes electricity on the bobbin 131 of electric locking device 13, magnetic bullet 132 is sprung into lockIn the locking groove 122 of in-core courage 12, lock core shell 11 and lock core inner bag 12 are locked.
Control circuit 3 also sends prompting letter while lock signal is sent to electric locking device 13 to mobile terminalBreath, for reminding user, there is key to insert lock core, be easy to user further to judge the key of insertion, and by mobile wholeHold to control circuit 3 and send control information, carry out the control of lock core.
After locking lock core shell 11 and lock core inner bag 12, step S2 is performed, lock core 1 is to the electromechanical key 2 that is insertedTartar 23 carry out mechanical matching and to electromechanical key 2 carry out electronic match.Lock core 1 is to the electromechanical key that is insertedElectronic match is carried out to electromechanical key 2 while the tartar 23 of spoon 2 carries out mechanical matching.Electromechanical is inserted in lock core 1After key 2, the electric contact 22 in electromechanical key 2 touches with electronic signal transmission device 15, so as to which control circuit 3 is safetyThe conductive work of chip 21, certainly, only in the case where electric contact 22 and electronic signal transmission device 15 are mutually matched, control electricityRoad 3 could be that safety chip 21 provides power supply and drive signal.
Referring to Fig. 8, when lock core 1 carries out electronic match to electromechanical key 2, step S11 is first carried out, control circuit 3 obtainsThe id information backward security chip 21 of the safety chip 21 of electromechanical key 2 is taken to send random number information.Control circuit 3 is peaceAfter full chip 21 provides power supply and drive signal, safety chip 21 sends the id information that itself is stored to control circuit 3, this realityApply in example, id information is the unique identification code of 128.Control circuit 3 gets id information backward security chip 21 and returns to oneThe random number information of group 12, random number information are randomly generated by control circuit 3, improve the security of electronic match.
After safety chip 21 gets random number information, step S12 is performed, safety chip 21 is according to random number information, IDInformation and key information generate the first cipher-text information, and safety chip 21 sends the first cipher-text information to control circuit 3.KeyInformation can be set by key business men or be generated when being registered by intelligent door lock to electromechanical key.Safety chip 21 is generatingDuring the first cipher-text information, random number information, id information and key information are carried out using the ciphertext generating algorithm of itself storageCalculate, so as to obtain cipher-text information.Ciphertext generating algorithm can be calculated using existing algorithm, in the present embodiment, safe corePiece 21 is calculated random number information, id information and key information using hash algorithm, so as to obtain the first cipher-text information.Safety chip 21 sends the first cipher-text information of acquisition to control circuit 3 by electronic signal transmission device 15.
After control circuit 3 gets the first cipher-text information, step S13 is performed, control circuit 3 is by the first cipher-text information and theTwo cipher-text informations are compared, and obtain electronic match result, wherein, the second cipher-text information is believed by control circuit 3 according to random numberBreath, id information and key information generation.Because electromechanical key 2 has stored id information and key information in registrationIn control circuit 3, in order to verify electromechanical integral key 2, it is necessary to which control circuit 3 is entered according to the id information and key information of storageRow computing, generate the second ciphertext.In order to avoid there is matching error, the algorithm that control circuit 3 utilizes in safety chip 21 with makingAlgorithm is consistent.
After obtaining matching result, step S14 is performed, judging electromechanical key 2, whether electronic match is successful.If first is closeWhen literary information is consistent with the second cipher-text information, then it is assumed that the electromechanical key 2 of insertion is registered key, electromechanical keyThe success of 2 electronic match.If when the first cipher-text information and inconsistent the second cipher-text information, then it is assumed that the electromechanical key 2 of insertionFor unregistered key, the failure of the electronic match of electromechanical key 2, alarm message reminding can be carried out.
If the success of the electronic match of electromechanical key 2, performs step S15, control circuit 3 judges electromechanical key 2Whether unlocking condition is met.Wherein, unlocking condition can be by user's sets itself as needed, for example, unlocking condition is electromechanics oneBody key 2 is non-key or the electromechanical key 2 reported the loss in period that can allow to unlock etc..
If judging, electromechanical key 2 meets unlocking condition, performs step 16, and control circuit 3 is to electric locking device13 send unlocking signals, and electric locking device 13 unlocks lock core shell 11 and lock core inner bag 12.If judge electromechanical keySpoon 2 does not meet unlocking condition, then performs step S17, and electric locking device 13 keeps locking lock core shell 11 and lock core inner bag 12.
If judging when performing step S14, the electronic match of electromechanical key 2 fails, and performs step S18, judges control electricityWhether road 3 gets registration operation information.It can be by the setting button in control circuit to register operation information(It is not shown)Obtained, the control information of external device can also be obtained by radio communication circuit, for example, passing through acquisition and intelligent door lockOperation information of the mobile terminal of networking etc..
If judgement gets registration operation information, step S19 is performed, control circuit 3 is according to registration operation information to machineElectric integral key 2 is registered.Control circuit 3, can be according to the safety chip of acquisition when being registered to electromechanical key 221 id information automatically generates key information and sent to the safety chip 21 of electromechanical key 2 and stores, and reads during for unlockingTake, wherein, key information is generated at random by control circuit 3.Unlocking electronic match can be carried out after the completion of registration.If judgement does not obtainRegistration operation information is got, then does not perform operation.For those skilled in the art, obtaining the step of registering operation information can beWhat any time after electromechanical key 2 is inserted can all be carried out, it above are only a kind of performance.
After the electronic match success of electromechanical key 2, step S3 is performed, if the match is successful and electromechanical for tartar 23The success of the electronic match of key 2, then lock core 1 releases the locking to lock core inner bag 12.In the success of the electronic match of electromechanical key 2Also needing to the tartar 23 of electromechanical key 2, the match is successful to be unlocked, and now, rotates electromechanical integral key 2 and drives lockIn-core courage 12 rotates, so as to play the purpose of unlocking.
During unlocking, master controller 31 can send audible alarm according to the situation of unlocking to audible alarm circuit 32Signal, for example, when there is illegal unlock, send audible ringing signal.Master controller 31 can also be according to the situation of unlocking to instructionCircuit for lamp 33 send indication signal, for example, electronic match by when, indicator light circuit gives a green light, and electronic match is obstructed out-of-date, refers toIndication lamp circuit sends out a warning.
In addition, after the electric contact 22 of electromechanical key 2 touches with electronic signal transmission device 15, can also be to electromechanics oneBody key 2 carries out real-time management, for example, being unregistered, registering to the electromechanical key 3 for inserting lock core 1, the management such as reporting the loss.Management of the intelligent door lock of the present invention to electromechanical key 2 may include local management and remote management, and local management can pass through controlCircuit 3 processed is managed to electromechanical key 2, and remote management can be managed by mobile terminal to electromechanical key 2.
In optional embodiment, when carrying out local management, user is by pressing the registration button of lock core 1(It is not shown),Master controller 31 in control circuit 3 enters registration mode, and the electromechanical key 2 of the identification insertion lock core 1 of master controller 31 solvesId information after close, by the memory of the id information write control circuit 3 of the electromechanical key 2 of unregistered mistake(It is not shown)In, and the id information of electromechanical key 2 is uploaded to by high in the clouds by radio communication circuit 34.The driving sound of master controller 31 simultaneouslySound warning circuit 32 sends prompt tone, and prompting is succeeded in registration.In addition to registration management, master controller 31 can also pass through electronic signalTransmission apparatus 15 identifies whether electromechanical integral key 2 is extracted.Master controller 31 when judging whether electromechanical key 2 is extracted,First detect whether electromechanical integral key 2 has rotation, if key does not rotate, audible alarm electricity is controlled after more than preset timeRoad 32 carries out alarm sounds, and by radio communication circuit 34 will forget to pull key correlation information transmission to far-end server, fromAnd it is pushed to mobile terminal.In addition, master controller 31 can also carry out the deletion of key information.For example, can local management shapeUnder state, user registers 5 seconds operational orders to the transmission deletion key information of master controller 31 of button by long-press, can will control electricityThe key information of memory is deleted in road 3.
In another optional embodiment, when carrying out remote management, registration can be entered by the management software of mobile terminalRegistration status information is fed back to master controller 31 by pattern, mobile terminal by radio communication circuit 34, and master controller 31 entersRegistration mode, and drive buzzer that prompt tone occurs, indicate entry into registration mode.Under registration mode state, master controller 31Id information after the decryption of electromechanical key 2 of identification insertion lock core 1, by the id information of the electromechanical key 2 of unregistered mistakeThe memory of write control circuit 3(It is not shown)In, and by radio communication circuit 34 by the id information of electromechanical key 2Pass to high in the clouds.Master controller 31 drives audible alarm circuit 32 to send prompt tone simultaneously, and prompting is succeeded in registration.Carry out remote managementWhen, also key information can be deleted or reported the loss by the management software of mobile terminal, mobile terminal will delete, report the loss the letter of keyBreath is sent to master controller 31, master controller 31 by radio communication circuit 34 to be write information into memory.As reported the loss orDeleted key inserts lock core 1, and master controller 31 is compared and identified by the information of memory the key and reported the loss or deletedRemove, then refuse to have reported the loss or deleted key opening lock master 1, and by information caused by unlocking operation send to it is mobile eventuallyEnd.
From the foregoing, the intelligent door lock of the present invention makes electromechanical by setting electric contact on the key in electromechanicalSafety chip on the key carries out information transfer by the control circuit in electric contact and lock core, reduces the interference of outer signals.Meanwhile mechanical locking device and electric locking device are set, intelligent door lock need to carry out physics pairing when unlocking and electronic key is matched somebody with somebodyIt is right, improve the security performance of electronic lock.When being not inserted into electromechanical key, electronics closes the method for unlocking of intelligent door lock of the present inventionLock device is in released state, only by mechanical locking device latch lock core shell and lock core inner bag.In insertion electromechanical keyWhen, control circuit sends upper lock signal to electric locking device, makes electric locking device latch lock core shell and lock core inner bag, completeLock core shell and lock core inner bag are locked into mechanical locking device and electric locking device simultaneously.When tartar, the match is successful and electromechanics oneFor body key electronic when the match is successful, lock core just releases the locking to lock core inner bag.This can cause intelligent door lock in power-off or electricityIt in the case of sub-circuit communication failure, can only be unlocked by mechanical locking device, prevent from unlocking, meanwhile, in circuit justElectromechanical key is inserted in the case of often, mechanical locking device and electric locking device can be ensured while worked, strengthens intelligenceThe security of door lock.
It should be noted that the preferred embodiments of the present invention are these are only, but the design concept invented is not limited thereto,All insubstantial modifications made using this design to the present invention, are also each fallen within protection scope of the present invention.