Background technology
Existing locking system, generally adopts three kinds of forms carry out release and lock:
One: key.The time of this kind of form use is the longest, the scope of application is the most extensive, and constantly improve along with the progress in epoch, and itself does not rely on electronic system, so the locking system of this kind of form has very high reliability, if enough precisions of manufacturing also have very high security performance, but this kind of locking system has a very bad shortcoming, and that is exactly loaded down with trivial details.If improve the security of key, key will be done very complicatedly, and the complicacy of key is directly proportional to security, in order to obtain better security, requirement for precision aspect is also very high, so the process of opening seems more complicated on the contrary, meanwhile, because the switch of locking system all must be by means of the mechanical motion of complicated dead bolt one class, so the process of opening and closing is also complicated, generally need people first to draw out key, again key is inserted to keyhole, screw key hole again, a series of loaded down with trivial details actions such as finally push the door open, when people itself because of various reasons, the words of trick inconvenience, the process of opening will greatly affect people's experience.And key itself needs people to carry and takes care of, once key loss, will be to the inconvenience greatly of artificial one-tenth.
Two: password.The time of this kind of form use is also very long, reliability aspect is also good, experience is convenient, good than key, because in the process of door capable of being opened, do not need people to draw the action that key is come in and gone out and rotated, meanwhile, itself does not take up room password, so do not need people to carry, has reduced like this risk of the key loss of bearing when carrying and taking care of key to people, but the mode of this pure mechanical cipher, this needs people to input the operations such as password, so also very complicated in the process of unblanking and be not easy.
Three: remote control.The service time of this kind of form is relatively short, and be generally applied to automotive lock closed neighborhood, the reliability of itself has obtained many checkings, fact proved, reliability is also very high, simultaneously because the progress of cipher mode, so security is also good, according to different demands, can be set to not need to draw out key, very important person comes into the function that the locking system being unlocked is automatic unlocking, so very easy to use, but this kind of form has a shortcoming, it is exactly the risk of itself carrying of not breaking away from that the mode of key has and keeping, once remote-control key is lost, also can give the inconvenience greatly of artificial one-tenth.
Except these three kinds of forms, existing system for unlocking also has retina release, the forms such as being unlocked by fingerprint, but because the complexity of these these body structures of form, so the scope of using is very narrow, does not need more detailed narration here.
In existing technology, utilized mobile device connection carrier, and by mobile device the technology by carrier operating part function, this kind of technology is known technology.Meanwhile, control the motion of dead bolt by electronic system, the operation that reaches release and lock, also belongs to existing known technology.
Summary of the invention
The method of controlling locking system by mobile equipment, the loaded down with trivial details operations such as key that need for solving existing locking system, be reduced at needed manpower activity in the process of unblanking as far as possible, the way of its realization is: the external linkage function of utilizing existing mobile device itself, as wifi, bluetooth, infrared etc.; By mobile device, to locking system, send the instruction of unblanking and locking, between locking system and mobile device, need to comprise the process that the maltilevel security of display Name, password, dynamic password is verified and reset, allow locking system carry out the operation of unblanking and locking, realize the process of unblanking and locking.
After user has had this locking system, go out at ordinary times and do not need to be with key, only need mobile device at one's side, can realize gos out latches automatically, and the effect of auto-unlocking before entering, has greatly improved user's convenience.
This locking system is mainly comprised of following components:
Mobile device: can be mobile phone, can be also other equipment with external linkage function, as panel computer, digital camera etc.Must be to possess external linkage function, the function of this link comprises: the connection codes and standards that Wifi, bluetooth, the existing mobile device such as infrared are used.
Client: a kind of program based on mobile phone operating system exploitation, be loaded in the program of mobile device, itself passes through embedded in mobile phone, data transmission, internet link standard transmission way in being loaded under online enters mobile device, this client can be by showing the interface of self on mobile device, the setting and the operation that allow user be correlated with, simultaneously according to requirement of the present invention, setting and operation for user are carried out, this execution comprises: the title self showing is set, self password is set, automatically generate dynamic password, carry out the instruction of different position locking system operations.
Command reception and disposal system: this chip is positioned at the inside of locking system, can receive from outside the signal of the standard that various existing mobile devices use, and comprises that wifi, bluetooth, the codes and standards such as infrared connect., can identify for these mobile devices meanwhile, with qualified equipment connection, allow equipment to self sending relevant order simultaneously, and the order that equipment is sent is carried out.In this simultaneously, native system also possesses the function that management connects user.
Locking executive system: comprise the combination of the plant equipment of motor etc., for carrying out the order from command reception disposal system, to locking system unblank and locking function carries out executable operations.
Mechanical lock: include dead bolt, the known technology such as lock core, hoodle.
Operation key: for connection authority is set, and unblank and lock in the situation of mobile device inefficacy or loss.
Warning system: point out for the operations for client, carry out alarm for illegal invasion simultaneously.
Use this technology, can produce safe and convenient locking system, reduce people's self work.
Embodiment
Fig. 1 is composition schematic diagram of the present invention, and the present invention comprises altogether locking system part and user from band portion.Latch portion is divided and is comprised command reception disposal system, topworks, mechanical lock part and carry out key.User comprises that from band portion one with the mobile device of signal emission function, and is loaded into the client above mobile device.
While using for the first time or while matching for the first time, need to first locking system be connected with mobile device, and for communication each other arranges password, to prevent that other equipment from pretending to be both sides' identity, cause the risk cracking.The process of this connection is as follows:
One, with key, lock core is turned to predefined position.This process is for the First Contact Connections of open command reception and disposal system.In this process, key turns is to predefined position, can be key towards concrete predefined anglecs of rotation such as unblank 360 ° of direction reverse rotations or 720 °, allows lock core reach the position that starts first connection; In part example, this process has gone out to turn to outside the position of appointment, can also be to stop the regular hour in the position of appointment that the time of this stop can be the predefined time such as 10 seconds, 20 seconds.
Two, locking system is opened mobile device function of search.In this process, because key above has turned to lock core predefined position, locking system is both by predefined parameter, open the function of automatic search mobile device, in the middle of this function, this locking system becomes visible, that is: the mobile device in signal effective range around all can be found the signal of this locking system arbitrarily, then can be according to any setting of user self itself, enter locking system, and match with locking system, as: user's self mobile device title is set to: mobile, password is set to: 123456, as long as the title of mobile device itself meets the inner code requirement arranging of locking system, the number of password is no less than the minimal amount of the password setting in advance, approve that this equipment is legitimate device, can match by wireless signal and this locking system.
Three, locking system and mobile device match.In this process, locking system because and opened mobile device function of search, and mobile device has also been opened the matching function of oneself, so locking system can search mobile device, when mobile device sends signal according to the title of user's setting and password, no matter what the title of locking system user's mobile device and password be, only need length and title standard, and be satisfied with the standards such as the inner title arranging of locking system and Password Length, match with mobile device.
Four, locking system and mobile device exchange password.Because in last process, locking system and mobile device are matched, so can carry out the interchange of data between locking system and mobile device, after First Contact Connections is good, locking system can generate the password of a standard automatically, then send to mobile device, after mobile device is received the password of locking system, this password is saved, and generate self a password, send to locking system, locking system also saves the password of mobile device, and process own all needs the other side's confirmation.The concrete solution of this process is:
A) locking system sends password (as: 123456) to mobile device;
B) mobile device is received the password 123456 of locking system, be saved to the database of oneself, and generate self a password (as: 234567), the password (234567) of the password of locking system (123456) and mobile device self is sent;
C) self password and mobile device password that locking system receives that mobile device sends over, confirmed the mobile device reception exactly of password (123456) of self, and received the password (234567) of mobile device, the password of mobile device is saved, and then the password of mobile device (234567) is sent;
D) mobile device is received the password of locking system, sends confirmation and goes out;
E) locking system is received confirmation, finally sends confirmation, enters standby mode;
F) mobile device is received confirmation, by mobile device, to user, sends prompt tone, enters standby mode simultaneously.
In above-mentioned way, if have any one link or step wrong, cause the check and correction of both sides' password incorrect, or do not receive at all, capital returns to previous step again, re-starts the execution of step, if same step is carried out, surpasses three all failures, both sides abandon in steps, enter previous state.
In part example, because the mobile device for open-and-close system can be over 1, so need to carry out the pairing of a plurality of mobile devices, and for a plurality of mobile devices, password is set, in order to check different mobile devices, way used in the present invention is: when key rotates the position to appointment, and after keeping this position to reach the time of appointment, after first mobile device successful matching, if user does not leave key rotation the position of appointment, locking system carries out search and the pairing process of second mobile device automatically.
Fig. 2 is a routine release process flow diagram of the present invention, and after locking system and mobile device carried out pairing and password exchange, locking system can be hidden self, only has when meeting the mobile device title of its data and occur, just initiatively matches with it.And according to the intensity of signal, mobile device and the distance of self are judged, when signal intensity has reached the intensity of appointment, the user that mobile device is held in representative is during near locking system, open with the password exchange process of mobile device and carry out release, this flow process comprises the steps: altogether
One, mobile device pairing.When the mobile device that carried out for the first time pairing with locking system is searched out then, automatically and mobile device match.
Two, detect position of mobile equipment.When the signal intensity of mobile device reaches the standard setting in advance, while representing mobile device near locking system, automatically start with the password check and correction of mobile device and replace flow process, the method that this flow process is taked is:
Locking system sends self password.The password (as: 123456) that locking system was checked last time and mobile device sends to mobile device.
Mobile device password check.After mobile device is received the password of locking system, the password of the locking system of this password and its data library storage can be checked, if the coupling of checking, the password (as: 234567) that is about to self sends to locking system.
Locking system password check.After the Locked Password closed system that mobile device sends receives, locking system can be checked the password of this password and both sides' storage last time automatically, if the password of password now and last stored is identical, i.e. the match is successful in representative.
Carry out new password.Locking system, after the password of checking both sides is errorless, can regenerates a new password (as: 345678) and new password is sent to mobile device.After mobile device is received this password, also can automatically generate self a new password (as: 456789), and the new password of the related locking system of just now receiving (345678) is sent to locking system together.After locking system checks that mobile device receives the password of self is errorless, then the password of mobile device (456789) is sent to mobile device.Mobile device checks that locking system receives again the password of self, if correct, sends confirmation to locking system.Locking system is received the confirmation of mobile device, sends the confirmation of self to mobile device simultaneously.
So far mobile device and locking system replace with new password by the other side's original code, that is: the password of locking system is 345678, and the password of mobile device is that 456789. original both sides' password 123456 and 234567 is all invalid.
Three, unblank.Mobile device sends unlock instruction to locking system.
This flow process be successful matching later whenever all need through flow process, that is: each car door opening once, both sides' password is also changed once, can by other means, obtained and shown the identity of pretending to be both sides after user name and password by other equipment like this.Password in this flow process, is the password that irregular self system of milli generates, and the password in above-mentioned flow process only, for for example, according to different safe classes, can arrange the complexity of password.
It should be noted that, this flow process not only can be unblanked, when both sides' cryptographic core to and upgrade after, mobile device can also send by the client above mobile device comprise out boot, put in a skylight, start the instruction that automobile is controlled in transmitter, locking etc.
Fig. 3 is the solution process flow diagram of the present invention after mobile device is lost.Need instructions, said loss in the present invention, specifically also comprises: hand-set from stolen, the damage of mobile phone self, the loss of cell-phone customer terminal or damage.
Because mobile device belongs to the article that the person carries, so unavoidable, there is the possibility of losing or damaging, although now still can use the key of locking system unblanks and the action of release, if but the mobile device of losing is utilized by people, to cause risk to user, although this risk is less than the risk of losing key, the present invention still provides the way addressing this is that.
Once mobile device is lost, what first lose is account and the password of the inside, although only have account and password can not be unblanked, the client of mobile device the inside still has the possibility being utilized.So the present invention will do, be exactly that original account and password is all discarded, simultaneously that the dynamic password of client stores is also discarded.Solution flow process of the present invention is as follows:
One, confirm mobile device loss.Sometimes the loss of mobile device not really cannot be given for change, and is only to forget in certain corner temporarily cannot find, thus this requirements of process confirm, mobile device cannot find.
Two, find out key.In the present invention, locking system self can be equipped with a key, for the authority that account number cipher is set is provided.
Three, insert key rotation.In this flow process, itself arranges authority key, and in authority is set, and key must be according to the requirement setting in advance, and rotation is to certain angle (as: 360 °, 720 ° etc.), and remains on this angle position certain hour (as: 3 seconds, 5 seconds etc.).
Four, locking system is deleted account number cipher.In this flow process, because having sent, key deletes the order that locking system is deleted account number cipher, so locking system can be deleted processing by the account number cipher of losing mobile device automatically.If in system, a plurality of accounts and password are not set, locking system can enter the flow process of adding new mobile device authority as required automatically.This flow process is identical with the flow process of First Contact Connections locking system.
Fig. 4 is that the present invention is in the example flow chart applying on automobile.As everyone knows, the unlocking manner of automobile is different with the door lock of family expenses, because automobile is after release, need to open engine and car electrics, and in the opening process of engine and car electrics, need equally authority, if these authorities are attributed to automobile key, automobile is after opening the door so, still need to draw out automobile key and carry out release engine, like this for convenience, lifting and not obvious, if and directly with mobile device, carry out release engine, need to face following problem:
A, the functions such as bluetooth telephone above car electrics need to use: existing many automobiles, the self-contained function being connected with mobile device, can be by the Bluetooth system of automotive internal, and sound information system, the operation of the functions such as automobile receives calls utilized.
B, engine are in the process of moving, can not died: mobile device does not all likely have electricity at any time, if do not have electricity, system can be judged mobile device and principle system for unlocking automatically, therefore the release authority of locking system and engine also disappears, if now engine auto extinguishing, can cause and occupy even disaster of large trouble.
The startup of C, warning system: because unexpected running down of battery or the failure and other reasons of mobile device, that causes locking system does not have release authority, a startup of warning system.
The way that the present invention solves Bluetooth Telephone System is: after mobile device open-and-close system, locking system, to power-supply system sending permission, as long as user clicks the switch above automobile, starts Bluetooth Telephone System.
The way that the present invention solves engine unlatching is: after mobile device open-and-close system, the automatic sending permission of locking system, as long as user clicks the switch above automobile, i.e. starting engine.
The flow process of this example is as follows:
One, release:, after the account of mobile device, password, the success of dynamic password complete check, automatically provide power-supply system, engine starting system authority in car.
Two, by the button of appointment: this button, in current technology, solves, and user needs to press this button in by flow process, decides the automobile function of startup according to the number of times of pressing.
Three, power-on system and/or engine system: the user by just now operates, open these two functions automatically.
It should be noted that, in the flow process of this example, the unlatching of power-supply system and engine system needs locking system that authority is provided, but the maintaining and closing of power-supply system and engine system, all do not need locking system that authority is provided, like this, engine is after starting, even if mobile device running down of battery or other reasons, locking system does not provide authority, engine still remains in operation, until user is closed, this process is until between the process of secondary opening, all without the operation of locking system, the course of work of automobile power system is identical with the process of engine system.