CN104463037B - A kind of cipher-code input method and its equipment - Google Patents

A kind of cipher-code input method and its equipment Download PDF

Info

Publication number
CN104463037B
CN104463037B CN201410697705.3A CN201410697705A CN104463037B CN 104463037 B CN104463037 B CN 104463037B CN 201410697705 A CN201410697705 A CN 201410697705A CN 104463037 B CN104463037 B CN 104463037B
Authority
CN
China
Prior art keywords
cipher
display screen
button
password
input method
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.)
Active
Application number
CN201410697705.3A
Other languages
Chinese (zh)
Other versions
CN104463037A (en
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.)
Boda Guangzhou Electrical Technology Co ltd
Original Assignee
Hunan University of Science and Technology
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 Hunan University of Science and Technology filed Critical Hunan University of Science and Technology
Priority to CN201410697705.3A priority Critical patent/CN104463037B/en
Publication of CN104463037A publication Critical patent/CN104463037A/en
Application granted granted Critical
Publication of CN104463037B publication Critical patent/CN104463037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of cipher-code input method and its equipment, methods described realizes Password Input using the progress bar in single cipher button matching display screen.The equipment includes microcontroller, display screen, in addition to single-button and style man-machine interactive interface circuit;The display screen is separately connected with style man-machine interactive interface circuit with microcontroller, and single-button is connected with style man-machine interactive interface circuit;When the single-button is pressed, continuous first level signal will be produced by style man-machine interactive interface circuit, and first level signal is transmitted to microcontroller;The continuous first level signal duration matching of acquisition is the progress bar and password value of corresponding length by the microprocessor, and Password Input is shown in display screen.Compared with prior art, the present invention realizes that code data inputs using single-button and with reference to display screen, can effectively prevent criminal from stealing secret information the modes such as keyboard by installation to steal user cipher, so as to effectively protect the encrypted message of user safe.

Description

