Summary of the invention
The technical problem that present invention mainly solves is to provide a kind of reminding method after password, close of inputting
Code amending method and electronic equipment, it is possible to increase user inputs the efficiency of proper password.
For solving above-mentioned technical problem, a first aspect of the present invention is: after providing one input password
Reminding method, including: obtain user input password to carry out password authentification;Judge input
Password is the most consistent with current password;If the password of input is inconsistent with current password, the most further
Judge whether the password inputted is Old Password, wherein, before Old Password is user setup current password
Set;If the password of input is Old Password, then the password of prompting user input be Old Password with
And the modification time that Old Password is corresponding.
Wherein, it is judged that whether the password of input is that the step of Old Password specifically includes: obtains user and sets
Each Old Password set before putting current password;Judge that the password of input is the closeest with each Geju City
One in Ma matches, and wherein, if matching, the password inputted is Old Password.
Wherein, also included before the step that the password judging input is the most consistent with current password:
Judge whether the password inputted is effective password;If the password of input is effective password, then hold
Row judges the step that the password of input is the most consistent with current password, and otherwise prompting user input is close
Code is invalid password.
For solving above-mentioned technical problem, a second aspect of the present invention is: provide a kind of password amendment side
Method, including: enter password amendment function and obtain the new password replacing current password of user's input;
Judge that the new password of input is the most consistent with current password;If the password of input differs with current password
Cause, then current password is preserved as Old Password with current time, input again so that follow-up
Password carries out judging whether to belong to Old Password during password authentification, and wherein, current time is current password
Corresponding modification time;Current password is replaced with the new password of input and points out user current password
Successfully modified.
Wherein, also wrapped before the step that the new password judging input is the most consistent with current password
Include: judge whether the new password inputted is effective password;If the new password of input is the closeest
Code, then perform the new password step the most consistent with current password judging to input, otherwise point out use
The new password of family input is invalid password.
For solving above-mentioned technical problem, a third aspect of the present invention is: after providing one input password
There is the electronic equipment of prompt facility, including: password acquisition module, for obtaining user's input
Password is to carry out password authentification;Password Management module, for judge the password of input whether with currently
Password is consistent;If the password that Password Management module is additionally operable to input is inconsistent with current password, then enter
One step judges whether the password of input is Old Password, and wherein, Old Password is user setup current password
Set by before;Reminding module, if the password for input is Old Password, then prompting user is defeated
The password entered is Old Password and modification time corresponding to Old Password.
Wherein, the password judging input be whether Old Password step in, Password Management module has
Each Old Password that body is set before obtaining user setup current password, Password Management module
Specifically it is additionally operable to determine whether whether the password of input matches with in each Old Password,
Wherein, if matching, the password inputted is Old Password.
Password Management module is additionally operable to before the password judging input is the most consistent with current password,
Judge whether the password inputted is effective password;If the password of input is effective password, the closeest
Code management module determines whether that the password of input is the most consistent with current password, otherwise reminding module
The password of prompting user's input is invalid password.
For solving above-mentioned technical problem, a fourth aspect of the present invention is: provides one to have password and repaiies
Change the electronic equipment of function, including: password amendment AM access module, it is used for entering password amendment function;
Password acquisition module, for obtaining the new password replacing current password of user's input;Password Management
Module is the most consistent with current password for judging the new password of input;Password Management module is also used
If in input password inconsistent with current password, then using current password with current time as old close
Code preserves, so that the follow-up password that inputs again carries out judging whether during password authentification to belong to old close
Code, wherein, current time is the modification time that current password is corresponding;Password Management module is additionally operable to
Current password is replaced with the new password of input;Reminding module, for replacing with current password
During the new password inputted, prompting user's current password is successfully modified.
Wherein, Password Management module be additionally operable to judge the new password of input whether with current password one
Before cause, it is judged that whether the new password of input is effective password;If the new password of input is effective
Password, then Password Management module determine whether the new password of input whether with current password one
Causing, otherwise the new password of reminding module prompting user input is invalid password.
The invention has the beneficial effects as follows: be different from the situation of prior art, first the present invention by obtaining
Take the password of family input, then judge that the password of input is the most consistent with current password, in input
Password and current password inconsistent time determine whether that whether the password of input is Old Password, is sentencing
After the disconnected password obtaining input is Old Password, the password of prompting this input of user is Old Password and old
The modification time that password is corresponding, by providing abundant information to make user understand, oneself inputs
When reason and the understanding of code error were revising password, such that it is able to make user reduce input
The number of times of bad password, improves user and inputs the efficiency of proper password.
Detailed description of the invention
Below in conjunction with the accompanying drawing in embodiment of the present invention, to the technology in embodiment of the present invention
Scheme is clearly and completely described, it is clear that described embodiment is only the present invention one
Some embodiments rather than whole embodiments.Based on the embodiment in the present invention, this
The every other reality that field those of ordinary skill is obtained under not making creative work premise
Execute mode, belong to the scope of protection of the invention.
Referring to Fig. 1, reminding method the first embodiment after the present invention inputs password includes:
Step S11: obtain the password of user's input to carry out password authentification;
Obtaining the password of user's input to carry out password authentification, wherein, this carrying out password authentification is close
Code can be that such as QQ, microblogging etc. are chatted with friends the various network accounts such as account, mailbox, Net silver
Corresponding password, it is also possible to be such as start, the unblock etc. that the electronic equipment such as mobile phone, computer is corresponding
Password, does not makes too many restrictions.
Step S12: judge that the password of input is the most consistent with current password;
After the password obtaining input, determine whether password that user inputs whether with current password
Unanimously, wherein, current password is just being correspondence such as user the most newly-installed such as QQ, mailbox etc.
Really password.
Step S13: judge whether the password inputted is Old Password;
If above-mentioned steps S12 judges that the password obtaining input is inconsistent with current password, the most further
Judge whether the password inputted is Old Password, and wherein, Old Password is the above-mentioned current password of user setup
Set by before.
Whether the above-mentioned password judging input is that the step of Old Password specifically includes: obtain user setup
Each Old Password set before current password;Determine whether the password of input whether with each
One in Old Password matches, wherein, if the password of input and a phase in each Old Password
The password that coupling then inputs is Old Password.
Step S14: when the password of prompting user's input is Old Password and amendment corresponding to Old Password
Between.
If above-mentioned steps S13 judges that the password obtaining input is Old Password, then prompting user is above-mentioned defeated
The password entered is Old Password and modification time corresponding to Old Password, and wherein, this modification time is
Record Old Password is made by correspondence amendment, the moment of replacement, Old Password and corresponding modification time
It is that a mode associating entirety preserves.
Reminding method the first embodiment after below the present invention being inputted password is illustrated:
User wants to log in mailbox A, and the current password about mailbox A of user setup is N, uses
Family arranged three Old Passwords before arranging current password N, was respectively as follows: P, M, Q, three
The modification time that Old Password P, M, Q are corresponding is respectively T1, T2, T3.First use is obtained
The password M of family input is to carry out the password authentification of mailbox;Then whether the password M of input is judged
Consistent with current password N, judged result now is that the password of input is inconsistent with current password;
Then determine whether whether the password M of input is Old Password, is appreciated that the password M that user inputs
Match with in three Old Passwords arranged before it, therefore the password of prompting user input
M is Old Password and modification time T2 corresponding to Old Password.
Additionally, in other embodiments, if above-mentioned steps 12 judge the password obtaining input with
Current password the most i.e. shows that this password authentification is passed through, and user cipher checking now can be pointed out correct;
Or do not point out any content.If above-mentioned steps S13 judges to obtain the password of input not as Old Password,
Now can point out user cipher input error;Additionally being alternatively user provides more code error to carry
Show information: Password Input mistake and this password are not belonging to any one Old Password, and now user is optional
Select and re-enter a password and carry out password authentification, or exit current password checking, or do not hold
Any operation of row, does not makes too many restrictions.Can by voice, word etc. no in present embodiment
Pointing out user the information of various correspondence with mode, the mobile phone power-on password such as inputted as user is old
During password, now can show following word on mobile phone screen: " password of input is Old Password,
The modification time that Old Password is corresponding is 10:30:58 on August 15th, 2013 ", thus point out user defeated
The password entered is the modification time of Old Password and correspondence.
Be appreciated that the present invention input password after reminding method the first embodiment by first obtaining
Take the password for checking of family input, then judge the password of input whether with current password one
Causing, password and the current password in input determines whether time inconsistent whether the password of input is old
Password, after judging that the password obtaining inputting is Old Password, the password of prompting this input of user is old
Password and modification time corresponding to Old Password, by providing abundant information to make user bright
Oneself inputs the reason of code error and understands when oneself was revising password in vain, such that it is able to
Make user reduce the number of times of input error password, improve user and input the efficiency of proper password, bring
Preferably Consumer's Experience.
Referring to Fig. 2, reminding method the second embodiment after the present invention inputs password includes:
Step S21: obtain the password of user's input to carry out password authentification;
Obtain the password of user's input to carry out password authentification.
Step S22: judge whether the password inputted is effective password;
Whether the password judging above-mentioned input is effective password, specifically includes: judge the close of input
Whether the length of the password that the character string of code is the most effective, input meets the password of standard and input
In whether comprise forbidden character, wherein, if the character string of password of input be effective and length accords with
Standardization, do not comprise forbidden character, then the password of this input is effective password, is otherwise nothing
The password of effect.
Step S23a: judge that the password of input is the most consistent with current password;
If above-mentioned steps S22 judges that the password obtaining input is effective password, then determine whether
The password of input is the most consistent with current password.
Step S23b: the password of prompting user's input is invalid password;
If above-mentioned steps S22 judges to obtain the password of input not as effective password, then point out user
The password of input is invalid password, now user optional to re-enter password close to re-start
Code checking, or exit current password checking, or do not perform any operation, the most do not make too much
Limit.
Step S24: judge whether the password inputted is Old Password;
If above-mentioned steps S23a judges that the password obtaining input is inconsistent with current password, then enter one
Step judges whether the password of input is Old Password.
Step S25: when the password of prompting user's input is Old Password and amendment corresponding to Old Password
Between.
If above-mentioned steps S24 judges that the password obtaining input is Old Password, then prompting user inputs
Password is Old Password and modification time corresponding to Old Password.
It is appreciated that the present invention inputs reminding method the second embodiment after password by obtaining
After the password of user's input, determine whether whether the password of input is effective password, if having
The password of effect then judges that the password of input is the most consistent with current password, otherwise prompting this input of user
Password be invalid password;Determine whether defeated when the password of input is inconsistent with current password
Whether the password entered is Old Password, after judging that the password obtaining inputting is Old Password, points out user
The password of this input is Old Password and modification time corresponding to Old Password, by determining whether have
The password of effect can reduce the number of times that the password judging to input is the most consistent with current password, Yi Jitong
Cross provide abundant information make user understand oneself input code error reason and
Solve when oneself was revising password, such that it is able to make user reduce the number of times of input error password,
Improve user and input the efficiency of proper password.
Referring to Fig. 3, password amending method one embodiment of the present invention includes:
Step S31: enter password amendment function and obtain user input replace current password new
Password;
When user wants the password revising correspondence such as such as Email Accounts, mobile phone unblock etc., can pass through
Select corresponding Modify password interface to revise function hence into password, and obtain replacing of user's input
Change the new password of current password.
Step S32: judge that the new password of input is the most consistent with current password;
After the new password obtaining user's input, determine whether the new password of input whether with currently
Password is consistent.
Step S33: current password is preserved as Old Password with current time;
If above-mentioned steps S32 judges that the new password obtaining input is inconsistent with current password, then ought
Front password preserves as Old Password with current time, i.e. current password and current time
As one association entirety preserve so that follow-up input again judge when password is verified defeated
Whether the password entered belongs to Old Password, wherein, when current time is amendment corresponding to current password
Between.Additionally, when the password that judgement obtains follow-up input belongs to Old Password, prompting user's input
Password is Old Password and modification time corresponding to Old Password.
Step S34: current password is replaced with the new password of input and points out user's current password to repair
Make merit into.
After current password and current time are preserved as Old Password, current password is replaced
For the new password of above-mentioned input and point out user's current password successfully modified, now, new is the closeest
Code is the new password of input.
Additionally, in other embodiments, judge the new password of input whether with current password one
Also include before step i.e. step S32 caused: (1) judges whether the new password of input is effective
Password, specifically includes: judge input new password character string whether effectively, the new password of input
Length whether meet in the new password of standard and input whether comprise forbidden character, wherein, if
The character string of the new password of input meets standard for effective and length, does not comprise forbidden character,
Then the new password of this input is effective password, is otherwise invalid password.(2) if input is new
Password is effective password, then continue executing with the above-mentioned new password judging input whether with current password
Consistent step i.e. step S32, otherwise the new password of prompting user input is invalid password.
Additionally, in other embodiments, if above-mentioned steps S32 judges to obtain the new password of input
Consistent with current password, then user cipher can be pointed out to revise unsuccessfully;Or prompting user's input is new
Password is identical with current password, now user can re-enter a new password with replace the closeest
Code, does not makes too many restrictions.
It is appreciated that password amending method one embodiment of the present invention inputs by first obtaining user
The new password replacing current password, then judge the new password of input whether with current password one
Cause, when password and the current password of input are inconsistent, using current password with current time as old
Password preserves, so that the follow-up password that inputs again carries out judging the close of input during password authentification
Whether code belongs to Old Password, thus while realizing password amendment function so that in follow-up input
The password password that user can be pointed out to input when belonging to Old Password be Old Password and Old Password pair
The modification time answered, and then improve user and input the efficiency of proper password.
Referring to Fig. 4, the present invention has electronic equipment one embodiment party of prompt facility after inputting password
Formula includes:
First password acquisition module 41, for obtaining the password of user's input to carry out password authentification.
First password management module 42 is the most consistent with current password for judging the password of input.
If the password that first password management module 42 is additionally operable to above-mentioned input is inconsistent with current password,
Then determine whether whether the password inputted is Old Password, and wherein, Old Password is that user setup is current
Set by before password.
First reminding module 43, if judging to obtain the close of input for first password management module 42
Code be Old Password, then when the password that prompting user inputs is Old Password and amendment corresponding to Old Password
Between.
Whether the password inputted in above-mentioned judgement is in the step of Old Password, first password management module
42 specifically for each Old Password set before obtaining user setup current password, first password
Management module 42 be specifically additionally operable to determine whether the password of input whether with in each Old Password
One matches, and wherein, if matching, the password inputted is Old Password.
In other embodiments, the password that the first management module 42 is additionally operable to judging input is
No consistent with current password before, it is judged that whether the password of input is effective password;If input
Password is effective password, then first password management module 42 determines whether that the password of input is
No consistent with current password, the password that otherwise the first reminding module 43 points out user to input is invalid
Password.The electronic equipment of present embodiment can be different the setting such as mobile phone, flat board, PC
Standby, do not make too many restrictions.
It is appreciated that the present invention has electronic equipment one embodiment of prompt facility after inputting password
Obtained the password of user's input by first password acquisition module, first password management module judges defeated
The password entered is the most consistent with current password, when password and the current password of input are inconsistent first
Password Management module determines whether whether the password of input is Old Password, obtains input in judgement
After password is Old Password, the password of first reminding module prompting this input of user is Old Password and old
The modification time that password is corresponding, by providing abundant information to make user understand, oneself inputs
The reason of code error and understand when oneself was revising password, such that it is able to make user reduce
The number of times of input error password, improves user and inputs the efficiency of proper password.
Referring to Fig. 5, the present invention has electronic equipment one embodiment of password amendment function and includes:
Password amendment AM access module 51, is used for entering password amendment function.
Second password acquisition module 52, for obtaining Xinmi City replacing current password of user's input
Code.
Second Password Management module 53, for judge the new password of input whether with current password one
Cause.
If the password that the second Password Management module 53 is additionally operable to input is inconsistent with current password, then
Current password is preserved as Old Password with current time, so that the follow-up password that inputs again enters
Judging whether to belong to Old Password during row password authentification, wherein, current time is that current password is corresponding
Modification time.
Second Password Management module 53 is additionally operable to replace with current password the new password of input.
Second reminding module 54, for replacing with current password in the second Password Management module 53
During the new password inputted, prompting user's current password is successfully modified.
In other embodiments, the second Password Management module 53 is additionally operable to judging the new of input
Before password is the most consistent with current password, it is judged that whether the new password of input is effective password;
If the new password of input is effective password, then the second Password Management module 53 determines whether defeated
The new password entered is the most consistent with current password, and otherwise the second reminding module 54 points out user to input
New password be invalid password.The electronic equipment of present embodiment can be mobile phone, flat board, individual
The equipment that computer etc. are different, does not makes too many restrictions.
It is appreciated that the present invention has electronic equipment one embodiment of password amendment function by the
Two password acquisition modules obtain the new password replacing current password of user's input, the second Password Management
Module judges that the new password of input is the most consistent with current password, at password and the current password of input
Time inconsistent, current password is protected as Old Password by the second Password Management module with current time
Deposit, so that the follow-up password that inputs again carries out judging during password authentification whether the password of input belongs to
Old Password, thus while realizing password amendment function so that the password in follow-up input belongs to
When the password that user can be pointed out during Old Password to input is Old Password and amendment corresponding to Old Password
Between, and then improve user and input the efficiency of proper password.
The foregoing is only embodiments of the present invention, not thereby limit the patent model of the present invention
Enclosing, every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process become
Change, or be directly or indirectly used in other relevant technical fields, be the most in like manner included in the present invention's
In scope of patent protection.