CN104318186A - Code switching method, equipment and terminal - Google Patents

Code switching method, equipment and terminal Download PDF

Info

Publication number
CN104318186A
CN104318186A CN201410508476.6A CN201410508476A CN104318186A CN 104318186 A CN104318186 A CN 104318186A CN 201410508476 A CN201410508476 A CN 201410508476A CN 104318186 A CN104318186 A CN 104318186A
Authority
CN
China
Prior art keywords
password
input
current
code
similarity
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
CN201410508476.6A
Other languages
Chinese (zh)
Other versions
CN104318186B (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.)
Xiamen Meitu Mobile Technology Co Ltd
Original Assignee
Xiamen Meitu Mobile Technology Co Ltd
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 Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201410508476.6A priority Critical patent/CN104318186B/en
Publication of CN104318186A publication Critical patent/CN104318186A/en
Application granted granted Critical
Publication of CN104318186B publication Critical patent/CN104318186B/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/31User authentication

Abstract

The invention discloses code switching equipment which stays in a movable terminal. The equipment comprises an input port, a storing unit, a verifying unit and a code switching control unit, wherein the input port is used for receiving an input code input from a touching screen of the movable terminal, the storing unit is used for storing a first code and a second code, the verifying unit is used for comparing the input code received by the touching screen with the current code, and determining that whether the code is successful according to the fact that whether the input code is consistent with the current code, the code switching control unit is used for setting the first code as the current code, when the verifying unit confirms that the verification is not successful, whether the similarity of the input code and the first code is larger than a first threshold value is judged, and when the similarity of the input code and the first code is larger than the first threshold value, the second code is set as the current code, so that the verifying unit can verify the later input code received through the input port according to the newly set current code. The invention further discloses the movable terminal which comprises the code switching equipment and a corresponding code switching method.

Description