A kind of cipher-code input method and its equipment
Technical field
The present invention relates to a kind of data inputting method and its equipment, specifically, be related to a kind of cipher-code input method and Its equipment;Belong to Electronics and Information Engineering field.
Background technology
Password Input and its code keypad are one of essential computer peripherals of financial POS, extensively should Used in service industries such as communication, government, traffic, industry and commerce, the tax, supermarkets, coordinate makes in banking system, POS and management system With being mainly used to input password.As increasing for bank card user is increasingly prevailing with bankcard consumption, code keypad is increasingly More obtains the concern of people.The safety for ensureing input password is the basic function that code keypad must have.Code keypad The species such as liquid crystal, voice, encryption, touch can be divided into.With the development of touching display screen technology, many terminal devices all possess Touching display screen function, so as to by showing soft keyboard (or dummy keyboard) on touching display screen, for Family inputs password by touching display screen.
Requirement of the industry-by-industry to password is different and the requirement to code keypad is also corresponding different, and it is mesh to touch code keypad Preceding password input mode the most advanced, whole key panel are replaced with touching display screen, greatly improve cryptographic key The practicality of disk, secondary open, security and see the anti-specific function such as take on the sly with anti-side.
Code keypad classification and its problem of exist it is as follows:
1st, fixed numeric keypad
The various counter type ATMs of bank generally use fixed numeric keypad to realize Password Input, some criminals Exactly using this keyboard is immovable and keyboard on the design feature fixed of array, by installing pinhole cameras, stealing The modes such as close keyboard steal user password information to steal user's fund, not only bring significant economic loss to user, together When also cause harmful effect to normal financial order.
2nd, touching display screen keyboard
Soft keyboard (or dummy keyboard) is shown on touching display screen, is inputted for user by touching display screen close Code.Touch control terminal of the prior art, typically control touching display screen to show soft keyboard by central processing unit (CPU), touch Touch formula display screen and the positional information of click soft keyboard is passed to central processing unit, central processing unit processing position information is simultaneously changed Into the click information of correspondence position, it finally will click on information and be converted to corresponding key information.It is this directly in touch display The method of the information transmission of touch location to central processing unit on screen, when inputting password, it is likely that it is (pseudo- that program can be counterfeited Program) snatched password information by central processing unit and internal memory, and then cause password to be revealed, security is not high.
In addition, also disclosing that various structures are increasingly complex in the prior art makes every effort to the higher cipher input equipment of security, Such as:In Chinese patent 201010165496.X, it is proposed that this special by resetting special touching display screen Touching display screen include touching chip or circuit and the touching display screen body being connected electrically and for encrypt all or The encrypting module of portion coordinate;And by encrypting the position coordinates in viewed keyboard region in touching display screen, authorize The mapping relations of opsition dependent coordinate and code characters are reduced into password again after the position coordinates, decryption after program acquisition encryption. Although said apparatus and method can make Password Input reach higher security, this method is needed to general touch aobvious Display screen carries out circuit modification, and cost is higher, does not have industrialization advantage, is not suitable for promoting the use of a large area.And Chinese patent In 201410014202.1, the Crypto Control Unit of central processing unit is totally independent of by increase by one so that the input of password, pass It is defeated all to be handled by special Crypto Control Unit, completely around intervention and processing of the central processing unit to encrypted message, although Du The risk of password leakage absolutely, improve the security of touching display screen Password Input.But also need to Crypto Control Unit with And extra control circuit, the complexity of cipher input equipment is considerably increased, is realized difficult.
In summary, it is not high, complicated costly to there is security in above-mentioned various cipher-code input methods or equipment The problems such as, therefore the cipher input equipment that a kind of implementation is simple and convenient to operate and security performance is high is needed in the market.
The content of the invention
In view of the above-mentioned problems existing in the prior art, an object of the present invention is to provide a kind of easy to operate, confidentiality And the cipher-code input method of high safety.
For achieving the above object, the technical solution adopted by the present invention is as follows:
A kind of cipher-code input method, it is that Password Input is realized using the progress bar in single cipher button matching display screen, has Body is the time length pressed by button, and corresponding matching display different graphic realizes the defeated of different password values in display screen Enter.
Preferably, the cipher-code input method is to press duration difference by button, is matched in display screen and shows length not Same progress bar realizes different Password Inputs.
Preferably, cipher-code input method refers to the one or more of differences or phase inputted in " 0-9 ", " * ", " # " or " " With the combination of character.
Preferably, above-mentioned cipher-code input method, comprises the following steps:
Step a):Press single cipher button, the figure in display screen changes;
Step b):When the password value of the Graphic Pattern Matching required input in display screen, stop key and (unclamp single cipher to press Key).
It is highly preferred that when the password of required input is multiple password values, can be real by the way that step a and step b is repeated several times It is existing.
It is highly preferred that above-mentioned cipher-code input method, also includes validating that or delete the step c for having inputted password value, it is specially:
Step a):Press single cipher button, the figure in display screen changes;
Step b):When the password value of the Graphic Pattern Matching required input in display screen, stop key and (unclamp single cipher to press Key);
Step c):" confirmation " or " deletion " button in display screen is pressed, it is defeated with confirmation or delete step a and step b institutes The password value entered.
As further preferred scheme, the shown graphic change for being used to match required input password value in display screen, Numerical value or similar values are closed on including the password value, to simplify the complexity of button matching figure;It is close such as when required input When code value is " 3 ", correspondingly, the graphic change shown in display screen comprises at least a variety of password values such as " 2 ", " 3 " and/or " 4 " Figure selecting.
Also include removing in the figure shown as further preferred scheme, in step b.
Preferably, above-mentioned cipher-code input method also includes sending the password value inputted to another terminal or other information The process of processing equipment, the step can take various transfer approach of the prior art to show.
Another goal of the invention of the present invention is to provide a kind of cipher input equipment, to realize any of the above-described Password Input side The application of method, and provide a kind of operation more easy and higher security cipher input equipment, the cipher input equipment includes Microcontroller, single-button, style man-machine interactive interface circuit and display screen;Display screen and style man-machine interactive interface circuit separately with Microcontroller is connected, and single-button is connected with style man-machine interactive interface circuit;Especially, it is to be electrically connected between each adjacent modules of the above Connect.When single-button is pressed, continuous first level signal will be produced by style man-machine interactive interface circuit, and by first electricity Ordinary mail number is transmitted to microcontroller;And when unclamping the single-button, then transmitted by style man-machine interactive interface circuit to microcontroller One continuous second electrical level signal.The operation principle of the cipher input equipment is:By microprocessor by continuous the first of acquisition The matching of level signal duration shows in display screen to correspond to the progress bar and password value of length and completes the input of password Journey.
It is highly preferred that the first level signal is low level signal, second electrical level signal is high level signal.
It is highly preferred that when single-button is pressed first, the enabling signal as the cipher input equipment;In other words, when the list When the signal that button is pressed is obtained by style man-machine interactive interface circuit by the microcontroller, the cipher input equipment can just open It is dynamic;Conversely, the cipher input equipment will be not activated by;In other words, only single-button can start the cipher input equipment, so as to enter One step simplifies the structure of the cipher input equipment, and improves security.
Preferably, during microcontroller normal work, microcontroller chip receives the control of Man Machine Interface circuit transmission Signal, and Password Input control signal is sent to touching display screen, while the code data that touching display screen is shown is preserved, And send final caused code data to host computer through communication interface circuit.
It is highly preferred that in order that microcontroller chip can normal work, while also need to peripheral circuit module, periphery electricity Road includes reset circuit, back-up area power supply circuit, start-up circuit, system clock crystal oscillating circuit and RTC crystal oscillating circuits.
It is further preferred that microcontroller is the STM32F103ZET6 chips of STMicw Electronics.
It is further preferred that reset circuit is used for generation system reset signal.
It is further preferred that when external power source disconnects, back-up area power supply circuit gives microcontroller core by battery The reserve area of piece provides dc source.
It is further preferred that start-up circuit is used for the Starting mode for setting microcontroller chip.
It is further preferred that system clock crystal oscillating circuit is used to provide system clock.
It is further preferred that RTC crystal oscillating circuits are used to provide RTC (internal real time clock) clock.
The setting of above-mentioned peripheral circuit can ensure the different working condition of microcontroller chip well.Reset circuit energy Microprocessor chip is set to be resetted in the state of improper or mistake;Back-up area power supply circuit can ensure abnormal in external power supply When, microprocessor chip carries out necessary data processing;Start-up circuit makes microprocessor chip normally launch into working condition; System clock crystal oscillating circuit and RTC crystal oscillating circuits can make microprocessor chip work under clock frequency when necessary, ensure chip-count According to the sequential of processing.
Preferably, the cipher input equipment also includes providing electrically driven (operated) DC-stabilized circuit.
Preferably, DC-stabilized circuit includes step-down rectifier module, Voltage stabilizing module, power switch and two decompressions Converter.
It is highly preferred that include transformer circuit and bridge rectifier in step-down rectifier module, transformer circuit is by 220V Alternating voltage decompression is that low-voltage AC electricity is afterwards DC voltage by bridge rectifier rectification.
It is further preferred that Voltage stabilizing module core is three-terminal voltage-stabilizing chip LM7812.
It is further preferred that the core of two buck converters is respectively MP2359 and AMS1117 chips.
The setting of DC-stabilized circuit difference comprising modules, exports different dc sources, these stable direct currents Power supply, it ensure that the normal work of cipher input equipment disparate modules.
Preferably, the cipher input equipment also includes the communication interface circuit with microprocessor independent connection, for transmitting The encrypted message inputted, such as host computer or other information equipment.
It is highly preferred that communication interface circuit includes selection port, communication protocol module and DOL Data Output Line.
It is further preferred that selection port selects the output data of different communication protocol modules to be used as output by setting To data wire.
It is highly preferred that the communication protocol module of communication interface circuit includes communication protocol module one, communication protocol module two.
It is highly preferred that communication protocol module one, communication protocol module two are respectively that RS232 communications connect in communication interface circuit Mouth circuit and RS485 telecommunication circuits, communication mode can be selected by RS232, RS485 selection port.Different communication protocol mould The practical use that cipher input equipment can be made to meet different communication protocol environment of block.Add the easy of cipher input equipment The property used.
Preferably, single-button and style man-machine interactive interface circuit are:Set between dc source VCC and ground GND on one Pull-up resistor R, while single-button, one end conduct that pull-up resistor R is connected with single-button are set between pull-up resistor R and ground GND Export to microcontroller.
It is highly preferred that R resistance is 10k Ω.
In order that the operation of single-button is more comfortable, it is highly preferred that single-button uses contact button.
It is highly preferred that display screen is a touching display screen;As a kind of preferred scheme, it may include progress bar, data value Display interface, acknowledgement key and delete key;
It is further preferred that it is additionally provided with " repetition " key.The setting of acknowledgement key, delete key and repeat key is to Password Input Convenience improve a lot, save password input time.
It is further preferred that when the time that single-button is pressed exceedes the default time and operated without other, then password is defeated Entering equipment will be without any Password Input and the standby or off-mode of entrance.Preferably, the default time is the 5-10 seconds.
Compared with prior art, the present invention realizes that code data inputs using single-button and with reference to touch display screen, can have Effect prevents criminal from stealing secret information the modes such as keyboard by installation to steal user cipher, so as to effectively protect the message in cipher of user Breath safety.The equipment of the key passwords input of the present invention can also be fixed on upper hands- operation with hand-held by neck, The situation that can effectively prevent from being stolen user password information using modes such as pinhole cameras, keyboards of stealing secret information is occurred, and has knot The features such as structure is simple and convenient to operate, strong security, therefore its application prospect is very wide.
Brief description of the drawings
Fig. 1 is the topological diagram of cipher input equipment provided by the invention;
Fig. 2 is the working interface embodiment one of inventive touch formula display screen;
Fig. 3 is the working interface embodiment two of inventive touch formula display screen;
Fig. 4 is the working interface embodiment three of inventive touch formula display screen;
Fig. 5 is cipher input equipment microcontroller peripheral circuit diagram provided by the invention;
Fig. 6 is cipher input equipment DC-stabilized circuit figure provided by the invention;
Fig. 7 is cipher input equipment single-button provided by the invention and style man-machine interactive interface circuit figure;
Fig. 8 is cipher input equipment communication interface circuit figure provided by the invention.
Embodiment
The present invention is made further in detail, intactly to illustrate with reference to embodiment and accompanying drawing.
Fig. 1 is the topological diagram of cipher input equipment provided by the invention, as shown in Figure 1:The cipher input equipment, by micro-control 6 groups of device 1, single-button 2, style man-machine interactive interface circuit 3, touching display screen 4, communication interface circuit 5 and D.C. regulated power supply processed Into.
The one of the present invention is characterized by, and displayable figure may change in touching display screen, and Fig. 2~4 are the touch 3 kinds of preferable embodiments of formula display screen, but it is not exclusive or absolute.
As shown in Fig. 2 41 expression touching display screen in figure;42 represent display box;43 represent progress bar;44 represent data Frame;45 represent acknowledgement key;46 represent delete key.Its basic functional principle is:
When microcontroller 1 detects that single-button 2 is pressed, then equipment launches into working condition.
If now persistently pressing this single-button 2, the progress at the uniform velocity increased by zero-bit is produced in display box 42 Bar 43, the data scale above display box 42 is then used to refer to the code data represented by progress bar 43, i.e., if progress bar 43 are between certain two scale, then data corresponding to left-hand scale mean that the data corresponding to the progress bar, such as Fig. 2 institutes Show that progress bar is within data scale 3 and 4, then the data that progress bar 43 represents are 3;And if progress bar is exactly in some On scale, then data corresponding to this scale are exactly the data that progress bar represents;If the time persistently pushed button exceedes certain Duration (duration is depending on specifically used environment), then progress bar 43 reaches self-zeroing after the upper limit, and by zero-bit again Increase.
When single-button 2 may be alternatively provided as double button forms of similar mobile phone volume key, be correspondingly arranged on makes progress bar respectively The advance key of growth and the rollback key for making progress bar decline, pressing advance key progress bar can increase, the rollback in pressing keys 2 Key, progress bar can retreat.
When unclamping the single-button 2, then microcontroller 1 automatically saves the data corresponding to progress bar 43, and by the data Shown in data frame 44, while the back to zero of progress bar 43.
If it find that this time the code data of input is wrong, can be deleted by " deletion " key 46 on touching display screen Remove;User repeats aforesaid operations step as that need to continue to input code data.
It is especially noted that touching display screen is also provided with " repeating " key (not showing in Fig. 2), with side Just input repeats the password of numeral.Specially:For repeating numeral, after inputting for the first time, directly pressing " repetition " key can repeat Input identical numeral.
After all code datas have fully entered, " confirmation " key that can be pressed on touching display screen is confirmed, then micro- Whole code datas of input are passed through communication interface circuit 5 (RS232 communication interface circuits or RS485 communication interfaces by controller 1 Circuit, one of which communication mode can be selected by RS232/RS485 selection ports) send host computer to, this code data Input finishes.
If button does not operate more than the default time, equipment enters holding state, the backlight of touching display screen 4 Close, to realize energy-conservation and equipment protection.The time here preset at is preferably 5 seconds.
The said equipment can apply to any terminal with touching display screen processing system, such as mobile phone, PDA, pen Remember the terminals such as this computer.The existing single-button of the terminal such as mobile phone, PDA, notebook computer can be utilized to be arranged to above-mentioned list The function of button 2.When being such as mobile phone, list that can be using a certain single-button (such as volume key) of mobile phone as cipher input equipment Button.
Fig. 3 and Fig. 4 is another preferred embodiment of the displayable Password Input value of touching display screen, such as Fig. 3 institutes Show:Progress bar is password figure section dispaly state.It has been divided into two password figure sections, and 0~4 to be one group and 5~9 be another One group.Push button progress bar at the uniform velocity to increase, progress bar is in 0 and 4 password figure section.Button is unclamped, it is right in display box Display data numeral section 0~4 in the data frame of side;The progress bar in the display box of touching display screen is changed into such as Fig. 4 afterwards Shown code data selection state, so can be carried out second step selection code data, the step of selecting code data with Abovementioned steps are similar.Just it is not described in detail herein.
It is especially noted that single-button could be arranged to double button forms of similar mobile phone volume key, correspond to respectively The advance key for making the growth of progress bar and the rollback key for the decline for making progress bar, long when the single-button duration, progress bar is even When speed grows beyond the numerical value to be inputted, by pressing the rollback key in single-button progress bar can be made to return back to accordingly Password Input position.
In order to prevent the malfunction pressed for single-button, the length of the duration to pushing button limits, such as The time that fruit persistently pushes button exceedes certain duration (duration is depending on specifically used environment), then it is assumed that be invalid input; Now, progress bar reaches self-zeroing after the upper limit.Single-button need to be pressed again, and progress bar simultaneously increases again by zero-bit.
When progress bar reaches required password value, button is unclamped, number is shown in the data frame on the right side of display box According to, and equipment records the data of progress bar present position automatically.
Particularly, whether there is the numeral of repetition according to password, different password input modes can be divided into.At this moment touching " repetition " key is may also include on the working interface of formula display screen.
When password is unduplicated digital, single-button, single Password Input are pressed;Button is unclamped, on the right side of display box Data frame in give display data, and equipment records the data of progress bar present position automatically.
When numeral of the password for repetition, push button, after single Password Input;It is repeatable continuously to press touching display screen On " repetition " key, can input identical numeral.Be consecutively pressed " repetition " key number represent password attach most importance to complex digital Number.The setting of above-mentioned " repetition " key can greatly reduce the time of repetition Password Input.
If it find that the code data of input is wrong, can be deleted by " deletion " key on touching display screen.
After the completion of above-mentioned steps, progress bar back to zero.The purpose of back to zero is to wait the input of next data.
Aforesaid operations are repeated, until all Password Inputs are completed.
Password Input is completed, and transmits data., can be by touching display screen after the completion of the input of all code datas " confirmation " key, the completion to Password Input confirm that then microcontroller passes the code data of input through communication interface circuit Host computer is given, so far Password Input operation is completed.
The work of the method for the Password Input and its equipment is illustrated with the input of one group of specific password value " 123000 " below Make process:
Such as password " 123000 " to be inputted by aforementioned device or method
First, single-button is pressed, the signal that single-button is pressed is detected that now the cipher input equipment opens by microcontroller It is dynamic.
Then, the progress bar in touching display screen is divided between two digital blocks, and respectively 0~4 and 5~9, such as Fig. 3 institutes Show.The lasting long-press single-button, the progress bar at the uniform velocity increased by zero-bit is produced in display box, treat that progress bar is in 0~4 When between two scales, single-button is pressed in stopping, and the data scale above progress bar in the display box of touching display screen is shown Digital section " 0~4 ";Afterwards, the progress bar of touching display screen shows 0~4 5 digital calibrations, continues long-press single-button, The progress bar at the uniform velocity increased by zero-bit is produced in display box, when progress bar is between 1~2 two scales, stops pressing Single-button;Shown in the data frame of touching display screen digital " 1 ".
Then, microcontroller records the password value " 1 " now inputted automatically;Progress bar back to zero in display box, wait The input of Next Password value.
Said process is repeated, password " 230 " is sequentially input.
After first digit " 0 " input, repeatable continuous " repetition " key pressed on touching display screen 2 times, it can connect again Continuous input is twice " 0 ".
If digital " 0 " input error, the deletion of " deletion " key is pressed, is re-entered.
After the completion of all code datas " 123000 " input, " confirmation " key pressed on touching display screen is confirmed, Then microcontroller sends the code data of input to host computer through communication interface circuit, so far password " 123000 " input operation Complete.
After the completion of above-mentioned Password Input, operated after single-button exceedes the default 5 seconds time without further other, then Equipment enters holding state, and the backlight of touching display screen 4 (not shown in figure, prior art can be used to realize) is closed, with reality Now energy-conservation and equipment protection.
The present invention realizes that code data inputs using single-button and with reference to touching display screen, and passes through communication interface circuit Send the code data of input to host computer, can effectively prevent criminal from stealing secret information the modes such as keyboard by installation to steal use Family password, so as to effectively protect the encrypted message of user safe.The equipment for the key passwords input developed can both be held Operation, upper hands- operation can be also fixed on by neck, has the characteristics that simple in construction, easy to operate, strong security.
The circuit structure of the modules of cipher input equipment is described separately below.
With reference to figure 1, cipher input equipment of the present invention is by microcontroller 1, single-button 2, style man-machine interactive interface circuit 3, touch Formula display screen 4, communication interface circuit 5, and D.C. regulated power supply 6 form.
Microcontroller 1 is connected with style man-machine interactive interface circuit 3, touching display screen 4, communication interface circuit 5 respectively, individual palpation Key 2 is connected by style man-machine interactive interface circuit 3 with microcontroller 1.Microcontroller 1 receives to be transmitted by style man-machine interactive interface circuit 3 And the control signal as caused by single-button 2, control touch-screen complete the display of code data, input and by caused code data Host computer is sent to through communication interface circuit 5.
Fig. 5 is the microcontroller peripheral circuit diagram of cipher input equipment provided by the invention.As shown in Figure 5, microcontroller Peripheral circuit core is a microcontroller chip 11, is preferably here:The STM32F103ZET6 chips of STMicw Electronics.It is special Not, other microcontrollers similar in function can also be used.During chip normal work, microcontroller chip 11 receives man-machine friendship The control signal that mutual interface circuit 3 transmits, and Password Input control signal is sent to touching display screen 4, while preserve touch The code data that formula display screen 4 is shown, and send final caused code data to host computer through communication interface circuit 5, scheme In 12 be data transmission bus.
In order that microcontroller chip 11 can normal work, while also need to peripheral circuit module, peripheral circuit includes Reset circuit 13, back-up area power supply circuit 14, start-up circuit 15, system clock crystal oscillating circuit 16, RTC (internal real time clock) are brilliant Shake circuit 17.Reset circuit 13 is used for generation system reset signal.When external power source disconnects, back-up area power supply circuit 14 3.3V dc sources are provided by reserve area of the battery to microcontroller chip 11.Start-up circuit 15 is used to set microcontroller The Starting mode of chip 11.System clock crystal oscillating circuit 16 is used to provide system clock.RTC crystal oscillating circuits 17 are used to provide RTC (internal real time clock) clock.In addition, microcontroller chip 11, which also includes JTAG, downloads artificial circuit, for microcontroller 11 Download control program and the function of providing on-line debugging program, are not drawn into Figure 5.
Fig. 6 is the DC-stabilized circuit figure of cipher input equipment provided by the invention.DC-stabilized circuit master It act as being converted in external 220V alternating currents the microcontroller of the direct current, respectively cipher input equipment of different magnitudes of voltage Device 1, single-button 2, style man-machine interactive interface circuit 3, touching display screen 4, communication interface circuit 5 provide direct-current working volts.
With reference to Fig. 6, first, 220V alternating currents 61 access the step-down rectifier module 62 of DC-stabilized circuit, and decompression is whole Include transformer circuit and bridge rectifier in flow module 62, transformer circuit hands over 220V AC voltage decompression for low-voltage Stream electricity is afterwards DC voltage by bridge rectifier rectification.
Secondly, direct current electricity output is to Voltage stabilizing module 63 caused by step-down rectifier module 62.Voltage stabilizing module 63 is used to produce surely Fixed DC voltage, DC voltage here is 12V, and the core of Voltage stabilizing module 63 is three-terminal voltage-stabilizing chip LM7812.It is or same Other chips of function.The steady dc voltage that Voltage stabilizing module 63 exports gives buck converter 1 respectively through power switch 64 (65) powered with buck converter 2 (66), Password Input is produced respectively through buck converter 1 (65) and buck converter 2 (66) Different DC voltage values required during other module normal works in equipment.Selected according to other modules in cipher input equipment The difference of device, buck converter 1 (65) and buck converter 2 (66) here can be different, for use in producing what is needed DC voltage.5v and 3.3v DC voltages are mainly produced herein, are produced respectively by buck converter 1 and buck converter 2.Drop Pressure converter 1 and the core of buck converter 2 are MP2359 and AMS1117 chips.
Finally, buck converter 1 (65) and the different DC voltages of buck converter 2 (66) output are directly to Password Input The module of equipment carries out direct current supply.
Fig. 7 is the single-button and style man-machine interactive interface circuit figure of cipher input equipment provided by the invention.As shown in Figure 7, One pull-up resistor R is set between dc source VCC and ground GND, it is preferable that R resistance is 10k Ω.Simultaneously in pull-up electricity Single-button 2 is set between resistance R and ground GND, one end that pull-up resistor R is connected with single-button 2 is as output to microcontroller.
The time span that single-button 2 is pressed correspond to the time length of single-button and style man-machine interactive interface circuit output voltage Degree, after microcontroller receives the DC voltage of different time length, the progress bar 43 of different length is converted into (such as by computing Shown in Fig. 2~Fig. 4).
Specially:When single-button is pressed, the output OUT of single-button and style man-machine interactive interface circuit will be grounded GND, man-machine Interactive interface circuit produces a continuous low level signal, and the low level signal is transmitted to microcontroller;And should when unclamping During single-button, then style man-machine interactive interface circuit output OUT will meet dc source VCC by pull-up resistor R, be connect by man-machine interaction Mouth circuit gives microcontroller to transmit a continuous high level signal.Microprocessor matches the continuous low level signal duration of acquisition To correspond to the progress bar and password value of length, and shown in display screen, to complete the input process of password.
Single-button 2 can use contact single-button to strengthen the operating handle of operator.Button 2 is used to produce control letter Number, the control signal through style man-machine interactive interface circuit 3 sends microcontroller 1 to realize the defeated of system start and code data Enter.
Microcontroller select for STMicw Electronics STM32F103ZET6 chips when, single-button and Man Machine Interface The output end OUT of circuit is connected with No. 34 I/O mouths of microcontroller.
Fig. 8 is the communication interface circuit picture frame figure of cipher input equipment provided by the invention.As shown in Figure 8, communication interface Circuit diagram includes selection port 51, communication protocol module 1, communication protocol module 2 53 and DOL Data Output Line 54.Select end Mouth 51 selects the output data of different communication protocol modules to be used as output to data wire 54 by setting.Here communication protocol mould Block 1, communication protocol module 2 53 are respectively RS232 communication modes and RS485 communication modes.
The setting of above-mentioned various communications protocols mode is different in order to preferably meet the cipher input equipment of the present invention Environment use.
Finally be necessary described herein be:Above example is served only for further detailed to technical scheme work Ground explanation, it is impossible to be interpreted as limiting the scope of the invention, those skilled in the art is according to the above of the invention Some the nonessential modifications and adaptations made belong to protection scope of the present invention.

Claims (7)

  1. A kind of 1. cipher-code input method, it is characterised in that:The cipher-code input method is using in single cipher button matching display screen Progress bar realize Password Input;
    The time length that the cipher-code input method is pressed specifically by button, corresponding matching display is different in display screen The input of image hotpoint difference password value;
    The different graphic that display is matched in the display screen refers to the different progress bar of length;
    The password refers to the combination of " 0-9 ", " * ", " # " or one or more of similar and different characters in " ";
    The cipher-code input method comprises the following steps:
    Step a):Press single cipher button, the figure in display screen changes;
    Step b):When the password value of the Graphic Pattern Matching required input in display screen, stop key.
  2. 2. cipher-code input method as claimed in claim 1, it is characterised in that:The figure for also including having shown in step b is clear The process removed.
  3. 3. cipher-code input method as claimed in claim 2, it is characterised in that:When the password of required input is multiple password values When, it can be realized by the way that step a and step b is repeated several times.
  4. 4. cipher-code input method as claimed in claim 2, it is characterised in that:The cipher-code input method also includes step c, i.e., Confirm or delete to have inputted password value.
  5. 5. cipher-code input method as claimed in claim 2, it is characterised in that step c concrete operations are:Press in display screen " confirmation " or " deletion " button, with the password value confirmed or delete step a and step b are inputted.
  6. 6. cipher-code input method as claimed in claim 1, it is characterised in that:It is required defeated for matching shown by display screen Enter the graphic change of password value, including the password value closes on numerical value or similar values.
  7. 7. the cipher-code input method as described in claim 1-6 is any, it is characterised in that:The cipher-code input method also includes will The password value inputted sends the process to another terminal or other information processing unit.
