CN104156678B - The guard method of one kind input character, system and electronic equipment - Google Patents
The guard method of one kind input character, system and electronic equipment Download PDFInfo
- Publication number
- CN104156678B CN104156678B CN201310174285.6A CN201310174285A CN104156678B CN 104156678 B CN104156678 B CN 104156678B CN 201310174285 A CN201310174285 A CN 201310174285A CN 104156678 B CN104156678 B CN 104156678B
- Authority
- CN
- China
- Prior art keywords
- user
- information
- input
- instruction
- character
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/83—Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Abstract
The embodiment of the present invention provides a kind of input character guard method, system and electronic equipment, and wherein method includes:Whether the information of detection user's input meets the first rule;When the information that user inputs meets the first rule, the corresponding character of information that user is inputted is shown according to the first display mode;When the information that user inputs does not meet the first rule, the corresponding character of information that user is inputted is shown according to the second display mode.The setting that the embodiment of the present invention passes through the first rule, as long as the information of user's input meets the first rule, the corresponding character of information of user's input will be shown with the first display mode all the time, solve input focus from Password Input frame switch to other input frames when, the problem of user cipher has larger risk of leakage, improves the security of user inputs character.
Description
Technical field
The present invention relates to art of cryptography, more specifically to the guard method of one kind input character, system and electronics
Equipment.
Background technology
With the development of information technology, information security is increasingly valued by people, especially the pass to cryptosecurity
Note.The salvo of Current Password has a variety of, such as uses security card, electronics secret order etc., and these modes are by password authentification
Mode realize cryptoguard;And as the password Display Technique of terminal interface, asterisk password has obtained great popularization, asterisk
The password that password can be inputted in Password Input frame to user is hidden using asterisk, to play the purpose of cryptoguard.
Such as user uses notebook computer, smart mobile phone, palm PC electronic equipment, carries out bank system of web, instant chat etc.
When the account login of system or trade confirmation, it is required on Password Input frame input password, and then can using asterisk password
The password that user is inputted is hidden in Password Input frame for asterisk, is effectively prevented the leakage that user inputs password.
Inventor has found during the present invention is realized:When user carries out the input of password in Password Input frame, by
In maloperation or other reasonses, input focus can enter other input frames;As user is carrying out the Password Input of Web bank
When, the chat window of instant chat software has been ejected at the interface of electronic equipment, then input focus will be cut from Password Input frame
Shift on the chat window of ejection;If because maloperation or other reasonses in input focus switch to other by Password Input frame
During input frame, user does not note still providing for the input of password, then the password inputted will include in clear text manner
In the input frame that input focus is stopped, which increase the risk of the password leakage of user.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of input character guard method, system and electronic equipment, defeated to solve
Enter focus from Password Input frame switch to other input frames when, the problem of there is larger risk of leakage in the password of user.
One kind input character guard method, including:
Whether the information of detection user's input meets the first rule;
When the information that user inputs meets the first rule, the corresponding character of information that user is inputted is according to the first display
Mode is shown;
When the information that user inputs does not meet the first rule, the corresponding character of information that user is inputted shows according to second
The mode of showing is shown.
Wherein, whether the information of the detection user input, which meets the first rule, includes:
Whether first instruction is carried in the information of detection user's input, and first instruction is the information for inputting user
The instruction that corresponding character is shown with encrypted test mode.
Wherein, first instruction is corresponding with the information that the setting Macintosh of keyboard is inputted, and the keyboard includes virtual
Keyboard and/or physical keyboard;Or, the information pair that first instruction is inputted with special function keys set on dummy keyboard
Should.
Wherein, the process of the first instruction whether is carried in the information of the detection user input to be included:
When user inputs information, detect whether to receive the letter that user is inputted by the setting Macintosh on keyboard
Breath, or detect whether to receive the information that user is inputted by special function keys set on dummy keyboard;
If not, it is determined that do not carry the first instruction in the information of user's input, the information of user's input does not meet first
Rule;
If, it is determined that the first instruction is carried in the information of user's input, the information of user's input meets the first rule.
Wherein, first display mode is the display mode for showing character with encrypted test mode;
The process that the corresponding character of the information that user is inputted is shown according to the first display mode includes:
Received since detection user combines the information corresponding time of key input by the setting on keyboard, or from inspection
The information corresponding time that user is inputted by special function keys set on dummy keyboard that receives is surveyed, to again
Receive user by the information corresponding time of the setting combination key input on keyboard to stop, or receive user again and pass through void
The information corresponding time that set special function keys are inputted on plan keyboard stops, in the survival of time started to the time of termination
Period, the corresponding character of user's input information is determined, the character is shown with encrypted test mode.
Wherein, when input focus switches to other input frames by Password Input frame, whether the information of detection user's input
Meet the first rule.
Wherein, first instruction is corresponding with the instruction that Password Input frame is activated;
It is defeated to the character for completing predetermined number the survival time of first instruction is when Password Input frame is activated
It is fashionable to stop;Or, the survival time of first instruction is when Password Input frame is activated, to stopping when reaching preset time.
The embodiment of the present invention also provides a kind of input character protection system, including:
Detection module, for detecting whether the information of user's input meets the first rule;
First character display module, for when the information that user inputs meet first rule when, the information that user is inputted
Corresponding character is shown according to the first display mode;
Second character display module, for when the information that user inputs do not meet first rule when, the letter that user is inputted
Corresponding character is ceased to be shown according to the second display mode.
Wherein, the detection module includes:
The first instruction, described first whether are carried in first instruction detection unit, the information for detecting user's input
The instruction for instructing the corresponding character of the information for user is inputted to be shown with encrypted test mode.
Wherein, first instruction is corresponding with the information that the setting Macintosh of keyboard is inputted, and the keyboard includes virtual
Keyboard and/or physical keyboard;Or, the information pair that first instruction is inputted with special function keys set on dummy keyboard
Should;
First instruction detection unit includes:
First detection sub-unit, for when user inputs information, detecting whether that receiving user passes through setting on keyboard
Determine the information that Macintosh is inputted, or to detect whether to receive user defeated by special function keys institute set on dummy keyboard
The information entered;
First determination subelement, for when the judged result of first detection sub-unit is no, determining that user inputs
Information in do not carry the first instruction, the information of user's input does not meet the first rule;
Second determination subelement, for when the judged result of first detection sub-unit is to be, determining that user inputs
Information in carry the first instruction, the information of user's input meets the first rule.
Wherein, the first character display module includes:
First survival phase determining unit, the survival phase for determining the first instruction, the survival phase receives use from detection
The information corresponding time of key input is combined in family by the setting on keyboard, or receives user from detection and pass through virtual key
The information corresponding time that set special function keys are inputted on disk, pass through to user is received again on keyboard
The information corresponding time of setting combination key input stops, or receives user again and pass through specific work(set on dummy keyboard
The information corresponding time that energy key is inputted stops;
First ciphertext display unit, for the duration in the time started to the time of termination, determines that user inputs information
Corresponding character, the character is shown with encrypted test mode.
Wherein, the system also includes:
Detection opportunity trigger element, for detecting that input focus is switched to the opportunity of other input frames by Password Input frame,
Whether the first rule is met with the information that detection module detection user's input is triggered on the opportunity.
Wherein, first instruction is corresponding with the instruction that Password Input frame is activated;
The first character display module includes:
Second survival phase determining unit, the survival phase for determining the first instruction, the survival phase is from Password Input frame quilt
During activation, stop during to the character input for completing predetermined number;Or, the survival phase is opened when being activated from Password Input frame
Begin, to stopping when reaching preset time;
Second ciphertext display unit, for the duration in the time started to the time of termination, determines that user inputs information
Corresponding character, the character is shown with encrypted test mode.
The embodiment of the present invention also provides a kind of electronic equipment, including input character protection system described above.
Based on above-mentioned technical proposal, input character guard method provided in an embodiment of the present invention, the letter of detection user's input
Whether breath meets the first rule;When the information that user inputs meets the first rule, the corresponding character of information that user is inputted
Shown according to the first display mode;When the information that user inputs does not meet the first rule, the information pair that user is inputted
The character answered is shown according to the second display mode.The embodiment of the present invention is by the first regular setting, as long as user inputs
Information meet first rule, user input the corresponding character of information will be shown all the time with the first display mode;With close
Exemplified by code input, as long as the information of user's input meets the first rule, even if input focus switches to other from Password Input frame
During input frame, the password of user's input will also be shown with the first display mode, i.e., shown with ciphertext display mode.Phase
To prior art, the embodiment of the present invention solve input focus from Password Input frame switch to other input frames when, user cipher
The problem of there is larger risk of leakage, improves the security of user inputs character.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart provided in an embodiment of the present invention for inputting character guard method;
Whether Fig. 2 meets the flow chart of the first rule for the information of detection user input provided in an embodiment of the present invention;
Fig. 3 is another flow chart provided in an embodiment of the present invention for inputting character guard method;
Fig. 4 is the another flow chart provided in an embodiment of the present invention for inputting character guard method;
Fig. 5 protects the structured flowchart of system for input character provided in an embodiment of the present invention;
Fig. 6 is the structured flowchart of detection module provided in an embodiment of the present invention;
Fig. 7 is the structured flowchart of the first instruction detection unit provided in an embodiment of the present invention;
Fig. 8 is the structured flowchart of the first character display module provided in an embodiment of the present invention;
Fig. 9 is another structured flowchart of the first character display module provided in an embodiment of the present invention;
Figure 10 protects another structured flowchart of system for input character provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart provided in an embodiment of the present invention for inputting character guard method, and this method is applied to carry out
The electronic equipment of information input, reference picture 1, this method can include:
Whether step S100, the information of detection user's input meet the first rule;
Wherein, the first rule correspondence first is instructed, and first instructs the corresponding character of information for indicating to input user
Shown with encrypted test mode.The mode whether information of detection user's input meets the first rule is chosen as:Detection is in user
When inputting information, if having the first instruction with generation, if having the first instruction with generation when user inputs information, user is defeated
The information entered meets the first rule, otherwise, and the information of user's input does not meet the first rule.
Optionally, the first instruction can be generated by the specific operation of user, and the specific operation produces the first finger with default
The operation correspondence of order, specific keys generation first of such as user by clicking on the input equipment of electronic equipment is instructed.
Optionally, the opportunity that the first instruction also can input information in user generates when meeting default opportunity, can such as set in advance
The opportunity for putting the instruction of generation first is input focus activating pin input frame corresponding opportunity, even detects input focus stop
In Password Input frame, the state in activating pin input frame, then there are the first instruction, user with generation during user's input information
The information of input meets the first rule;Optionally, to be alternatively input focus defeated from password the generation opportunity of default first instruction
Enter frame to switch in the preset time period of other input frames(As input focus switches to 1 second of chat window from Password Input
It is interior), depending on the visual concrete application situation of numerical value of preset time period;Input focus is even detected just from the switching of Password Input frame
, then, also will be with generation first during user's input information in the preset time period after input focus switching to other input frames
Instruction, in the preset time period, the information of user's input meets the first rule.
Step S110, when user input information meet first rule when, the corresponding character of information that user is inputted is pressed
Shown according to the first display mode;
Wherein, the first display mode is corresponding with the first instruction, i.e. the first display mode is ciphertext display mode.It is defeated in user
When the information entered meets the first rule, the corresponding character of information of user's input will be shown with encrypted test mode, such as use star
Number cryptographic technique, the corresponding character of information that user is inputted is hidden in asterisk mode;Obviously in addition to asterisk mode hides character,
The embodiment of the present invention can also be using other ciphertext display modes, for the ciphertext display mode embodiment of the present invention that is used simultaneously
It is not restricted.
Step S120, when user input information do not meet first rule when, the corresponding character of information that user is inputted
Shown according to the second display mode.
Wherein, the second display mode is different from the first display mode.Optionally, for the embodiment of the present invention, as long as
It is that non-ciphertext display mode can be considered the second display mode, such as plaintext display mode.
Whether input character guard method provided in an embodiment of the present invention, the information of detection user's input meets the first rule
Then;When the information that user inputs meets the first rule, the corresponding character of information that user is inputted is according to the first display mode
Shown;When the information that user inputs does not meet the first rule, the corresponding character of information that user is inputted is according to second
Display mode is shown.By the setting of the first rule, as long as the information of user's input meets the first rule, user's input
The corresponding character of information will be shown with the first display mode all the time;By taking Password Input as an example, as long as the information of user's input
Meet the first rule, though input focus from Password Input frame switch to other input frames when, the password of user's input also will be with
First display mode is shown, i.e., shown with ciphertext display mode.Compared with the prior art, the embodiment of the present invention is solved
Input focus from Password Input frame switch to other input frames when, the problem of user cipher has larger risk of leakage improves
The security of user inputs character.
Optionally, when the first instruction is generated by the specific operation of user, the embodiment of the present invention can be set in advance
Fixed first instruction is corresponding with the information that the setting Macintosh of keyboard is inputted, and the keyboard includes dummy keyboard and/or physical keyboard;
Optionally, the use for dummy keyboard, physical keyboard can be adapted to by the information input mode of electronic equipment, such as
Only for the smart mobile phone with touch-screen, the keyboard used is only dummy keyboard, and the first instruction can only be with dummy keyboard
Setting combination key input information correspondence.Optionally, the first instruction can also be with special function keys set on dummy keyboard
The information correspondence inputted, due to the expansibility of dummy keyboard, can on the virtual keyboard set and instruct work(with generation first
The function key of energy, the generation of the first instruction is realized by the function key.Based on the specific operation generation first above by user
The mode of the first instruction whether is carried in the situation of instruction, the information of detection user input provided in an embodiment of the present invention to be schemed
Shown in 2.
Whether Fig. 2 meets the flow chart of the first rule, ginseng for the information of detection user input provided in an embodiment of the present invention
According to Fig. 2, the flow can include:
Step S200, user input information when, detect whether that receiving user passes through the setting Macintosh institute on keyboard
The information of input, or detect whether to receive the information that user is inputted by special function keys set on dummy keyboard,
If so, step S210 is performed, if it is not, performing step S220;
Step S210, determine to carry the first instruction in the information of user's input, the information of user's input meets the first rule
Then;
Step S220, determine not carrying the first instruction in the information of user's input, the information of user's input does not meet the
One rule.
By foregoing description as can be seen that the embodiment of the present invention can pass through the setting Macintosh on keyboard, or dummy keyboard
Upper set special function keys generation first is instructed, after the instruction of generation first, and the will be carried in the information of user's input
One instruction, the corresponding character of information of user's input will be shown with the first display mode;Optionally, on by keyboard
Set after the instruction of special function keys generation first set on Macintosh, or dummy keyboard, inventive embodiments can also pass through again
Setting Macintosh on keyboard, or special function keys set on dummy keyboard stop generation first and instructed so that user is defeated
The first instruction is not carried in the information entered, the corresponding character of the information that user is inputted is shown in a second display mode.I.e.
Electronic equipment is received user combines the information corresponding time of key input by the setting on keyboard, or from inspection since detection
The information corresponding time that user is inputted by special function keys set on dummy keyboard that receives is surveyed, to again
Receive user by the information corresponding time of the setting combination key input on keyboard to stop, or receive user again and pass through void
The information corresponding time that set special function keys are inputted on plan keyboard stops, in the survival of time started to the time of termination
Period, the corresponding character of user's input information is determined, the character is shown with encrypted test mode.It is worth noting that, right
, can be simultaneously by the setting Macintosh on keyboard, and on dummy keyboard in the electronic equipment for having dummy keyboard and physical keyboard concurrently
Set special function keys correspondence first is instructed, i.e., can generate the first instruction by the setting Macintosh on keyboard, pass through void
The first instruction can also be generated by intending special function keys set on keyboard.
For ease of understanding, below by taking the instruction of special function keys correspondence first set on dummy keyboard as an example, to this hair
The input character guard method that bright embodiment is provided is illustrated, and the section of holding time that the embodiment of the present invention first is instructed can be
On dummy keyboard twice in the click period of set special function keys.
Fig. 3 for it is provided in an embodiment of the present invention input character guard method another flow chart, reference picture 3, this method can
With including:
Step S300, when user inputs information, judge whether to detect on dummy keyboard set special function keys
Corresponding instruction, if so, step S310 is performed, if it is not, performing step S300;
Step S310, determine user input information carry the first instruction, the corresponding character of the information that user is inputted
Shown according to the first display mode;
First display mode is ciphertext display mode.
Step S320, judge whether to detect on dummy keyboard the set corresponding instruction of special function keys again, if
It is to perform step S330, if it is not, performing step S320;
Step S330, information stopping the first instruction of carrying for determining user's input, the corresponding word of information that user is inputted
Symbol is shown according to the second display mode.
It is noted that shown in Fig. 3 in the way of the instruction of special function keys correspondence first set on dummy keyboard only
For optional, the information input mode of the electronic equipment of foundation actual use, the corresponded manner of the instruction of others first also can be set.
Optionally, the embodiment of the present invention, which can also be limited, detects whether the information of user's input meets the opportunity of the first rule,
Only when input focus switches to other input frames by Password Input frame, whether the information of detection user's input meets the first rule
Then;Only implement input character provided in an embodiment of the present invention when input focus switches to other input frames by Password Input frame
Guard method.Prior art, causes the reason that user cipher is revealed to be:Because maloperation or other reasonses are burnt in input
Point is by Password Input frame when switching to other input frames, and user does not note still providing for the input of the password password caused by
Leakage;If therefore input focus is remained in Password Input frame, the possibility of user cipher leakage is smaller, can be not required to using this
The input character protected mode that inventive embodiments are provided, and in user's input focus because maloperation or other reasonses are defeated from password
When entering frame and switching to other input frames, the risk of now user cipher leakage is larger, can detect input focus by close
When code input frame switches to other input frames, start input character protected mode provided in an embodiment of the present invention, detecting use
When the information of family input meets the first rule, the corresponding character of information that user is inputted is shown with the first display mode.
Already described above, the opportunity that the first instruction can also input information in user generates when meeting default opportunity;When this is default
Machine can be activated corresponding opportunity for Password Input frame;In this case, the survival time of the first instruction can be from close
When code input frame is activated, stop during to the character input for completing predetermined number, in the user's input of the first instruction survival time
The corresponding character of information will be shown with the first display mode;By taking bank cipher as an example, bank cipher is generally 6 digits
Word, the embodiment of the present invention can the predetermined number of preset character be 6, be activated 6 characters inputting afterwards all in Password Input frame
It will be shown with the first display mode;Set by such, even if input focus is cut accidentally after the activation of Password Input frame
When shifting to other input frames, the code characters of the predetermined number inputted will also be shown with the first display mode so that close
Code character can be protected greatly.
Fig. 4 for it is provided in an embodiment of the present invention input character guard method another flow chart, reference picture 4, this method can
With including:
Step S400, judge Password Input frame whether be transfused to focus activation, if so, perform step S410, if it is not, perform
Step S400;
Step S410, generation first are instructed, and the character for the corresponding predetermined number of information that user is inputted shows according to first
The mode of showing is shown;
Step S420, judge whether complete predetermined number character input, if so, perform step S430, if it is not, perform
Step S420;
Step S430, stopping generation first are instructed, and the corresponding character of information that user is inputted is according to the second display mode
Shown.
Optionally, first instruction the survival time can be when Password Input frame is activated, to when reaching default
Between when stop.Preset time can be chosen as user and carried out the average time-consuming of Password Input by User Defined.
Optionally, the embodiment of the present invention only can be implemented when input focus switches to other input frames by Password Input frame,
Therefore when the generation opportunity of the first instruction can also switch to other input frames for input focus by Password Input frame, the first instruction
The survival time can be input focus when Password Input frame switches to other input frames, to when reaching preset time
Only, i.e., generation first is instructed in the preset time period after input focus switching.
Input character protection system provided in an embodiment of the present invention is introduced below, input character described below is protected
Protecting system is corresponding with above-described input character guard method, and both can be cross-referenced.
Fig. 5 protects the structured flowchart of system for input character provided in an embodiment of the present invention, reference picture 5, and the system can be with
Including:
Detection module 100, for detecting whether the information of user's input meets the first rule;
First character display module 200, for when the information that user inputs meet first rule when, the letter that user is inputted
Corresponding character is ceased to be shown according to the first display mode;
Second character display module 300, for when the information that user inputs does not meet the first rule, user to be inputted
The corresponding character of information is shown according to the second display mode.
Input character protection system provided in an embodiment of the present invention is by the first regular setting, as long as the letter of user's input
Breath meets the first rule, and the corresponding character of information of user's input will be shown with the first display mode all the time;It is defeated with password
Exemplified by entering, as long as the information of user's input meets the first rule, even if input focus switches to other inputs from Password Input frame
During frame, the password of user's input will also be shown with the first display mode, i.e., shown with ciphertext display mode.It is relatively existing
Have a technology, the embodiment of the present invention solve input focus from Password Input frame switch to other input frames when, the password of user is deposited
The problem of larger risk of leakage, the security of user inputs character is improved.
Fig. 6 is the structured flowchart of detection module 100 provided in an embodiment of the present invention, reference picture 6, and detection module 100 can be with
Including:
The first instruction whether is carried in first instruction detection unit 110, the information for detecting user's input, described the
One instruction is the instruction that the corresponding character of information for inputting user is shown with encrypted test mode.
Optionally, the first instruction can be generated by the specific operation of user.Optionally, first instruction is set with keyboard
Determine the information correspondence that Macintosh is inputted, the keyboard includes dummy keyboard and/or physical keyboard;Or, it is described first instruction with
The information correspondence that set special function keys are inputted on dummy keyboard.
It is corresponding, Fig. 7 be the first instruction detection unit 110 provided in an embodiment of the present invention structured flowchart, reference picture 7,
First instruction detection unit 110 can include:
First detection sub-unit 111, for when user inputs information, detecting whether that receiving user passes through on keyboard
The information that setting Macintosh is inputted, or detect whether that receiving user passes through special function keys institute set on dummy keyboard
The information of input;
First determination subelement 112, for when the judged result of the first detection sub-unit 111 is no, determining that user is defeated
The first instruction is not carried in the information entered, the information of user's input does not meet the first rule;
Second determination subelement 113, for when the judged result of the first detection sub-unit 111 is to be, determining that user is defeated
The first instruction is carried in the information entered, the information of user's input meets the first rule.
It is corresponding, Fig. 8 be the first character display module 200 provided in an embodiment of the present invention structured flowchart, reference picture 8,
First character display module 200 can include:
First survival phase determining unit 210, the survival phase for determining the first instruction, the survival phase receives from detection
User by keyboard setting combine key input the information corresponding time, or from detection receive user pass through it is virtual
The information corresponding time that set special function keys are inputted on keyboard, pass through to user is received again on keyboard
Information corresponding time of setting combination key input stop, or receive again user pass through it is set specific on dummy keyboard
The information corresponding time that function key is inputted stops;
First ciphertext display unit 211, for the duration in the time started to the time of termination, determines user's input letter
Corresponding character is ceased, the character is shown with encrypted test mode.
Optionally, first instruction is corresponding with the instruction that Password Input frame is activated.Corresponding, the first character shows mould
The structure of block 200 can as shown in figure 9, including:
Second survival phase determining unit 220, the survival phase for determining the first instruction, the survival phase is from Password Input frame
When being activated, stop during to the character input for completing predetermined number;Or, the survival phase is opened when being activated from Password Input frame
Begin, to stopping when reaching preset time;
Second ciphertext display unit 221, for the duration in the time started to the time of termination, determines user's input letter
Corresponding character is ceased, the character is shown with encrypted test mode.
Figure 10 protects another structured flowchart of system for input character provided in an embodiment of the present invention, with reference to Fig. 5 and Figure 10,
System shown in Figure 10 also includes:
Detection opportunity trigger element 400, for detect input focus by Password Input frame switch to other input frames when
Machine, to detect whether the information of user's input meets the first rule in the opportunity detection trigger module 100.
The embodiment of the present invention also provides a kind of electronic equipment, including input character protection system described above.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other
Between the difference of embodiment, each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory(RAM), internal memory, read-only deposit
Reservoir(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (12)
1. one kind input character guard method, it is characterised in that including:
Whether the information of detection user's input meets the first rule;
When the information that user inputs meets the first rule, the corresponding character of information that user is inputted is according to the first display mode
Shown;
When the information that user inputs does not meet the first rule, the corresponding character of information that user is inputted is according to the second display side
Formula is shown;
Wherein, when input focus switches to other input frames by Password Input frame, whether the information of detection user's input meets
First rule;
It is described first rule correspondence first instruct, described first instruct for the corresponding character of information for indicating to input user with
Encrypted test mode is shown.
2. according to the method described in claim 1, it is characterised in that whether the information of the detection user input meets the first rule
Then include:
Whether first instruction is carried in the information of detection user's input, and first instruction is the information correspondence for inputting user
The instruction that is shown with encrypted test mode of character.
3. method according to claim 2, it is characterised in that first instruction and the setting Macintosh of keyboard are inputted
Information correspondence, the keyboard include dummy keyboard and/or physical keyboard;Or, it is set on first instruction and dummy keyboard
The information correspondence that fixed special function keys are inputted.
4. method according to claim 3, it is characterised in that whether carry the in the information of the detection user input
The process of one instruction includes:
When user inputs information, detect whether to receive the information that user is inputted by the setting Macintosh on keyboard, or
Detect whether to receive the information that user is inputted by special function keys set on dummy keyboard;
If not, it is determined that do not carry the first instruction in the information of user's input, the information of user's input does not meet the first rule;
If, it is determined that the first instruction is carried in the information of user's input, the information of user's input meets the first rule.
5. method according to claim 4, it is characterised in that first display mode is to show character with encrypted test mode
The display mode shown;
The process that the corresponding character of the information that user is inputted is shown according to the first display mode includes:
Connect since detection receives information corresponding time of the user by the setting combination key input on keyboard, or from detection
The information corresponding time that user is inputted by special function keys set on dummy keyboard is received, to receiving again
Stopped to user by the information corresponding time of the setting combination key input on keyboard, or receive user again and pass through virtual key
The information corresponding time that set special function keys are inputted on disk stops, in the survival phase of time started to the time of termination
Between, the corresponding character of user's input information is determined, the character is shown with encrypted test mode.
6. method according to claim 2, it is characterised in that the instruction that first instruction is activated with Password Input frame
Correspondence;
The survival time of first instruction is when Password Input frame is activated, during to the character input for completing predetermined number
Only;Or, the survival time of first instruction is when Password Input frame is activated, to stopping when reaching preset time.
7. one kind input character protection system, it is characterised in that including:
Detection module, for detecting whether the information of user's input meets the first rule;
First character display module, for when the information that user inputs meets the first rule, the information that user is inputted to be corresponding
Character shown according to the first display mode;
Second character display module, for when the information that user inputs do not meet first rule when, the information pair that user is inputted
The character answered is shown according to the second display mode;
Wherein, in addition to:
Detection opportunity trigger element, for detecting that input focus is switched to the opportunity of other input frames by Password Input frame, with
Whether the information that the opportunity triggers detection module detection user's input meets the first rule;The first rule correspondence the
One instruction, described first instructs the corresponding character of information for indicating to input user to be shown with encrypted test mode.
8. system according to claim 7, it is characterised in that the detection module includes:
Whether first instruction, first instruction are carried in first instruction detection unit, the information for detecting user's input
The instruction shown for the corresponding character of information for inputting user with encrypted test mode.
9. system according to claim 8, it is characterised in that first instruction and the setting Macintosh of keyboard are inputted
Information correspondence, the keyboard include dummy keyboard and/or physical keyboard;Or, it is set on first instruction and dummy keyboard
The information correspondence that fixed special function keys are inputted;
First instruction detection unit includes:
First detection sub-unit, for when user inputs information, detecting whether that receiving user passes through the setting group on keyboard
The information that key is inputted is closed, or detects whether to receive what user was inputted by special function keys set on dummy keyboard
Information;
First determination subelement, for when the judged result of first detection sub-unit is no, determining the letter of user's input
The first instruction is not carried in breath, the information of user's input does not meet the first rule;
Second determination subelement, for when the judged result of first detection sub-unit is to be, determining the letter of user's input
The first instruction is carried in breath, the information of user's input meets the first rule.
10. system according to claim 9, it is characterised in that the first character display module includes:
First survival phase determining unit, the survival phase for determining the first instruction, the survival phase receives user from detection and led to
Cross on keyboard and set the information corresponding time of combination key input, or user is received from detection and pass through on dummy keyboard
The information corresponding time that set special function keys are inputted, the setting on keyboard is passed through to user is received again
The information corresponding time of combination key input stops, or receives user again and pass through special function keys set on dummy keyboard
The information corresponding time inputted stops;
First ciphertext display unit, for the duration in the time started to the time of termination, determines user's input information correspondence
Character, the character is shown with encrypted test mode.
11. system according to claim 8, it is characterised in that the finger that first instruction is activated with Password Input frame
Order correspondence;
The first character display module includes:
Second survival phase determining unit, the survival phase for determining the first instruction, the survival phase is activated from Password Input frame
When, stop during to the character input for completing predetermined number;Or, the survival phase is when Password Input frame is activated, extremely
Stop when reaching preset time;
Second ciphertext display unit, for the duration in the time started to the time of termination, determines user's input information correspondence
Character, the character is shown with encrypted test mode.
12. a kind of electronic equipment, it is characterised in that protect system including the input character described in claim any one of 7-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310174285.6A CN104156678B (en) | 2013-05-13 | 2013-05-13 | The guard method of one kind input character, system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310174285.6A CN104156678B (en) | 2013-05-13 | 2013-05-13 | The guard method of one kind input character, system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104156678A CN104156678A (en) | 2014-11-19 |
CN104156678B true CN104156678B (en) | 2017-08-25 |
Family
ID=51882175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310174285.6A Active CN104156678B (en) | 2013-05-13 | 2013-05-13 | The guard method of one kind input character, system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104156678B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446540A (en) * | 2015-12-31 | 2016-03-30 | 宇龙计算机通信科技(深圳)有限公司 | Character input method and device |
CN106815534B (en) * | 2017-01-17 | 2020-02-14 | Oppo广东移动通信有限公司 | Method and device for protecting user privacy and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753522A (en) * | 2004-09-24 | 2006-03-29 | 华为技术有限公司 | Mobile terminal used for protecting user input information and its method |
CN102929498A (en) * | 2011-09-12 | 2013-02-13 | 微软公司 | Password reveal selector |
CN102981627A (en) * | 2011-09-06 | 2013-03-20 | 腾讯科技(深圳)有限公司 | Password inputting method and password inputting device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7114077B2 (en) * | 2000-08-23 | 2006-09-26 | Ryan Miller | Verification system for confidential data input |
-
2013
- 2013-05-13 CN CN201310174285.6A patent/CN104156678B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753522A (en) * | 2004-09-24 | 2006-03-29 | 华为技术有限公司 | Mobile terminal used for protecting user input information and its method |
CN102981627A (en) * | 2011-09-06 | 2013-03-20 | 腾讯科技(深圳)有限公司 | Password inputting method and password inputting device |
CN102929498A (en) * | 2011-09-12 | 2013-02-13 | 微软公司 | Password reveal selector |
Also Published As
Publication number | Publication date |
---|---|
CN104156678A (en) | 2014-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103902862B (en) | A kind of mobile device management method, apparatus and a kind of mobile equipment | |
Kwon et al. | TinyLock: Affordable defense against smudge attacks on smartphone pattern lock systems | |
Roth et al. | A PIN-entry method resilient against shoulder surfing | |
CN103870181B (en) | A kind of control method of handheld device, control device and handheld device | |
CN106534570B (en) | A kind of method for secret protection and device | |
CN103838499A (en) | Touch screen terminal unlocking method and touch screen terminal | |
CN103455761B (en) | File encryption and decryption method and device and electronic device | |
CN102655542A (en) | Method and terminal for switching terminal statuses | |
CN105631279B (en) | A kind of data card method for handover control, device and terminal device | |
CN104615927A (en) | Multisystem safe verification method, multisystem safe verification device and terminal | |
WO2012026996A1 (en) | System and method for managing secure information within a hybrid portable computing device | |
CN106709382A (en) | Keyboard display method and device | |
Kim | Keypad against brute force attacks on smartphones | |
CN105809000A (en) | Information processing method and electronic device | |
CN103795849B (en) | The device and method of operation are performed for private contact in portable terminal | |
Kwon et al. | Drag-and-type: a new method for typing with virtual keyboards on small touchscreens | |
CN104156678B (en) | The guard method of one kind input character, system and electronic equipment | |
CN104966017B (en) | A kind of Password Input protects system and method | |
Higashikawa et al. | Shoulder-surfing resistant authentication using pass pattern of pattern lock | |
CN106407761A (en) | An unlocking method and unlocking device | |
KR101435487B1 (en) | User device, method of using hidden page of the same and computer-readable recording medium | |
CN103902205B (en) | A kind of information processing method and electronic equipment | |
CN106570386B (en) | Touch screen unlocking method and system | |
CN106650368A (en) | Encrypted information display method and apparatus | |
CN106372472A (en) | Application operation method and application operation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |