Background technology
Smart lock in daily life just can be opened after generally needing input password, and usual Password Input is undertaken by input panel.At present, in the scheme solving Password Input, the input panel with 12 buttons adopted as shown in Figure 1, namely comprises 0-9 ten numerals additional " * " and " # " button more.Also have some to adopt the design of 6 buttons, wherein such as 1 and 5 is multiplexing, and 2 and 6 is multiplexing etc., and what change is in essence its mentality of designing do not have.Generally also being provided with the device R for throwing light at the top of Password Input panel and bottom, seeing numeral on button clearly so that user can be allowed in the environment of dark.
To be described with the input panel of 12 buttons, this cipher-code input method of the prior art has following shortcoming:
The first, lighting device can waste a large amount of energy.This is that lighting device is always in running order, and needs to reach certain brightness of illumination due in the process of input password, and its electric energy consumed generally can account for more than 50% of system consumes power.Reason has two, one, and the electric current that illumination section consumes is suitable with other parts, even also large than other parts, and owing to considering illuminating effect, cannot effectively reduce; They are two years old; its working time can be longer than working time of other elements usually far away; such as during whole Password Input; the total active time of CPU only has it 10% even less; this is because CPU detects, processes actuation of keys and only need a few tens of milliseconds at every turn, just enter dormant state fast afterwards, instead of be in active state always; and the experience of illumination in order to consider people, be all generally be in active state always.At present, smart lock many employings dry cell is powered, and the high frequent replacing that can cause battery of energy consumption, it is very inconvenient to use.If do not arrange lighting device, then in dark surrounds, by 12 key-press input passwords, there is suitable difficulty, be very easy to make mistakes.
The second, because input panel has 12 buttons, it is very large that it generally all understands the moving range pointed when to arrange in the face of importer and make to input password.So just be easy to be peeped password by bystander person or picture pick-up device, reduce security.In order to prevent password leakage, entry personnel may be blocked with hand when inputting password, can cause much unnecessary embarrassment like this.
Three, assailant can pass through the abrasion condition of often button by permutation and combination, is easy to just to try out true password, thus greatly reduces security.
In addition, what can retrieve in prior art is four for inputting the minimum key number of password, such as, in patented claim CN103679888A disclosed in, and wherein concrete cipher-code input method is not disclosed yet.
Therefore, a kind of cipher-code input method that can overcome the smart lock of the above-mentioned defect existed in prior art is needed in prior art.
Summary of the invention
The invention provides a kind of method and the system thereof that only utilize two buttons to carry out the Password Input of smart lock, it can overcome the above-mentioned defect existed in prior art.
According to the cipher-code input method of smart lock of the present invention, wherein, carry out by means of only the first button and the second button, during input password, press the first button respectively and the second button carries out Password Input according to the password arranged.
Preferably, by corresponding with the first button for 0 in binary coded, by corresponding with the second button for 1 in binary coded; Or, by corresponding with the first button for 1 in binary coded, by corresponding with the second button for 0 in binary coded.
Preferably, by corresponding with individual palpation first button for 0 in binary coded, by corresponding with the following combination operation of the first button and the second button for 1 in binary coded: during pressing the second button, then press the first button; Or, by corresponding with individual palpation first button for 1 in binary coded, by corresponding with the following combination operation of the first button and the second button for 0 in binary coded: during pressing the second button, then press the first button; Or
By corresponding with individual palpation second button for 0 in binary coded, by corresponding with the following combination operation of the first button and the second button for 1 in binary coded: during pressing the first button, then press the second button; Or, by corresponding with individual palpation second button for 1 in binary coded, by corresponding with the following combination operation of the first button and the second button for 0 in binary coded: during pressing the first button, then press the second button.
Preferably, individual palpation first button with binary coded in 0 or 1 corresponding, when pressing the second button and after lifting, again individual palpation first button with binary coded in 1 or 0 corresponding, by that analogy; Or
Individual palpation second button with binary coded in 0 or 1 corresponding, when pressing the first button and after lifting, again individual palpation second button with binary coded in 1 or 0 corresponding, by that analogy.
Preferably, when the password right and wrong arranged are binary coded, then nonbinary password is converted to binary coded by the following two kinds mode:
Each bit value of nonbinary password is converted into successively the binary number of corresponding code value, or
Each bit value of nonbinary password is alternately converted into 0 of corresponding number or the binary number of 1 successively,
Then input according to binary coded input method.
Preferably, press another button different from the button of the last pressing completing Password Input and represent unlock instruction.Or, as long as contain the password arranged in the keying sequence of user's input, just think that user completes Password Input.Or last button having pressed Password Input for a long time represents unlock instruction
Preferably, arbitrary button is pressed or swing handle activates or waken system; Or, when smart lock is in opening, the arbitrary button of long-time pressing or double-click arbitrary button and send blocking order.Or, increase back drop when key-press input password.Or, be also provided with home key or the end key of independent Password Input.
A second aspect of the present invention relates to a kind of intelligent lock system using cipher-code input method as above to carry out Password Input.Preferably, the door Internal handle of this intelligent lock system is also provided with and unblanks and the button of locking for auxiliary.
Adopt cipher-code input method and the system thereof of smart lock of the present invention, the number of keys being used for inputting password to be reduced to ultimate attainment by it, significantly reduces the energy consumption of system and enhances security; Further, the cipher-code input method of smart lock of the present invention can carry out the input of password completely with the sense of touch of people, be particularly useful for blind person.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
The cipher-code input method of smart lock of the present invention utilizes two buttons to carry out, i.e. the first button and the second button, presses the first button respectively and the second button carries out Password Input during input password according to the password arranged.For the purpose of simplifying the description, 0 in password is corresponding with the first button, 1 in password is corresponding with the second button below.It should be noted that, in cipher-code input method of the present invention, can also be 1 in password is corresponding with the first button, corresponding with the second button by 0 in password.Further, when each input password, the first button and password corresponding to the second button are not fixing, can exchange.
Such as, for arrange binary coded 000111010101, press the first button during input successively, the first button, the first button, the second button, the second button, the second button, the first button, the second button, the first button, the second button, the first button, the second button complete Password Input.That is, when inputting binary coded, 0 in password is corresponding with the first button, 1 in password is corresponding with the second button, then pressing first button corresponding with binary coded digits or the second button complete input respectively.
If the password right and wrong arranged are binary coded, then can first nonbinary password be converted to binary coded, then input according to binary coded input method.Below, be that decimal system password is described for the password arranged.
When the password arranged is decimal system password abcdef..., following two kinds of cipher-code input methods can be adopted:
The first, successively press a the first button, b the second button, c the first button, d the second button, e the first button, f the second button ... complete Password Input.That is, alternately press continuously and the first button of the corresponding number of times of decimal system password digits and the second button.Such as, when the decimal system password arranged is 258735, presses 2 the first buttons, 5 the second buttons, 8 the first buttons, 7 the second buttons, 3 the first buttons, 5 the second buttons successively and complete Password Input.
The second, every decimal system password is converted to 4 binary coded, then input according to binary coded input method.Still be described for decimal system password 258735, decimal system password 258735 be converted to 4 binary coded after for 0010-0101-1000-0111-0011-0101.Then input the first button successively according to binary coded input method, the first button, the second button, the first button, the first button, the second button, the first button, the second button, the second button, the first button, the first button, the first button, the first button, the second button, the second button, the second button, the first button, the first button, the second button, the second button, the first button, the second button, the first button, the second button complete Password Input.
Similarly, the scale-of-eight of setting or hexadecimal password can also be converted to respectively 3 binary coded and 4 binary coded, then input according to binary coded input method.
Preferably, cipher-code input method of the present invention can be arranged as follows: as long as contain the password arranged in the keying sequence of user's input, just think that user completes Password Input.Such as, the binary coded of user's setting is 000111010101, if the keying sequence of user's input is
1101000111010101
100, owing to wherein having contained password 000111010101, then thought that user completes Password Input.When it is when last password " 1 " that pressing second key-press input is binary coded, just think that it completes Password Input.The object of setting like this is the interference code that can increase any amount before and after the password that input is real, thus makes this input method more safe and reliable.More preferably, if complete Password Input and terminating the actuation of keys without any other in 3 seconds after all actuation of keys, then auto-unlocking.It should be noted that, the term in the present invention " completes Password Input " and refers to and is entered correctly password, does not represent and unblanks at once.
More preferably, Password Input of the present invention complete after the mode of unblanking can be:
(1) press another button different from the button of the last pressing completing Password Input and represent unlock instruction.Such as, for arrange binary coded 000111010101, when completing Password Input, the button of last pressing is the second button, if then press the first button, then sends unlock instruction at once.It should be noted that, would have been completed Password Input when last pressing the second button, now do not carry out any input action and after waiting for 3 seconds, lock can be opened automatically.But, if want to unblank at once after completing Password Input, pressing another button different from the button pressed for the last time can be adopted to unblank at once.
(2) last button that long-time (such as, can be 1-2 second) has pressed Password Input represents unlock instruction.It should be noted that, the averaging time of normal person's button, in the present invention was that enabling the averaging time distinguishing over button significantly, such as, can be 1-2 second relative to the time of normal button for a long time at about 0.5 second.For arrange binary coded 000111010101, the button of last pressing is the second button, if want to unblank at once after end Password Input, then keeping when in the end can press the second button can be such as the pressing of 1.5 seconds for a long time.
Preferably, in cipher-code input method of the present invention, the action of pressing first button that first time carries out or the second button can not be considered to the action of Password Input, but for activating or waken system.This is because door is that under being in closed condition, now smart lock is in dormant state under general state, when needs input secret number, one of them key wakeup system first can be pressed.In addition, can also be activated or waken system by swing handle.
Preferably, when smart lock is in opening, long-time (such as, can be 1-2 second) presses the first button or the second button or double-clicks the first button or the second button sends blocking order, can be closed by smart lock easily.When this function is gone out for user, easily from the outside by door locking.
Preferably, back drop can be increased when key-press input password, make onlooker cannot guess password by the sound of button.Particularly, can send the sound when each button, the object of this back drop eliminates the inconsistent problem of sound that different key sends simultaneously; Or during input password, produce random back drop (such as, per second send back drop 2-3 time), its objective is and eliminate that keying frequency is inconsistent leaks out extra information, such as switching key can be longer than the time interval of pressing same button.
In addition, the cipher-code input method of smart lock of the present invention can also by arranging independent beginning or end key starts and terminates Password Input.That is, one or two button can be provided with as the home key of Password Input or end key.As shown in Figure 4, which show the home key 3 and end key 4 that arrange separately, even if its position or shape are set to make user also can be distinguished exactly in dark surrounds.It should be noted that, in home key or end key also only can be set, or only do starting and ending with a button dual-purpose in Fig. 4 just schematically.
Preferably, door Internal handle also can be provided with for assisting the button of unblanking with locking.
Because the cipher-code input method of smart lock of the present invention just can realize by means of only two buttons, number of keys for inputting password is reduced to ultimate attainment, greatly reduce the size of Password Input panel, and can be set easily in different positions, such as shown in figures 2-3, the first button 1 and the second button 2 can be arranged on the outside of door outer handle or the inner side of door outer handle.It should be noted that, just schematically, vice versa for the first button in Fig. 2-3 and the position relationship of the second button.In addition, a button can also be arranged on the outside of door outer handle, another button is arranged on the inner side (not shown) of door outer handle.Because button is set directly on handle, the convenience therefore pressed strengthens greatly, without any unnecessary action during enabling.Meanwhile, owing to only having two buttons and its distance can make the finger of user to get at easily and not need other parts of mobile hand with arranging.Further, the moving range due to finger is very little and touch potential is more, and onlooker is not easy the situation of movement observing finger, thus greatly enhances the security of password, also can not bring the embarrassment of blocking password.Especially under the condition of complete darkness, even if without any lighting device, can as object of reference owing to there is handle, user voucher sense of touch also can input password completely smoothly easily, even if blind person also can complete easily.
Certainly, on the wall that also as required these two buttons can be arranged on a side or in the main body of door.Preferably, only just Password Input can be completed easily by thumb or forefinger.
Adopt password input mode of the present invention, need the number of times of pressing keys more than the Password Input panel used in Fig. 1, but because two buttons are apart from closer, therefore its efficiency is in fact also very high, such as input 16 passwords usually just can complete within 8-10 second, there is practical value.The more important thing is, the number of keys being used for inputting password to be reduced to ultimate attainment by it, significantly reduces the energy consumption of system and enhances security.
In the present invention, the first button and the second key-press input password is utilized can also to have the mode of following distortion:
The first, can also by corresponding with individual palpation first button for 0 in binary coded, by corresponding with the following combination operation of the first button and the second button for 1 in binary coded: during pressing the second button, then press the first button; Or, by corresponding with individual palpation first button for 1 in binary coded, 0 in binary coded is operated corresponding with combinations thereof.Also can by corresponding with individual palpation second button for 0 in binary coded, by corresponding with the following combination operation of the first button and the second button for 1 in binary coded: during pressing the first button, then press the second button; Or, by corresponding with individual palpation second button for 1 in binary coded, 0 in binary coded is operated corresponding with the combinations thereof of the first button and the second button.
Second, can also individual palpation first button with binary coded in 0 or 1 corresponding, when pressing the second button and after lifting (now, the second button plays the effect of switch key), again individual palpation first button with binary coded in 1 or 0 corresponding, by that analogy; Or, individual palpation second button with binary coded in 0 or 1 corresponding, when pressing the first button and after lifting (now, the first button plays the effect of switch key), again individual palpation second button with binary coded in 1 or 0 corresponding, by that analogy.
If user is intended for smart lock of the present invention and arranges password, can by the application program of control of intelligent terminal, such as smart mobile phone APP, notebook, panel computer, intelligent watch or intelligent remote controller, also or can arrange independent password in addition and arrange module installation password by the specific combination of button.When the password arranged is nonbinary password, need to increase system modular converter, to be converted to binary coded by nonbinary password in intelligent lock system.In order to farthest avoid the waste of energy consumption, password arranges module and is generally in auto sleep state, just only start this function when needs arrange password.
Although the embodiment disclosed by the present invention is as above, the embodiment that just adopts for the ease of understanding the present invention of content, and be not used to limit the present invention.Technician in any the technical field of the invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.