Summary of the invention
Display packing and the device of the visual password of a kind of peep-proof are provided in the embodiment of the present invention, have submitted the time waste problem of wearing to and improve security to reduce bad password.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect provides the display packing of the visual password of a kind of peep-proof, comprising:
Receive at least one password that the user is input to the Password Input frame;
Select to show the color and background color of described password;
The color and background color of described password is adjusted to respectively in corresponding preset range, obtained the visual password of peep-proof, wherein, the visual password of described peep-proof is for can see in the predeterminable range scope;
Show the visual password of described peep-proof by described Password Input frame.
In the possible implementation of the first of first aspect, described color and background color with password is adjusted to respectively before or after corresponding preset range, and described method also comprises: font size, font weight and/or the font type of adjusting described password.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, described method also comprises:
Add the shade picture on the described password after font size, font weight and/or the font type of adjusting described password.
The first or the possible implementation of the second in conjunction with first aspect or first aspect, in the third possible implementation, described color and background color with password is adjusted to respectively before or after corresponding preset range, and described method also comprises: add the shade picture on described password.
In conjunction with the first or the second or the third possible implementation of first aspect or first aspect, in the 4th kind of possible implementation, described method also comprises:
Font size, font weight and/or the font type of described password after adjustment interpolation shade picture.
Second aspect provides the display device of the visual password of a kind of peep-proof, comprising:
Receiving element is used for receiving at least one password that the user is input to the Password Input frame;
Selected cell is used for the color and background color that selection shows described password;
The first adjustment unit is used for the color and background color of described password is adjusted to respectively in corresponding preset range, obtains the visual password of peep-proof, wherein, the visual password of described peep-proof be in the predeterminable range scope as seen;
Display unit is used for showing the visual password of described peep-proof by described Password Input frame.
In the possible implementation of the first of second aspect, also comprise:
The second adjustment unit before or after the preset range of at described the first adjustment unit, the color and background color of password being adjusted to respectively correspondence, is used for adjusting font size, font weight and/or the font type of described password.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second, also comprise:
The first adding device is used for adding the shade picture on the described password after described the second adjustment unit is adjusted.
The first or the possible implementation of the second in conjunction with second aspect or aspect in the third possible implementation, also comprise:
The second adding device is used for described the first adjustment unit and the color and background color of password is adjusted to respectively before or after the preset range of correspondence, is used for adding the shade picture on described password.
The first or the second or the third possible implementation in conjunction with second aspect or second aspect in the 4th kind of possible implementation, also comprise:
The 3rd adjustment unit is used for adjusting font size, font weight and/or font type that described the second adding device adds the described password after the shade picture.
As shown from the above technical solution, in the embodiment of the present invention, can see the correctness that input password due to the user when the Password Input, input by mistake as finding, can correct at once, thereby reduce bad password to submit to and the time waste problem brought, also improve user's satisfaction simultaneously.Simultaneously, owing to only having the password that closely just can see input, when remote, can't clearly see password, play certain cipher anti-theft visual function, improve security.
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 description, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
See also Fig. 1, the process flow diagram of the display packing of the visual password of a kind of peep-proof that Fig. 1 provides for the embodiment of the present invention; Described method comprises:
Step 101: receive at least one password that the user is input to the Password Input frame;
System or processor receive the user by each password of computing machine or mobile terminal (such as mobile phone, panel computer etc.) input, and wherein, described password can be startup password, also can log-in password, and can be also payment cipher etc.
In the present embodiment, described password can comprise a character, also can comprise a plurality of characters or a string character etc.
Step 102: the color and background color of selecting to show described password;
System or processor are after the password that receives user's input, select the color of described password, background color with described password, such as, the background color of selecting described password is black, and selecting the color of described password is grey etc., certainly is not limited to this, can also select other colors, the present embodiment is not restricted.
Generally, the black that background color that can also password is set to give tacit consent to is other colors and select the color of described password.Optionally, the color of described password and the background color of password can for the color that approaches, also can be the color of keeping off.When the color and background color of password is the color that approaches, can adjust its corresponding color; Afterwards, font size, font weight and/or the font type etc. of password can also be adjusted, when the color and background color of password is non-approaching color, font size, font weight and/or font type of password etc. can be directly adjusted.
Step 103: the color and background color of described password is adjusted to respectively in corresponding preset range, is obtained the visual password of peep-proof, wherein, the visual password of described peep-proof be in predeterminable range as seen;
Wherein, system or processor can further combined with the parameter such as screen intensity, resolution of self, preset the preset range that closely can see password on background color.Such as, in PHILIPS light-emitting diode display (brightness 70/ contrast 50), in the situation of indoor bright light, background color is made as RGB (0A, 0A, 0A), text color is made as RGB (19,19,19), the password of the Password Input frame that obtains in screen 30cm as seen, 30cm is difficult to see clearly (concrete numerical value relevant with individual eyesight or environmental factor) outward.But be not limited to this, can also carry out on this basis adaptive adjustment up and down, the present embodiment is not restricted.It should be noted that, also parameters such as not considering screen brightness, resolution, directly rule of thumb value presets the preset range that closely can see password on background color.
Wherein, described predeterminable range can be 20cm, can be also 30cm, can also be 50cm, and its span generally can certainly, can also be carried out accommodation as required between 5cm-100cm, and the present embodiment is not restricted.
Step 104: show the visual password of described peep-proof by described Password Input frame.
System or processor are shown to described user with the visual password of the peep-proof that obtains by described Password Input frame, so that described user (being the operator) can closely see the password that oneself is inputted, not only can confirm the correctness of the password inputted, but also guarantee the security of password.
In this embodiment, if system or processor receive each password that the user inputs the Password Input frame, system or processor will carry out the selection processing of color at once to this password, such as the color of selecting this password is grey, the background color of selecting this password is black, afterwards, the color and background color of this password is adjusted to respectively in corresponding preset range, obtain the visual password of peep-proof of this password, at last, show the visual password of described peep-proof by described Password Input frame.For the user, password of the every input of user, system or processor can be selected the processing of color immediately for this password, then be shown to this user, what namely be shown to the user is the visual password of peep-proof, wherein the visual password of each peep-proof only just can be seen within closely, away from seeing the square of several black after certain distance.
Usually under the distance, if the password of user's input is 6 code characters, the color and background color that in 6 code characters, each code characters is selected can be identical, also can be different, and the present embodiment is not restricted.
In the embodiment of the present invention, because the color and background color to each password of input Password Input frame is adjusted successively, password after adjustment only just can be seen in predeterminable range, not only can guarantee to input the correctness of password, can also guarantee the security of password, thereby improve user's satisfaction.
Optionally, in another kind of embodiment, this embodiment is on the basis of above-described embodiment, select the color and background color of described password can be similar color, such as, the background color of password is black, and the color of password self can be grey or mazarine etc.
Optionally, in another kind of embodiment, this embodiment adjusts to the color and background color of password respectively before or after corresponding preset range on the basis of above-described embodiment, and described method can also comprise: font size, font weight and/or the font type of adjusting described password.
A kind of situation is: first the color and background color of password is adjusted to respectively in corresponding preset range, then adjusted font size, font weight and/or the font type of described password, so that make the described password after adjustment visual in short range.
Another kind of situation is: font size, font weight and/or the font type of first adjusting described password, afterwards, again the color and background color of password is adjusted to respectively in corresponding preset range, so that make the described password after adjustment visual in short range.
Such as, the color of supposing password is light color, and the background color of password is when being black, can be first the color of each password of input be adjusted in corresponding preset range, again the background color of password is also adjusted in corresponding preset range, certainly, the color and background color that also can adjust simultaneously described each password is adjusted to respectively in corresponding preset range; Then, adjust font size, font weight and/or the font type of each password, such as, the font size of password is adjusted into small font (such as No. five fonts etc.), and/or, the font type of each password is adjusted regular script, or the Song typeface etc.; Perhaps, the font shape by this password of image processing techniques distortion or with the font of this password thicken, distortion etc., but be not limited to this.
Certainly, also can first adjust font size, font weight and/or the font type of each password, then the color of each password is adjusted in corresponding preset range, specifically see for details above-mentionedly, not repeat them here.
Optionally, in another kind of embodiment, this embodiment adjusts to the color and background color of password respectively before or after corresponding preset range on the basis of above-described embodiment, and described method can also comprise: add the shade picture on described password.
A kind of situation is: first the color and background color of password is adjusted to respectively in corresponding preset range, added the shade picture on described password, so that make the password that adds the shade picture visual in short range.
Another kind of situation is: first add the shade picture on described password, afterwards, then the color and background color of password is adjusted to respectively in corresponding preset range, so that make the password after adjustment visual in short range.
Wherein, described shade picture can be the shade picture that sets in advance, and also can be the shade picture according to the required dynamic adjustment of password.
Optionally, in another kind of embodiment, before or after the preset range of the color and background color of password being adjusted to respectively correspondence, described method can also comprise: font size, font weight and/or the font type of adjusting described password; And add the shade picture on the described password after adjustment; Perhaps, add the shade picture on described password, and adjust font size, font weight and/or the font type that adds described password after the shade picture.
Wherein, in this embodiment, described shade picture does not repeat them here as mentioned above.
In the embodiment of the present invention, can be first the color and background color of the password of input Password Input frame be adjusted, only closely just can see so that make the password after adjustment, not only can guarantee to input the correctness of password, the security of the password that can also guarantee, thus user's satisfaction improved.Further, can also adjust font size, font weight and/or the font type of password, perhaps by adding the mode of shade picture, hide the display of visually degree of password, thereby reached the closely visual sharpness of password, the peep-proof function of remote password namely can't clearly be seen password at a distance.
Based on the implementation procedure of said method, also by the display device of the visual password of a kind of peep-proof, its structural representation as shown in Figure 2 for the embodiment of the present invention.Described device comprises: receiving element 21, selected cell 22, the first adjustment unit 23 and display unit 24, wherein, described receiving element 21 is used for receiving at least one password that the user is input to the Password Input frame, wherein, this password can comprise a character, also can comprise a plurality of characters, can also comprise a string character etc.; Described selected cell 22 is used for the color and background color that selection shows described password; Described the first adjustment unit 23 is used for the color and background color of described password is adjusted to respectively in corresponding preset range, obtains the visual password of peep-proof, wherein, the visual password of described peep-proof be in the predeterminable range scope as seen; Described display unit 24 is used for showing the visual password of described peep-proof by described Password Input frame.
Optionally, the color and background color of the described password that described selected cell is selected is similar color, but be not limited to this, all right non-similar color, and can reach closely visual function by font size, thickness, shape and/or the type of adjusting password for non-close color.
Optionally, on the basis of Fig. 2 embodiment, described device can also comprise: the second adjustment unit 31, its structural representation as shown in Figure 3, another structural representation of the display device of the visual password of a kind of peep-proof that described Fig. 3 provides for the embodiment of the present invention, wherein, described the second adjustment unit 31, before or after the preset range of at described the first adjustment unit 23, the color and background color of password being adjusted to respectively correspondence, adjust font size, font weight and/or the font type of described password.
Optionally, on the basis of Fig. 3, described device can also comprise: the first adding device 41, its structural representation as shown in Figure 4, another structural representation of the display device of the visual password of a kind of peep-proof that described Fig. 4 provides for the embodiment of the present invention, described the first adding device 41 are used for adding the shade picture on described password after described the second adjustment unit 31 is adjusted; Wherein, described shade picture is the shade picture that sets in advance or is the shade picture according to the required dynamic adjustment of password.
Optionally, on the basis of the described embodiment of Fig. 2, described device can also comprise: the second adding device 51, its structural representation as shown in Figure 5, another structural representation of the display device of the visual password of a kind of peep-proof that described Fig. 5 provides for the embodiment of the present invention, described the second adding device 51 is used for described the first adjustment unit 23 and the color and background color of password is adjusted to respectively before or after the preset range of correspondence, is used for adding the shade picture on described password.
Optionally, on the basis of the described embodiment of Fig. 5, described device can also comprise: the 3rd adjustment unit 61, its structural representation as shown in Figure 6, another structural representation of the display device of the visual password of a kind of peep-proof that described Fig. 6 provides for the embodiment of the present invention.Wherein, described the 3rd adjustment unit 61 is used for adjusting font size, font weight and/or font type that described the second adding device 51 adds the described password after the shade pictures.
In described device, the implementation procedure of the function and efficacy of unit sees the implementation procedure of corresponding step in said method for details, specifically sees for details above-mentionedly, does not repeat them here.
The embodiment of the present invention also provides a kind of terminal electronic equipment, the display device that comprises the visual password of peep-proof, wherein, the function and efficacy of the display device of the visual password of described peep-proof sees the function and efficacy of the display device of the visual password of above-mentioned peep-proof for details, does not repeat them here.
For the ease of those skilled in the art's understanding, see also and adopt the schematic diagram of peeping visual password of putting that shows after technical scheme of the present invention.
See also Fig. 7, a kind of effect enlarged diagram that shows the visual password of described peep-proof by the Password Input frame that Fig. 7 provides for the embodiment of the present invention.Take the size of adjusting the password font and font type as example, but be not limited to this in Fig. 7.Password in this figure is take 1fa3apj as example.
Also see also Fig. 8, a kind of another effect enlarged diagram that shows the visual password of described peep-proof by the Password Input frame that Fig. 8 provides for the embodiment of the present invention.Adding the shade picture as example on password, but be not limited to this in Fig. 8.Password in this figure is take d5e2ffs as example.
In the embodiment of the present invention, the user can see whether inputted password correct in the Password Input process, input by mistake as finding, can correct at once, thereby reduce bad password to submit to and the time waste problem brought, has also improved user's satisfaction simultaneously.In addition, just can see password owing to only having closely, when remote, can't clearly sees password, thereby also play certain cipher anti-theft visual function.
Need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operational zone, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, system or processor, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above is only the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.