CN104318186B - A kind of password changing method, equipment and terminal - Google Patents

A kind of password changing method, equipment and terminal Download PDF

Info

Publication number
CN104318186B
CN104318186B CN201410508476.6A CN201410508476A CN104318186B CN 104318186 B CN104318186 B CN 104318186B CN 201410508476 A CN201410508476 A CN 201410508476A CN 104318186 B CN104318186 B CN 104318186B
Authority
CN
China
Prior art keywords
password
input
current
threshold
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.)
Active
Application number
CN201410508476.6A
Other languages
Chinese (zh)
Other versions
CN104318186A (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 a kind of password switching equipment, the equipment is resident in the terminal, and the equipment includes:Input interface, is suitable to the input password for receiving the touch-screen input via mobile terminal;Memory cell, is suitable to store first password and the second password;Whether authentication unit, the input password for being suitable to receive via touch-screen are compared with current password, and consistent with current password determining whether password is proved to be successful according to the input password;And password switch control unit, it is suitable to for first password to be set to current password, when authentication unit determines verifies unsuccessful, judges to be input into whether password exceedes first threshold with the similarity of first password;When the similarity for being input into password and first password exceedes first threshold, then the second password is set to current password, so that authentication unit is verified to the follow-up input password received via input interface according to newly-installed current password.The invention also discloses the mobile terminal comprising the password switching equipment and corresponding password changing method.

Description

A kind of password changing method, equipment and terminal
Technical field
The present invention relates to field of mobile communication, more particularly to a kind of password changing method, equipment and terminal.
Background technology
With the fast development of mobile internet, increasing user is except using mobile terminal as means of communication Outside, also as personal computer management tools and amusement platform.The privacy information for preserving in the terminal is also more and more And it is more and more important.Current mobile terminal typically all provides locking screen interface, and user needs just to be input on the locking screen interface True unblock gesture or password, after unblock success, the function that just can be provided using mobile terminal.
However, due to the portability of mobile terminal, user can use mobile terminal, such as user to have in various occasions Mobile terminal may be used in a lot of occasion of people.At this time, user when being unlocked, other people may can be appreciated that user is big Which type of gesture or password are generally input.If user leaves mobile terminal for a period of time, other people can be attempted, The danger that password is cracked can so be increased.
Accordingly, it would be desirable to a kind of cope with the technical side for improving security of mobile terminal when user leaves mobile terminal Case.
Content of the invention
For this purpose, the present invention provides a kind of new password changing method, equipment and mobile terminal, to try hard to solve or at least Alleviate the problem for existing above.
According to an aspect of the present invention, there is provided a kind of password switching equipment, the equipment is resident in the terminal, and this sets Standby include:Input interface, is suitable to the input password for receiving the touch-screen input via mobile terminal;Memory cell, is suitable to store First password and the second password;Authentication unit, the input password for being suitable to receive via touch-screen are compared with current password Compared with, and whether consistent with current password determining whether password is proved to be successful according to the input password;And password switching control Unit processed, is suitable to for first password to be set to current password, when authentication unit determine checking unsuccessful when, judge input password with Whether the similarity of first password exceedes first threshold;When the similarity for being input into password and first password exceedes first threshold, The second password is set to current password then, so as to authentication unit according to newly-installed current password to receiving via input interface Follow-up input password verified.
Alternatively, in the password switching equipment according to the present invention, password switch control unit is suitable to:When the checking list When the unsuccessful number of times of first continuous verification exceedes pre-determined number, if input password with first password similarity more than the first threshold Value, then be set to current password by the second password, so as to authentication unit according to newly-installed current password to via input interface The follow-up input password for receiving is verified.
Alternatively, in the password switching equipment according to the present invention, when current password is first password, input interface connects Receive the input password being input into gesture form;And when current password is the second password, input interface is received with numeric string form The input password of input.
Alternatively, in the password switching equipment according to the present invention, password switch control unit calculates input password respectively With the connection code of first password, and input password is calculated according to the similarity degree of the connection code of input password and first password Similarity with first password.
Alternatively, according to the present invention password switching equipment in, password switch control unit respectively will input password and First password is converted to corresponding numeric string, and obtains each numeral started from second digit in each numeric string and go up relatively one Positional information of the individual numeral in nine grids, converts location information into character, the word after connection is converted according to pre-defined rule Symbol and respectively obtain input password and first password connection code.
Alternatively, in the password switching equipment according to the present invention, the scope of first threshold is 50%-90%, preferably For 60%.
Alternatively, in the password switching equipment according to the present invention, the scope of pre-determined number is 1-5, it is therefore preferable to 3.
According to another aspect of the present invention, there is provided a kind of password changing method, the method is suitable to hold in the terminal OK, methods described includes:First password is provided for and is input the current password that password is compared;Via mobile terminal Touch-screen obtain input password;The input password is compared with current password, to judge whether password authentification is verified Success;If checking is unsuccessful, judge to be input into whether password exceedes first threshold with the similarity of first password;If input is close Code exceedes first threshold with the similarity of first password, then the second password is set to current password, so as to according to newly-installed Current password is verified to the follow-up input password for receiving.
Alternatively, according to bag the step of in password changing method of the invention, the second password being set to current password Include:When the unsuccessful number of times of the input password continuous verification exceedes pre-determined number, if input password and first password Similarity exceedes first threshold, then the second password is set to current password, so that according to newly-installed current password to receiving Follow-up input password verified.
Alternatively, in the password changing method according to the present invention, when current password is first password, described mobile whole End receives the input password being input into gesture form;And when current password is the second password, the mobile terminal is received with number The input password of word string form input.
Alternatively, in the password changing method according to the present invention, wherein also include step:Calculate described input password with The connection code of first password, and according to the similarity degree of the connection code of input password and first password be calculated input password with The similarity of first password.
Alternatively, in the password changing method according to the present invention, input password is calculated with the connection code of first password Step includes:The input password and first password are converted to corresponding numeric string respectively;Obtain in each numeric string from second Each numeral that individual numeral starts goes up positional information of the numeral in nine grids relatively;According to pre-defined rule by positional information Be converted to character;Connection converted after character and respectively obtain input password and first password connection code.
Alternatively, in the password changing method according to the present invention, the scope of first threshold is 50%-90%, preferably For 60%.
Alternatively, in the password changing method according to the present invention, the scope of pre-determined number is 1-5, it is therefore preferable to 3.
According to an aspect of the present invention, there is provided a kind of mobile terminal, switch including touch-screen and password as above Equipment.
According to the technical scheme that the present invention is provided, the first password by pre-setting first verifies the input password of user Whether correct, when failing the authentication, if the password of first password and user input is like enabling second for pre-setting close Code is verifying to the password of the follow-up input of user.Due to first password and the second password generally quite different, such as second The complexity of password is more than first password, so, even if user is during for example to mobile terminal unblock, with the malice of his Personnel may see the process of his unblock and substantially remember password, if the malicious persons are subsequently attempted unlocking, system Checking password can be switched to more complicated and visibly different second password, so that malicious persons are difficult to continue to attempt to.This The security of mobile terminal is improve, is effectively prevented because mobile terminal password is cracked the privacy leakage for causing.
Description of the drawings
In order to realize above-mentioned and related purpose, some illustrative sides are described herein in conjunction with explained below and accompanying drawing Face, indicate in terms of these can be to put into practice principles disclosed herein various modes, and all aspects and its equivalent aspect It is intended to fall under in the range of theme required for protection.By being read in conjunction with the accompanying detailed description below, the disclosure above-mentioned And other purposes, feature and advantage will be apparent from.Throughout the disclosure, identical reference generally refers to identical Part or element.
Fig. 1 shows the structured flowchart of a mobile terminal 1 00;
Fig. 2 shows the schematic diagram of password switching equipment according to an embodiment of the invention 200;
Fig. 3 shows nine grids figure according to an embodiment of the invention;And
The flow chart that Fig. 4 shows password changing method according to an embodiment of the invention 400.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 1 00.The mobile terminal 1 00 with multiple point touching ability can include storage Device interface 102, one or more data processors, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processors 104 and/or peripheral interface 106 can both be discrete components, Can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can communicate by one or more Bus or holding wire are coupling.Sensor, equipment and subsystem may be coupled to peripheral interface 106, so as to help realize multiple Function.For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with side Just orientation, illumination and range finding etc. function.Other sensors 116 equally can be connected with peripheral interface 106, such as alignment system (such as GPS), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help implement correlation Function.
Camera sub-system 120 and optical pickocff 122 can be used for the camera of convenient such as recording photograph and video clipping The realization of function, wherein described camera sub-system and optical pickocff can for example be charge-coupled image sensor (CCD) or complementary gold Category oxide semiconductor (CMOS) optical pickocff.
Can help realize communication function, wherein wireless communication by one or more radio communication subsystems 124 System can include radio-frequency transmitter and emitter and/or light (for example infrared) Receiver And Transmitter.Radio communication subsystem 124 particular design and embodiment can depend on one or more communication networks that mobile terminal 1 00 is supported.For example, Mobile terminal 1 00 can include being designed to supporting GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and BlueboothTMThe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, to help implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystems 140 can include touch screen controller 142 and/or other input controllers 144 one or more.
Touch screen controller 142 may be coupled to touch-screen 146.For example, the touch-screen 146 and touch screen controller 142 can detect the contact and movement or time-out for carrying out therewith using any one of multiple touch-sensing technology, its Middle detection technology includes but is not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
Other input controllers 144 one or more may be coupled to other input/control devicess 148, such as one or The pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or instruction pen etc.One or Multiple buttons (not shown) can include the up/down button for 130 volume of controlling loudspeaker 128 and/or microphone.
Memory interface 102 can be coupled with memory 150.The memory 150 can be deposited including high random access Reservoir and/or nonvolatile memory, for example one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as NAND, NOR).
Memory 150 can be with storage program area 152, the such as behaviour of Android, IOS or Windows Phone etc Make system.The operating system 152 can include for process basic system services and execute depend on hardware task finger Order.Memory 150 can also store various applications 154.When mobile device runs, can from memory 150 loading operation be System 152, and executed by processor 104.Application 154 operationally, also can be loaded from memory 150, and by processor 104 Execute.Application 154 is operated on operating system, and the interface provided using operating system and bottom hardware realizes various users Desired function, such as instant messaging, web page browsing, pictures management etc..Application can be independently of operating system offer, also may be used Being that operating system is carried.
In various applications 154, a kind of application therein is password switching equipment 200, and the equipment can be by user's Input password and the password for pre-setting are contrasted, and such that it is able to enable complicated password, effectively prevent from leaving shifting as user The situation that password is cracked during dynamic terminal, is effectively increased the security of system.
Fig. 2 shows the schematic diagram of password switching equipment according to an embodiment of the invention 200.As shown in Fig. 2 password Switching equipment 200 includes input interface 210, authentication unit 220, storage element 230 and password switch control unit 240.
In general, user arranges password can to mobile terminal screen locking and various applications, when user leaves mobile terminal, Other users may attempt to be input into password to be unlocked or enter application.Therefore, when user be input on mobile terminals close When code is verified, the touch-screen 146 in mobile terminal can obtain the input password of user, and the input password is transferred to close Code switching equipment 200 is processed.It should be noted that the present invention is not only restricted to this, all can start password switching and set Standby application or terminal are all within protection scope of the present invention.
Before the input password of receive user, memory cell 230 is stored with mobile terminal 1 00 first for pre-setting Password and the second password.According to a kind of embodiment, first password is that the second password is with the input password of gesture form input The input password inputing in digital form.It should be noted that the present invention is not only restricted to the input of first password and the second password Concrete form, the input mode of all of first password and the second password is all within protection scope of the present invention.
According to a kind of embodiment, for example, in 4.2 operating system of Android, for first password as above and second Password, can add the interface for supporting two sets of passwords of input in system, and by changing in LockPatternUtils.java SaveLockPattern modules and saveLockPassword modules obtain the first password and the second password of user setup, and Encryption is stored in memory cell.
Before verifying to the input password from user, password switch control unit 240 reads memory cell 230 In first password, and first password is set to the current password in authentication unit 220.
In password switching equipment 200, input interface 210 is of coupled connections authentication unit 220, the authentication unit 220 via Input interface 210 obtains the input password of user.The input password is the input password that such as user is input into gesture form.
Authentication unit 220 is contrasted with first password according to the input password for receiving, and according to input password and the The uniformity of one password is determining whether to be proved to be successful.If password authentification success, user can carry out subsequent operation.If Password authentification fails, then be further processed by the password switch control unit 240 for being couple to authentication unit 220.
When in authentication unit 220, password authentification fails, password switch control unit 240 according to the input password of user and Whether the first password in the memory cell 230 of coupling, judge the similarity for being input into password and first password more than the first threshold Value.
According to one embodiment of the present invention, enter with first password in 240 pairs of input passwords of password switch control unit During row similarity comparison, password switch control unit 240 calculates the connection code of input password and first password respectively, and according to Input password is calculated the similarity for being input into password and first password with the similarity degree of the connection code of first password.
Password switch control unit 240 will input password respectively when the connection code of input password and first password is calculated Corresponding numeric string is converted to first password, and is obtained and is started each numeral from second digit in each numeric string and go up relatively one Positional information of the individual numeral in nine grids, converts location information into character, the word after connection is converted according to pre-defined rule Symbol and respectively obtain input password and first password connection code.
Fig. 3 shows nine grids figure according to an embodiment of the invention;
According to one embodiment, as shown in figure 3, with nine grids as template, password switch control unit 240 is respectively by gesture Input password and first password are converted to numeric string.Subsequently obtain respectively every in input password figure string and first password numeric string Individual numeral goes up a digital positional information relatively.
, into 4569, the numeric string of first password is for illustrating as a example by 1236 for the numeric string of the input password after changing.
In input password figure string:
Second digit is 5:With respect to a upper numeral 4 position be right (Right).
Third digit is 6:With respect to a upper numeral 5 position be right (Right).
Fourth digit is 9:With respect to a upper numeral 6 position be lower section (Down).
In first password numeric string:
Second digit is 2:With respect to a upper numeral 1 position be right (Right).
Third digit is 3:With respect to a upper numeral 2 position be right (Right).
Fourth digit is 6:With respect to a upper numeral 3 position be lower section (Down).
Subsequently, according to the position relationship of above-mentioned numeral, pre-defined rule is set, corresponding position relationship is converted to character.
According to an embodiment, the pre-defined rule of position relationship is:
Top:U;Lower section:D;Left:L;Right:R;
Upper left:LU;Lower-left:LD;Upper right:RU;Bottom right:RD.
Therefore, the character after connection is converted obtains being input into the connection code of password:RRD, the connection code of first password is: RRD.
Subsequently, contrast input password is connected the similarity degree of code and obtains similarity with first password.Therefore, superincumbent show In example, the similarity for being input into password and first password is 100%.
When the similarity for being input into password and first password exceedes first threshold, password switch control unit 240 is by second Password is set to current password, so as to authentication unit 220 according to newly-installed current password to receiving via input interface 210 Follow-up input password is verified.
According to a kind of embodiment, the scope of first threshold is 50%-90%, preferably could be arranged to 60%.
According to one embodiment, when password switch control unit carries out being input into password with first password similarity comparison, LockPatternUtils.java can obtain the input password of user, and LockPatternUtils.java is by modification CheckPattern modules and checkPassword modules increase the contrast of input password and first password similarity.Work as password When switch control unit determines that the similarity of input password and first password is more than first threshold, then read the in memory cell Two passwords the password.key files under replacing data/system, finally realize that password switches.
The connection code of input password and first password is reflected when these passwords are input in gesture mode, on screen Tendency.If the tendency of two passwords is very close to connection code is closely similar.Due to the portability of mobile terminal, mobile whole Malicious user near end subscriber is easy to the process for seeing user input gesture, it is possible to substantially guess gesture on screen Tendency.When input password is different from first password, but when there is similar tendency with first password again, it may be determined that be not to use Family erroneous input password, but may have first password of other users in conjecture user, therefore, password switch control unit 240 First password for checking is switched to the second password for differing markedly from first password and will be complicated, such that it is able to anti- Only password is hypothesized out.
Furthermore, it is contemplated that user can be input into code error once in a while, user therefore can be allowed to continue in restriction number of times defeated Enter password and do not carry out password switching.According to one embodiment, when the unsuccessful number of times of 220 continuous verification of authentication unit exceedes in advance When determining number of times, now, if password switch control unit 240 determines that input password is first close with the memory cell 230 of acquisition The similarity of code exceedes first threshold, and the second password is set to current password by password switch control unit 240, so as to checking list Unit 220 is verified to 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 limits the scope of number of times as 1-5 time.Limit secondary Number is 3 times.
The present invention is not only restricted to the specific implementation of password switch control unit 240, all mobile terminal can be entered The mode of row password switching is all within protection scope of the present invention.
The flow chart that Fig. 4 shows password changing method 400 according to an illustrative embodiment of the invention.Such as Fig. 4 institutes Show, present implementation is suitable to execute in the mobile terminal 100, for example, held by the password switching equipment 200 described above with reference to Fig. 2 OK, so that the first password in mobile terminal is switched to the second password effectively, increase the security of system.The password switching Method starts from step S410.
In step S410, the user input password on touch-screen is obtained.When user input password on mobile terminals, Mobile terminal can obtain the input password of user, to execute subsequent step.It should be noted that the present invention is not only restricted to this, All applications that can start the password changing method or terminal are all within protection scope of the present invention.
Before the input password of receive user, first password and the second password in mobile terminal, can be pre-set.According to A kind of embodiment, first password are the input password being input into gesture form, and the second password is be input in digital form defeated Enter password.It should be noted that the present invention is not only restricted to the concrete form of the input of first password and the second password, all of The input mode of one password and the second password is all within protection scope of the present invention.
According to a kind of embodiment, for example, in 4.2 system of Android, for first password as above and the second password, The interface for supporting two sets of passwords of input can be added in system code, and by changing in LockPatternUtils.java SaveLockPattern modules and saveLockPassword modules obtain the first password and the second password of user setup, and Encryption is stored in memory cell.
Before step S410, just the current password that verifies can be provided for by first password.
Subsequently, in the step s 420, mobile terminal is carried out with current password according to the input password of user in step S410 Contrast, judges whether password is proved to be successful.It is right that mobile terminal is carried out according to the input password for receiving and the first password for obtaining Than, and determine whether to be proved to be successful according to the uniformity of input password and first password.If password authentification success, password Changing method terminates.If password authentification fails, execution step S430.
In step S430, according to the user input password and the first password for arranging in advance that obtain in step S410, Judge whether the similarity of the input password and first password of user exceedes first threshold.
According to an embodiment of the invention, in step S430, similarity is carried out to being input into password with first password During contrast, mobile terminal calculates the connection code of input password and first password respectively, and according to input password and first password The similarity degree of connection code be calculated the similarity of input password and first password.
Mobile terminal will be input into password respectively and first password will turn when the connection code of input password and first password is calculated Corresponding numeric string is changed to, and is obtained and started each numeral from second digit in each numeric string and a numeral is gone up relatively in nine palaces Positional information in lattice, converts location information into character according to pre-defined rule, connect converted after character and respectively obtain Input password and the connection code of first password.
Calculation about each password connection code may be referred to the detailed description carried out above in conjunction with Fig. 3, for letter For the sake of clean, repeat no more here.
In step S430, when the similarity for being input into password and first password exceedes first threshold, execution step S440, So that mobile terminal is verified to the follow-up input password for receiving according to newly-installed current password.
According to a kind of embodiment, the scope of first threshold is 50%-90%, preferably could be arranged to 60%.
According to one embodiment, when password switch control unit carries out being input into password with first password similarity comparison, LockPatternUtils.java can obtain the input password of user, and LockPatternUtils.java is by modification CheckPattern modules and checkPassword modules increase the contrast of input password and first password similarity.
In step S430, it is contemplated that user can be input into code error once in a while, therefore when step S420 authentication failed, can To allow user persistently password to be input in restriction number of times password switching is not carried out.When checking password continuous verification unsuccessful When number of times exceedes pre-determined number, if it is determined that input password exceedes first threshold with first password similarity, then execution step S440, so that authentication unit is verified to the follow-up input password for receiving according to newly-installed current password.
According to a kind of embodiment, it is less that restriction number of times can be arranged, and limits the scope of number of times as 1-5 time.Limit secondary Number is 3 times.
Subsequently, in step S440, the second password is set to current password, so that step S420 is worked as according to newly-installed Front password is verified to follow-up input password.
According to one embodiment, when password switch control unit determines the similarity of input password and first password more than the During one threshold value, then the second password in memory cell the password.key files under replacing data/system is read, finally Realize that password switches.
The connection code of input password and first password is reflected when these passwords are input in gesture mode, on screen Tendency.If the tendency of two passwords is very close to connection code is closely similar.Due to the portability of mobile terminal, mobile whole Malicious user near end subscriber is easy to the process for seeing user input gesture, it is possible to substantially guess gesture on screen Tendency.When input password is different from first password, but when there is similar tendency with first password again, it may be determined that be not to use Family erroneous input password, but may have first password of other users in conjecture user, therefore, mobile terminal is by for checking First password switches to the second password for differing markedly from first password and will be complicated, such that it is able to prevent password to be hypothesized Out.
The present invention is not only restricted to the specific implementation of password method for handover control, all mobile terminal can be carried out close The mode of code switching is all within protection scope of the present invention.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, knot are not been shown in detail Structure and technology, so as not to obscure the understanding of this description.
A1:When current password is first password, the mobile terminal receives the input password being input into gesture form;And When current password is the second password, the mobile terminal receives the input password being input into numeric string form.A2:Also include walking Suddenly:The connection code of the input password and first password is calculated, and similar to the connection code of first password according to input password Degree calculates the similarity of input password and first password.A3:Calculate the step of being input into the connection code of password and first password Including:The input password and first password are converted to corresponding numeric string respectively;Obtain in each numeric string from the second number Each numeral that word starts goes up positional information of the numeral in nine grids relatively;Positional information is changed according to pre-defined rule For character;Connection converted after character and respectively obtain input password and first password connection code.A4:The model of first threshold Enclose for 50%-90%, it is therefore preferable to 60%.A5:The scope of pre-determined number is 1-5, it is therefore preferable to 3.
Similarly, it will be appreciated that in order to simplify the disclosure helping understand one or more in each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should not be construed to reflect following intention by the method for the disclosure:I.e. required guarantor The feature more features is expressly recited in each claim by the application claims ratio of shield.More precisely, as following As claims are reflected, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself Separate embodiments as the present invention.
Those skilled in the art should be understood the module of the equipment in example disclosed herein or unit or group Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined as a module or be segmented in addition multiple Submodule.
Those skilled in the art be appreciated that can to embodiment in equipment in module carry out adaptively Change and they are arranged in one or more equipment different from the embodiment.Can be the module in embodiment or list Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
Additionally, some heres in the embodiment be described as can be by the processor of computer system or by executing The combination of method or method element that other devices of the function are implemented.Therefore, with for implementing methods described or method The processor of the necessary instruction of element is formed for implementing the device of the method or method element.Additionally, device embodiment Element described in this is the example of following device:The device is used for implementing by order to implement performed by the element of the purpose of the invention Function.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc. Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being so described must There must be the given order that the time is upper, spatially, in terms of sequence or in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art is benefited from Interior it is clear for the skilled person that in the scope of the present invention for thus describing, it can be envisaged that other embodiments.Additionally, it should be noted that Language used in this specification primarily to the purpose of readable and teaching and select, rather than in order to explain or limit Determine subject of the present invention and select.Therefore, in the case of without departing from the scope of the appended claims and spirit, for this For the those of ordinary skill of technical field, many modifications and changes will be apparent from.For the scope of the present invention, to this The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (19)

