Summary of the invention
In view of this, fundamental purpose of the present invention is to provide that a kind of password is arranged, system for unlocking and method, to be arranged or unlocking pin exists the risk that password reveals, the problem that security is lower to solve in prior art by touch-tone keypad.
For solving the problem, technical scheme provided by the invention is as follows:
A kind of password arranges system, and described system comprises:
Digital input key, an acknowledgement key and a controller;
Described digital input key is connected with described controller, and described acknowledgement key is connected with described controller;
Described controller first knocks second of trigger pip and described acknowledgement key for what receive described digital input key and knocks trigger pip; When receiving described first and knocking trigger pip, record the triggering times that described first knocks trigger pip, when receiving described second and knocking trigger pip, stop recording the triggering times that described first knocks trigger pip; Preserve the triggering times that described first knocks trigger pip, as one of password.
Accordingly, described controller comprises:
Counter and storer, described counter is connected respectively with described digital input key, acknowledgement key, and described counter is connected with described storer;
Described counter, knocking trigger pip for knocking trigger pip and described second according to described first, recording the triggering times that described first knocks trigger pip;
Described storer, for preserving the triggering times that described first knocks trigger pip, as one of password.
Accordingly, described system also comprises:
A cancel key, described cancel key is connected with described controller;
Described controller the 3rd knocks trigger pip also for receiving described cancel key; When receiving the described 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in described first of current record.
Accordingly, described system also comprises:
Hummer and vibration motor, described hummer is connected with described controller, and described vibration motor is connected with described controller;
Described hummer, for when receive described second knock trigger pip or the described 3rd knock trigger pip time, send prompting sound;
Described vibration motor, for when receiving described first and knocking trigger pip, sends vibrational feedback.
A kind of unlock password system, described system comprises:
Digital input key, an acknowledgement key and a controller;
Described digital input key is connected with described controller, and described acknowledgement key is connected with described controller;
Described controller first knocks second of trigger pip and described acknowledgement key for what receive described digital input key and knocks trigger pip; When receiving described first and knocking trigger pip, record the triggering times that described first knocks trigger pip, when receiving described second and knocking trigger pip, stop recording the triggering times that described first knocks trigger pip; Whether comparing recorded described first, to knock the triggering times of trigger pip identical with password position corresponding in decoding password, if so, then for this password position unblock successfully, if not, then unlock failure.
Accordingly, described controller comprises:
First counter, storer and comparer, described first counter is connected respectively with described digital input key, acknowledgement key, and described comparer is connected with described first counter, and described comparer is connected with described storer;
Described counter, knocking trigger pip for knocking trigger pip and described second according to described first, recording the triggering times that described first knocks trigger pip;
Described storer, for preserving decoding password;
Described comparer, whether the triggering times of knocking trigger pip for described first of more described first counter records is identical with password position corresponding in the decoding password that described storer is preserved, if so, then for the unblock success of this password position, if not, then failure is unlocked.
Accordingly, described controller also comprises:
Second counter and transmitter, described second counter is connected with described comparer, and described transmitter is connected with described second counter;
Second counter, unlocks failed number of times for recording;
Transmitter, triggers when the number of times for the unblock failure when described second counter records reaches predetermined threshold value, to designated equipment emission state information signal or authorization information signal.
Accordingly, described system also comprises:
Mode selector, described mode selector is connected respectively with described digital input key, acknowledgement key, controller;
Described mode selector, for before carrying out unlock password, the triggering times of knocking trigger pip according to described first of record selects corresponding Password Input pattern, and described controller is also for preserving described Password Input pattern; Described Password Input pattern comprises unit unlock mode, multidigit unlock mode, described unit unlock mode comprises acquiescence position unlock mode, random order unlock mode and the first bit selecting unlock mode, and described multidigit unlock mode comprises the second bit selecting unlock mode and full position unlock mode.
Accordingly, described system also comprises:
A cancel key, described cancel key is connected with described controller;
Described controller the 3rd knocks trigger pip also for receiving described cancel key; When receiving the described 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in described first of current record.
Accordingly, described system also comprises:
Hummer and vibration motor, described hummer is connected with described controller; Described vibration motor is connected with described controller;
Described hummer, for when the unblock success for password position or when unlocking unsuccessfully, sends prompting sound;
Described vibration motor, for when receiving described first and knocking trigger pip, sends vibrational feedback.
Accordingly, described system also comprises:
Perform driving circuit, described execution driving circuit is connected with described controller;
Described execution driving circuit, for when unlocking successfully, performs unlocking motion.
Accordingly, described system also comprises:
Display, described display is connected with described controller;
Described display, for showing described Password Input pattern.
A kind of cipher set-up method, described method comprises:
Receive first of digital input key to knock second of trigger pip and acknowledgement key and knock trigger pip;
When receiving described first and knocking trigger pip, record the triggering times that described first knocks trigger pip, when receiving described second and knocking trigger pip, stop recording the triggering times that described first knocks trigger pip;
Preserve the triggering times that described first knocks trigger pip, as one of password.
Accordingly, described method also comprises:
Receive cancel key the 3rd knocks trigger pip;
When receiving the described 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in described first of current record.
A kind of unlock password method, described method comprises:
Receive first of digital input key to knock second of trigger pip and acknowledgement key and knock trigger pip;
When receiving described first and knocking trigger pip, record the triggering times that described first knocks trigger pip, when receiving described second and knocking trigger pip, stop recording the triggering times that described first knocks trigger pip;
Whether comparing recorded described first, to knock the triggering times of trigger pip identical with password position corresponding in decoding password, if so, then for this password position unblock successfully, if not, then unlock failure.
Accordingly, described method also comprises:
Record unlocks failed number of times;
Status information or authorization information signal is sent to designated equipment when the failed number of times of described unblock reaches predetermined threshold value.
Accordingly, described method also comprises:
Before carrying out unlock password, the triggering times of knocking trigger pip according to described first of record selects corresponding Password Input pattern, described Password Input pattern comprises unit unlock mode, multidigit unlock mode, described unit unlock mode comprises acquiescence position unlock mode, random order unlock mode and the first bit selecting unlock mode, and described multidigit unlock mode comprises the second bit selecting unlock mode and full position unlock mode.
Accordingly, described method also comprises:
Receive cancel key the 3rd knocks trigger pip; When receiving the described 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in described first of current record.
As can be seen here, the present invention has following beneficial effect:
The embodiment of the present invention is by arranging two buttons, a digital input key and an acknowledgement key, obtain corresponding input password figure by the number of times of key tap, and the action of input password is not obvious, not easily identified by other staff, improve the security of Password Input.Meanwhile, arrange vibration motor and hummer, can give user prompting in Password Input process, adopt touch system mode to complete Password Input, without the need to blocking, Password Input process is hidden, high safety.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, are described in further detail the embodiment of the present invention below in conjunction with the drawings and specific embodiments.
Password setting of the present invention, system for unlocking and method, that the mode password arranging for password in prior art or unlock easily exposes, the problem that security is low, propose a kind of password arrange or system for unlocking be made up of a digital input key, an acknowledgement key and controller, by recording the number of taps of digital input key, obtain a corresponding password figure, complete setting or the unblock of password, the security of password can be improved.
Based on above-mentioned thought, shown in Figure 1, a kind of password of the present invention arranges system embodiment one and comprises:
Digital input key (S1), an acknowledgement key (S2) and a controller (U1);
Digital input key (S1) is connected with controller (U1), and acknowledgement key (S2) is connected with controller (U1).
Concrete, digital input key (S1), acknowledgement key (S2) directly can be connected with controller (U1); Also can be connected with controller (U1) by resistance (R3) by digital input key (S1), acknowledgement key (S2) is connected with controller (U1) by resistance (R4), simultaneously, one end ground connection of digital input key (S1), the other end is connected with power supply by resistance (R1), one end ground connection of acknowledgement key (S2), the other end is connected with power supply by resistance (R2), to realize the power supply of controller.
Controller (U1) first knocks second of trigger pip and acknowledgement key for what receive digital input key and knocks trigger pip; When receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip; Preserve the triggering times that first knocks trigger pip, as one of password.
Namely controller can record the number of taps of digital input key, trigger with first time digital input key and remember 1 for starting, often receive and knock trigger pip record numeral for one time first and add 1, with acknowledgement key triggering for terminating, then recorded number of taps represents one-bit digital password.Repeat above process, complete the setting of some passwords.
As can be seen here, the process that password is arranged only needs two buttons to realize, and other staff are difficult to the password inputted by number of taps identification, fully ensure that the security in cipher setting procedures.
In embodiments of the present invention, controller can be 51 series monolithics, also can for realizing the hardware circuit of correlation function, such as in some embodiments of the invention, controller can comprise: counter and storer, counter is connected respectively with digital input key, acknowledgement key, and counter is connected with storer.
Counter, knocks trigger pip for knocking trigger pip and second according to first, and record first knocks the triggering times of trigger pip.
Storer, for preserving the triggering times that first knocks trigger pip, as one of password.
Storer can be the EEPROM(Electrically Erasable Programmable Read-Only Memory in controller, EEPROM (Electrically Erasable Programmable Read Only Memo)) chip, use this storer to carry out the storage of password, the information stored after making power-off restarting also can not be lost.Meanwhile, it should be noted that storer also can be arranged separately, must not be arranged at controller inside.
In some embodiments of the invention, password of the present invention arranges system and can also comprise: a cancel key, cancel key is connected with controller.
Then controller the 3rd knocks trigger pip also for receiving cancel key; When receiving the 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in first of current record.
That is, in digital input key input process, if there is maloperation, can also be removed the number of taps of current record by cancel key, restart the number of taps recording digital input key.
In some embodiments of the invention, digital input key, acknowledgement key or cancel key can be mechanical key, also can be induction type button.
In some embodiments of the invention, password of the present invention arranges system and also comprises: hummer and vibration motor, and hummer is connected with controller, and vibration motor is connected with controller.
Hummer, for when receive second knock trigger pip or the 3rd knock trigger pip time, send prompting sound;
Vibration motor, for when receiving first and knocking trigger pip, sends vibrational feedback.
While button, send vibrational feedback, user can be made to complete the input of password by touch system, meanwhile, sending prompting when confirming or cancel, user also can be facilitated to know current input, complete the setting of password smoothly.
In some embodiments of the invention, password of the present invention arranges system controller and can also comprise: timer, and timer can be connected with numeric input keys, exceed in Preset Time do not receive first knock trigger pip time, carry out reset operation, wait for the input of next keying sequence.
Shown in Figure 2, a kind of password of the present invention arranges system embodiment two and comprises:
A digital input key (S1), acknowledgement key (S2), controller (U1), vibration motor (B1) and a hummer (LS1).
Digital input key (S1), acknowledgement key (S2), vibration motor (B1) and hummer (LS1) are all connected with controller (U1).
Concrete, digital input key (S1), acknowledgement key (S2) directly can be connected with controller (U1); Also can be connected with controller (U1) by resistance (R3) by digital input key (S1), acknowledgement key (S2) is connected with controller (U1) by resistance (R4), simultaneously, one end ground connection of digital input key (S1), the other end is connected with power supply by resistance (R1), one end ground connection of acknowledgement key (S2), the other end is connected with power supply by resistance (R2), to realize the power supply of controller.
Concrete, vibration motor (B1) and hummer (LS1) are connected with controller (U1) by driving circuit.As shown in FIG., in the driving circuit of hummer, resistance (R5) one end is connected with controller, resistance (R5) other end is connected with the base stage of triode (Q1) and one end of resistance (R6), the other end ground connection of resistance (R6), the collector of triode (Q1) is connected with one end of hummer (LS1), the grounded emitter of triode (Q1), the other end of hummer (LS1) is connected with power supply; Similar, in the driving circuit of vibration motor, resistance (R7) one end is connected with controller, resistance (R7) other end is connected with the base stage of triode (Q2) and one end of resistance (R8), the other end ground connection of resistance (R8), the collector of triode (Q2) is connected with one end of vibration motor (B1), the grounded emitter of triode (Q2), the other end of vibration motor (B1) is connected with power supply, and vibration motor (B1) is in parallel with diode (D1).
The principle of work of the present embodiment is:
Controller receives first of digital input key and knocks second of trigger pip and acknowledgement key and knock trigger pip; When receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip; Controller receives the 3rd of cancel key (not shown) when knocking trigger pip, empties the triggering times that trigger pip is knocked in first of current record.When receive second knock trigger pip or the 3rd knock trigger pip time, hummer can send prompting sound; When receiving first and knocking trigger pip, vibration motor can send vibrational feedback.The triggering times of trigger pip is knocked in final preservation first, as one of password.Repeat above process, complete the setting of some passwords.
As can be seen here, the embodiment of the present invention by arranging two buttons, a digital input key and an acknowledgement key, corresponding input password figure is obtained by the number of times of key tap, the action of input password is not obvious, is not easily identified by other staff, improves the security of Password Input.Meanwhile, arrange vibration motor and hummer, can give user prompting in Password Input process, adopt touch system mode to complete Password Input, without the need to blocking, Password Input process is hidden, high safety.
Accordingly, the present invention also provides a kind of unlock password system, and shown in Fig. 1, unlock password system embodiment one comprises:
Digital input key (S1), an acknowledgement key (S2) and a controller (U1);
Digital input key (S1) is connected with controller (U1), and acknowledgement key (S2) is connected with controller (U1).
Concrete, digital input key (S1), acknowledgement key (S2) directly can be connected with controller (U1); Also can be connected with controller (U1) by resistance (R3) by digital input key (S1), acknowledgement key (S2) is connected with controller (U1) by resistance (R4), simultaneously, one end ground connection of digital input key (S1), the other end is connected with power supply by resistance (R1), one end ground connection of acknowledgement key (S2), the other end is connected with power supply by resistance (R2), to realize the power supply of controller.
Controller (U1) first knocks second of trigger pip and acknowledgement key for what receive digital input key and knocks trigger pip; When receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip; Whether comparing recorded first, to knock the triggering times of trigger pip identical with password position corresponding in decoding password, if so, then for this password position unblock successfully, if not, then unlock failure.
What native system embodiment realized is unlock password function, controller can record the number of taps of digital input key, trigger with first time digital input key and remember 1 for starting, often receive and knock trigger pip record numeral for one time first and add 1, with acknowledgement key triggering for terminating, then recorded number of taps represents the one-bit digital password inputted.Whether identically with the numerical ciphers of the corresponding position of preserving compare inputted numerical ciphers, if the same represent the unlock password success of also.
In embodiments of the present invention, controller can be 51 series monolithics, also can for realizing the hardware circuit of correlation function, such as in some embodiments of the invention, controller can comprise: the first counter, storer and comparer, first counter is connected respectively with digital input key, acknowledgement key, and comparer is connected with the first counter, and comparer is connected with storer.
First counter, knocks trigger pip for knocking trigger pip and second according to first, and record first knocks the triggering times of trigger pip.
Storer, for preserving decoding password.
Comparer, whether for comparing the first counter records first to knock the triggering times of trigger pip identical with password position corresponding in the decoding password that storer is preserved, and if so, then for the unblock success of this password position, if not, then unlocks failure.
Storer can be the EEPROM(Electrically Erasable Programmable Read-Only Memory in controller, EEPROM (Electrically Erasable Programmable Read Only Memo)) chip, use this storer to carry out the storage of password, the information stored after making power-off restarting also can not be lost.Meanwhile, it should be noted that storer also can be arranged separately, must not be arranged at controller inside.
In some embodiments of the invention, controller also comprises: the second counter and transmitter, and the second counter is connected with comparer, and transmitter is connected with the second counter;
Wherein, the second counter, unlocks failed number of times for recording;
Transmitter, triggers when the number of times for the unblock failure when the second counter records reaches predetermined threshold value, to designated equipment emission state information signal or authorization information signal.
Namely status information or authorization information can also be sent to designated equipment when continuous input error reaches preset value, to improve security.
In some embodiments of the invention, can arrange mode selector, mode selector is connected respectively with digital input key, acknowledgement key, controller;
Mode selector, for before carrying out unlock password, the triggering times of knocking trigger pip according to first of record selects corresponding Password Input pattern, and controller is also for preserving Password Input pattern; Password Input pattern comprises unit unlock mode, multidigit unlock mode, unit unlock mode comprises acquiescence position unlock mode, random order unlock mode and the first bit selecting unlock mode, and multidigit unlock mode comprises the second bit selecting unlock mode and full position unlock mode.
Password Input pattern is saved in advance in controller, can judge to adopt which kind of Password Input pattern by numeral input, such as 1 representative acquiescence position unlock mode, 2 represents random order unlock mode, 3 and represents the first bit selecting unlock mode, 4 and represent the second bit selecting unlock mode or 5 and represent full position unlock mode.The Password Input pattern of the triggering times selection correspondence of trigger pip can be knocked by first of record.
Acquiescence position unlock mode is unit unlock mode, can unlock for user pre-sets the acquiescence one in accessing to your password, this unblock success is then unlocked successfully, such as unlocking pin is 6789, pre-setting default unlock position is the 2nd, then complete in model selection, when carrying out unlock password, when first to knock trigger pip record numeral be 7, then unlock successfully.
Random order unlock mode is unit unlock mode, one can be produced at random according to the figure place of password to unlock, this unblock success is then unlocked successfully, such as unlocking pin is 6789, a first random generation numeral 2, then separating lock-bit is the 2nd, when carrying out unlock password, when first to knock trigger pip record numeral be 7, then unlock successfully.Random number can show over the display.
First bit selecting unlock mode is unit unlock mode, first can input and by whom be unlocked, this unblock success is then unlocked successfully, such as unlocking pin is 6789, first record the first number of times knocking trigger pip and carry out model selection, when being chosen as the first bit selecting unlock mode, the password position that the selection of times that record first knocks trigger pip is decrypted, then record the input password of number of times as this that first knocks trigger pip.
The feature of unit unlock mode is fast, improves unblock speed, is convenient to user's input, uses.
Second bit selecting unlock mode is multidigit unlock mode, and select to be greater than a password and input, the password position corresponding according to selected figure place inputs respectively, and this unlock mode is comparatively complicated, high safety.
Full position unlock mode is multidigit unlock mode, all unlocks successfully, just finally unlock successfully whole password position.
In some embodiments of the invention, password of the present invention arranges system and can also comprise: a cancel key, cancel key is connected with controller.
Controller the 3rd knocks trigger pip also for receiving cancel key; When receiving the 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in first of current record.
That is, in digital input key input process, if there is maloperation, can also be removed the number of taps of current record by cancel key, restart the number of taps recording digital input key.
In some embodiments of the invention, digital input key, acknowledgement key or cancel key can be mechanical key, also can be induction type button.
In some embodiments of the invention, password of the present invention arranges system and can also comprise: hummer and vibration motor, and hummer is connected with controller, and vibration motor is connected with controller.
Hummer, for when the unblock success for password position or when unlocking unsuccessfully, sends prompting sound.
Vibration motor, for when receiving first and knocking trigger pip, sends vibrational feedback.
In some embodiments of the invention, password of the present invention arranges system and can also comprise: display, and display is connected with controller;
Display, for showing the random order in Password Input pattern or random order unlock mode.
In some embodiments of the invention, password of the present invention arranges system and can also comprise: perform driving circuit, performs driving circuit and is connected with controller; Performing driving circuit, for when unlocking successfully, performing unlocking motion.
Shown in Figure 3, a kind of unlock password system embodiment two of the present invention comprises:
A digital input key (RST1), an acknowledgement key (RST2), cancel key (RST3), controller (U1), vibration motor (B1), hummer (LS1), display (LCD1) and an execution driving circuit.
Digital input key (RST1), acknowledgement key (RST2), cancel key (RST3), vibration motor (B1), hummer (LS1), display (LCD1) and execution driving circuit are all connected with controller (U1).
Concrete, digital input key (RST1), acknowledgement key (RST2), cancel key (RST3) directly can be connected with controller (U1), and vibration motor (B1) and hummer (LS1) are connected with controller (U1) by driving circuit.As shown in FIG., in the driving circuit of hummer, resistance (R13) one end is connected with controller, resistance (R13) other end is connected with the base stage of triode (Q3) and one end of resistance (R14), the other end ground connection of resistance (R14), the collector of triode (Q3) is connected with one end of hummer (LS1), the grounded emitter of triode (Q3), the other end of hummer (LS1) is connected with power supply; Similar, in the driving circuit of vibration motor, resistance (R12) one end is connected with controller, resistance (R11) other end is connected with the base stage of triode (Q2) and one end of resistance (R11), the other end ground connection of resistance (R11), the collector of triode (Q2) is connected with one end of vibration motor (B1), the grounded emitter of triode (Q2), the other end of vibration motor (B1) is connected with power supply, and vibration motor (B1) is in parallel with diode (D1).
Output terminal 1(P3), output terminal 2(P4) be the output terminal that performs an action, several output terminals that performs an action can be had, two are only shown in figure, output terminal 1(P3) be connected with controller (U1) by performing driving circuit, output terminal 2(P4) be connected with controller (U1) by performing driving circuit, when unlock password, output terminal can perform set action, such as, perform unlock operation.
Simultaneously, controller can be connected with clock circuit, in addition, it should be noted that, storer eeprom chip can store decoding password and Password Input pattern, after making power-off restarting, storage information can not be lost, and eeprom chip can be arranged separately, also can be built-in in the controller.
The principle of work of native system embodiment is:
According to the content of display display, carry out the selection of Password Input pattern, controller according to digital input key input first knock that trigger pip and acknowledgement key input second knock trigger pip, record first knocks the triggering times of trigger pip, and the triggering times of knocking trigger pip according to first of record selects corresponding Password Input pattern; Carry out the releasing process of password again, receive first of digital input key and knock second of trigger pip and acknowledgement key and knock trigger pip; When receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip; Whether comparing recorded first, to knock the triggering times of trigger pip identical with password position corresponding in decoding password, if so, then for this password position unblock successfully, if not, then unlock failure.If what select is unit unlock mode; unblock then for this password position is successfully final unblock success; perform driving circuit drive output and perform unlocking motion; if what select is multidigit unlock mode; then repeat to unlock next bit password position, be final unblock success when multiple password position all unlocks success, perform driving circuit drive output and perform unlocking motion; and when continuous unblock unsuccessfully reaches preset times, row lock protection is entered to equipment.
As can be seen here, the embodiment of the present invention by arranging two buttons, a digital input key and an acknowledgement key, corresponding input password figure can be obtained by the number of times of key tap, the action of input password is not obvious, is not easily identified by other staff, improves the security of Password Input.Meanwhile, arrange vibration motor and hummer, can give user prompting in Password Input process, adopt touch system mode to complete Password Input, without the need to blocking, Password Input process is hidden, high safety.
Below again by several application scenarios example, system is arranged to password provided by the invention or unlock password system is briefly described.
In the first application scenarios, password provided by the invention arranges system or unlock password system can be applied to input equipment, such as special case mobile phone, shown in Figure 4, any three keys in setting mobile phone are respectively digital input key, acknowledgement key and cancel key, controller is set in mobile phone, completes password and system or unlock password process are set, to ensure the security in mobile phone unlatching or unlocking screen process.
In the second application scenarios, password provided by the invention arranges the input through keyboard that system or unlock password system can be applied to ATM, from the 0-9 of ATM, #, * waiting in communication button selects three key definitions to be digital input key, acknowledgement key and cancel key arbitrarily, controller is set simultaneously, digital input key is used for the input of password figure, number of taps corresponds to input at password figure, complete password and system or unlock password process are set, during to prevent from operating ATM, the leakage of password, improves security.
In the third application scenarios, password provided by the invention arranges system or unlock password system can be applied to the password setting of vehicle electrically controlling lock and unlock.Same, can three key definitions be selected to be digital input key, acknowledgement key and cancel key arbitrarily in communication button from equipment, controller is set simultaneously, complete password and system or unlock password process are set.
The password that the embodiment of the present invention provides arranges system or unlock password system can also be applied to the equipment that other use numeral input password.
Accordingly, shown in Figure 5, the present invention also provides a kind of cipher set-up method, and the method comprises:
Step 101: receive first of digital input key and knock second of trigger pip and acknowledgement key and knock trigger pip;
Step 102: when receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip;
Step 103: preserve the triggering times that first knocks trigger pip, as one of password.
In some embodiments of the invention, a kind of cipher set-up method of the present invention can also comprise:
Receive cancel key the 3rd knocks trigger pip; When receiving the 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in first of current record.
Accordingly, shown in Figure 6, the present invention also provides a kind of unlock password method, and the method comprises:
Step 201: receive first of digital input key and knock second of trigger pip and acknowledgement key and knock trigger pip;
Step 202: when receiving first and knocking trigger pip, record first knocks the triggering times of trigger pip, when receiving second and knocking trigger pip, stops record first to knock the triggering times of trigger pip;
Step 203: whether comparing recorded first, to knock the triggering times of trigger pip identical with password position corresponding in decoding password, if so, then for this password position unblock successfully, if not, then unlock failure.
In some embodiments of the invention, a kind of unlock password method of the present invention can also comprise:
Record unlocks failed number of times; Status information or authorization information signal is sent to designated equipment when unlocking when failed number of times reaches predetermined threshold value.
In some embodiments of the invention, a kind of unlock password method of the present invention can also comprise:
Before carrying out unlock password, the triggering times of knocking trigger pip according to first of record selects corresponding Password Input pattern, Password Input pattern comprises unit unlock mode, multidigit unlock mode, unit unlock mode comprises acquiescence position unlock mode, random order unlock mode and the first bit selecting unlock mode, and multidigit unlock mode comprises the second bit selecting unlock mode and full position unlock mode.
In some embodiments of the invention, a kind of unlock password method of the present invention can also comprise:
Receive cancel key the 3rd knocks trigger pip; When receiving the 3rd and knocking trigger pip, empty the triggering times that trigger pip is knocked in first of current record.
As can be seen here, the embodiment of the present invention obtains corresponding input password figure by the number of times of key tap, and the action of input password is not obvious, is not easily identified by other staff, improves the security of Password Input.Meanwhile, arrange vibration motor and hummer, can give user prompting in Password Input process, adopt touch system mode to complete Password Input, without the need to blocking, Password Input process is hidden, high safety.
It should be noted that, in this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For system disclosed in embodiment or device, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.