CN201410697705.3A 2014-09-26 2014-11-27 A kind of cipher-code input method and its equipment Active CN104463037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410697705.3A CN104463037B (en) 2014-09-26 2014-11-27 A kind of cipher-code input method and its equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410502269 2014-09-26
CN201410502269X 2014-09-26
CN201410697705.3A CN104463037B (en) 2014-09-26 2014-11-27 A kind of cipher-code input method and its equipment

Publications (2)

Publication Number Publication Date
CN104463037A CN104463037A (en) 2015-03-25
CN104463037B true CN104463037B (en) 2017-11-24

Family

ID=52909054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410697705.3A Active CN104463037B (en) 2014-09-26 2014-11-27 A kind of cipher-code input method and its equipment

Country Status (1)

Country Link
CN (1) CN104463037B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650513A (en) * 2015-11-03 2017-05-10 阿里巴巴集团控股有限公司 Recommendation method and device of password inputting modes
CN110598486B (en) * 2019-08-30 2022-02-15 北京奇艺世纪科技有限公司 Virtual keyboard encryption method and device and readable storage medium
CN112230813A (en) * 2020-10-16 2021-01-15 北京天融信网络安全技术有限公司 Information input method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566760A (en) * 2010-12-17 2012-07-11 深圳市证通电子股份有限公司 Anti-prying password keypad based on pressure sensing and password input method
CN102619405A (en) * 2012-01-20 2012-08-01 潘安 Single-key type password input method
CN102831337A (en) * 2011-06-18 2012-12-19 陈国平 Method for inputting or presetting passwords for display screen information secrecy product by using one key, and application
CN103677309A (en) * 2013-12-25 2014-03-26 中国航空工业集团公司第六三一研究所 Embedded-device-based character input method with single key and double knobs combined

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566760A (en) * 2010-12-17 2012-07-11 深圳市证通电子股份有限公司 Anti-prying password keypad based on pressure sensing and password input method
CN102831337A (en) * 2011-06-18 2012-12-19 陈国平 Method for inputting or presetting passwords for display screen information secrecy product by using one key, and application
CN102619405A (en) * 2012-01-20 2012-08-01 潘安 Single-key type password input method
CN103677309A (en) * 2013-12-25 2014-03-26 中国航空工业集团公司第六三一研究所 Embedded-device-based character input method with single key and double knobs combined

