CN105184126A - Password setting method, authentication method and terminal - Google Patents
Password setting method, authentication method and terminal Download PDFInfo
- Publication number
- CN105184126A CN105184126A CN201510542477.7A CN201510542477A CN105184126A CN 105184126 A CN105184126 A CN 105184126A CN 201510542477 A CN201510542477 A CN 201510542477A CN 105184126 A CN105184126 A CN 105184126A
- Authority
- CN
- China
- Prior art keywords
- pressing
- password
- character string
- duration
- information
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/316—User authentication by observing the pattern of computer usage, e.g. typical user behaviour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Abstract
Embodiments of the present invention disclose a password setting method, an authentication method and a terminal. The password setting method comprises the steps: monitoring M-time pressing operations performed on a touch screen of the terminal by a user within a preset duration, wherein M is an integer greater than or equal to 2; obtaining pressing information corresponding to the M-time pressing operations according to the pressing operations, and determining a preset password according to the pressing information; and storing the preset password. According to the technical scheme provided by the present invention, because the set password is determined by the multi-time pressing operations, and the pressing information of the multi-time pressing operations cannot be easily accurately known by observers, even if other people stand nearby when the user sets the password, other people are also not liable to know the password set by the user. Therefore, through the adoption of the technical scheme provided by the embodiment of the present invention, the security of terminal password setting is improved.
Description
Technical field
The present invention relates to field of terminal technology, specifically relate generally to a kind of cipher set-up method, verification method and terminal.
Background technology
Developing rapidly and popularizing along with electronic technology, the terminal such as mobile phone, computer has become indispensable instrument in people's routine work life.User not only can utilize terminal to carry out speech communication or video communication, and terminal can also be utilized to come work or amusement.Have recorded various information in the terminal, when user uses terminal, usually can be encrypted setting to terminal.Such as, startup password may be provided with when terminal starts, may setting up password etc. be provided with when opening a certain application or file.
The present inventor finds in research and practice process, usually use numeral, character or motion track as password in prior art, when user inputs numeral, character or sliding trace, easily seen by other people, therefore, existing cipher set-up method security is poor.
Summary of the invention
The invention provides a kind of cipher set-up method, verification method and terminal, to improving the security that terminal password is arranged.
Embodiment of the present invention first aspect discloses a kind of cipher set-up method, comprising:
M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Pressing information corresponding to described M pressing operation is obtained according to described pressing operation,
According to described pressing information determination preset password;
Preserve described preset password.
In conjunction with first aspect, in the first possible embodiment of first aspect, described pressing information comprises at least one in following information: the dynamics of pressing and the duration of pressing.
In conjunction with first aspect, in the embodiment that the second of first aspect is possible, described according to described pressing information determination preset password, comprising: using character string corresponding for described pressing information as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
In conjunction with the embodiment that the second of first aspect is possible, in the third possible embodiment of first aspect, when described pressing information comprises the duration of the dynamics of pressing and pressing,
Character string corresponding to described pressing information comprises: the character string that the duration of the character string that the dynamics of described pressing is corresponding and described pressing is corresponding;
Wherein, the character string that the dynamics of described pressing is corresponding is character string corresponding to the force value of the dynamics of described pressing;
The character string that the duration of described pressing is corresponding is the character string that the duration numerical value of the duration of described pressing is corresponding.
Second aspect present invention provides a kind of method of password authentication, comprising:
M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Pressing information corresponding to described M pressing operation is obtained according to described pressing operation;
Determine to input password according to described pressing information;
Described input password and preset password are compared, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
In conjunction with second aspect, in the first possible embodiment of second aspect, described pressing information comprises at least one in following information: the dynamics of pressing and the duration of pressing.
In conjunction with second aspect, in the embodiment that the second of second aspect is possible, described according to described pressing information determine input password, comprising: using character string corresponding for described pressing information as input password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
In conjunction with the embodiment that the second of second aspect is possible, in the third possible embodiment of second aspect, when described pressing information comprises the duration of the dynamics of pressing and pressing,
Character string corresponding to described pressing information comprises: the character string that the duration of the character string that the dynamics of described pressing is corresponding and described pressing is corresponding;
Wherein, the character string that the dynamics of described pressing is corresponding is character string corresponding to the force value of the dynamics of described pressing;
The character string that the duration of described pressing is corresponding is the character string that the duration numerical value of the duration of described pressing is corresponding.
Third aspect present invention provides a kind of terminal, comprising: encrypting module and deciphering module, wherein,
Described encrypting module comprises:
First monitoring means, for when encrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
First acquiring unit, M the pressing operation for monitoring according to described first monitoring means obtains pressing information corresponding to described M pressing operation;
First determining unit, for the described pressing information determination preset password obtained according to described first acquiring unit;
Storage unit, for preserving described preset password;
Described deciphering module comprises:
Second monitoring means, for when decrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Second acquisition unit, M the described pressing operation for monitoring according to described second monitoring means obtains pressing information corresponding to described M pressing operation
Second determining unit, the described pressing information for obtaining according to described second acquisition unit is determined to input password;
Comparing unit, the described preset password determined for the described input password described second determining unit determined and described first determining unit compares, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, described first determining unit specifically for character string corresponding to, the described pressing information that described first acquiring unit is obtained as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
In conjunction with the third aspect, in the embodiment that the second of the third aspect is possible, described second determining unit specifically for character string corresponding to, the described pressing information that described second acquisition unit is obtained as input password; Or character string corresponding after described pressing information being carried out preset conversion is as input password.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user arranges password, by performing M pressing operation on the touch-screen of terminal, pressing information corresponding for pressing operation being set to preset password.The information that presses during owing to repeatedly pressing is not easy observed person and accurately knows, even if like this user when arranging password near station have other people, other people are also not easy the password learning that user is arranged, so the technical scheme that the embodiment of the present invention provides improves security when terminal password is arranged.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of cipher set-up method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of method of password authentication that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is arranged and the schematic flow sheet of verification method for a kind of password that the embodiment of the present invention provides;
The structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of terminal that Fig. 5 provides for the embodiment of the present invention.
Embodiment
The invention provides a kind of cipher set-up method, verification method and terminal, to improving the security that terminal password is arranged.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
The term " first " occurred in instructions of the present invention, claims and accompanying drawing, " second " and " the 3rd " etc. are for distinguishing different objects, and not for describing specific order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
An embodiment of cipher set-up method of the present invention.A kind of cipher set-up method, can comprise: M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer; Pressing information corresponding to described M pressing operation is obtained, according to described pressing information determination preset password according to described pressing operation; Preserve described preset password.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the cipher set-up method that one embodiment of the present of invention provide.Wherein, as shown in Figure 1, a kind of cipher set-up method that one embodiment of the present of invention provide can comprise following content:
101, M pressing operation performing on the touch-screen of terminal in preset duration of monitor user '.
Wherein, described M be more than or equal to 2 integer.
For example, M such as can equal 2,3 or other values.
Wherein, described preset duration is that M operation completes the used time successively, and for example, preset duration can be 3 seconds, 5 seconds, 10 seconds, 20 seconds or other values.
Being understandable that M the pressing operation that user performs on the touch-screen of terminal is the pressing operation do not performed in the same time, is not the pressing operation that synchronization performs.M pressing operation can be perform successively in identical position, also can be complete successively in incomplete same position.
Each pressing operation can be triggered by a finger presses touch-screen of user and perform, and is appreciated that pressing operation also can trigger by other means, pressing pen such as can be used to press touch-screen and trigger push action etc.
Be appreciated that the terminal in the present embodiment can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device or other-end equipment.
102, pressing information corresponding to described M pressing operation is obtained according to described pressing operation.
Optionally, in some possible embodiments of the present invention, pressing information can comprise at least one in following information: the dynamics of pressing and the duration of pressing.
For example, pressing information can be the dynamics only including pressing, and pressing information also can be the duration only including pressing, and pressing information can also be the dynamics both having comprised pressing, comprises again the duration of pressing.
103, according to described pressing information determination preset password.
104, described preset password is preserved.Optionally, in some possible embodiments of the present invention, described according to described pressing information determination preset password, can comprise: using character string corresponding for described pressing information as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
For example, if pressing information only includes the dynamics of pressing, then the password preset can be defined as pressing dynamics and be greater than or equal to the pressing dynamics that described monitoring obtains, and M pressing operation can be the pressing operation performed successively in same position.
Pressing dynamics can represent with binary number, if than M=2, namely user performs row 2 pressing operations on the touchscreen, if the pressing force angle value that the pressing force angle value that the dynamics of first time pressing is 3 units, second time pressing are 5 units, binary number due to 3 and 5 correspondences is 11 and 101 respectively, the character string then pressing information corresponding can be 11101, and therefore can arrange preset password is character string 11101.
Optionally, in some possible embodiments of the present invention, the character string that preset password is corresponding also can be character string corresponding after carrying out presetting conversion to pressing information, can be such as that the value of pressing dynamics is rounded up process, if the dynamics of such as first time pressing is the pressing force angle value of 3.3 units, second time pressing is the pressing force angle value of 5.2 units, the character string that after then rounding up, pressing information is corresponding is 11101, and therefore can arrange preset password is character string 11101.
Be understandable that, pressing information only includes the duration of pressing, or not only comprises pressing dynamics but also comprise pressing duration, and the method arranging preset password is similar, repeats no more.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user arranges password, by performing M pressing operation on the touch-screen of terminal, pressing information corresponding for pressing operation being set to preset password.The information that presses during owing to repeatedly pressing is not easy observed person and accurately knows, even if like this user when arranging password near station have other people, other people are also not easy the password learning that user is arranged, so the technical scheme that the embodiment of the present invention provides improves security when terminal password is arranged.
Optionally, in some possible embodiments of the present invention, character string corresponding to described pressing information comprises: the character string that the positional information of the character string that the fingerprint of the character string that the duration of character string corresponding to the dynamics of described pressing, described pressing is corresponding or described pressing is corresponding and described pressing is corresponding.The character string that the setting of character string is corresponding with pressing dynamics is similar, does not repeat them here.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet that an alternative embodiment of the invention provides method of password authentication.Wherein, as shown in Figure 2, the method for password authentication that another embodiment of the present invention provides can comprise content:
201, M pressing operation performing on the touch-screen of terminal in preset duration of monitor user '; Described M be greater than or equal to 2 integer.
Wherein, described M be more than or equal to 2 integer.
For example, M such as can equal 2,3 or other values.
Wherein, described preset duration is that M operation completes the used time successively, and for example, preset duration can be 3 seconds, 5 seconds, 10 seconds, 20 seconds or other values.
Being understandable that M the pressing operation that user performs on the touch-screen of terminal is the pressing operation do not performed in the same time, is not the pressing operation that synchronization performs.M pressing operation can be perform successively in identical position, also can be complete successively in incomplete same position.
Each pressing operation can be triggered by a finger presses touch-screen of user and perform, and is appreciated that pressing operation also can trigger by other means, pressing pen such as can be used to press touch-screen and trigger push action etc.
Be appreciated that the terminal in the present embodiment can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device or other-end equipment.
202, pressing information corresponding to described M pressing operation is obtained according to described pressing operation.
Optionally, in some possible embodiments of the present invention, pressing information can comprise at least one in following information: the dynamics of pressing and the duration of pressing.
For example, pressing information can be the dynamics only including pressing, and pressing information also can be the duration only including pressing, and pressing information can also be the dynamics both having comprised pressing, comprises again the duration of pressing.
203, determine to input password according to described pressing information.
204, described input password and preset password are compared, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
For example, if pressing information only includes the dynamics of pressing, then inputting password is the password obtained according to pressing information, and M pressing operation can be the pressing operation performed successively in same position.
Pressing dynamics can represent with binary number, if than M=2, namely user performs row 2 pressing operations on the touchscreen, if the pressing force angle value that the pressing force angle value that the dynamics of first time pressing is 3 units, second time pressing are 5 units, binary number due to 3 and 5 correspondences is 11 and 101 respectively, the character string then pressing information corresponding can be 11101, and therefore can input password is character string 11101.
Optionally, in some possible embodiments of the present invention, the character string that input codon pair is answered also can be character string corresponding after carrying out presetting conversion to pressing information, can be such as that the value of pressing dynamics is rounded up process, if the dynamics of such as first time pressing is the pressing force angle value of 3.3 units, second time pressing is the pressing force angle value of 5.2 units, then the character string that after rounding up, pressing information is corresponding is 11101, and therefore inputting password can be character string 11101.
Be understandable that, pressing information is only the duration of pressing, or not only comprises pressing dynamics but also comprise pressing duration, and the method arranging preset password is similar, repeats no more.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user inputs password, by performing M pressing operation on the touch-screen of terminal, pressing information corresponding for pressing operation being set to input password.The information that presses during owing to repeatedly pressing is not easy observed person and accurately knows, even if like this user input password near station have other people, other people are also not easy the password learning that user inputs, so the technical scheme that the embodiment of the present invention provides improves security when terminal password inputs.
Be understandable that, pressing information also can be only include pressing duration, for example, if M equals 2, the pressing duration of pressing operation when then pressing information is twice pressing operation before and after user, can be input twice pressing operation in the same position of the display screen of terminal, for example, pressing information can be first time pressing operation and second time pressing operation all Continued depression 3 seconds, also can be to be 2 seconds at first time pressing operation pressing duration and to be 4 seconds etc. at the pressing duration of second time pressing operation.The password then preset can be character string 1111 or 10100, if identical with preset password, then password authentification is passed through, if different from preset password, then and password authentification failure.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user inputs password, by performing M pressing operation on the touch-screen of terminal, pressing information corresponding for pressing operation being set to input password.The information that presses during owing to repeatedly pressing is not easy observed person and accurately knows, even if like this user input password near station have other people, other people are also not easy the password learning that user inputs, so the technical scheme that the embodiment of the present invention provides improves security when terminal password inputs.
For ease of better understanding and implement the such scheme of the embodiment of the present invention, the application scenarios concrete below by some is illustrated.
Refer to Fig. 3, Fig. 3 is that the password that provides of an alternative embodiment of the invention is arranged and the schematic flow sheet of verification method.Wherein, as shown in Figure 3, the password that another embodiment of the present invention provides arranges and verification method can comprise content:
301, when password arranges state, monitor user ' within 10 seconds at twice pressing operation that the same position of the touch-screen of terminal performs successively.
302, obtain pressing information corresponding to described twice pressing operation according to described twice pressing operation, described pressing information comprises the dynamics of pressing and the duration of pressing.
Illustrate, pressing information can be: the pressing dynamics of pressing operation is the pressing dynamics of 3 units for the first time, the pressing dynamics of second time pressing operation is 5 unit pressing dynamics, and the pressing duration of pressing operation was 2 seconds for the first time, and the pressing duration of second time pressing operation was 5 seconds.
303, according to described pressing information determination preset password.
Described according to described pressing information determination preset password, comprising: using character string corresponding for described pressing information as preset password.
Illustrate, due to first time, the pressing dynamics of pressing operation is the pressing dynamics of 3 units, the pressing dynamics of second time pressing operation is 5 unit pressing dynamics, and the pressing duration of pressing operation was 2 seconds for the first time, and the pressing duration of second time pressing operation was 5 seconds.The character string that then primary importance pressing dynamics is corresponding with pressing duration is 1110, second place pressing dynamics and the character string pressing duration corresponding are 101101, in some possible embodiments of the present invention, the character string that can define character string corresponding to first time pressing operation corresponding with second time pressing operation merges as default password, and such as preset password can be 1110101101.It should be noted that, the pressing dynamics multiple of the pressing dynamics of 1 unit is weighed, and the pressing dynamics of 1 unit can be pre-defined by user.
It should be noted that, in order to avoid judged result is made mistakes, can define the string length of preset password, the character string that such as can set each operation corresponding is 6 characters, then the length of the preset password that M pressing operation is corresponding is 6*M, particularly, 3 characters before pressing dynamics correspondence can be defined, duration correspondence 3 characters below of pressing, if actual corresponding binary-coded character is less than 3, then high-order zero padding.Than example as previously mentioned, the pressing dynamics of pressing operation is the pressing dynamics of 3 units for the first time, the pressing dynamics of second time pressing operation is 5 unit pressing dynamics, and the pressing duration of pressing operation was 2 seconds for the first time, and the pressing duration of second time pressing operation was 5 seconds.Regular according to setting above, the character string that the pressing dynamics of pressing operation is corresponding with pressing duration is for the first time 011010, and the character string that the pressing dynamics of second time pressing operation is corresponding with pressing duration is 101101, then preset password can be 011010101101.
304, described preset password is preserved.
Particularly, preset password can be kept in the storage unit of terminal.
305, during decrypted state, monitor user ' within 10 seconds at twice pressing operation that the same position of the touch-screen of terminal once performs.
306, obtain pressing information corresponding to described twice pressing operation according to twice pressing operation inputted during decrypted state, described pressing information comprises the dynamics of pressing and the duration of pressing.
307, determine to input password according to described pressing information.
Wherein, described according to described pressing information determination preset password, Ke Yishi: using character string corresponding for described pressing information as preset password.
The character string that such as can set each operation corresponding is 6 characters, then the length of the preset password that M pressing operation is corresponding is 6*M, particularly, 3 characters before pressing dynamics correspondence can be defined, duration correspondence 3 characters below of pressing, if actual corresponding binary-coded character is less than 3, then high-order zero padding.If the pressing dynamics of pressing operation is the pressing dynamics of 3 units for the first time, the pressing dynamics of second time pressing operation is 5 units pressing dynamics, and the pressing duration of pressing operation was 2 seconds for the first time, and the pressing duration of second time pressing operation was 5 seconds.Regular according to setting above, the character string that the pressing dynamics of pressing operation is corresponding with pressing duration is for the first time 011010, and the character string that the pressing dynamics of second time pressing operation is corresponding with pressing duration is 101101, then input password can be 011010101101.
308, described input password and preset password are compared, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
The present embodiment, because preset password and input password are all 011010101101, so password authentification is passed through.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user arranges password, by performing M pressing operation in preset duration on the touch-screen of terminal, pressing information corresponding for pressing operation being set to preset password.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user when arranging password near station have other people, other people are also not easy the password learning that user is arranged, so the technical scheme that the embodiment of the present invention provides improves security when terminal password is arranged.Meanwhile, in the technical scheme that the embodiment of the present invention provides, during authentication password, pressing information corresponding for pressing operation, by performing M pressing operation in preset duration, is set to input password by user.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user input password near station have other people, other people are also not easy the password learning that user inputs, so the technical scheme that the embodiment of the present invention provides also improves security when terminal password inputs.
See Fig. 4, the embodiment of the present invention also provides a kind of terminal 400, can comprise: encrypting module 410 and deciphering module 420, and wherein, described encrypting module 410 can comprise:
First monitoring means 411, for when encrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
First acquiring unit 412, M the pressing operation for monitoring according to described first monitoring means 411 obtains pressing information corresponding to described M pressing operation;
First determining unit 413, for the described pressing information determination preset password obtained according to described first acquiring unit 412;
Storage unit 414, for preserving described preset password;
Described deciphering module 420 comprises:
Second monitoring means 421, for when decrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Second acquisition unit 422, M the described pressing operation for monitoring according to described second monitoring means obtains pressing information corresponding to described M pressing operation
Second determining unit 423, the described pressing information for obtaining according to described second acquisition unit is determined to input password;
Comparing unit 424, the described preset password determined for the described input password described second determining unit 423 determined and described first determining unit 413 compares, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
Concrete implementation, see described in Fig. 1 to Fig. 3, repeats no more here.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user arranges password, by performing M pressing operation in preset duration on the touch-screen of terminal, pressing information corresponding for pressing operation being set to preset password.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user when arranging password near station have other people, other people are also not easy the password learning that user is arranged, so the technical scheme that the embodiment of the present invention provides improves security when terminal password is arranged.Meanwhile, in the technical scheme that the embodiment of the present invention provides, during authentication password, pressing information corresponding for pressing operation, by performing M pressing operation in preset duration, is set to input password by user.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user input password near station have other people, other people are also not easy the password learning that user inputs, so the technical scheme that the embodiment of the present invention provides also improves security when terminal password inputs.
See the structured flowchart that Fig. 5, Fig. 5 are the terminals 500 that another embodiment of the present invention provides.Wherein, terminal 500 can comprise: at least 1 processor 501, storer 502, user interface 503 and at least 1 communication bus 504.Wherein, communication bus 504 is for realizing the connection communication between these assemblies.
User interface 503 can comprise the devices such as touch-screen, and may be used for the pressing operation receiving user's input, such as touch-screen may be used for M the pressing operation that monitor user ' performs on the touchscreen in preset duration.Particularly, preset duration can be 5 seconds, 10 seconds, 15 seconds, 20 seconds or other values.M pressing operation can be identical on the touchscreen position perform, also can be that positions different on the touchscreen performs.
Wherein, storer 502 can comprise ROM (read-only memory) and random access memory, may be used for storing preset password and for program code stored and provide instruction and data to processor 501.A part in storer 502 can also comprise nonvolatile RAM.
In an embodiment of the present invention, by calling program code or the instruction of storer 502 storage, processor 501 is for obtaining pressing information corresponding to described M pressing operation according to described M pressing operation, and described pressing information can comprise at least one in following information: the dynamics of pressing and the duration of pressing;
According to described pressing information determination preset password; And described preset password is saved in storer 502.
Optionally, in some possible embodiments of the present invention, described according to described pressing information determination preset password, comprising: using character string corresponding for described pressing information as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
Optionally, in some possible embodiments of the present invention, described pressing information can also comprise at least one in following information: the fingerprint of pressing and the positional information of pressing.
When described pressing information comprises the duration of the dynamics of pressing and pressing,
Character string corresponding to described pressing information comprises: the character string that the duration of the character string that the dynamics of described pressing is corresponding and described pressing is corresponding;
Wherein, the character string that the dynamics of described pressing is corresponding is character string corresponding to the force value of the dynamics of described pressing;
The character string that the duration of described pressing is corresponding is the character string that the duration numerical value of the duration of described pressing is corresponding.
User interface 503 also for when decrypted state, M the pressing operation that monitor user ' performs on the touch-screen of terminal 500, described M be more than or equal to 2 integer;
Processor 501 obtains pressing information corresponding to described M pressing operation according to described pressing operation, and described pressing information comprises at least one in following information: the dynamics of pressing and the duration of pressing;
Processor 501 is determined to input password according to described pressing information;
Described input password and preset password compare by processor 501, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
Optionally, in some possible embodiments of the present invention, described according to described pressing information determine input password, comprising: using character string corresponding for described pressing information as input password; Or character string corresponding after described pressing information being carried out preset conversion is as input password.
Can finding out, in the technical scheme that the embodiment of the present invention provides, when user arranges password, by performing M pressing operation in preset duration on the touch-screen of terminal, pressing information corresponding for pressing operation being set to preset password.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user when arranging password near station have other people, other people are also not easy the password learning that user is arranged, so the technical scheme that the embodiment of the present invention provides improves security when terminal password is arranged.Meanwhile, in the technical scheme that the embodiment of the present invention provides, during authentication password, pressing information corresponding for pressing operation, by performing M pressing operation in preset duration, is set to input password by user.Accurately know because the repeatedly pressing information of pressing operation is not easy observed person, even if like this user input password near station have other people, other people are also not easy the password learning that user inputs, so the technical scheme that the embodiment of the present invention provides also improves security when terminal password inputs.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
Claims (11)
1. a cipher set-up method, is characterized in that, comprising:
M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Pressing information corresponding to described M pressing operation is obtained according to described pressing operation,
According to described pressing information determination preset password;
Preserve described preset password.
2. method according to claim 1, is characterized in that,
Described pressing information comprises at least one in following information: the dynamics of pressing and the duration of pressing.
3. method according to claim 1, is characterized in that, described according to described pressing information determination preset password, comprising: using character string corresponding for described pressing information as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
4. method according to claim 3, is characterized in that,
When described pressing information comprises the duration of the dynamics of pressing and pressing,
Character string corresponding to described pressing information comprises: the character string that the duration of the character string that the dynamics of described pressing is corresponding and described pressing is corresponding;
Wherein, the character string that the dynamics of described pressing is corresponding is character string corresponding to the force value of the dynamics of described pressing;
The character string that the duration of described pressing is corresponding is the character string that the duration numerical value of the duration of described pressing is corresponding.
5. a method of password authentication, is characterized in that, comprising:
M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Pressing information corresponding to described M pressing operation is obtained according to described pressing operation;
Determine to input password according to described pressing information;
Described input password and preset password are compared, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
6. method according to claim 5, is characterized in that,
Described pressing information comprises at least one in following information: the dynamics of pressing and the duration of pressing.
7. method according to claim 5, is characterized in that, described according to described pressing information determine input password, comprising: using character string corresponding for described pressing information as input password; Or character string corresponding after described pressing information being carried out preset conversion is as input password.
8. method according to claim 7, is characterized in that,
When described pressing information comprises the duration of the dynamics of pressing and pressing,
Character string corresponding to described pressing information comprises: the character string that the duration of the character string that the dynamics of described pressing is corresponding and described pressing is corresponding;
Wherein, the character string that the dynamics of described pressing is corresponding is character string corresponding to the force value of the dynamics of described pressing;
The character string that the duration of described pressing is corresponding is the character string that the duration numerical value of the duration of described pressing is corresponding.
9. a terminal, is characterized in that, comprising: encrypting module and deciphering module, wherein,
Described encrypting module comprises:
First monitoring means, for when encrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
First acquiring unit, M the pressing operation for monitoring according to described first monitoring means obtains pressing information corresponding to described M pressing operation;
First determining unit, for the described pressing information determination preset password obtained according to described first acquiring unit;
Storage unit, for preserving described preset password;
Described deciphering module comprises:
Second monitoring means, for when decrypted state, M the pressing operation that monitor user ' performs in preset duration on the touch-screen of terminal; Described M be greater than or equal to 2 integer;
Second acquisition unit, M the described pressing operation for monitoring according to described second monitoring means obtains pressing information corresponding to described M pressing operation
Second determining unit, the described pressing information for obtaining according to described second acquisition unit is determined to input password;
Comparing unit, the described preset password determined for the described input password described second determining unit determined and described first determining unit compares, if both are identical, then password authentification is passed through; If both are different, then password authentification failure.
10. terminal according to claim 9, is characterized in that,
Described first determining unit specifically for character string corresponding to, the described pressing information that described first acquiring unit is obtained as preset password; Or character string corresponding after described pressing information being carried out preset conversion is as preset password.
11. terminals according to claim 9, is characterized in that,
Described second determining unit specifically for character string corresponding to, the described pressing information that described second acquisition unit is obtained as input password; Or character string corresponding after described pressing information being carried out preset conversion is as input password.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542477.7A CN105184126A (en) | 2015-08-27 | 2015-08-27 | Password setting method, authentication method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542477.7A CN105184126A (en) | 2015-08-27 | 2015-08-27 | Password setting method, authentication method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105184126A true CN105184126A (en) | 2015-12-23 |
Family
ID=54906200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510542477.7A Pending CN105184126A (en) | 2015-08-27 | 2015-08-27 | Password setting method, authentication method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105184126A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549786A (en) * | 2015-12-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | System switching method and device based on pressure touch control and terminal |
CN105574379A (en) * | 2015-12-30 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Private mode starting method and device as well as terminal |
CN106612181A (en) * | 2015-10-26 | 2017-05-03 | 腾讯科技(深圳)有限公司 | Identity verification method and device |
WO2018006319A1 (en) * | 2016-07-07 | 2018-01-11 | 深圳企管加企业服务有限公司 | Alarm method and system |
WO2018006340A1 (en) * | 2016-07-07 | 2018-01-11 | 深圳企管加企业服务有限公司 | Optical communication-based alarm method and system |
CN108179928A (en) * | 2017-05-28 | 2018-06-19 | 杭州力谱科技有限公司 | A kind of smart home door lock |
CN110670972A (en) * | 2019-10-17 | 2020-01-10 | 深圳市银之杰科技股份有限公司 | Dynamic coded lock and processing method |
CN111159669A (en) * | 2019-12-03 | 2020-05-15 | 北京航空航天大学 | Terminal control method, device, terminal and readable storage medium |
US10657244B2 (en) | 2015-10-26 | 2020-05-19 | Tencent Technology (Shenzhen) Company Limited | Identity authentication method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007264835A (en) * | 2006-03-27 | 2007-10-11 | Nec Corp | Authentication method and system |
CN101764823A (en) * | 2010-01-28 | 2010-06-30 | 华为终端有限公司 | Authentication method, electronic equipment and authentication server |
CN102203794A (en) * | 2011-06-01 | 2011-09-28 | 华为终端有限公司 | A terminal authentication method and a device thereof |
CN103853947A (en) * | 2012-11-29 | 2014-06-11 | 鸿富锦精密工业(武汉)有限公司 | Pressure key and computer safety protection method |
CN103870744A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Method and electronic device for verifying password |
-
2015
- 2015-08-27 CN CN201510542477.7A patent/CN105184126A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007264835A (en) * | 2006-03-27 | 2007-10-11 | Nec Corp | Authentication method and system |
CN101764823A (en) * | 2010-01-28 | 2010-06-30 | 华为终端有限公司 | Authentication method, electronic equipment and authentication server |
CN102203794A (en) * | 2011-06-01 | 2011-09-28 | 华为终端有限公司 | A terminal authentication method and a device thereof |
CN103853947A (en) * | 2012-11-29 | 2014-06-11 | 鸿富锦精密工业(武汉)有限公司 | Pressure key and computer safety protection method |
CN103870744A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Method and electronic device for verifying password |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106612181A (en) * | 2015-10-26 | 2017-05-03 | 腾讯科技(深圳)有限公司 | Identity verification method and device |
US10657244B2 (en) | 2015-10-26 | 2020-05-19 | Tencent Technology (Shenzhen) Company Limited | Identity authentication method and apparatus |
CN105549786A (en) * | 2015-12-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | System switching method and device based on pressure touch control and terminal |
CN105574379A (en) * | 2015-12-30 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Private mode starting method and device as well as terminal |
WO2018006319A1 (en) * | 2016-07-07 | 2018-01-11 | 深圳企管加企业服务有限公司 | Alarm method and system |
WO2018006340A1 (en) * | 2016-07-07 | 2018-01-11 | 深圳企管加企业服务有限公司 | Optical communication-based alarm method and system |
CN108179928A (en) * | 2017-05-28 | 2018-06-19 | 杭州力谱科技有限公司 | A kind of smart home door lock |
CN108179929A (en) * | 2017-05-28 | 2018-06-19 | 杭州力谱科技有限公司 | A kind of smart home door lock |
CN110670972A (en) * | 2019-10-17 | 2020-01-10 | 深圳市银之杰科技股份有限公司 | Dynamic coded lock and processing method |
CN111159669A (en) * | 2019-12-03 | 2020-05-15 | 北京航空航天大学 | Terminal control method, device, terminal and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105069335A (en) | Password setting method, verification method and terminal | |
CN105184126A (en) | Password setting method, authentication method and terminal | |
CN105160227A (en) | Remote fingerprint verification method, user terminal and fingerprint verification system | |
CN107944237B (en) | Fingerprint unlocking method and related product | |
CN106656944B (en) | Method and device for sliding verification of handheld mobile equipment | |
CN103034429A (en) | Identity authentication method and device for touch screen | |
CN106209886A (en) | Web interface data encryption is endorsed method, device and server | |
CN104992120A (en) | Picture encryption method and mobile terminal | |
CN105654026A (en) | Fingerprint storage method and apparatus thereof, fingerprint identification method and apparatus thereof | |
CN104951684A (en) | Fingerprint encryption and decryption method and terminal | |
CN105809000A (en) | Information processing method and electronic device | |
CN105337739B (en) | Safe login method, device, server and terminal | |
CN104331650A (en) | Information processing method and electronic equipment | |
CN104252531A (en) | File type identification method and device | |
CN106648583B (en) | Information processing method and terminal | |
US10003462B2 (en) | Key generating method and apparatus | |
CN105354455A (en) | Status switching method and electronic equipment | |
CN107133500A (en) | The encryption method and mobile terminal of a kind of application program | |
CN104915588A (en) | Privacy protection method and device for electronic equipment | |
CN115220597A (en) | Data acquisition method, device, terminal, server and readable storage medium | |
CN107622208A (en) | Note encryption and decryption method and related product | |
CN110990821B (en) | Identity type verification method, device and storage medium | |
CN107066864B (en) | Application icon display method and device | |
Kim et al. | FakePIN: Dummy key based mobile user authentication scheme | |
CN103546287A (en) | Password verification method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151223 |