CN101882333A - Active password input method - Google Patents

Active password input method Download PDF

Info

Publication number
CN101882333A
CN101882333A CN201010131478XA CN201010131478A CN101882333A CN 101882333 A CN101882333 A CN 101882333A CN 201010131478X A CN201010131478X A CN 201010131478XA CN 201010131478 A CN201010131478 A CN 201010131478A CN 101882333 A CN101882333 A CN 101882333A
Authority
CN
China
Prior art keywords
password
button
input
knocks
per inch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010131478XA
Other languages
Chinese (zh)
Inventor
林剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201010131478XA priority Critical patent/CN101882333A/en
Publication of CN101882333A publication Critical patent/CN101882333A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method capable of inputting and modifying a password by using a singlechip as a core and using one or two keys. An active password input method comprises a singlechip, and a key A and a key B which are connected with an input interface of the singlechip respectively. The password is input by clicking the key A and the key B, and the password is modified by clicking the key A and the key B. The method can reduce a large number of keys, and each input step can be finished according to the times of clicking the keys.

Description

A kind of active password input method
Technical field
The present invention relates to a kind of password input method that is applied to electronic lock, more particularly, relating to a kind of is core with the single-chip microcomputer, uses 1 or 2 buttons just can input password and revises the method for password.
Background technology
Early stage monolithic cipher control system input password need be used the digital keys more than ten, and this makes that the area of keyboard is big, and structure is not compact, the waterproof difficulty.Though, the patent (patent No. 200610024671.7) that has occurred " a kind of singly-key type code inputting method " by name in the recent period, but it is a passive type, just the operator will wait for the controller output pulse signal, but just key tap is determined password, yet when the pulse signal frequency of exporting is high, the people who reacts slow will be incompatible, conversely, when frequency was low, swift people can be impatient of; In addition, the operator will finish the input of password, can not only rely on key tap; So this input method can not blindly be failed; This input method can not be revised password.
Summary of the invention
At the deficiencies in the prior art, the purpose of this invention is to provide a kind of active password input method, it not only uses 1 or 2 buttons just can input password, and can also revise password
The object of the present invention is achieved like this:
Comprise single-chip microcomputer, button A and button B are connected the input interface of single-chip microcomputer respectively, and by key tap A and button B input password, wherein the bits per inch of password is the number of times that single button knocks continuously; Carry out password by key tap A and button B and revise, wherein import known password earlier, back input setting code.
The present invention is further embodiment below also having on the basis of technique scheme:
Knocking by different key successively between the bits per inch of password is adjacent knocked; Key tap A and button B are for confirming simultaneously.
The bits per inch of password is the number of times that button A knocks continuously; Knock one-touch B between the bits per inch of password is adjacent; Knock 2 button B continuously for confirming.
The bits per inch of password is the number of times that button B knocks continuously, and knocks interval time less than M between adjacent; Knocking by same key successively between the bits per inch of password is adjacent knocked; And the interval time of knocking is greater than M; If certain knocks and knocks interval time all greater than M between adjacent with front and back, then this time knocking is to confirm.
Advantage of the present invention is as follows:
1, the bits per inch of this input method password is the continuous number of taps of button, so the bits per inch of password can be arranged to number greater than 9 (as knocking continuously 25 times, this password is exactly 25), then it can be provided with simple and " strange " password, and this can increase the password cracking difficulty.
2, because the operator of this input method is the active key tap, so password input speed can vary with each individual.
3, just can finish (not needing to see and listen) because each input step of this input method only relies on key tap, then this input method can blindly be failed.
4, this input method can be revised password.
Description of drawings
Fig. 1 is the electrical schematic diagram of embodiment of the present invention;
Fig. 2 is embodiment 1 a button operation process flow diagram
Fig. 3 is embodiment 2 button operation process flow diagrams
Fig. 4 is embodiment 3 button operation process flow diagrams
Embodiment
Fig. 1 is the electrical schematic diagram of a motorcycle electric door lock.7 is 8 single-chip microcomputers produced in USA among the figure, and model is pic12f629, and 8 resignations are arranged; 4 and 5 represent button A and button B respectively; 1 is relay, and it has two control ports, the power supply of end control motorcycle; The igniting of other end control motorcycle; 2 is 1815 amplifying triodes, and it amplifies the high level signal of single-chip microcomputer output terminal, thereby drives the actuating of relay.3 is hummer, and it only helps out knocking in the process of button; When knocking A or B button, hummer sends sound, illustrate to knock effectively, the main action of other single-chip microcomputer (during as correct and wrong input password, when revising password and finishing or the like) it can do relevant the prompting; 6 is the 78L05 voltage stabilizer, and it changes over the 12V voltage of input the 5V voltage of suitable single-chip microcomputer work.
Embodiment 1
A kind of active password input method comprises single-chip microcomputer, it is characterized in that, button A and button B are connected the input interface of single-chip microcomputer respectively, and by key tap A and button B input password, wherein the bits per inch of password is the number of times that single button knocks continuously; Carry out password by key tap A and button B and revise, wherein import known password earlier, back input setting code.
Its knocking by different key successively between adjacent of the bits per inch of password is knocked; Key tap A and button B are for confirming simultaneously.
Shown in Figure 1, the A of key tap A corresponding diagram 2, the B of key tap B corresponding diagram 2, the AB of key tap A and button B corresponding diagram 2 simultaneously.By Fig. 2 password input and modification are described: as an example with input password 5246;
In the step 1, button A knocks 5 times continuously, so the password number of input is 5; In the step 2, button B knocks 2 times continuously, so the password number of input is 2; In the step 3, button A knocks 4 times continuously, so the password number is 4; In the step 4, button B knocks 6 times continuously, so the password number is 6.
Above 5 and 2 are a pair of adjacent password numbers, it is adjacent knocks successively to different buttons and knocks: A and B; 2 and 4 is a pair of adjacent password numbers, and it is adjacent knocks successively to different buttons and knock: B and A; 4 and 6 is a pair of adjacent password numbers, and it is adjacent knocks successively to different buttons and knock: A and B.Single-chip microcomputer is told every password number according to the above input of knocking.
In the step 5, button A and button B knock simultaneously to confirming.Single-chip microcomputer knows that according to confirmation signal the password input finishes, and can compare with system password.Correct when the password of input, single-chip microcomputer uprises by the level of output port, the pilot relay action.Password bad, single-chip microcomputer resets, and then can continue defeated sign indicating number.
If the password of above input is correct.Then the affirmation of step 6 enters single-chip microcomputer and revises password state (proper password of above input claims known password, or claims system password), as long as the input setting code, known password is set password and substitutes.
Shown in Figure 2, step 7 is to the process of step 10 for input setting code 821, and method of operating is identical with top password input.821 substitute 5246. as a result
Password is revised principle: import known password earlier, back input setting code.The password of present embodiment is revised as: step 1 to step 5 is the known password of elder generation's input, and then step 7 to step 10 is the input setting code.
Embodiment 2
A kind of active password input method comprises single-chip microcomputer, it is characterized in that, button A and button B are connected the input interface of single-chip microcomputer respectively, and by key tap A and button B input password, wherein the bits per inch of password is the number of times that single button knocks continuously; Carry out password by key tap A and button B and revise, wherein import known password earlier, back input setting code.
The bits per inch of password is the number of times that button A knocks continuously; Knock one-touch B between the bits per inch of password is adjacent; Knock 2 button B continuously for confirming.
Shown in Figure 1, the A of key tap A corresponding diagram 3, the B of key tap B corresponding diagram 3.By Fig. 3 password input and modification are described:
With input password 315 as an example.In the step 1, button A knocks 3 times continuously, and then this password is 3; In the step 2, button B knocks 1 time, and " telling " single-chip microcomputer can be imported next figure place; In the step 3, button A knocks 1 time, and then this password is 1 (3 and 1 is a pair of adjacent password number, between knock one-touch B);
In the step 4, button B knocks 1 time, and " telling " single-chip microcomputer can be imported next figure place; In the step 5, button A knocks 5 times continuously, and then this password number is 5 (1 and 5 is a pair of adjacent password numbers, between knock one-touch B);
In the step 6, key tap B is affirmation twice.Single-chip microcomputer knows that according to confirmation signal the password input finishes, and can compare with system password.Correct when the password of input, single-chip microcomputer uprises by the level of output port, the pilot relay action.Password bad, single-chip microcomputer resets, and then can continue defeated sign indicating number.
If the password of above input is correct.Then the affirmation of step 7 enters single-chip microcomputer and revises password state (proper password of above input just claims known password, or claims system password).The input setting code, then known password is set password and substitutes.
Shown in Figure 3, step 8 is to the process of step 15 for input setting code 6238, and method is identical with top password input operation.315 substitute 6238. as a result
Password is revised principle: import known password earlier, back input setting code.The password of present embodiment is revised as: step 1 to step 6 is the known password of elder generation's input, and then step 8 to step 15 is the input setting code.
Embodiment 3
A kind of active password input method comprises single-chip microcomputer, it is characterized in that, button A and button B are connected the input interface of single-chip microcomputer respectively, and by key tap A and button B input password, wherein the bits per inch of password is the number of times that single button knocks continuously; Carry out password by key tap A and button B and revise, wherein import known password earlier, back input setting code.
The bits per inch of password is the number of times that button B knocks continuously, and knocks interval time less than M between adjacent; Knocking by same key successively between the bits per inch of password is adjacent knocked; And the interval time of knocking is greater than M; If certain knocks and knocks interval time all greater than M between adjacent with front and back, then this time knocking is to confirm.
Shown in Figure 1, the B of key tap B corresponding diagram 4.By Fig. 4 password input and modification are described:
With input password 3526 as an example.In the step 1, button knocks three times continuously fast, then pauses; It is 3 that single-chip microcomputer is recognized the password number.(knock fast, illustrate and knock interval time less than M between adjacent; Pause, illustrate that the bits per inch of password knocks interval time successively greater than M between adjacent; Thereby the programming of single-chip microcomputer can be determined M according to people's knock custom and characteristics.Below identical, repeat no more)
In the step 2, button knocks five times continuously fast, then pauses; It is 5 that single-chip microcomputer is recognized the password number.
In the step 3, button knocks two times continuously fast, then pauses; It is 2 that single-chip microcomputer is recognized the password number.
In the step 4, button knocks six times continuously fast, then pauses; It is 6 that single-chip microcomputer is recognized the password number.
In the step 5, knock B one time, then pause; Knocking of this knocked interval time all greater than M between adjacent with front and back, and single-chip microcomputer is recognized affirmation.
Single-chip microcomputer knows that according to confirmation signal the password input finishes, and can compare with system password.Correct when the password of input, single-chip microcomputer uprises by the level of output port, the pilot relay action.Password bad, single-chip microcomputer resets, and then can continue defeated sign indicating number.
If the password of above input is correct, then the affirmation of step 6 enters single-chip microcomputer and revises the password state, as long as the input setting code, known password is set password and substitutes.
Shown in Figure 4, step 7 is to the process of step 9 for input setting code 28, and method is identical with top password input operation.28 substitute 3526. as a result
Password is revised principle: import known password earlier, back input setting code.The password of present embodiment is revised as: step 1 to step 5 is the known password of elder generation's input, and then step 7 to step 9 is the input setting code.

Claims (4)

1. an active password input method comprises single-chip microcomputer, it is characterized in that, button A and button B are connected the input interface of single-chip microcomputer respectively, and by key tap A and button B input password, wherein the bits per inch of password is the number of times that single button knocks continuously; Carry out password by key tap A and button B and revise, wherein import known password earlier, back input setting code.
2. a kind of active password input method according to claim 1 is characterized in that, knocking by different key successively between the bits per inch of password is adjacent knocked; Key tap A and button B are for confirming simultaneously.
3. a kind of active password input method according to claim 1 is characterized in that, the bits per inch of password is the number of times that button A knocks continuously; Knock one-touch B between the bits per inch of password is adjacent; Knock 2 button B continuously for confirming.
4. a kind of active password input method according to claim 1 is characterized in that the bits per inch of password is the number of times that button B knocks continuously, and knocks interval time less than M between adjacent; Knocking by same key successively between the bits per inch of password is adjacent knocked, and the interval time of knocking is greater than M; If certain knocks and knocks interval time all greater than M between adjacent with front and back, then this time knocking is to confirm.
CN201010131478XA 2010-02-24 2010-02-24 Active password input method Pending CN101882333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010131478XA CN101882333A (en) 2010-02-24 2010-02-24 Active password input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010131478XA CN101882333A (en) 2010-02-24 2010-02-24 Active password input method

Publications (1)

Publication Number Publication Date
CN101882333A true CN101882333A (en) 2010-11-10

Family

ID=43054343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010131478XA Pending CN101882333A (en) 2010-02-24 2010-02-24 Active password input method

Country Status (1)

Country Link
CN (1) CN101882333A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496207A (en) * 2011-11-18 2012-06-13 林剑 Active-type single-key password input method
CN102635274A (en) * 2012-05-09 2012-08-15 李凯 Method for realizing keyless locking system
WO2014067374A1 (en) * 2012-10-30 2014-05-08 小米科技有限责任公司 File operating method and device
CN103927801A (en) * 2014-04-14 2014-07-16 陈万兴 Bluetooth door lock control method based on intelligent terminal
CN104346589A (en) * 2013-08-01 2015-02-11 陈玉文 Password setting and unlocking system and password setting and unlocking method
CN104966338A (en) * 2015-06-12 2015-10-07 杭州摇光科技有限公司 Password input method and system of smart lock
CN105303118A (en) * 2015-11-26 2016-02-03 上海易码信息科技有限公司 Encryption method and encryption device used for wearable device
CN105741398A (en) * 2016-04-18 2016-07-06 河南师范大学 Doorbell type electronic coded lock

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496207A (en) * 2011-11-18 2012-06-13 林剑 Active-type single-key password input method
CN102635274A (en) * 2012-05-09 2012-08-15 李凯 Method for realizing keyless locking system
WO2014067374A1 (en) * 2012-10-30 2014-05-08 小米科技有限责任公司 File operating method and device
CN104346589A (en) * 2013-08-01 2015-02-11 陈玉文 Password setting and unlocking system and password setting and unlocking method
CN103927801A (en) * 2014-04-14 2014-07-16 陈万兴 Bluetooth door lock control method based on intelligent terminal
CN104966338A (en) * 2015-06-12 2015-10-07 杭州摇光科技有限公司 Password input method and system of smart lock
CN105303118A (en) * 2015-11-26 2016-02-03 上海易码信息科技有限公司 Encryption method and encryption device used for wearable device
CN105741398A (en) * 2016-04-18 2016-07-06 河南师范大学 Doorbell type electronic coded lock

Similar Documents

Publication Publication Date Title
CN101882333A (en) Active password input method
CN102520627B (en) Handheld electronic equipment and control method thereof
CN104282063A (en) Door lock control system based on intelligent terminal
WO2015180057A1 (en) Household appliance controller and setting method therefor
CN107333077A (en) A kind of control method of a button and its television set of application
CN105023406A (en) Remote control device controlling method, system and remote control device
CN103500494A (en) Matching method of universal remote controller
CN102052018A (en) Fingerprint/password computer control device
CN102496207A (en) Active-type single-key password input method
CN109445280A (en) A kind of tight feedback chaos trace tracking method of three ranks based on improvement POLE PLACEMENT USING
CN201467423U (en) Music buzzing control circuit used for range hood
CN206348615U (en) Computer flat knitting machine and its servo-driver, master controller, operating case
WO2001071970A3 (en) Methods and systems for efficient chained certification
CN106152525A (en) A kind of acoustic control electric heater and control method thereof
CN205066165U (en) Acoustic control electric water heater
CN101957736A (en) Electronic reading device and control method thereof
CN202181769U (en) Electronic password lock
CN209357044U (en) A kind of instruction encoding and decoding and execute system
CN102122961B (en) Key scanning method for electronic equipment
CN102014330A (en) Music buzzing control circuit for range hood
CN210324106U (en) Keyboard circuit and keyboard
WO2016138706A1 (en) Clock switching method and clock switching device
CN109545172A (en) A kind of separate type note generation method and device
CN218497371U (en) Digital rotary coding control circuit
CN2854967Y (en) Plasma TV set

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101110