A kind of password changing method, equipment and terminal
Technical field
The present invention relates to field of mobile communication, particularly a kind of password changing method, equipment and terminal.
Background technology
Along with the fast development of mobile internet, increasing user, except using mobile terminal as except means of communication, goes back the computer management tools as individual and amusement platform.The privacy information preserved in the terminal is also more and more and more and more important.Current mobile terminal generally all provides locking screen interface, and user needs on this locking screen interface, input correct unblock gesture or password, after unlocking successfully, just can use the function that mobile terminal provides.
But due to the portability of mobile terminal, user can use mobile terminal in various occasion, such as user likely uses mobile terminal in the occasion that people is a lot.At this time, user is when unlocking, and other people may see that user probably inputs which type of gesture or password.If user leaves mobile terminal a period of time, then other people can attempt, and can increase the danger that password is cracked like this.
Therefore, a kind of technical scheme can tackling the raising security of mobile terminal when user leaves mobile terminal is needed.
Summary of the invention
For this reason, the invention provides a kind of new password changing method, equipment and mobile terminal, to try hard to solve or at least alleviate Problems existing above.
According to an aspect of the present invention, provide a kind of password switching device, this equipment is in the terminal resident, and this equipment comprises: input interface, is suitable for receiving the input password inputted via the touch-screen of mobile terminal; Storage unit, is suitable for storing first password and the second password; Authentication unit, is suitable for the input password received via touch-screen and current password to compare, and determines whether password is proved to be successful according to whether described input password and current password be consistent; And password switch control unit, be suitable for first password to be set to current password, when authentication unit is determined to verify unsuccessful, judge whether the similarity inputting password and first password exceedes first threshold; When the similarity inputting password and first password exceedes first threshold, then the second password is set to current password, so that authentication unit is verified the follow-up input password received via input interface according to newly-installed current password.
Alternatively, in password switching device according to the present invention, password switch control unit is suitable for: when the unsuccessful number of times of described authentication unit continuous verification exceedes pre-determined number, if input password and first password similarity exceed first threshold, then the second password is set to current password, so that authentication unit is verified the follow-up input password received via input interface according to newly-installed current password.
Alternatively, in password switching device according to the present invention, when current password is first password, input interface receives with the input password of gesture form input; And when current password is the second password, input interface receives with the input password of numeric string form input.
Alternatively, in password switching device according to the present invention, password switch control unit calculates the connection code of input password and first password respectively, and calculates according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.
Alternatively, in password switching device according to the present invention, input password and first password are converted to corresponding numeric string by password switch control unit respectively, and each numeral obtained in each numeric string from second digit goes up the positional information of a numeral in nine grids relatively, according to pre-defined rule, positional information is converted to character, connects the character after conversion and obtain inputting the connection code of password and first password respectively.
Alternatively, in password switching device according to the present invention, the scope of first threshold is 50%-90%, is preferably 60%.
Alternatively, in password switching device according to the present invention, the scope of pre-determined number is 1-5, is preferably 3.
According to another aspect of the present invention, provide a kind of password changing method, the method is suitable for performing in the terminal, and described method comprises: first password is set to for the current password that compares of input password; Touch-screen via mobile terminal obtains input password; Described input password and current password are compared, to judge whether password authentification is proved to be successful; If verify unsuccessful, judge whether the similarity inputting password and first password exceedes first threshold; If the similarity of input password and first password exceedes first threshold, then the second password is set to current password, to verify the follow-up input password received according to newly-installed current password.
Alternatively, in password changing method according to the present invention, the step that second password is set to current password is comprised: when the unsuccessful number of times of described input password continuous verification exceedes pre-determined number, if the similarity of input password and first password exceedes first threshold, then the second password is set to current password, to verify the follow-up input password received according to newly-installed current password.
Alternatively, in password changing method according to the present invention, when current password is first password, described mobile terminal receives with the input password of gesture form input; And when current password is the second password, described mobile terminal receives with the input password of numeric string form input.
Alternatively, in password changing method according to the present invention, wherein also comprise step: the connection code calculating described input password and first password, and calculate according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.
Alternatively, in password changing method according to the present invention, the step calculating the connection code of input password and first password comprises: respectively described input password and first password are converted to corresponding numeric string; The each numeral obtained in each numeric string from second digit goes up the positional information of a numeral in nine grids relatively; According to pre-defined rule, positional information is converted to character; Connect the character after conversion and obtain inputting the connection code of password and first password respectively.
Alternatively, in password changing method according to the present invention, the scope of first threshold is 50%-90%, is preferably 60%.
Alternatively, in password changing method according to the present invention, the scope of pre-determined number is 1-5, is preferably 3.
According to an aspect of the present invention, provide a kind of mobile terminal, comprise touch-screen and password switching device as above.
According to technical scheme provided by the invention, first whether correct by the input password of the first password authentication of users pre-set, when failing the authentication, if first password and user input password the spitting image of, then enable the password of the second password to the follow-up input of user pre-set and verify.Because first password is usually very not identical with the second password, such as the complicacy of the second password is greater than first password, like this, even if user is during such as unlocking mobile terminal, the process of his unblock may be seen with the malicious persons of his and roughly remember password, if when the follow-up trial of this malicious persons unlocks, authentication password can be switched to more complicated and visibly different second password by system, thus malicious persons is made to be difficult to continue to attempt.Which increase the security of mobile terminal, effectively prevent because mobile terminal password is cracked the privacy leakage caused.
Accompanying drawing explanation
In order to realize above-mentioned and relevant object; combine description below and accompanying drawing herein to describe some illustrative aspect; these aspects indicate the various modes can putting into practice principle disclosed herein, and all aspects and equivalent aspect thereof are intended to fall in the scope of theme required for protection.Read detailed description below in conjunction with the drawings, above-mentioned and other object of the present disclosure, Characteristics and advantages will become more obvious.Throughout the disclosure, identical Reference numeral is often referred to for identical parts or element.
Fig. 1 shows the structured flowchart of a mobile terminal 100;
Fig. 2 shows the schematic diagram of password switching device 200 according to an embodiment of the invention;
Fig. 3 shows nine grids figure according to an embodiment of the invention; And
Fig. 4 shows the process flow diagram of password changing method 400 according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 100.The mobile terminal 100 with multiple point touching ability can comprise memory interface 102, one or more data processor, image processor and/or CPU (central processing unit) 104, and peripheral interface 106.
Memory interface 102, one or more processor 104 and/or peripheral interface 106 both can be discrete components, also can be integrated in one or more integrated circuit.In the mobile terminal 100, various element can be coupled by one or more communication bus or signal wire.Sensor, equipment and subsystem can be coupled to peripheral interface 106, to help to realize several functions.Such as, motion sensor 110, optical sensor 112 and range sensor 114 can be coupled to peripheral interface 106, to facilitate the functions such as orientation, illumination and range finding.Other sensors 116 can be connected with peripheral interface 106 equally, such as positioning system (such as GPS), temperature sensor, biometric sensor or other sensor devices, can help thus to implement relevant function.
Camera sub-system 120 and optical sensor 122 may be used for the realization of the camera function of convenient such as recording photograph and video clipping, and wherein said camera sub-system and optical sensor can be such as charge-coupled image sensor (CCD) or complementary metal oxide semiconductor (CMOS) (CMOS) optical sensor.
Can help realize communication function by one or more radio communication subsystem 124, wherein radio communication subsystem can comprise radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.The particular design of radio communication subsystem 124 and embodiment can depend on one or more communication networks that mobile terminal 100 is supported.Such as, mobile terminal 100 can comprise be designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and Bluebooth tMthe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, such as, to help the function of implementing to enable voice, speech recognition, speech reproduction, digital recording and telephony feature.
I/O subsystem 140 can comprise touch screen controller 142 and/or other input control devices 144 one or more.
Touch screen controller 142 can be coupled to touch-screen 146.For example, what this touch-screen 146 and touch screen controller 142 can use any one in multiple touch-sensing technology to detect to carry out with it contact and movement or time-out, and wherein detection technology is including, but not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
Other input control devices 144 one or more can be coupled to other input/control devicess 148, the indication equipment of such as one or more button, rocker switch, thumb wheel, infrared port, USB port and/or stylus and so on.One or more button (not shown) can comprise the up/down button for control loudspeaker 128 and/or microphone 130 volume.
Memory interface 102 can be coupled with storer 150.This storer 150 can comprise high-speed random access memory and/or nonvolatile memory, such as one or more disk storage device, one or more optical storage apparatus, and/or flash memories (such as NAND, NOR).
Storer 150 can store operating system 152, such as the operating system of Android, IOS or Windows Phone and so on.This operating system 152 can comprise the instruction of the task of depending on hardware for the treatment of basic system services and execution.Storer 150 can also store various application 154.When mobile device runs, meeting load operation system 152 from storer 150, and performed by processor 104.Application 154 operationally, also can load, and be performed by processor 104 from storer 150.Application 154 operates on operating system, the function that the various user of the Interface realization utilizing operating system and bottom hardware to provide expects, as instant messaging, web page browsing, pictures management etc.Application can provide independent of operating system, also can be that operating system carries.
In various application 154, one is wherein applied as password switching device 200, this equipment can be contrasted by the input password of user and the password pre-set, thus complicated password can be enabled, effectively prevent the situation that password is cracked when user leaves mobile terminal, the security of effective increase system.
Fig. 2 shows the schematic diagram of password switching device 200 according to an embodiment of the invention.As shown in Figure 2, password switching device 200 comprises input interface 210, authentication unit 220, storage element 230 and password switch control unit 240.
Generally speaking, user arranges password can to mobile terminal screen locking and various application, and when user leaves mobile terminal, other users may attempt input password and carry out unlocking or entering application.Therefore, when user input on mobile terminals password verify time, the touch-screen 146 in mobile terminal can obtain the input password of user, and this input password transmission is processed to password switching device 200.It should be noted that the present invention is not limited to this, all can start this password switching device application or terminal all within protection scope of the present invention.
Before the input password receiving user, storage unit 230 stores the first password and the second password that pre-set in mobile terminal 100.According to a kind of embodiment, first password is that the second password is the input password inputted in digital form with the input password of gesture form input.It should be noted that the present invention is not limited to the concrete form of the input of first password and the second password, the input mode of all first passwords and the second password is all within protection scope of the present invention.
According to a kind of embodiment, such as, in Android 4.2 operating system, for first password as above and the second password, can add in system and support that the interface of password is overlapped in input two, and obtained first password and second password of user's setting by the saveLockPattern module in amendment LockPatternUtils.java and saveLockPassword module, and cryptographic storage is in storage unit.
Before the input password from user is verified, the first password in password switch control unit 240 reading cells 230, and first password is set to the current password in authentication unit 220.
In password switching device 200, input interface 210 is of coupled connections authentication unit 220, and this authentication unit 220 obtains the input password of user via input interface 210.This input password is the input password that such as user inputs with gesture form.
Authentication unit 220 contrasts according to the input password received and first password, and determines whether to be proved to be successful according to the consistance of input password and first password.If password authentification success, then user can carry out subsequent operation.If password authentification failure, be then further processed by the password switch control unit 240 being couple to authentication unit 220.
When password authentification in authentication unit 220 is failed, password switch control unit 240, according to the input password of user and the first password in the storage unit 230 coupled, judges whether the similarity inputting password and first password exceedes first threshold.
According to one embodiment of the present invention, when password switch control unit 240 carries out similarity comparison to input password and first password, password switch control unit 240 calculates the connection code of input password and first password respectively, and calculates according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.
Password switch control unit 240 is when calculating the connection code of input password and first password, respectively input password and first password are converted to corresponding numeric string, and to obtain in each numeric string each numeral from second digit and relatively go up the positional information of a numeral in nine grids, according to pre-defined rule, positional information is converted to character, connects the character after conversion and obtain inputting the connection code of password and first password respectively.
Fig. 3 shows nine grids figure according to an embodiment of the invention;
According to an embodiment, as shown in Figure 3, take nine grids as template, password switch control unit 240 respectively gesture is inputted password and first password is converted to numeric string.Obtain an input password figure string upper digital positional information relative to each numeral in first password numeric string subsequently respectively.
With the numeric string of the input password after changing into 4569, the numeric string of first password is 1236 to be described for example.
In input password figure string:
Second digit is 5: the position of relatively going up a numeral 4 is right (Right).
Third digit is 6: the position of relatively going up a numeral 5 is right (Right).
Fourth digit is 9: the position of relatively going up a numeral 6 is below (Down).
In first password numeric string:
Second digit is 2: the position of relatively going up a numeral 1 is right (Right).
Third digit is 3: the position of relatively going up a numeral 2 is right (Right).
Fourth digit is 6: the position of relatively going up a numeral 3 is below (Down).
Subsequently, according to the position relationship of above-mentioned numeral, setting pre-defined rule, is converted to character by corresponding position relationship.
According to an embodiment, the pre-defined rule of position relationship is:
Top: U; Below: D; Left: L; Right: R;
Upper left: LU; Lower-left: LD; Upper right: RU; Bottom right: RD.
Therefore, the character connected after conversion obtains inputting the connection code of password and is: RRD, the connection code of first password is: RRD.
Subsequently, the similarity degree that contrast input password is connected code with first password obtains similarity.Therefore, in the above example, the similarity inputting password and first password is 100%.
When the similarity inputting password and first password exceedes first threshold, second password is set to current password by password switch control unit 240, so that authentication unit 220 is verified the follow-up input password received via input interface 210 according to newly-installed current password.
According to a kind of embodiment, the scope of first threshold is 50%-90%, preferably can be set to 60%.
According to an embodiment, when password switch control unit carries out input password and first password similarity comparison, LockPatternUtils.java can obtain the input password of user, and LockPatternUtils.java increases the contrast of input password and first password similarity by amendment checkPattern module and checkPassword module.When the similarity that password switch control unit determines to input password and first password is greater than first threshold, then the second password in reading cells password.key file under replacing data/system, finally realize password switching.
The connection code of input password and first password reflects when these passwords input in gesture mode, the tendency on screen.If the tendency of two passwords is very close, then connect code closely similar.Due to the portability of mobile terminal, the malicious user near mobile phone users is easy to see that user inputs the process of gesture, and roughly can guess and the tendency of gesture on screen.When input password is different from first password, but when there is similar tendency with first password again, can determine it is not user's erroneous input password, but other user may be had at the first password of conjecture user, therefore, the first password being used for verifying switches to and is obviously different from first password and wants the second complicated password by password switch control unit 240, thus can prevent password from being guessed out.
In addition, consider that user can input code error once in a while, user therefore can be allowed in restriction number of times, to continue input password and do not carry out password switching.According to an embodiment, when the unsuccessful number of times of authentication unit 220 continuous verification exceedes pre-determined number, now, if password switch control unit 240 determines that the similarity of first password in the storage unit 230 of input password and acquisition exceedes first threshold, second password is set to current password by password switch control unit 240, so that authentication unit 220 is verified the follow-up input password received via input interface 210 according to newly-installed current password.
According to a kind of embodiment, it is less that restriction number of times can be arranged, and the scope limiting number of times is 1-5 time.Limiting number of times is 3 times.
The present invention is not limited to the specific implementation of password switch control unit 240, allly can carry out the mode of password switching all within protection scope of the present invention to mobile terminal.
Fig. 4 shows the process flow diagram of password changing method 400 according to an illustrative embodiment of the invention.As shown in Figure 4, this implementation method is suitable for performing in the mobile terminal 100, such as, performed by the password switching device 200 described above with reference to Fig. 2, effectively the first password in mobile terminal is switched to the second password, increases the security of system.This password changing method starts from step S410.
In step S410, the user obtained on touch-screen inputs password.When user inputs password on mobile terminals, mobile terminal can obtain the input password of user, to perform subsequent step.It should be noted that the present invention is not limited to this, all can start this password changing method application or terminal all within protection scope of the present invention.
Before the input password receiving user, first password and the second password in mobile terminal, can be pre-set.According to a kind of embodiment, first password is that the second password is the input password inputted in digital form with the input password of gesture form input.It should be noted that the present invention is not limited to the concrete form of the input of first password and the second password, the input mode of all first passwords and the second password is all within protection scope of the present invention.
According to a kind of embodiment, such as, in Android 4.2 system, for first password as above and the second password, can add in system code and support that the interface of password is overlapped in input two, and obtained first password and second password of user's setting by the saveLockPattern module in amendment LockPatternUtils.java and saveLockPassword module, and cryptographic storage is in storage unit.
Before step S410, just can be set to the current password for verifying by first password.
Subsequently, in the step s 420, mobile terminal contrasts according to the input password of user in step S410 and current password, judges whether password is proved to be successful.Mobile terminal contrasts according to the first password of the input password received and acquisition, and determines whether to be proved to be successful according to the consistance of input password and first password.If password authentification success, then password changing method terminates.If password authentification failure, then perform step S430.
In step S430, according to the first password that the user obtained in step S410 inputs password and arranges in advance, judge whether the input password of user and the similarity of first password exceed first threshold.
According to an embodiment of the invention, in step S430, when similarity comparison is carried out to input password and first password, mobile terminal calculates the connection code of input password and first password respectively, and calculates according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.
Mobile terminal is when calculating the connection code of input password and first password, respectively input password and first password are converted to corresponding numeric string, and to obtain in each numeric string each numeral from second digit and relatively go up the positional information of a numeral in nine grids, according to pre-defined rule, positional information is converted to character, connects the character after conversion and obtain inputting the connection code of password and first password respectively.
The detailed description that the account form connecting code about each password can be carried out with reference to composition graphs 3 above, for simplicity, repeats no more here.
In step S430, when the similarity inputting password and first password exceedes first threshold, perform step S440, so that mobile terminal is verified the follow-up input password received according to newly-installed current password.
According to a kind of embodiment, the scope of first threshold is 50%-90%, preferably can be set to 60%.
According to an embodiment, when password switch control unit carries out input password and first password similarity comparison, LockPatternUtils.java can obtain the input password of user, and LockPatternUtils.java increases the contrast of input password and first password similarity by amendment checkPattern module and checkPassword module.
In step S430, consider that user can input code error once in a while, therefore when step S420 authentication failed, user can be allowed in restriction number of times, to continue input password and do not carry out password switching.When the unsuccessful number of times of authentication password continuous verification exceedes pre-determined number, if determine that input password and first password similarity exceed first threshold, then perform step S440, so that authentication unit is verified the follow-up input password received according to newly-installed current password.
According to a kind of embodiment, it is less that restriction number of times can be arranged, and the scope limiting number of times is 1-5 time.Limiting number of times is 3 times.
Subsequently, in step S440, the second password is set to current password, so that step S420 verifies follow-up input password according to newly-installed current password.
According to an embodiment, when the similarity that password switch control unit determines to input password and first password is greater than first threshold, the second password then in reading cells password.key file under replacing data/system, finally realize password and switch.
The connection code of input password and first password reflects when these passwords input in gesture mode, the tendency on screen.If the tendency of two passwords is very close, then connect code closely similar.Due to the portability of mobile terminal, the malicious user near mobile phone users is easy to see that user inputs the process of gesture, and roughly can guess and the tendency of gesture on screen.When input password is different from first password, but when there is similar tendency with first password again, can determine it is not user's erroneous input password, but other user may be had at the first password of conjecture user, therefore, the first password being used for verifying switches to and is obviously different from first password and wants the second complicated password by mobile terminal, thus can prevent password from being guessed out.
The present invention is not limited to the specific implementation of password method for handover control, allly can carry out the mode of password switching all within protection scope of the present invention to mobile terminal.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
A1: when current password is first password, described mobile terminal receives with the input password of gesture form input; And when current password is the second password, described mobile terminal receives with the input password of numeric string form input.A2: also comprise step: the connection code calculating described input password and first password, and calculate according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.A3: the step calculating the connection code of input password and first password comprises: respectively described input password and first password are converted to corresponding numeric string; The each numeral obtained in each numeric string from second digit goes up the positional information of a numeral in nine grids relatively; According to pre-defined rule, positional information is converted to character; Connect the character after conversion and obtain inputting the connection code of password and first password respectively.A4: the scope of first threshold is 50%-90%, is preferably 60%.A5: the scope of pre-determined number is 1-5, is preferably 3.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this instructions is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.

