CN104331668A - Wrong password prompting method and device - Google Patents

Wrong password prompting method and device Download PDF

Info

Publication number
CN104331668A
CN104331668A CN201410510716.6A CN201410510716A CN104331668A CN 104331668 A CN104331668 A CN 104331668A CN 201410510716 A CN201410510716 A CN 201410510716A CN 104331668 A CN104331668 A CN 104331668A
Authority
CN
China
Prior art keywords
password
string
character string
code characters
benchmark 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.)
Granted
Application number
CN201410510716.6A
Other languages
Chinese (zh)
Other versions
CN104331668B (en
Inventor
陈思
王广健
权雪梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410510716.6A priority Critical patent/CN104331668B/en
Publication of CN104331668A publication Critical patent/CN104331668A/en
Application granted granted Critical
Publication of CN104331668B publication Critical patent/CN104331668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems

Abstract

The invention discloses a wrong password prompting method and device, and belongs to the technical field of data processing. The wrong password prompting method comprises the following steps that password characters input into a password input box are received; the password characters are compared with at least one pre-stored reference character string, wherein the reference character string comprises previously input wrong passwords; when the password characters are identical to one reference character string, a prompting message is displayed before the password characters are verified, and the prompting message is used for prompting a user that the passwords input in the current time are identical to the previously input wrong passwords. The received password characters are compared with the pre-stored reference character string, when the password characters are identical to one reference character string, the prompting message is displayed; the problem that when the user forgets the previously input wrong passwords, the same wrong passwords can still be input, the number of input times is wasted, and the account is frozen is solved; the effects of saving the number of password input times and improving the login success rate are achieved.

Description

Bad password reminding method and device
Technical field
The disclosure relates to technical field of data processing, particularly a kind of bad password reminding method and device.
Background technology
Present application software is when protecting the information of user, and general employing cryptoguard measure, and the mistake input number of times limiting password, when mistake input number of times exceedes restriction number of times, the account number of user is by frozen.
In the related, repeat to input identical bad password in order to avoid user and waste the situation inputting number of times, certain applications software is with the password of clear-text way display input, user can rely on the password of display and memory to avoid identical with the front bad password once inputted, and then the input number of times avoiding input same error password to waste.
Inventor is realizing in process of the present disclosure, find that correlation technique at least exists following defect: user can only rely on memory to avoid inputting identical bad password, during the bad password inputted before user forgets, may still input identical bad password and waste input number of times, cause account number frozen.
Summary of the invention
During in order to solve the bad password inputted before user forgets in correlation technique, may still input identical bad password and waste input number of times, cause the frozen problem of account number, the disclosure provides a kind of bad password reminding method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of bad password reminding method, described method comprises:
Be received in the code characters inputted in Password Input frame;
Described code characters and at least one the benchmark character string prestored are contrasted, described benchmark character string comprises the bad password of previously input;
When described code characters is identical with one of them benchmark character string, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
Optionally, described described code characters and at least one benchmark character string of prestoring to be contrasted, comprising:
When the quantity bounded attribute of described Password Input frame is fixed value N, then after described Password Input frame receives N number of code characters, the character string described N number of code characters formed and each benchmark character string prestored contrast, described N be greater than 0 natural number.
Optionally, the described password string described N number of code characters formed and each benchmark character string prestored contrast, and comprising:
When the encrypted cipher text obtained after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, according to described predetermined encryption rule, the described N number of code characters inputted in described Password Input frame is encrypted, described N number of code characters after encryption is formed described password string, described password string and each benchmark character string prestored are contrasted.
Optionally, described described code characters and at least one benchmark character string of prestoring to be contrasted, comprising:
When the quantity bounded attribute of described Password Input frame is on-fixed value, then each code characters composition password string will be currently received in described Password Input frame, contrasts each benchmark character string of described password string and storage.
Optionally, described method also comprises:
When described password string is identical with one of them benchmark character string, then detect the Next Password character whether receiving input in described Password Input frame;
If testing result is the Next Password character receiving input in described Password Input frame, then form new password string by described Password Input frame in each code characters front received and the code characters finally to receive, perform the step that described each benchmark character string by described password string and storage carries out contrasting.
Optionally, described each benchmark character string by described password string and storage contrasts, and comprising:
When the encrypted cipher text obtained after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, be encrypted in described Password Input frame in each code characters front received and a code characters finally receiving according to described predetermined encryption rule, obtain the password string after encrypting, described password string and each benchmark character string are contrasted.
Optionally, when storing at least one benchmark character string, described method also comprises:
Whether monitoring receives checking instruction, and described checking instruction is for verifying whether the password string of current each code characters composition received in described Password Input frame is proper password;
If receive described checking instruction, then verify whether the password string of current each code characters composition received in described Password Input frame is proper password;
Receive in described Password Input frame if current each code characters composition password string be proper password, then discharge storage each described in benchmark character string;
If the password string of each code characters composition received in described Password Input frame current is bad password, then when described benchmark character string is encrypted cipher text, utilize described predetermined encryption rule to be encrypted by described password string, the described password string after encryption is defined as a newly-increased benchmark character string and stores; When described benchmark character string is not encrypted cipher text, described password string is defined as a newly-increased benchmark character string and stores.
Optionally, when not storing described benchmark character string, described method also comprises:
Whether monitoring receives checking instruction, and described checking instruction is for verifying whether the password string of each code characters composition received in current described Password Input frame is proper password;
If receive described checking instruction, then verify whether the password string of each code characters composition received in current described Password Input frame is proper password;
If the password string of each code characters composition received in current described Password Input frame is bad password, then described predetermined encryption rule is utilized to store after described password string encryption as described benchmark character string; Or, described password string is stored as described benchmark character string.
According to the second aspect of disclosure embodiment, provide a kind of bad password suggestion device, described device comprises:
Receiver module, is configured to be received in the code characters inputted in Password Input frame;
Contrast module, the described code characters being configured to described receiver module to receive contrasts with at least one the benchmark character string prestored, and described benchmark character string comprises the bad password of previously input;
Display module, be configured to when the comparing result of described contrast module be described code characters identical with one of them benchmark character string time, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
Optionally, described contrast module, comprising:
First contrast submodule, be configured to when the quantity bounded attribute of described Password Input frame is fixed value N, then after described Password Input frame receives N number of code characters, the character string described N number of code characters formed and each benchmark character string prestored contrast, described N be greater than 0 natural number.
Optionally, when described first contrast submodule is configured to the encrypted cipher text when obtaining after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, according to described predetermined encryption rule, the described N number of code characters inputted in described Password Input frame is encrypted, described N number of code characters after encryption is formed described password string, described password string and each benchmark character string prestored are contrasted.
Optionally, described contrast module, comprising:
Second contrast submodule, be configured to when the quantity bounded attribute of described Password Input frame is on-fixed value, each code characters composition password string then will be currently received in described Password Input frame, contrasts each benchmark character string of described password string and storage.
Optionally, described device also comprises:
Detection module, is configured to when described password string is identical with one of them benchmark character string, then detect the Next Password character whether receiving input in described Password Input frame;
Comprising modules, if the testing result being configured to described detection module is the Next Password character receiving input in described Password Input frame, then form new password string by described Password Input frame in each code characters front received and the code characters finally received, trigger described second contrast submodule and each benchmark character string of described password string and storage is contrasted.
Optionally, when described second contrast submodule is configured to the encrypted cipher text when obtaining after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, be encrypted in described Password Input frame in each code characters front received and a code characters finally receiving according to described predetermined encryption rule, obtain the password string after encrypting, described password string and each benchmark character string are contrasted.
Optionally, when storing at least one benchmark character string, described device also comprises:
First monitoring modular, is configured to monitoring and whether receives checking instruction, and described checking instruction is for verifying whether the password string of current each code characters composition received in described Password Input frame is proper password;
First authentication module, if the monitoring result being configured to described first monitoring modular is for receiving described checking instruction, then verifies whether the password string of current each code characters composition received in described Password Input frame is proper password;
Release module, if the result being configured to described first authentication module be current receive in described Password Input frame each code characters composition password string be proper password, then discharge storage each described in benchmark character string;
First memory module, if the result being configured to described first authentication module is the password string of current each code characters composition received in described Password Input frame is bad password, then when described benchmark character string is encrypted cipher text, utilize described predetermined encryption rule to be encrypted by described password string, the described password string after encryption is defined as a newly-increased benchmark character string and stores; When described benchmark character string is not encrypted cipher text, described password string is defined as a newly-increased benchmark character string and stores.
Optionally, when not storing described benchmark character string, described device also comprises:
Second monitoring modular, is configured to monitoring and whether receives checking instruction, and described checking instruction is for verifying whether the password string of each code characters composition received in current described Password Input frame is proper password;
Second authentication module, if the monitoring result being configured to described second monitoring modular is for receiving described checking instruction, then verifies whether the password string of each code characters composition received in current described Password Input frame is proper password;
Second memory module, if the result being configured to described second authentication module is the password string of each code characters composition received in current described Password Input frame is bad password, then described predetermined encryption rule is utilized to store after described password string encryption as described benchmark character string; Or, described password string is stored as described benchmark character string.
According to the third aspect of disclosure embodiment, provide a kind of bad password suggestion device, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Be received in the code characters inputted in Password Input frame;
Described code characters and at least one the benchmark character string prestored are contrasted, described benchmark character string comprises the bad password of previously input;
When described code characters is identical with one of them benchmark character string, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By receiving code characters, code characters and at least one the benchmark character string prestored are contrasted, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of bad password reminding method according to an exemplary embodiment;
Fig. 2 A is the process flow diagram of a kind of bad password reminding method according to another exemplary embodiment;
Fig. 2 B is a kind of schematic diagram carrying out bad password prompting according to an exemplary embodiment;
Fig. 3 A is the process flow diagram of a kind of bad password reminding method Gen Ju an exemplary embodiment again;
Fig. 3 B is a kind of schematic diagram carrying out bad password prompting according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of bad password suggestion device according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of bad password suggestion device according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of bad password suggestion device Gen Ju an exemplary embodiment again;
Fig. 7 is a kind of for pointing out the block diagram of the device of bad password according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of bad password reminding method according to an exemplary embodiment, as shown in Figure 1, this bad password reminding method can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password reminding method can comprise the following steps.
In a step 101, the code characters inputted in Password Input frame is received in.
In a step 102, code characters and at least one the benchmark character string prestored are contrasted, benchmark character string comprises the bad password of previously input.
In step 103, when code characters is identical with one of them benchmark character string, before this code characters is verified, display reminding message, the password that this prompting message is used for this input of reminding user is identical with the bad password previously inputted.
In sum, the bad password reminding method provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
Fig. 2 A is the process flow diagram of a kind of bad password reminding method according to another exemplary embodiment, as shown in Figure 2 A, this bad password reminding method can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password reminding method can comprise the following steps.
In step 201, the code characters inputted in Password Input frame is received in.
The code characters that electronic equipment will input in real-time reception Password Input frame, the quantity of the code characters received can increase along with the input of user thereupon.
In step 202., detect whether store at least one benchmark character string.
Here benchmark character string is made up of at least one character, when character is two or more, order between character in benchmark character string can be arbitrary, and character said here can be arabic numeral, capitalization, lowercase, underscore or other types character.Such as benchmark character string can be abcd123, can also be 12_ab3A, can also be a2#B E etc.
It is often that electronic equipment obtains according to the bad password received in password verification process that the benchmark character stored is ganged up, also be, benchmark character string obtains according to the bad password of history input, and whether the content that therefore benchmark character string may be used for judging to input in Password Input frame repeats with the bad password stored before.
In a kind of possible implementation, the benchmark character string of storage is that electronic equipment obtains according to the bad password received in a password verification process.That is, before this password authentification, electronic equipment does not store benchmark character string, in this password verification process, if there is bad password, then the benchmark character string corresponding with bad password is stored, and obtains the benchmark character string stored.
In the implementation that another kind is possible, the benchmark character string of storage is that electronic equipment obtains according to the bad password received in several times password verification process.That is, before this password authentification, electronic equipment stores at least one benchmark character string, and this benchmark character string or these benchmark character strings are the benchmark character strings corresponding with bad password stored in the several times password authentification before this password authentification.Here said " several times " can be more than twice or twice.
Realize in scene in one, benchmark character string can be the bad password that electronic equipment directly receives; Realize in scene at another kind, benchmark character string can be the ciphertext obtained after electronic equipment is encrypted bad password after determining bad password, to improve the security of benchmark character string.
In step 203, if when testing result is not for storing benchmark character string, whether monitoring receives checking instruction.
Checking instruction is for verifying whether the password string of each code characters composition received in current password input frame is proper password.
In a kind of use scenes, when user inputs password and determines to carry out password authentification, produce checking instruction.Such as, at account number login interface, user input in Password Input frame password and select determine option after, produce checking instruction.
In step 204, if receive checking instruction, then verify whether the password string of each code characters composition received in current password input frame is proper password.
In a kind of possible implementation, electronic equipment is when receiving checking instruction and storing the relevant proper password for password authentification in electronic equipment, the password string received and the proper password stored in the electronic device contrast by electronic equipment, determine whether the password string received is proper password according to comparing result.
In the implementation that another kind is possible, when electronic equipment receives checking instruction and does not store the relevant proper password for password authentification in electronic equipment, the password string received is sent to server by electronic equipment, store the proper password for password authentification in this server, verify whether this password string that electronic equipment sends is proper password by this server according to the proper password stored.The result is sent to electronic equipment by server after checking completes, according to this result, electronic equipment determines whether this password string received is proper password.
In step 205, if the password string of each code characters composition received in current password input frame is bad password, then predetermined encryption rule is utilized to store as benchmark character string after password string is encrypted; Or, password string is stored as benchmark character string.
When the password string that the result is each code characters composition inputted in current password input frame is bad password, and if need benchmark character string be encrypted cipher text to ensure security time, electronic equipment utilizes predetermined encryption rule to be encrypted by this password string, here predetermined encryption rule can be irreversible encryption, to improve the security of password.Electronic equipment obtains encrypted cipher text after being encrypted by password string, is stored by this encrypted cipher text.Reveal to prevent encrypted cipher text this encrypted cipher text can be stored in the electronic device temporarily, and after not needing networking, this encrypted cipher text is stored in the server.
When the password string that the result is each code characters composition inputted in current password input frame is bad password, and if when not needing benchmark character string to be encrypted, this password string directly stores by electronic equipment.Accordingly, because the calculated amount of password coupling is very little, in order to prevent password string from revealing, this password string can be stored in the electronic device temporarily.
It should be noted that, predetermined encryption rule here can be general encryption rule, and also can be irreversible encryption rule, the concrete kind of the present embodiment to predetermined encryption rule be not construed as limiting.
From step 203 to step 205, when not storing benchmark character string in electronic equipment, and the password string inputted in Password Input frame is when being bad password, then the password string of this mistake is stored as benchmark character string, maybe store as benchmark character string after the password string of this mistake is encrypted.
When reality uses, user, after input bad password, can carry out Password Input usually again, and when detecting that user inputs identical bad password, electronic equipment will be pointed out user, wastes input number of times cause account number frozen to prevent user.Specific implementation refers to following step 206 to 209.
In step 206, if when testing result is for storing benchmark character string, by each code characters composition password string be currently received in Password Input frame, each benchmark character string of this password string and storage is contrasted.
In the process of Password Input, when the encrypted cipher text obtained after benchmark character string is utilize predetermined encryption rule to bad password encryption, successively at least one code characters of input is encrypted according to predetermined encryption rule, obtain the password string after encrypting, the password string after this encryption and each benchmark character string are contrasted.
For example, when inputting first code characters in Password Input frame, receive code characters is encrypted with identical predetermined encryption rule by electronic equipment, obtain the encrypted characters after encrypting, using the password string of this encrypted characters as the code characters of input, the password string obtained and benchmark character string are contrasted; When inputting second code characters in Password Input frame, receive second code characters is encrypted with identical predetermined encryption rule by electronic equipment, by the encrypted characters combination obtained after the encrypted characters obtained after first code characters encryption and second password encryption, obtain password string, this password string obtained and benchmark character string are contrasted.
When benchmark character string is not encrypted cipher text, at least one code characters inputted in Password Input frame is formed password string successively, password string and each benchmark character string are contrasted.
For example, when inputting first code characters in Password Input frame, receive code characters and benchmark character string contrast by electronic equipment; When inputting second code characters in Password Input frame, receive two code characters are formed password string by electronic equipment successively, this password string and each benchmark character string are contrasted.
In step 207, when password string is identical with one of them benchmark character string, before password string is verified, display reminding message.
The password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
The password string of acquisition contrasts with each benchmark character string by electronic equipment successively, and when password string is identical with one of them benchmark character string, electronic equipment carries out the prompting that there is same error password.
For example, refer to Fig. 2 B, it is a kind of schematic diagram carrying out bad password prompting according to an exemplary embodiment.As shown in Figure 2 B, when user carries out Password Input again, the code characters that user inputs is formed password string by electronic equipment successively, and this password string and benchmark character string is contrasted.When user inputs the 6th code characters, these six code characters are formed a password string by electronic equipment successively, this password string and benchmark character string are contrasted, find that this password string is identical with benchmark character string, now electronic equipment shows the prompting message of " bad password of repetition " above Password Input frame.
In a step 208, when password string is identical with one of them benchmark character string, then the Next Password character whether receiving input in Password Input frame is detected.
When the password string in Password Input frame is identical with one of them benchmark character string, electronic equipment will carry out the prompting that there is same error password, and meanwhile, electronic equipment detects the Next Password character whether receiving input in Password Input frame.
It should be noted that, when the password string in Password Input frame is not identical with the benchmark character string of storage, electronic equipment detects the Next Password character whether receiving input in Password Input frame too.
In step 209, if testing result is the Next Password character receiving input in Password Input frame, then form new password string by Password Input frame in each code characters front received and the code characters finally to receive, perform the step each benchmark character string of password string and storage being carried out contrasting.
When electronic equipment detects the Next Password character receiving input in Password Input frame, each code characters received and the code characters finally received are formed new password string, each benchmark character string of this password string and storage being contrasted, is also repeated execution of steps 206 to step 208.
From step 206 to step 209, when storing benchmark character string in electronic equipment, and when the password inputted in Password Input frame is identical with one of them benchmark character string, then carry out the prompting that there is same error password.
When reality uses, user is when again carrying out Password Input, the password that may input is different from the password inputted before and still for bad password, now, electronic equipment needs the password string corresponding with this bad password to store, and contrasts as the password string inputted in benchmark character string and next Password Input frame.Specific implementation refers to following step 210 to 213.
In step 210, whether monitoring receives checking instruction.
Checking instruction is for verifying whether the password string of current each code characters composition received in Password Input frame is proper password.
In step 211, if receive checking instruction, then verify whether the password string of current each code characters composition received in Password Input frame is proper password.
If before receiving checking instruction, when password string corresponding to the code characters inputted in current password input frame is all different from benchmark character string, then after receiving checking instruction, verify whether the password string of this current each character password composition inputted in Password Input frame is proper password.
Electronic equipment is when whether the password string verifying that current each character password inputted in Password Input frame forms is proper password, identical with the content described in step 204, refers to the description in step 204, just no longer describes in detail here.
In the step 212, if the password string of each code characters composition received in Password Input frame current is proper password, then discharge each benchmark character string of storage.
In order to ensure the safety of account number corresponding to password and password and reduce benchmark character string taking electronic equipment storage space, electronic equipment is after detecting that password that user inputs is proper password, and each benchmark character string that can temporarily store is deleted.
From step 210 to step 212, when storing benchmark character string in electronic equipment, and the password inputted in Password Input frame all different from each benchmark character string time, if the password inputted in Password Input frame is proper password, then each benchmark character string stored in electronic equipment is removed.
In step 213, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, utilize predetermined encryption rule to be encrypted by password string, the password string after encryption is defined as a newly-increased benchmark character string and stores; When benchmark character string is not encrypted cipher text, password string is defined as a newly-increased benchmark character string and stores.
Optionally, when benchmark character string is not encrypted cipher text, if the password string that electronic equipment authenticates to current each character password composition inputted in Password Input frame is bad password, directly this password string can be defined as a benchmark character string to store, and contrast with the password string that inputs in next Password Input frame together with other benchmark character string, user can be avoided like this to input the bad password identical with the multiple bad passwords repeatedly inputted above; Or the benchmark character string stored also can be deleted by electronic equipment, this password string is defined as benchmark character string and stores, can save the memory headroom that benchmark character string takies like this.
Optionally, when benchmark character string is encrypted cipher text, if the password string that electronic equipment authenticates to current each character password composition inputted in Password Input frame is bad password, predetermined encryption rule then can be utilized to be encrypted by this password string, obtain the encrypted cipher text corresponding with this password string, this encrypted cipher text is defined as a benchmark character string to store, and contrasts with the password string that inputs in next Password Input frame together with other benchmark character string; Or, the benchmark character string stored is deleted, this encrypted cipher text is defined as benchmark character string and stores.
From step 210 and step 211 and step 213, when storing benchmark character string in electronic equipment, and the password inputted in Password Input frame all different from each benchmark character string time, if the password string inputted in Password Input frame is bad password, then the password string of this mistake is carried out storing or replace the benchmark character string stored as a benchmark character string, maybe carry out storing or replace the benchmark character string stored as benchmark character string after the password string of this mistake is encrypted.
Optionally, electronic equipment, when receiving flush instructions, can also empty the benchmark character string of storage.
In order to improve the security of password and reduce benchmark character string taking electronic equipment storage space, when the password of user's input is correct or when abandoning password authentification as user and close password authentification interface, electronic equipment can produce the flush instructions of the benchmark character string for emptying storage.Electronic equipment, after receiving this flush instructions, empties the benchmark character string of storage.
In sum, the bad password reminding method provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
The bad password reminding method provided in disclosure embodiment, by verifying whether the password string of current each code characters composition received in Password Input frame is proper password, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, predetermined encryption rule is utilized to store after password string encryption; Owing to storing after password string encryption, therefore solve the problem that ordinary password is easily revealed; Reach the effect improving account number security.
In a kind of use scenes, the quantity bounded attribute of Password Input frame can be fixed value, now, when pointing out the bad password repeating to input, and can see following embodiment.
Fig. 3 A is the process flow diagram of a kind of bad password reminding method Gen Ju an exemplary embodiment again, as shown in Figure 3A, this bad password reminding method can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password reminding method can comprise the following steps.
In step 301, the code characters inputted in Password Input frame is received in.
In step 302, detect whether store at least one benchmark character string.
In step 303, if when testing result is not for storing benchmark character string, whether monitoring receives checking instruction.
In step 304, if receive checking instruction, then verify whether the password string of each code characters composition received in current password input frame is proper password.
In step 305, if the password string of each code characters composition received in current password input frame is bad password, then predetermined encryption rule is utilized to store as benchmark character string after password string is encrypted; Or, password string is stored as benchmark character string.
Step 301 is similar to step 205 with the step 201 in Fig. 2 respectively to step 305, specifically refers in fig. 2 to the description in step 201 to step 205, just repeats no more here.
When reality uses, user, after input bad password, can carry out Password Input usually again, and when detecting that user inputs identical bad password, electronic equipment will be pointed out user, wastes input number of times cause account number frozen to prevent user.Specific implementation refers to following step 306 and 307.
Within step 306, if testing result is for storing benchmark character string, then when the quantity bounded attribute of Password Input frame is fixed value N, after Password Input frame receives N number of code characters, the character string N number of code characters formed and each benchmark character string prestored contrast, N be greater than 0 natural number.
In the process of Password Input, when the encrypted cipher text obtained after benchmark character string is utilize predetermined encryption rule to bad password encryption, according to predetermined encryption rule, the N number of code characters received at Password Input frame is encrypted, obtain the password string after encrypting, the password string after this encryption and each benchmark character string are contrasted.
When benchmark character string is not encrypted cipher text, N number of code characters composition password string will be received in Password Input frame, this password string and each benchmark character string will be contrasted.
In step 307, when password string is identical with one of them benchmark character string, before password string is verified, display reminding message.
The password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
The password string of acquisition contrasts with each benchmark character string by electronic equipment successively, and when password string is identical with one of them benchmark character string, electronic equipment carries out the prompting that there is same error password.
For example, refer to Fig. 3 B, it is a kind of schematic diagram carrying out bad password prompting according to an exemplary embodiment.As shown in Figure 3 B, the quantity bounded attribute of Password Input frame is fixed value 6, after user has inputted 6 passwords, and these 6 code characters composition password strings that electronic equipment will receive, and this password string and benchmark character string are contrasted.Electronic equipment finds that after contrast this password string is identical with benchmark character string, above Password Input frame, just show the prompting message of " bad password of repetition ".
From step 306 and step 307, when storing benchmark character string in electronic equipment, and when the password inputted in Password Input frame is identical with one of them benchmark character string, then carry out the prompting that there is same error password.
When reality uses, user is when again carrying out Password Input, the password that may input is different from the password inputted before and still for bad password, now, electronic equipment needs the password string corresponding with this bad password to store, and contrasts as the password string inputted in benchmark character string and next Password Input frame.Specific implementation refers to following step 308 to 311.
In step 308, whether monitoring receives checking instruction.
In a step 309, if receive checking instruction, then verify whether the password string of current each code characters composition received in Password Input frame is proper password.
In the step 310, if the password string of each code characters composition received in Password Input frame current is proper password, then discharge each benchmark character string of storage.
In step 311, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, utilize predetermined encryption rule to be encrypted by password string, the password string after encryption is defined as a newly-increased benchmark character string and stores; When benchmark character string is not encrypted cipher text, password string is defined as a newly-increased benchmark character string and stores.
Step 308 is similar to step 213 with the step 210 in Fig. 2 respectively to step 311, specifically refers in fig. 2 to the description in step 210 to step 213, just repeats no more here.
Optionally, electronic equipment, when receiving flush instructions, can also empty the benchmark character string of storage.
In order to improve the security of password and reduce benchmark character string taking electronic equipment storage space, when the password of user's input is correct or when abandoning password authentification as user and close password authentification interface, electronic equipment can produce the flush instructions of the benchmark character string for emptying storage.Electronic equipment, after receiving this flush instructions, empties the benchmark character string of storage.
In sum, the bad password reminding method provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
The bad password reminding method provided in disclosure embodiment, by verifying whether the password string of current each code characters composition received in Password Input frame is proper password, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, predetermined encryption rule is utilized to store after password string encryption; Owing to storing after password string encryption, therefore solve the problem that ordinary password is easily revealed; Reach the effect improving account number security.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of bad password suggestion device according to an exemplary embodiment, as shown in Figure 4, this bad password suggestion device can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password suggestion device can include but not limited to: receiver module 402, contrast module 404 and display module 406.
This receiver module 402, is configured to be received in the code characters inputted in Password Input frame.
This contrast module 404, the code characters being configured to receiver module to receive contrasts with at least one the benchmark character string prestored, and benchmark character string comprises the bad password of previously input.
This display module 406, be configured to when contrast the comparing result of module be code characters identical with one of them benchmark character string time, before code characters is verified, display reminding message, the password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
In sum, the bad password suggestion device provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
Fig. 5 is the block diagram of a kind of bad password suggestion device according to another exemplary embodiment, as shown in Figure 5, this bad password suggestion device can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password suggestion device can include but not limited to: receiver module 502, contrast module 504 and display module 506.
This receiver module 502, is configured to be received in the code characters inputted in Password Input frame.
This contrast module 504, the code characters being configured to receiver module 502 to receive contrasts with at least one the benchmark character string prestored, and benchmark character string comprises the bad password of previously input.
This display module 506, be configured to when contrast the comparing result of module 504 be code characters identical with one of them benchmark character string time, before code characters is verified, display reminding message, the password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
In a kind of possible embodiment, this contrast module 504 can comprise: the second contrast submodule 504a.
This second contrast submodule 504a, be configured to when the quantity bounded attribute of Password Input frame is on-fixed value, each code characters composition password string then will be currently received in Password Input frame, contrasts each benchmark character string of this password string and storage.
In a kind of possible embodiment, this bad password suggestion device also comprises: detection module 508 and comprising modules 510.
This detection module 508, is configured to when password string is identical with one of them benchmark character string, then detect the Next Password character whether receiving input in Password Input frame.
This comprising modules 510, if the testing result being configured to detection module 508 is the Next Password character receiving input in Password Input frame, then form new password string by Password Input frame in each code characters front received and the code characters finally received, trigger the second contrast module 504a and each benchmark character string of password string and storage is contrasted.
In a kind of possible embodiment, when this second contrast submodule 504a is configured to the encrypted cipher text when obtaining after benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, be encrypted in Password Input frame in each code characters front received and a code characters finally receiving according to predetermined encryption rule, obtain the password string after encrypting, password string and each benchmark character string are contrasted.
In a kind of possible embodiment, when storing at least one benchmark character string, this bad password suggestion device can also comprise: the first monitoring modular 512, first authentication module 514, release module 516 and the first memory module 518.
This first monitoring modular 512, is configured to monitoring and whether receives checking instruction, and checking instruction is for verifying whether the password string of current each code characters composition received in Password Input frame is proper password.
This first authentication module 514, if the monitoring result being configured to the first monitoring modular 512 is for receiving checking instruction, then verifies whether the password string of current each code characters composition received in Password Input frame is proper password.
This release module 516, if the password string that the result being configured to the first authentication module 514 is current each code characters composition received in Password Input frame is proper password, then discharges each benchmark character string of storage.
This first memory module 518, if the result being configured to the first authentication module 514 is the password string of current each code characters composition received in Password Input frame is bad password, then when benchmark character string is encrypted cipher text, utilize predetermined encryption rule to be encrypted by password string, the password string after encryption is defined as a newly-increased benchmark character string and stores; When benchmark character string is not encrypted cipher text, password string is defined as a newly-increased benchmark character string and stores.
In a kind of possible embodiment, when not storing benchmark character string, this bad password suggestion device can also comprise: the second monitoring modular 520, second authentication module 522 and the second memory module 524.
This second monitoring modular 520, is configured to monitoring and whether receives checking instruction, and checking instruction is for verifying whether the password string of each code characters composition received in current password input frame is proper password.
This second authentication module 522, if the monitoring result being configured to the second monitoring modular 520 is for receiving checking instruction, then verifies whether the password string of each code characters composition received in current password input frame is proper password.
This second memory module 524, if the result being configured to the second authentication module 522 is the password string of each code characters composition received in current password input frame is bad password, then predetermined encryption rule is utilized to store as benchmark character string after password string is encrypted; Or, password string is stored as benchmark character string.
In sum, the bad password suggestion device provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
The bad password suggestion device provided in disclosure embodiment, by verifying whether the password string of current each code characters composition received in Password Input frame is proper password, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, predetermined encryption rule is utilized to store after password string encryption; Owing to storing after password string encryption, therefore solve the problem that ordinary password is easily revealed; Reach the effect improving account number security.
Fig. 6 is the block diagram of a kind of bad password suggestion device Gen Ju an exemplary embodiment again, as shown in Figure 6, this bad password suggestion device can be applied in electronic equipment, and electronic equipment said here can be smart mobile phone, panel computer, E-book reader, multimedia player, pocket computer on knee etc.This bad password suggestion device can include but not limited to: receiver module 602, contrast module 604 and display module 606.
This receiver module 602, is configured to be received in the code characters inputted in Password Input frame.
This contrast module 604, the code characters being configured to receiver module 602 to receive contrasts with at least one the benchmark character string prestored, and benchmark character string comprises the bad password of previously input.
This display module 606, be configured to when contrast the comparing result of module 604 be code characters identical with one of them benchmark character string time, before code characters is verified, display reminding message, the password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
In a kind of possible embodiment, this contrast module 604 can comprise: the first contrast submodule 604a.
This first contrast submodule 604a, be configured to when the quantity bounded attribute of Password Input frame is fixed value N, then after Password Input frame receives N number of code characters, the character string N number of code characters formed and each benchmark character string prestored contrast, N be greater than 0 natural number.
In a kind of possible embodiment, when this first contrast submodule 604a is configured to the encrypted cipher text when obtaining after benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, according to predetermined encryption rule, the N number of code characters inputted in Password Input frame is encrypted, by the N number of code characters composition password string after encryption, password string and each benchmark character string prestored are contrasted.
In a kind of possible embodiment, when storing at least one benchmark character string, this bad password suggestion device can also comprise: the first monitoring modular 608, first authentication module 610, release module 612 and the first memory module 614.
This first monitoring modular 608, is configured to monitoring and whether receives checking instruction, and checking instruction is for verifying whether the password string of current each code characters composition received in Password Input frame is proper password.
This first authentication module 610, if the monitoring result being configured to the first monitoring modular 608 is for receiving checking instruction, then verifies whether the password string of current each code characters composition received in Password Input frame is proper password.
This release module 612, if the password string that the result being configured to the first authentication module 610 is current each code characters composition received in Password Input frame is proper password, then discharges each benchmark character string of storage.
This first memory module 614, if the result being configured to the first authentication module 610 is the password string of current each code characters composition received in Password Input frame is bad password, then when benchmark character string is encrypted cipher text, utilize predetermined encryption rule to be encrypted by password string, the password string after encryption is defined as a newly-increased benchmark character string and stores; When benchmark character string is not encrypted cipher text, password string is defined as a newly-increased benchmark character string and stores.
In a kind of possible embodiment, when not storing benchmark character string, this bad password suggestion device can also comprise: the second monitoring modular 616, second authentication module 618 and the second memory module 620.
This second monitoring modular 616, is configured to monitoring and whether receives checking instruction, and checking instruction is for verifying whether the password string of each code characters composition received in current password input frame is proper password.
This second authentication module 618, if the monitoring result being configured to the second monitoring modular 616 is for receiving checking instruction, then verifies whether the password string of each code characters composition received in current password input frame is proper password.
This second memory module 620, if the result being configured to the second authentication module 618 is the password string of each code characters composition received in current password input frame is bad password, then predetermined encryption rule is utilized to store as benchmark character string after password string is encrypted; Or, password string is stored as benchmark character string.
In sum, the bad password suggestion device provided in disclosure embodiment, by receiving code characters, contrasts code characters and at least one the benchmark character string prestored, when code characters is identical with one of them benchmark character string, display reminding message; Owing to can point out when same error password being detected, when therefore solving the bad password of input before user forgets, may still input identical bad password and waste input number of times, cause the frozen problem of account number; Reach and save Password Input number of times, improve the effect of the rate that logins successfully.
The bad password suggestion device provided in disclosure embodiment, by verifying whether the password string of current each code characters composition received in Password Input frame is proper password, if the password string of each code characters composition received in Password Input frame current is bad password, then when benchmark character string is encrypted cipher text, predetermined encryption rule is utilized to store after password string encryption; Owing to storing after password string encryption, therefore solve the problem that ordinary password is easily revealed; Reach the effect improving account number security.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of bad password suggestion device, can realize the bad password reminding method that the disclosure provides, and this bad password suggestion device comprises: processor, storer for storage of processor executable instruction;
Wherein, processor is configured to:
Be received in the code characters inputted in Password Input frame;
Code characters and at least one the benchmark character string prestored are contrasted, benchmark character string comprises the bad password of previously input;
When code characters is identical with one of them benchmark character string, before code characters is verified, display reminding message, the password that prompting message is used for this input of reminding user is identical with the bad password previously inputted.
Fig. 7 is a kind of for pointing out the block diagram of the device of bad password according to an exemplary embodiment.Such as, device 700 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, device 700 can comprise following one or more assembly: processing components 702, storer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, I/O (I/O) interface 712, sensor module 714, and communications component 716.
The integrated operation of the usual control device 700 of processing components 702, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 702 can comprise one or more processor 718 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 702 can comprise one or more module, and what be convenient between processing components 702 and other assemblies is mutual.Such as, processing components 702 can comprise multi-media module, mutual with what facilitate between multimedia groupware 708 and processing components 702.
Storer 704 is configured to store various types of data to be supported in the operation of device 700.The example of these data comprises for any application program of operation on device 700 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 704 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 706 is device 700 provide electric power.Power supply module 706 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 700 and be associated.
Multimedia groupware 708 is included in the screen providing an output interface between device 700 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 708 comprises a front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to export and/or input audio signal.Such as, audio-frequency assembly 710 comprises a microphone (MIC), and when device 700 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 704 further or be sent via communications component 716.In certain embodiments, audio-frequency assembly 710 also comprises a loudspeaker, for output audio signal.
I/O interface 712 is for providing interface between processing components 702 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 714 comprises one or more sensor, for providing the state estimation of various aspects for device 700.Such as, sensor module 714 can detect the opening/closing state of device 700, the relative positioning of assembly, such as assembly is display and the keypad of device 700, the position of all right pick-up unit 700 of sensor module 714 or device 700 1 assemblies changes, the presence or absence that user contacts with device 700, the temperature variation of device 700 orientation or acceleration/deceleration and device 700.Sensor module 714 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 714 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 714 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to the communication being convenient to wired or wireless mode between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 716 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 716 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can be realized, for performing above-mentioned bad password reminding method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 704 of instruction, above-mentioned instruction can perform above-mentioned bad password reminding method by the processor 718 of device 700.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a bad password reminding method, is characterized in that, described method comprises:
Be received in the code characters inputted in Password Input frame;
Described code characters and at least one the benchmark character string prestored are contrasted, described benchmark character string comprises the bad password of previously input;
When described code characters is identical with one of them benchmark character string, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
2. method according to claim 1, is characterized in that, describedly described code characters and at least one benchmark character string of prestoring is contrasted, and comprising:
When the quantity bounded attribute of described Password Input frame is fixed value N, then after described Password Input frame receives N number of code characters, the character string described N number of code characters formed and each benchmark character string prestored contrast, described N be greater than 0 natural number.
3. method according to claim 2, is characterized in that, the described password string described N number of code characters formed and each benchmark character string prestored contrast, and comprising:
When the encrypted cipher text obtained after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, according to described predetermined encryption rule, the described N number of code characters inputted in described Password Input frame is encrypted, described N number of code characters after encryption is formed described password string, described password string and each benchmark character string prestored are contrasted.
4. method according to claim 1, is characterized in that, describedly described code characters and at least one benchmark character string of prestoring is contrasted, and comprising:
When the quantity bounded attribute of described Password Input frame is on-fixed value, then each code characters composition password string will be currently received in described Password Input frame, contrasts each benchmark character string of described password string and storage.
5. method according to claim 4, is characterized in that, described method also comprises:
When described password string is identical with one of them benchmark character string, then detect the Next Password character whether receiving input in described Password Input frame;
If testing result is the Next Password character receiving input in described Password Input frame, then form new password string by described Password Input frame in each code characters front received and the code characters finally to receive, perform the step that described each benchmark character string by described password string and storage carries out contrasting.
6. method according to claim 4, is characterized in that, described each benchmark character string by described password string and storage contrasts, and comprising:
When the encrypted cipher text obtained after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, be encrypted in described Password Input frame in each code characters front received and a code characters finally receiving according to described predetermined encryption rule, obtain the password string after encrypting, described password string and each benchmark character string are contrasted.
7., according to described method arbitrary in claim 1 to 6, it is characterized in that, when storing at least one benchmark character string, described method also comprises:
Whether monitoring receives checking instruction, and described checking instruction is for verifying whether the password string of current each code characters composition received in described Password Input frame is proper password;
If receive described checking instruction, then verify whether the password string of current each code characters composition received in described Password Input frame is proper password;
Receive in described Password Input frame if current each code characters composition password string be proper password, then discharge storage each described in benchmark character string;
If the password string of each code characters composition received in described Password Input frame current is bad password, then when described benchmark character string is encrypted cipher text, utilize described predetermined encryption rule to be encrypted by described password string, the described password string after encryption is defined as a newly-increased benchmark character string and stores; When described benchmark character string is not encrypted cipher text, described password string is defined as a newly-increased benchmark character string and stores.
8., according to described method arbitrary in claim 1 to 6, it is characterized in that, when not storing described benchmark character string, described method also comprises:
Whether monitoring receives checking instruction, and described checking instruction is for verifying whether the password string of each code characters composition received in current described Password Input frame is proper password;
If receive described checking instruction, then verify whether the password string of each code characters composition received in current described Password Input frame is proper password;
If the password string of each code characters composition received in current described Password Input frame is bad password, then described predetermined encryption rule is utilized to store after described password string encryption as described benchmark character string; Or, described password string is stored as described benchmark character string.
9. a bad password suggestion device, is characterized in that, described device comprises:
Receiver module, is configured to be received in the code characters inputted in Password Input frame;
Contrast module, the described code characters being configured to described receiver module to receive contrasts with at least one the benchmark character string prestored, and described benchmark character string comprises the bad password of previously input;
Display module, be configured to when the comparing result of described contrast module be described code characters identical with one of them benchmark character string time, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
10. device according to claim 9, is characterized in that, described contrast module, comprising:
First contrast submodule, be configured to when the quantity bounded attribute of described Password Input frame is fixed value N, then after described Password Input frame receives N number of code characters, the character string described N number of code characters formed and each benchmark character string prestored contrast, described N be greater than 0 natural number.
11. devices according to claim 10, it is characterized in that, when described first contrast submodule is configured to the encrypted cipher text when obtaining after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, according to described predetermined encryption rule, the described N number of code characters inputted in described Password Input frame is encrypted, described N number of code characters after encryption is formed described password string, described password string and each benchmark character string prestored are contrasted.
12. devices according to claim 9, is characterized in that, described contrast module, comprising:
Second contrast submodule, be configured to when the quantity bounded attribute of described Password Input frame is on-fixed value, each code characters composition password string then will be currently received in described Password Input frame, contrasts each benchmark character string of described password string and storage.
13. devices according to claim 12, is characterized in that, described device also comprises:
Detection module, is configured to when described password string is identical with one of them benchmark character string, then detect the Next Password character whether receiving input in described Password Input frame;
Comprising modules, if the testing result being configured to described detection module is the Next Password character receiving input in described Password Input frame, then form new password string by described Password Input frame in each code characters front received and the code characters finally received, trigger described second contrast submodule and each benchmark character string of described password string and storage is contrasted.
14. devices according to claim 12, it is characterized in that, when described second contrast submodule is configured to the encrypted cipher text when obtaining after described benchmark character string is utilize predetermined encryption rule to the bad password encryption of previously input, be encrypted in described Password Input frame in each code characters front received and a code characters finally receiving according to described predetermined encryption rule, obtain the password string after encrypting, described password string and each benchmark character string are contrasted.
15. according to described device arbitrary in claim 9 to 14, and it is characterized in that, when storing at least one benchmark character string, described device also comprises:
First monitoring modular, is configured to monitoring and whether receives checking instruction, and described checking instruction is for verifying whether the password string of current each code characters composition received in described Password Input frame is proper password;
First authentication module, if the monitoring result being configured to described first monitoring modular is for receiving described checking instruction, then verifies whether the password string of current each code characters composition received in described Password Input frame is proper password;
Release module, if the result being configured to described first authentication module be current receive in described Password Input frame each code characters composition password string be proper password, then discharge storage each described in benchmark character string;
First memory module, if the result being configured to described first authentication module is the password string of current each code characters composition received in described Password Input frame is bad password, then when described benchmark character string is encrypted cipher text, utilize described predetermined encryption rule to be encrypted by described password string, the described password string after encryption is defined as a newly-increased benchmark character string and stores; When described benchmark character string is not encrypted cipher text, described password string is defined as a newly-increased benchmark character string and stores.
16. according to described device arbitrary in claim 9 to 14, and it is characterized in that, when not storing described benchmark character string, described device also comprises:
Second monitoring modular, is configured to monitoring and whether receives checking instruction, and described checking instruction is for verifying whether the password string of each code characters composition received in current described Password Input frame is proper password;
Second authentication module, if the monitoring result being configured to described second monitoring modular is for receiving described checking instruction, then verifies whether the password string of each code characters composition received in current described Password Input frame is proper password;
Second memory module, if the result being configured to described second authentication module is the password string of each code characters composition received in current described Password Input frame is bad password, then described predetermined encryption rule is utilized to store after described password string encryption as described benchmark character string; Or, described password string is stored as described benchmark character string.
17. 1 kinds of bad password suggestion devices, is characterized in that, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Be received in the code characters inputted in Password Input frame;
Described code characters and at least one the benchmark character string prestored are contrasted, described benchmark character string comprises the bad password of previously input;
When described code characters is identical with one of them benchmark character string, before described code characters is verified, display reminding message, the password that described prompting message is used for this input of reminding user is identical with the bad password previously inputted.
CN201410510716.6A 2014-09-28 2014-09-28 Bad password reminding method and device Active CN104331668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410510716.6A CN104331668B (en) 2014-09-28 2014-09-28 Bad password reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410510716.6A CN104331668B (en) 2014-09-28 2014-09-28 Bad password reminding method and device

Publications (2)

Publication Number Publication Date
CN104331668A true CN104331668A (en) 2015-02-04
CN104331668B CN104331668B (en) 2018-05-18

Family

ID=52406390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410510716.6A Active CN104331668B (en) 2014-09-28 2014-09-28 Bad password reminding method and device

Country Status (1)

Country Link
CN (1) CN104331668B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303099A (en) * 2015-10-30 2016-02-03 北京奇艺世纪科技有限公司 Method and apparatus for setting check of confidential information
WO2016188297A1 (en) * 2015-05-28 2016-12-01 阿里巴巴集团控股有限公司 Information input method and device
CN106375264A (en) * 2015-07-22 2017-02-01 北京奇虎科技有限公司 Ciphertext verification method and apparatus
CN106778225A (en) * 2017-01-24 2017-05-31 北京小米移动软件有限公司 The method and apparatus for processing password
CN106792663A (en) * 2016-12-02 2017-05-31 深圳充电网科技有限公司 Code error re-enters method and apparatus when wifi is connected
CN106878248A (en) * 2016-08-12 2017-06-20 阿里巴巴集团控股有限公司 A kind of verification method and equipment
CN106936840A (en) * 2017-03-29 2017-07-07 腾讯科技(深圳)有限公司 A kind of information cuing method and device
CN107292205A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of input method and device, electronic equipment
CN108646928A (en) * 2018-03-29 2018-10-12 维沃移动通信有限公司 A kind of characters input method, terminal device
CN108984503A (en) * 2018-06-28 2018-12-11 郑州云海信息技术有限公司 A kind of foolproof method, system and the associated component of page input frame
CN109844718A (en) * 2017-01-12 2019-06-04 惠普打印机韩国有限公司 Control user interface
CN112765592A (en) * 2021-01-15 2021-05-07 中国工商银行股份有限公司 Database access control method and device
CN115482631A (en) * 2022-09-09 2022-12-16 浙江口碑网络技术有限公司 Information interaction method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007200211A (en) * 2006-01-30 2007-08-09 Nec Corp Authentication system
KR20070121350A (en) * 2006-06-22 2007-12-27 노틸러스효성 주식회사 Method for displaying password
JP2008033772A (en) * 2006-07-31 2008-02-14 Dx Antenna Co Ltd Security system
CN103544427A (en) * 2013-10-23 2014-01-29 中国联合网络通信集团有限公司 Password retrieving method and device of mobile terminal
CN104023133A (en) * 2014-05-23 2014-09-03 北京金山安全软件有限公司 Anti-theft method and device for mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007200211A (en) * 2006-01-30 2007-08-09 Nec Corp Authentication system
KR20070121350A (en) * 2006-06-22 2007-12-27 노틸러스효성 주식회사 Method for displaying password
JP2008033772A (en) * 2006-07-31 2008-02-14 Dx Antenna Co Ltd Security system
CN103544427A (en) * 2013-10-23 2014-01-29 中国联合网络通信集团有限公司 Password retrieving method and device of mobile terminal
CN104023133A (en) * 2014-05-23 2014-09-03 北京金山安全软件有限公司 Anti-theft method and device for mobile terminal

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016188297A1 (en) * 2015-05-28 2016-12-01 阿里巴巴集团控股有限公司 Information input method and device
CN106295266A (en) * 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 Data inputting method and device
US10970482B2 (en) 2015-05-28 2021-04-06 Advanced New Technologies Co., Ltd. Assisted data input
CN106375264A (en) * 2015-07-22 2017-02-01 北京奇虎科技有限公司 Ciphertext verification method and apparatus
CN106375264B (en) * 2015-07-22 2021-12-21 北京奇虎科技有限公司 Ciphertext verification method and device
CN105303099B (en) * 2015-10-30 2019-01-25 北京奇艺世纪科技有限公司 The method and apparatus of setting verification confidential information
CN105303099A (en) * 2015-10-30 2016-02-03 北京奇艺世纪科技有限公司 Method and apparatus for setting check of confidential information
CN107292205A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of input method and device, electronic equipment
CN106878248A (en) * 2016-08-12 2017-06-20 阿里巴巴集团控股有限公司 A kind of verification method and equipment
CN106792663A (en) * 2016-12-02 2017-05-31 深圳充电网科技有限公司 Code error re-enters method and apparatus when wifi is connected
CN109844718A (en) * 2017-01-12 2019-06-04 惠普打印机韩国有限公司 Control user interface
CN106778225A (en) * 2017-01-24 2017-05-31 北京小米移动软件有限公司 The method and apparatus for processing password
CN106936840A (en) * 2017-03-29 2017-07-07 腾讯科技(深圳)有限公司 A kind of information cuing method and device
CN106936840B (en) * 2017-03-29 2022-04-01 腾讯科技(深圳)有限公司 Information prompting method and device
CN108646928A (en) * 2018-03-29 2018-10-12 维沃移动通信有限公司 A kind of characters input method, terminal device
CN108984503A (en) * 2018-06-28 2018-12-11 郑州云海信息技术有限公司 A kind of foolproof method, system and the associated component of page input frame
CN108984503B (en) * 2018-06-28 2021-11-19 郑州云海信息技术有限公司 Fool-proof method and system for page input box and related components
CN112765592A (en) * 2021-01-15 2021-05-07 中国工商银行股份有限公司 Database access control method and device
CN115482631A (en) * 2022-09-09 2022-12-16 浙江口碑网络技术有限公司 Information interaction method and device

Also Published As

Publication number Publication date
CN104331668B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104331668A (en) Wrong password prompting method and device
CN104238875A (en) Application corner mark addition method and device
CN105407098A (en) Identity verification method and device
CN105160239A (en) Application program access restriction method and apparatus
CN104484593B (en) terminal verification method and device
CN104573550A (en) Method and device for protecting data
CN105354489A (en) Right granting method and apparatus
CN104852911A (en) Safety verification method, device and system
CN104469714A (en) Short message sending method and device
CN104216742A (en) Upgrade control method and device based on password
CN107491681B (en) Fingerprint information processing method and device
CN104331228A (en) Screen locking method and device
CN104468581B (en) The method and device of login application program
CN103914520A (en) Data query method, terminal equipment and server
CN105407070A (en) Logging-in authorization method and device
CN105162784A (en) Verification information input processing method and device
CN104217328A (en) Multi-verification payment method and multi-verification payment device
CN104038537A (en) Contact list information management method and device and mobile terminal
CN105282162B (en) The processing method and processing device of account management business
CN104574107A (en) Display method and device for cross-merchant order information
CN104113588B (en) The update method of a kind of the Internet Yellow Page and device
CN104268039A (en) Method, device and system for obtaining maintenance data
CN106060098A (en) Processing method, processing device and processing system for verification codes
CN106789070A (en) The decryption method of data, device and terminal
CN105046127A (en) Encryption and decryption method and apparatus

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