1. a kind of password switching equipment, the equipment are resident in the terminal, and the equipment includes:
Input interface, is suitable to the input password for receiving the touch-screen input via mobile terminal;
Memory cell, is suitable to store first password and the second password;
Authentication unit, the input password for being suitable to receive via touch-screen are compared with current password, and according to described defeated Enter password whether consistent with current password determining whether password is proved to be successful;And
Password switch control unit, is suitable to for first password to be set to current password, when authentication unit determines verifies unsuccessful, Judge to be input into whether password exceedes first threshold with the similarity of first password;When input password is surpassed with the similarity of first password When crossing first threshold, then the second password is set to current password, so as to authentication unit according to newly-installed current password to warp Verified by the follow-up input password that input interface is received.
2. password switching equipment according to claim 1, wherein described password switch control unit are suitable to:
When the unsuccessful number of times of the authentication unit continuous verification exceedes pre-determined number, if input password and first password phase Exceed first threshold like degree, then the second password is set to current password, so that authentication unit is according to newly-installed current password The follow-up input password received via input interface is verified.
3. password switching equipment according to claim 1, wherein when current password is first password, the input interface Receive the input password being input into gesture form;And when current password is the second password, the input interface is received with numeral The input password of string form input.
4. according to any one of password switching equipment in claim 1-3, wherein described password switch control unit point The connection code of the input password and first password, and the similar journey of connection code according to input password and first password are not calculated Degree is calculated the similarity of input password and first password.
5., according to the password switching equipment described in claim 4, wherein described password switch control unit respectively will be described defeated Enter password and first password is converted to corresponding numeric string, and obtain each numeral started from second digit in each numeric string With respect to positional information of the upper numeral in nine grids, character is converted location information into according to pre-defined rule, connection is through turning Character after changing and respectively obtain the connection code of input password and first password.
6., according to any one of password switching equipment in claim 1-3, the scope of wherein described first threshold is 50%-90%.
7. password switching equipment according to claim 6, wherein described first threshold are 60%.
8. password switching equipment according to claim 2, the scope of wherein described pre-determined number is 1-5.
9. password switching equipment according to claim 8, wherein described pre-determined number are 3.
10. a kind of password changing method, the method are suitable to execute in the terminal, and methods described includes:
First password is provided for and is input the current password that password is compared;
Input password is obtained via the touch-screen of mobile terminal;
The input password is compared with current password, to judge whether password authentification is proved to be successful;
If checking is unsuccessful, judge to be input into whether password exceedes first threshold with the similarity of first password;
If input password exceedes first threshold with the similarity of first password, the second password is set to current password, with Just the follow-up input password for receiving is verified according to newly-installed current password.
11. password changing methods according to claim 10, the wherein described step that second password is set to current password Suddenly include:
When the unsuccessful number of times of the input password continuous verification exceedes pre-determined number, if input password and first password Similarity exceedes first threshold, then the second password is set to current password, so that according to newly-installed current password to receiving Follow-up input password verified.
12. password changing methods according to claim 10, wherein when current password is first password, described mobile whole End receives the input password being input into gesture form;And when current password is the second password, the mobile terminal is received with number The input password of word string form input.
13., according to any one of password changing method in claim 10-12, wherein also include step:
The connection code of the input password and first password is calculated, and similar to the connection code of first password according to input password Degree is calculated input password and first password similarity.
14. according to the password changing method described in claim 13, the wherein described company for calculating input password and first password The step of connecing yard includes:
The input password and first password are converted to corresponding numeric string respectively;
Obtain each numeral started from second digit in each numeric string and go up relatively position letter of the numeral in nine grids Breath;
Character is converted location information into according to pre-defined rule;
Connection converted after character and respectively obtain input password and first password connection code.
15. according to any one of password changing method in claim 10-12, the scope of wherein described first threshold For 50%-90%.
16. password changing methods according to claim 15, wherein described first threshold are 60%.
17. password changing methods according to claim 11, the scope of wherein described pre-determined number is 1-5.
18. password changing methods according to claim 17, wherein described pre-determined number are 3.
A kind of 19. mobile terminals, the password switching equipment including touch-screen and as described in any one in claim 1-9.
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 CN104318186A (en) 2015-01-28
CN104318186B true 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)

Families Citing this family (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
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
CN106453243B (en) * 2016-08-29 2019-11-29 捷开通讯(深圳)有限公司 The verification method of server, terminal and its authorization code
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

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

Also Published As

Publication number Publication date
CN104318186A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104318186B (en) A kind of password changing method, equipment and terminal
CN103677644B (en) A kind of unlocking method and system of intelligent mobile terminal
JP6397036B2 (en) Dynamic keyboard and touchscreen biometrics
AU2012227187B2 (en) Location-based security system for portable electronic device
US20120127179A1 (en) Method, apparatus and computer program product for user interface
EP2682891B1 (en) Electronic device and method for releasing lock using element combining color and symbol
KR101556599B1 (en) Pattern Inputting Apparatus and Method, and Recording Medium Using the Same
US10055562B2 (en) Techniques for identifying a change in users
US9165176B2 (en) Method, apparatus, and computer-readable recording medium for recognizing fingerprint
JP5728629B2 (en) Information processing apparatus, information processing apparatus control method, program, and information storage medium
CN104318147A (en) Information processing method and electronic device
CN103761502A (en) Safety certification device and method
CN105354455B (en) State switching method and electronic equipment
CN104318185B (en) A kind of application control method, equipment and mobile terminal
CN108431821B (en) User interface for mobile device
CN107305605B (en) Terminal equipment and application starting method
JP2019504566A (en) Information image display method and apparatus
EP2927834A1 (en) Information processing apparatus, information processing method, and recording medium
CN105608357A (en) Fingerprint verification method, fingerprint verification device and terminal
CN108475306B (en) User interface for mobile device
CN104063639A (en) Authentication Processing Device For Performing Authentication Processing
US9531709B2 (en) Securely unlocking a device using a combination of hold placement and gesture
CN104331650A (en) Information processing method and electronic equipment
CN104516643A (en) Method and device for start application, and computing terminal
TWI545495B (en) System and method for operating touch screens

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