Claims (10)

1. a password switching device, this equipment is in the terminal resident, and this equipment comprises:
Input interface, is suitable for receiving the input password inputted via the touch-screen of mobile terminal;
Storage unit, is suitable for storing first password and the second password;
Authentication unit, is suitable for the input password received via touch-screen and current password to compare, and determines whether password is proved to be successful according to whether described input password and current password be consistent; And
Password switch control unit, is suitable for first password to be set to current password, when authentication unit is determined to verify unsuccessful, judges whether the similarity inputting password and first password exceedes first threshold; When the similarity inputting password and first password exceedes first threshold, then the second password is set to current password, so that authentication unit is verified the follow-up input password received via input interface according to newly-installed current password.
2. password switching device according to claim 1, wherein said password switch control unit is suitable for:
When the unsuccessful number of times of described authentication unit continuous verification exceedes pre-determined number, if input password and first password similarity exceed first threshold, then the second password is set to current password, so that authentication unit is verified the follow-up input password received via input interface according to newly-installed current password.
3. password switching device according to claim 1, wherein when current password is first password, described input interface receives with the input password of gesture form input; And when current password is the second password, described input interface receives with the input password of numeric string form input.
4. according to the password switching device in claim 1-3 described in any one, wherein said password switch control unit calculates the connection code of described input password and first password respectively, and calculates according to the similarity degree of the connection code inputting password and first password the similarity inputting password and first password.
5. according to the password switching device described in claim 4, described input password and first password are converted to corresponding numeric string by wherein said password switch control unit respectively, and each numeral obtained in each numeric string from second digit goes up the positional information of a numeral in nine grids relatively, according to pre-defined rule, positional information is converted to character, connects the character after conversion and obtain inputting the connection code of password and first password respectively.
6., according to the password switching device in claim 1-3 described in any one, the scope of wherein said first threshold is 50%-90%, is preferably 60%.
7., according to the password switching device in claim 1-3 described in any one, the scope of wherein said pre-determined number is 1-5, is preferably 3.
8. a password changing method, the method is suitable for performing in the terminal, and described method comprises:
First password is set to for the current password that compares of input password;
Touch-screen via mobile terminal obtains input password;
Described input password and current password are compared, to judge whether password authentification is proved to be successful;
If verify unsuccessful, judge whether the similarity inputting password and first password exceedes first threshold;
If the similarity of input password and first password exceedes first threshold, then the second password is set to current password, to verify the follow-up input password received according to newly-installed current password.
9. password changing method according to claim 8, the wherein said step second password being set to current password comprises:
When the unsuccessful number of times of described input password continuous verification exceedes pre-determined number, if the similarity of input password and first password exceedes first threshold, then the second password is set to current password, to verify the follow-up input password received according to newly-installed current password.
10. a mobile terminal, comprises touch-screen and as the password switching device in claim 1-7 as described in any one.
CN201410508476.6A 2014-09-28 2014-09-28 A kind of password changing method, equipment and terminal Active CN104318186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410508476.6A CN104318186B (en) 2014-09-28 2014-09-28 A kind of password changing method, equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410508476.6A CN104318186B (en) 2014-09-28 2014-09-28 A kind of password changing method, equipment and terminal

