Disclosure of Invention
The invention aims to provide a method and a device for inputting a password by a fingerprint of a mobile terminal, which solve the problem that the user is greatly inconvenient and puzzled because the password is forgotten or stolen in the prior art.
According to an aspect of the present invention, there is provided a method for inputting a password by fingerprint of a mobile terminal, comprising the steps of:
detecting the finger fingerprint of a mobile terminal user to obtain and store finger fingerprint information for a password virtual keyboard;
establishing a password virtual keyboard comprising the virtual key sequences by associating the finger fingerprint information with the virtual key sequences one by one;
and after the password virtual keyboard is established, displaying a virtual key sequence associated with the current finger fingerprint information on a screen according to the current finger fingerprint information of the mobile terminal user obtained by current detection.
Preferably, the finger fingerprint information comprises at least two finger fingerprint information of thumb, index finger, middle finger, ring finger and little finger of right hand and/or left hand;
the virtual key sequence comprises a number virtual key sequence and an alphabet virtual key sequence.
Preferably, when the finger fingerprint information includes two finger fingerprint information, the associating the finger fingerprint information with the virtual key sequence one by one includes:
and binding the fingerprint information of the two fingers with the letter virtual key sequence and the number virtual key sequence so as to establish the password virtual keyboard comprising the letter virtual key sequence and the number virtual key sequence.
Preferably, when the finger fingerprint information includes three or more finger fingerprint information, the associating the finger fingerprint information with the virtual key sequence one by one includes:
binding finger fingerprint information with a digital virtual key sequence, and binding other finger fingerprint information with different letter virtual key sequences respectively, thereby establishing a password virtual keyboard comprising a digital virtual key sequence and different letter virtual key sequences.
Preferably, the displaying, on the screen, the virtual key sequence associated with the current finger fingerprint information according to the current finger fingerprint information of the mobile terminal user obtained by current detection includes:
when the mobile terminal detects the current finger fingerprint information of a mobile terminal user, starting a timer to perform detection timing;
and when the detection timing of the timer reaches a preset set value, displaying a virtual key sequence associated with the current finger fingerprint information on a screen.
Preferably, the displaying the virtual key sequence associated with the current finger fingerprint information on the screen when the detection timing of the timer reaches a preset set value includes:
matching the detected current finger fingerprint information with finger fingerprint information stored by a terminal, and searching standard finger fingerprint information consistent with the detected current finger fingerprint information;
and displaying the virtual key sequence associated with the current finger fingerprint information on a screen according to the corresponding relation between the found standard finger fingerprint information and the virtual key sequence.
Preferably, the mobile terminal user inputting the password through the virtual key sequence includes:
detecting the sliding click operation of the current finger of a mobile terminal user in real time;
and selecting a letter or a number corresponding to one virtual key from the virtual key sequence displayed on the screen as an input password according to the detected sliding click operation of the current finger of the mobile terminal user.
Preferably, the method further comprises an operation step of authenticating the input password combination and the corresponding finger fingerprint information, and the specific steps include:
judging whether the detected sequence of the finger fingerprint information input by the mobile terminal user is correct or not according to the finger fingerprint information corresponding to the password combination prestored in the mobile terminal;
when the detected sequence of the finger fingerprint information input by the mobile terminal user is correct, the authentication on the finger fingerprint information is successful;
and when the detected sequence of the finger fingerprint information input by the mobile terminal user is judged to be wrong, the authentication on the finger fingerprint information is failed.
According to another aspect of the present invention, there is provided an apparatus for inputting a password by fingerprint of a mobile terminal, comprising:
the detection module is used for detecting the finger fingerprint of the mobile terminal user to obtain and store finger fingerprint information for the password virtual keyboard;
the password virtual keyboard establishing module is used for establishing a password virtual keyboard comprising the virtual key sequences by associating the finger fingerprint information with the virtual key sequences one by one;
and the virtual key sequence display module is used for displaying a virtual key sequence related to the current finger fingerprint information on a screen according to the current finger fingerprint information of the mobile terminal user obtained by current detection after the password virtual keyboard is established.
Preferably, the finger fingerprint information comprises at least two finger fingerprint information of thumb, index finger, middle finger, ring finger and little finger of right hand and/or left hand;
the virtual key sequence comprises a number virtual key sequence and an alphabet virtual key sequence.
Preferably, the module for establishing a password virtual keyboard comprises:
the first password virtual keyboard establishing unit is used for binding the two finger fingerprint information with an letter virtual key sequence and a number virtual key sequence when the finger fingerprint information comprises the two finger fingerprint information, so as to establish a password virtual keyboard comprising the letter virtual key sequence and the number virtual key sequence;
and the second password virtual keyboard establishing unit is used for binding one piece of finger fingerprint information with the digital virtual key sequence and binding other pieces of finger fingerprint information with different letter virtual key sequences respectively when the finger fingerprint information comprises three or more pieces of finger fingerprint information, so that a password virtual keyboard comprising one digital virtual key sequence and different letter virtual key sequences is established.
Preferably, the module for displaying a virtual key sequence includes:
the timing unit is used for starting a timer to detect and time when the mobile terminal detects the current finger fingerprint information of a mobile terminal user;
and the virtual key sequence display unit displays a virtual key sequence related to the current finger fingerprint information on a screen when the detection timing of the timer reaches a preset set value.
Compared with the prior art, the invention has the beneficial effects that:
the invention selects the password combination of the mobile terminal consisting of numbers and/or letters by utilizing different finger fingerprint information, thereby improving the security of the password of the mobile terminal.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
Fig. 1 shows a flowchart of a method for inputting a password by a fingerprint of a mobile terminal according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step S101: detecting the finger fingerprint of a mobile terminal user to obtain and store finger fingerprint information for a password virtual keyboard;
the finger fingerprint information comprises at least two finger fingerprint information of thumb, index finger, middle finger, ring finger and little finger of right hand and/or left hand.
Step S102: establishing a password virtual keyboard comprising the virtual key sequences by associating the finger fingerprint information with the virtual key sequences one by one;
the virtual key sequence comprises a digital virtual key sequence and an alphabetic virtual key sequence.
Step S103: and after the password virtual keyboard is established, displaying a virtual key sequence associated with the current finger fingerprint information on a screen according to the current finger fingerprint information of the mobile terminal user obtained by current detection.
Specifically, when the finger fingerprint information includes two pieces of finger fingerprint information, the associating the finger fingerprint information with the virtual key sequence one by one includes: and binding the fingerprint information of the two fingers with the letter virtual key sequence and the number virtual key sequence so as to establish the password virtual keyboard comprising the letter virtual key sequence and the number virtual key sequence. When the finger fingerprint information includes three or more finger fingerprint information, the associating the finger fingerprint information with the virtual key sequence one by one includes: binding finger fingerprint information with a digital virtual key sequence, and binding other finger fingerprint information with different letter virtual key sequences respectively, thereby establishing a password virtual keyboard comprising a digital virtual key sequence and different letter virtual key sequences.
Specifically, the displaying, on the screen, the virtual key sequence associated with the current finger fingerprint information according to the current finger fingerprint information of the mobile terminal user obtained through current detection includes: when the mobile terminal detects the current finger fingerprint information of a mobile terminal user, starting a timer to perform detection timing; and when the detection timing of the timer reaches a preset set value, displaying a virtual key sequence associated with the current finger fingerprint information on a screen. When the detection timing of the timer reaches a preset set value, displaying a virtual key sequence associated with the current finger fingerprint information on a screen comprises: matching the detected current finger fingerprint information with finger fingerprint information stored by a terminal, and searching standard finger fingerprint information consistent with the detected current finger fingerprint information; and displaying a virtual key sequence associated with the current finger fingerprint information on a screen according to the corresponding relation between the found standard finger fingerprint information and the virtual key sequence so that the mobile terminal user can input a password through the virtual key sequence.
Specifically, the step of the mobile terminal user inputting the password through the virtual key sequence comprises: detecting the sliding click operation of the current finger of a mobile terminal user in real time; and selecting a letter or a number corresponding to one virtual key from the virtual key sequence displayed on the screen as an input password according to the detected sliding click operation of the current finger of the mobile terminal user.
The invention also includes the operation step of authenticating the input password combination and the corresponding finger fingerprint information, and the specific steps include: judging whether the detected sequence of the finger fingerprint information input by the mobile terminal user is correct or not according to the finger fingerprint information corresponding to the password combination prestored in the mobile terminal; when the detected sequence of the finger fingerprint information input by the mobile terminal user is correct, the authentication on the finger fingerprint information is successful; and when the detected sequence of the finger fingerprint information input by the mobile terminal user is judged to be wrong, the authentication on the finger fingerprint information is failed.
Fig. 2 is a schematic diagram illustrating an apparatus for inputting a password by using a fingerprint of a mobile terminal according to an embodiment of the present invention, as shown in fig. 2, including: the system comprises a detection module 201, a password establishing virtual keyboard module 202 and a virtual key sequence displaying module 203. The detection module 201 is configured to obtain and store finger fingerprint information for the password virtual keyboard by detecting a finger fingerprint of a mobile terminal user; a password virtual keyboard establishing module 202, configured to establish a password virtual keyboard including the virtual key sequences by associating the finger fingerprint information with the virtual key sequences one by one; and the virtual key sequence display module 203 is configured to display a virtual key sequence associated with the current finger fingerprint information on a screen according to the current finger fingerprint information of the mobile terminal user obtained through current detection after the password virtual keyboard is established. The finger fingerprint information comprises at least two finger fingerprint information of thumb, index finger, middle finger, ring finger and little finger of right hand and/or left hand; the virtual key sequence comprises a number virtual key sequence and an alphabet virtual key sequence.
Specifically, the module 202 for establishing a virtual keyboard of a password includes: the first password virtual keyboard establishing unit is used for binding the two finger fingerprint information with an letter virtual key sequence and a number virtual key sequence when the finger fingerprint information comprises the two finger fingerprint information, so as to establish a password virtual keyboard comprising the letter virtual key sequence and the number virtual key sequence; and the second password virtual keyboard establishing unit is used for binding one piece of finger fingerprint information with the digital virtual key sequence and binding other pieces of finger fingerprint information with different letter virtual key sequences respectively when the finger fingerprint information comprises three or more pieces of finger fingerprint information, so that a password virtual keyboard comprising one digital virtual key sequence and different letter virtual key sequences is established. The module 203 for displaying a virtual key sequence comprises: the timing unit is used for starting a timer to detect and time when the mobile terminal detects the current finger fingerprint information of a mobile terminal user; and the virtual key sequence display unit displays a virtual key sequence related to the current finger fingerprint information on a screen when the detection timing of the timer reaches a preset set value so that a mobile terminal user can input a password through the virtual key sequence.
Fig. 3 shows a schematic structural diagram of a mobile terminal fingerprint input password according to an embodiment of the present invention, as shown in fig. 3, the mobile terminal fingerprint input password includes a setting module 301, an acquiring module 302, a storing module 303, and an authenticating module 304. The setting module 301 is configured to complete setting of a password by using fingerprint information input by a mobile terminal user; the acquisition module 302 is configured to detect a plurality of fingerprint information input by a user, where the acquisition module 302 may be a fingerprint sensor directly integrated on a mobile phone, or a touch pad of a back panel of the mobile phone, or an external device. The storage module 303 is configured to store the plurality of pieces of fingerprint information detected by the acquisition module 302 in sequence, where the storage module 303 may be a ROM, a T-card, or the like. The authentication module 304 is configured to, when the mobile terminal inputs the password by using the fingerprint information, successfully authenticate when the inputted plurality of fingerprint information are consistent with the plurality of fingerprint information stored in the storage module 303.
The present invention utilizes different finger fingerprints to set different numbers (letters, symbols). Firstly, a finger is long-pressed on a fingerprint sensor, then a number (letter and symbol) sequence represented by the finger is displayed on a screen, and then a user clicks and selects the required number (letter and symbol) by sliding the finger on the fingerprint sensor, so as to finish the input of a password; further, when the password needs to be input, the user can input the password on the fingerprint sensor according to the preset numbers (letters and symbols) represented by the finger fingerprints and the fingerprint sequence combination, and finally the security problem of the account password is solved.
Fig. 4 shows a flowchart of setting a fingerprint password of a mobile terminal according to an embodiment of the present invention, as shown in fig. 4, including the following steps:
step S401: the user is supported to customize the keyboard type of fingerprint input according to own habits and preferences;
such as a computer physical keyboard, an input method 26-key keyboard, an alphabet, a numeric keyboard and the like, also supports self design and typesetting, and can manufacture a specific keyboard according to commonly used letters, numbers and symbols.
Step S402: a user selects a certain type of keyboard;
the example is a computer physical keyboard, and the horizontal rows are taken as a sequence, and the sequence is totally 4 sequences: the number line, "q" line, "a" line, "z" line.
Step S403: a user inputs fingerprints to realize that different fingerprints call corresponding sequences;
examples are a digital line entry for the right index finger, a "q" line entry for the right middle finger, an "a" line entry for the left index finger, and a "z" line entry for the left middle finger. In practice, the user can enter the corresponding sequences according to the habit (if all the 4 sequences are entered into the index finger of the right hand, the 4 sequences appear in turn from top to bottom when being adjusted). That is, the user can customize a digit to display a sequence of numbers (letters, symbols) represented by the digit on the screen after pressing for a long time, and the sequence includes but is not limited to a computer keyboard (e.g. index finger represents a number row of 1-9-0, middle finger represents a "q row", ring finger represents a "a row", and little finger represents a "z row"), a keyboard of a mobile phone input method (e.g. index finger represents a "number panel", middle finger represents a "q row", ring finger represents an "a row", and little finger represents a "z row"), even a sequential column of an alphabet (e.g. index finger represents "letters a-g", middle finger represents "letters h-n", ring finger represents "letters o-t", and little finger represents "letters u-z"), and the like. Meanwhile, the user is supported to customize the sequence represented by each finger according to personal habits and safety considerations (for example, when a computer keyboard is adopted, the user can set the index finger to represent the 'z line'), even each finger can represent a multi-line sequence (for example, when the computer keyboard is adopted, the user can set the index finger to represent the 'z line' and the 'number line').
Step S404: sliding the finger to determine the required number (letter, symbol);
after a certain sequence has been set up, the user clicks on the desired number (letter, symbol) by sliding a finger over the fingerprint sensor. If a certain sequence is called up by long pressing of the index finger and then the index finger slides, the corresponding number (letter, symbol) on the screen will slide along with the index finger for the user to select, as the number (letter, symbol) corresponding to the user's desire at present can be confirmed by tapping the index finger. The selection of the desired number (letter, symbol) in the sequence can then continue or be switched to another finger long press, a new sequence is called up, and a new number (letter, symbol) is selected, also supporting the finger fingerprint discrimination of the left and right hand.
Step S405: and finishing password setting.
After all password numbers (letters and symbols) are input, the password input process can be completed through similar action gestures by adopting, but not limited to, long-time pressing or double-click on a fingerprint sensor by three fingers, long-time pressing by a thumb, and the like. The "done" button may also be clicked directly on the screen.
The recording in step S403 uses the acquisition module 302, where the acquisition module 302 mentioned here is, for example, a fingerprint identification sensor, and the structural principle of the fingerprint sensor and the like are already known in the art and are not described in detail.
Fig. 5 shows a flowchart of inputting a fingerprint password of a mobile terminal according to an embodiment of the present invention, as shown in fig. 5, including the following steps:
step S501: when inputting content, using a certain finger to press on the fingerprint sensor for a long time, calling out a set corresponding sequence, and clicking corresponding numbers (letters and symbols) on the sensor by sliding the finger;
the user uses the corresponding finger fingerprint verification-index finger, middle finger, ring finger and little finger in turn according to the set password (such as the set password is scc31, the input's-index finger', 'c-middle finger', '3-ring finger' and '1-little finger'). Note the difference between the fingers of the left and right hand. Specifically, the method comprises the following steps:
step1, clicking to determine when the left index finger- > pops out the row a- > slides the left index finger to reach s for a long time;
step2, clicking for confirmation when the left middle finger is pressed for a long time- > pop out the z line- > slide the left middle finger to reach c;
step3 repeats Step2, namely clicking to determine when the left middle finger is pressed for a long time- > pops out the z line- > slides the left middle finger to reach c;
step4 click to determine when the index finger of the right hand is pressed for a long time- > pop out the number line- > slide the index finger of the right hand to reach 3;
step5 click definite long press right index finger- > pop out number line- > slide right index finger to 1. I.e. the input is completed.
Step S502: after all the numbers (letters and symbols) are input, the fingerprint password is stored and recorded by the storage module 303.
Step S503: when the password needs to be input, the password is directly and sequentially input according to the preset fingerprint sequence, and if the password is consistent with the preset fingerprint sequence, the authentication is successful (the authentication module 404).
The left index finger, the left middle finger, the right index finger and the right index finger are sequentially placed in the collection module 301 according to the method exemplified in the step S501. The fingerprint may be input again using the flow of step S501 and step S502.
The invention avoids the easy divulgence mode of directly selecting letters (numbers or symbols) on the keyboard of the input method, and more scenes such as password input and the like which need higher safety factor are possible, but the invention is not limited. After the password is defined, when the password is input, the user can directly decrypt the password by using the fingerprint or input the password by using the fingerprint again, and the invention is supported by the invention, which is also a difference point that the authentication module 404 in the invention is different from other authentication modules in the field. The authentication module 404 is not required and is not limited to matching only for cryptographic authentication. Can be disassembled or combined, and the sequence of the partial flows can be exchanged and repeated, which is not limited by the above.
In summary, the present invention has the following technical effects:
the invention utilizes different finger fingerprints to set different numbers (letters and symbols), thereby improving the security of the password.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in light of the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.