Also Published As

Publication number Publication date
CN104463037A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN102880398A (en) Mobile phone unlocking method based on random digital arrays and mobile phone
CN103268206B (en) A kind of seal equipment based on printing technique
CN101266706B (en) On-demand customized payment terminal
CN102831352B (en) Equipment authorization use method and equipment for method
CN110084054A (en) A kind of data privacy device, method, electronic equipment and storage medium
WO2015131793A1 (en) Information interaction system and method based on mobile intelligent terminal, and system and method for issuing tax invoice based on mobile intelligent terminal
CN104463037B (en) A kind of cipher-code input method and its equipment
CN209402526U (en) The key storage device of safety chip
CN104504563A (en) Mobile information safety equipment and working method thereof
CN105426727B (en) Fingerprint decryption method and mobile terminal
CN103198247A (en) Computer safety protection method and computer safety protection system
CN102955571A (en) Code input device
CN102098160A (en) Dynamic password and digital certificate based double-factor authentication security token device
CN111814124A (en) Intelligent terminal gesture encryption code safe login system and method
CN112100611A (en) Password generation method and device, storage medium and computer equipment
CN102013130B (en) Implementing method of bank deposit terminal password input system
CN107516215A (en) The intelligent POS terminal and method of PIN code can be inputted safely
CN202887202U (en) Digitalized multi-fingerprint encryption system
CN204270268U (en) A kind of cipher input equipment
CN204990547U (en) A device is opened to invoice for taxation control system
CN103294943B (en) Ciphering signature handwriting device and method
CN205353958U (en) Intelligent mouse of fingerprint identification function
CN204442397U (en) A kind of encrypted electronic signature device
CN106919863A (en) A kind of self-destruction hard disk unit
CN203573322U (en) Encrypted magnetic head

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231213

Address after: No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province, 511455 (self made Building 1) X1301-C013729

Patentee after: Boda (Guangzhou) Electrical Technology Co.,Ltd.

Address before: 411201 stone wharf, Yuhu District, Xiangtan City, Hunan Province

Patentee before: HUNAN University OF SCIENCE AND TECHNOLOGY

TR01 Transfer of patent right