Publications (2)

Publication Number Publication Date
CN104318186A true CN104318186A (en) 2015-01-28
CN104318186B CN104318186B (en) 2017-03-15

Family

ID=52373417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410508476.6A Active CN104318186B (en) 2014-09-28 2014-09-28 A kind of password changing method, equipment and terminal

Country Status (1)

Country Link
CN (1) CN104318186B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780162A (en) * 2015-03-24 2015-07-15 深圳市艾优尼科技有限公司 Authentication information verification method
CN106203012A (en) * 2016-06-22 2016-12-07 中国联合网络通信集团有限公司 The processing method of screen locking, device and equipment
CN106330448A (en) * 2015-06-30 2017-01-11 华为软件技术有限公司 User legality verification method and system, and devices
CN106453243A (en) * 2016-08-29 2017-02-22 捷开通讯(深圳)有限公司 Server, terminal and validation method of authorization code of terminal
CN106682488A (en) * 2017-01-04 2017-05-17 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN106778225A (en) * 2017-01-24 2017-05-31 北京小米移动软件有限公司 The method and apparatus for processing password
CN108268761A (en) * 2016-12-31 2018-07-10 中国移动通信集团北京有限公司 A kind of method of password authentication and device
CN110324360A (en) * 2019-08-02 2019-10-11 联永智能科技(上海)有限公司 Offline cryptogram setting, management method, device, system, server and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5592553A (en) * 1993-07-30 1997-01-07 International Business Machines Corporation Authentication system using one-time passwords
US5793952A (en) * 1996-05-17 1998-08-11 Sun Microsystems, Inc. Method and apparatus for providing a secure remote password graphic interface
CN102411682A (en) * 2011-08-01 2012-04-11 吴成贵 Password setting and authentication method
CN102693380A (en) * 2012-05-07 2012-09-26 李良 Password authentication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5592553A (en) * 1993-07-30 1997-01-07 International Business Machines Corporation Authentication system using one-time passwords
US5793952A (en) * 1996-05-17 1998-08-11 Sun Microsystems, Inc. Method and apparatus for providing a secure remote password graphic interface
CN102411682A (en) * 2011-08-01 2012-04-11 吴成贵 Password setting and authentication method
CN102693380A (en) * 2012-05-07 2012-09-26 李良 Password authentication method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780162A (en) * 2015-03-24 2015-07-15 深圳市艾优尼科技有限公司 Authentication information verification method
CN106330448A (en) * 2015-06-30 2017-01-11 华为软件技术有限公司 User legality verification method and system, and devices
CN106330448B (en) * 2015-06-30 2020-03-10 华为技术有限公司 User validity verification method, device and system
CN106203012A (en) * 2016-06-22 2016-12-07 中国联合网络通信集团有限公司 The processing method of screen locking, device and equipment
CN106453243A (en) * 2016-08-29 2017-02-22 捷开通讯(深圳)有限公司 Server, terminal and validation method of authorization code of terminal
CN106453243B (en) * 2016-08-29 2019-11-29 捷开通讯(深圳)有限公司 The verification method of server, terminal and its authorization code
CN108268761A (en) * 2016-12-31 2018-07-10 中国移动通信集团北京有限公司 A kind of method of password authentication and device
CN108268761B (en) * 2016-12-31 2020-03-24 中国移动通信集团北京有限公司 Password verification method and device
CN106682488A (en) * 2017-01-04 2017-05-17 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN106778225A (en) * 2017-01-24 2017-05-31 北京小米移动软件有限公司 The method and apparatus for processing password
CN110324360A (en) * 2019-08-02 2019-10-11 联永智能科技(上海)有限公司 Offline cryptogram setting, management method, device, system, server and medium

