The compound method of a kind of Intelligent lock device and using method thereof, electron keyTechnical field
The present invention relates to a kind of Intelligent lock device.
Background technology
Quick Response Code is in plane, to be the chequered with black and white figure distributing on two-dimensional directional according to certain rules with specific geometric figure, according to the coded message of the inside, can store the content such as word, numeral, picture of certain capacity, and purposes is very extensive.
Smart lock, is the comprehensive lockset product of manufacturing in conjunction with Machine Manufacturing Technology and contemporary computer technology, at security, ease for use, the aspect such as managerial, than other locksets, locks more intelligent and hommization as conditional electronic.It is more computer technology that smart lock comprises, as software engineering, network technology and cloud etc.; Conditional electronic lock is closer to machinery, and as induction lock, Fingerprint Lock, press-key lock etc., their feature is based on simple microcomputer development, without the support of operating system, network or application program.As can be seen here, electronic lock is the early forms of smart lock development.
Electron key, is analogous to mechanical key, is that the noun of new generation after combination is extended to robot calculator field in conventional lock field, and the electron key of broad sense refers to the key that can open electronic lock equipment, and this key can be string number, a fingerprint etc.It is the carrier of one section of orderly information, and this segment information can be identified by electronic lock and authorize.
Traditional electronic lock, if Fingerprint Lock is directly to prepare electron key by the mode of typing fingerprint.The principle of Fingerprint Lock is according to the unique feature of everyone fingerprint, the fingerprint of typing, by the algorithm of fingerprint chip, generates active data and leaves in storer, while opening the door, by calculating the calculated value and the storing value that obtain, compares again, identical by checking, open door lock.Such fingerprint is just equivalent to electron key.The greatest drawback of Fingerprint Lock is that fingerprint can be replicated, use fingerprint and former fingerprint after up-to-date fingerprint film copies to have more than 95% similarity, and everyone has at most ten finger prints, the illegal activity that fingerprint after being replicated may be used to, even if be stolen and litigant knows fingerprint, also helpless, because the fingerprint of oneself cannot change, caused so serious potential safety hazard; And at finger, scratch, spot, in the situations such as peeling, just cannot identification, use also very loaded down with trivial details.The electron key of key cipher lock is string number or English alphabet, directly inputs this string character of typing while unblanking, and can open the door, and the defect of this electronic lock is to use inconvenience, and confidentiality is not enough.For example, password can not be too simple, comes, or spied out out by onlooker otherwise be easy to be felt out; And password is can not be too complicated, otherwise remember difficulty, and success ratio is low during input Password Operations; Moreover the button of exposure easily damages inefficacy, also easily by artificial physical damage.
Summary of the invention
The technical problem to be solved in the present invention is defect and the deficiency that overcomes above conditional electronic lock, a kind of Intelligent lock device and using method thereof are proposed, for the compound method of the electron key of this Intelligent lock device, possessing under the security prerequisite of industrywide standard, make use more simple, operate more convenient.
Technical matters of the present invention solves by the following technical programs.
The compound method of the electron key of this Intelligent lock device comprises the following steps:step 1, and generate and lock corresponding Quick Response Code with specific intelligence, in described Quick Response Code, comprise with specific intelligence and lock corresponding communication basic configuration parameter and enciphered message;Step 2, mobile client scanning Quick Response Code, reads data in Quick Response Code after deciphering;Step 3, mobile client is set up the first secure transmission tunnel with the Quick Response Code data and the smart lock that parse;Step 4, mobile client and smart lock send mutually key information and the key information of preparation in the first secure transmission tunnel, and this key information and key information are stored as to electron key.
Described the first secure transmission tunnel is near radio transmission channel.
In describedstep 1, generate unique constant Quick Response Code and be printed on Quick Response Code card.
In describedstep 1, generate dynamic Quick Response Code and be presented on smart lock screen.
In described dynamic Quick Response Code, comprise the information of setting failure condition.
The using method of this Intelligent lock device comprises the following steps:step 1, and generate and lock corresponding Quick Response Code with specific intelligence, in described Quick Response Code, comprise with specific intelligence and lock corresponding communication basic configuration parameter and enciphered message;Step 2, mobile client scanning Quick Response Code, reads data in Quick Response Code after deciphering;Step 3, mobile client is set up the first secure transmission tunnel with the Quick Response Code data and the smart lock that parse;Step 4, mobile client and smart lock send mutually key information and the key information of preparation in the first secure transmission tunnel, and this key information and key information are stored as to electron key;Step 5, mobile client is set up the second secure transmission tunnel with electron key and smart lock, and in the second secure transmission tunnel with smart lock swap operation command information, smart lock is operated.
Described the first secure transmission tunnel is near radio transmission channel, and described the second secure transmission tunnel is near radio transmission channel.
This Intelligent lock device, comprises smart lock, Quick Response Code, client; Described Quick Response Code includes communication preparation parameter and the enciphered message that can be read by corresponding described client; Institute's client builds the first secure transmission tunnel by reading communication in described Quick Response Code preparation parameter and enciphered message with smart lock, and prepares electron key by the first secure transmission tunnel and smart lock interactive information; Described smart lock reads the electronic key information that client is sent, and builds the second secure transmission tunnel with client, and by the second secure transmission tunnel and client interactive operation command information.
The present invention is compared with the prior art had beneficial effect, comprises following aspect:
The first, the invention solves electron key in the safety issue of process for preparation.In Quick Response Code, deposit unique enciphered data in, these data could decipher and identify after only having corresponding mobile client to scan by Quick Response Code, there is a key the inside, during as preparation key and smart lock set up safe wireless data transmission channel (the first secure transmission tunnel).After electron key has been prepared, client and smart lock be store electrons key information and key information separately, and follow-up communication is just set up safe data according to key information and key information and is connected (the second secure transmission tunnel), no longer relies on Quick Response Code.So, even if other people obtain this Quick Response Code, to safety, also cannot cause direct threat, aid in again other measures, as smart lock display screen terminal generates disposable dynamic Quick Response Code, after using calcellation afterwards or surpassing effective time, also cancel, can solve well security threat problem, even without the smart lock that display screen terminal is installed, as long as user keeps properly the Quick Response Code card that dispatches from the factory, there is not the problem of security in addition yet.
The second, the invention solves electron key in the triviality problem of process for preparation.Quick Response Code memory capacity is enough large, can hold the required full detail of smart lock preparation key, these information are given to client by the mode of scanning Quick Response Code when preparation electron key, have avoided conditional electronic lock and loaded down with trivial details setting steps and the parameter input operation of smart lock.Therefore, user only need install mobile client software, then by operation of scanning Quick Response Code, can complete the preparation work of key, more succinctly easy-to-use in use.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of embodiment preparation electron key;
Fig. 2 is the FB(flow block) that embodiment is used electron key.
Embodiment
Embodiment one
An Intelligent lock device, comprises smart lock, mobile client and Quick Response Code.Quick Response Code shows from the display screen terminal of smart lock.Quick Response Code comprises specific enciphered data, and mobile client scanning Quick Response Code, deciphers and read the data in Quick Response Code, and set up safe wireless transfer channel by these data and smart lock.Smart lock and mobile client are transmitted key information and key in escape way, as follow-up both sides, independently do not rely on the data encryption communication of Quick Response Code, and be all stored in Quick Response Code owing to preparing parameter and security information, while preparing the process of electron key, without carry out loaded down with trivial details setting on smart lock, so under the premise that security is guaranteed, the greatly use operation of simplified intelligent lock.Concrete process for preparation and use procedure are as described below.
As shown in Figure 1, the step of preparation electron key comprises:
(1) bysmart lock 2, automatically generate variationQuick Response Code 4 and be presented on smartlock display screen 5,Quick Response Code 4 comprises the enciphered data of only having correspondingmobile client 1 just to decipher, identify;
(2)mobile client 1 scanningQuick Response Code 4, the enciphered data that deciphering Quick Response Code comprises, and by near radio transmission mode, set up first secure transmission tunnel relevant with Quick Response Code to correspondingsmart lock 2;
(3)smart lock 2 and correspondingmobile client 1 send mutually key information and key information in the first escape way, and these information are set up the secure communication irrelevant withQuick Response Code 4 for follow-up both sides, thereby complete the preparation of electron key.
As shown in Figure 2, the use step of the electron key after preparation is as follows:
(1) smartmobile phone client 1 is used electronic key information and thesmart lock 2 of the middle generation of process for preparation to set up second secure transmission tunnel irrelevant withQuick Response Code 4;
(2) smartmobile phone client 1 in the second secure transmission tunnel withsmart lock 2 swap operation command informations, smart lock is carried out to the operations such as open and close, read status information and change arrange.
In whole implementation process, only in preparation, need to useQuick Response Code 4 during key, the operation such as unblank after key-cut completes no longer needs this Quick Response Code, makes Intelligent lock device more succinct in the use.In Quick Response Code, set the failure condition of this Quick Response Code, after using once, cancel, and exceed schedule time and do not use after date also to cancel.Like this in the effective situation of previous electron key, user can upgrade electronic key information easily, avoid user to worry the long-term potential safety hazard that is stolen and brings of using of same static Quick Response Code card, if but user keep properly, security risk also can be evaded.
Embodiment two
Be with embodiment one difference, in generating the step (1) of electron key, by smart lock manufacturer, when dispatching from the factory, being generated fixedly Quick Response Code attaches to user, in use, if desired in different mobile clients, prepare electron key or again prepare electron key, rescaning Quick Response Code and prepare; If loss Quick Response Code, Ze Keyou manufacturer recalculates generation, by network or material object, offers user.
Above content is in conjunction with concrete embodiment further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.