Also Published As

Publication number Publication date
CN104318186B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN104318186A (en) Code switching method, equipment and terminal
KR102214503B1 (en) Method of detecting fingerprint and electronic device thereof
KR101961052B1 (en) Embedded authentication systems in an electronic device
US9762573B2 (en) Biometric framework allowing independent application control
WO2018137448A1 (en) Method for fingerprint recognition of terminal, and mobile terminal
US20140344896A1 (en) Method and apparatus for using electronic device
KR101552587B1 (en) Location-based access control for portable electronic device
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
US20150169858A1 (en) Pluggable authentication mechanism for mobile device applications
KR20190072655A (en) Authentication methods and electronic devices
JP2013239184A (en) Method and system for graphical passcode security
CN110515533B (en) Electronic equipment shortcut operation method and device, electronic equipment and storage medium
CN104902028A (en) Onekey registration authentication method, device and system
TW201351186A (en) Electronic device including finger-operated input device based biometric matching and related methods
CN104902479A (en) Network security management equipment and method and mobile terminal
CN105426722A (en) Device and method for unlocking mobile terminal
CN104992099A (en) Fingerprint recognition application, method, mobile phone shell and system
WO2017008348A1 (en) Data card switching control method and apparatus, and terminal device
CN104318185A (en) Application control method, application control equipment and mobile terminal
WO2015060957A1 (en) Techniques for determining a change in users
WO2018107396A1 (en) Fingerprint recognition method and terminal device
JP2019504566A (en) Information image display method and apparatus
JP2019505870A (en) Method, system and apparatus for triggering a process
CN107045599B (en) Data query method and electronic equipment
CN104809402A (en) Fuzzy display method for information and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant