Summary of the invention
The embodiment of the invention provides a kind of electronic equipment and gives the method for electronic equipment release information for change, can give the password of original setting or release pattern etc. for change, thus the practicality and the dirigibility that have improved the electronic equipments such as mobile phone.
The embodiment of the invention provides the method for giving electronic equipment release information for change, comprising:
Obtain the release information of user's input;
When the release information of described user input during with default release information inconsistency, prompting user input authentication information;
Obtain the authentication information of user's input;
The authentication information of the judging described user input whether default authentication information with described default release information association is consistent;
If so, obtain described default release information, show described default release information.
Wherein, before the described release information of obtaining user input, also comprise:
Described default release information is set;
Default authentication information with described default release information association is set.
Wherein, before described prompting user input authentication information, also comprise:
Receive user's request and give the instruction of release information for change;
Determine there is the record with the default authentication information of described default release information association.
Wherein, when described release information is the release pattern, describedly described default release information be set comprise:
The release pattern of intercepting user input;
The coordinate data of preserving the release pattern of described user input or preserving each node corresponding to the release pattern of described user's input.
Wherein, when described release information was the release pattern, the described release information of described demonstration comprised:
Show the release pattern of described user input or show the coordinate of each node that the release pattern of described user's input is corresponding.
Correspondingly, the embodiment of the invention also provides a kind of electronic equipment, comprising:
Release acquisition of information module is used for obtaining the release information of user's input;
Reminding module when the release information of described user input during with default release information inconsistency, is used for prompting user input authentication information;
The authentication information acquisition module is used for obtaining the authentication information of user's input;
Whether authentication information judge module, the authentication information that is used for judging described user's input default authentication information with described default release information association be consistent;
The release message processing module if authentication information judge module judged result is yes, is used for obtaining described default release information, shows described default release information.
Wherein, described electronic equipment also comprises:
Release information arranges module, is used for arranging described default release information;
Authentication information arranges module, and the default authentication information with described default release information association be used for to be set.
Wherein, described electronic equipment also comprises:
The request receiving module is used for receiving the instruction that release information is given in user's request for change;
Be used for to determine there is the record with the described default authentication information of described default release information association in determination module.
Wherein, when described release information was the release pattern, described release information arranged module and comprises:
Release pattern interception unit is used for the release pattern that the intercepting user inputs;
The record storage unit is for the coordinate data of each node corresponding to the release pattern of the release pattern of preserving described user's input or preservation user input.
Wherein, described release information arranges module and specifically is used for:
When described release information is the release pattern, obtains and show the release pattern of described user input or show the coordinate of each node that the release pattern of described user's input is corresponding.
Implement the embodiment of the invention, can avoid owing to forget Password or release pattern etc. causes normally using electronic equipment, can give the password of original setting or release pattern etc. for change, thus the practicality and the dirigibility that have improved the electronic equipments such as mobile phone.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of electronic equipment and gives the method for electronic equipment release information for change, can give release information for change such as the unlocking pin that arranges, release pattern etc. in electronic equipment, describes below by specific embodiment.
See also Fig. 1, the structural representation of a kind of electronic equipment that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1, a kind of electronic equipment in the embodiment of the invention comprises release acquisition of information module 101 at least, reminding module 102, and authentication information acquisition module 103, authentication information judge module 104 and release message processing module 105, wherein:
Release acquisition of information module 101 is used for obtaining the release information of user's input.In the specific implementation, release information comprises following at least a: the PIN (Personal Identification Number) of unlocking pin, smart card, release pattern etc.Unlocking pin can be for comprising four characters and comprising a letter at least, and character comprises letter, numbers and symbols etc., and letter can be capitalization or lowercase.The PIN (Personal Identification Number) of smart card is PIN code (Personal Identification Number), specifically refer to SIM card (Subscriber Identity Module, client identification module, be called again smart card, subscriber identification card) individual recognition code, at least four passwords that arabic numeral form, the acquiescence initial setting up is generally 1234 or 0000.The release pattern is the user by the pattern of Touch Screen input, generally can for example be 3 * 3 patterns of continuous at least four points of inputting arbitrarily of totally 9 points on the corresponding screen.
Reminding module 102 when the release information of described user input during with default release information inconsistency, is used for prompting user input authentication information.In the specific implementation, if the release information of input and the release information inconsistency of presetting, then release failure if input continuously three release information failures, is then ejected dialog box, prompting user input authentication information.
Authentication information acquisition module 103 is used for obtaining the authentication information of user's input.In the specific implementation, authentication information is used for giving for change default release information, authentication information comprises password, pattern, question and answer authorization information etc. at least, wherein, the problem that the question and answer authorization information can occur for answering screen, such as " which day you were in favorite one day? ", " which day your birthday is? " Deng, the answer that input is corresponding, thus the authentication information of user's input obtained.
Whether authentication information judge module 104, the authentication information that is used for judging described user's input default authentication information with described default release information association be consistent.
Release message processing module 105 if authentication information judge module 104 judged results are yes, is used for obtaining described default release information, shows described default release information.In the specific implementation, release message processing module 105 specifically is used for: when release information is the release pattern, obtains and show the release pattern that the user inputs or show the coordinate of each node that the release pattern of user's input is corresponding.Concrete, when the authentication information of user input is consistent with the authentication information of presetting, if default release information is unlocking pin or PIN code, be user selection be that password or PIN code are carried out screen locking, release message processing module 105 gets access to default password or PIN code in database, then show at screen.If default release information is the release pattern, be user selection be the pattern screen locking, obtain the pattern related with default authentication information in release message processing module 105 databases, with pattern displaying out, if in database, do not get access to default pattern, then continue to get access to the coordinate data of node corresponding to this pattern, by node data the release Patten drawing is displayed.
Further alternative, the device in the present embodiment can also comprise that release information arranges module 106 and authentication information arranges module 107, wherein:
Release information arranges module 106, is used for arranging described default release information.In the specific implementation, release information comprises following at least a: the PIN (Personal Identification Number) of unlocking pin, smart card, release pattern etc.When release information was unlocking pin or PIN code (PIN (Personal Identification Number) of smart card), directly keyboard input unlocking pin or the PIN code by portable terminal arranged, thereby default release information is set.When release information was the release pattern, release information arranged module 106 and comprises: release pattern interception unit is used for the release pattern that the intercepting user inputs; The record storage unit is for the coordinate data of each node corresponding to the release pattern of the release pattern of preserving described user's input or preservation user input.Release pattern interception unit intercepts the release pattern that presets in the screen get off by the screenshotss mechanism that portable terminal carries, the record storage unit is preserved the release pattern that intercepts with the form of picture, and the coordinate data of corresponding each node of release pattern is saved in the database.
Authentication information arranges module 107, and the default authentication information with described default release information association be used for to be set.In the specific implementation, when being set, default authentication information ejects a form, the inside comprises the problem of several acquiescences, can select by drop-down menu button, can set simultaneously 1 ~ 3 problem answers, such as: " which day your birthday is? ", " which day you were in favorite one day? ", " whom the favorite teacher of your primary school is? " Deng, the user also can answer by the self-defined editor's problem of the custom button of form, as: " your favorite film? ", " city that you think most? " Deng.Default authentication information with default release information association is set, namely carry out related to the default authentication information that sets with the default release information that sets, and be saved in the database, thereby default authentication information and the release information of presetting are corresponding one by one, conveniently inquire about in database.
Further alternative, the electronic equipment in the present embodiment can also comprise request receiving module 108 and determination module 109, wherein:
Request receiving module 108 when the release information of described user input during with default release information inconsistency, is used for receiving the instruction that release information is given in user's request for change.In the specific implementation, the instruction of release information is given in user request for change can be for selecting corresponding button by some default buttons or at the interface of input release information in certain time interval, such as pressing power key 5 seconds etc.
Be used for to determine there is the record with the default authentication information of described default release information association in determination module 109.In the specific implementation, after receiving user request and giving the instruction of release information for change, Query Database, when inquiring the record that exists in the database with the default authentication information of default release information association, and then determination module is determined.
The electronic equipment of the embodiment of the invention can be any portable electric appts, includes but not limited to Hand Personal Computer, panel computer, mobile phone, media player, personal digital assistant (PDA) etc.
The embodiment of the invention provides a kind of electronic equipment, obtain the release information of user's input by release acquisition of information module 101, when the release information of user input during with default release information inconsistency, reminding module 102 prompting users input authentication information, authentication information acquisition module 103 obtains the authentication information of user's input, authentication information judge module 104 judges whether the authentication information of user's input is consistent with the default authentication information of the release information association of presetting, if consistent, release message processing module 105 obtains default release information, show default release information, can also module 106 be set by release information described default release information is set, authentication information arranges module 107 default authentication information with default release information association is set.The instruction of release information, the record of the default authentication information of determination module 109 definite release information associations that exist and preset are given in the 108 reception user requests of request receiving module for change.And then can avoid owing to forget Password or release pattern etc. causes the electronic equipment such as mobile phone normally to use, can give the password of original setting or release pattern etc. for change, thus the practicality and the dirigibility that have improved the electronic equipments such as mobile phone.
Fig. 2 is a kind of method flow diagram of giving electronic equipment release information for change in the embodiment of the invention, and the method flow in the present embodiment can realize that the control method of giving as shown in the figure electronic equipment release information for change comprises at least in the electronic equipment among the embodiment above:
Step S201 obtains the release information of user's input.In the specific implementation, release information comprises following at least a: the PIN (Personal Identification Number) of unlocking pin, smart card, release pattern etc.Unlocking pin can be for comprising four characters and comprising a letter at least, and character comprises letter, numbers and symbols etc., and letter can be capitalization or lowercase.The PIN (Personal Identification Number) of smart card is PIN code, specifically refers to the individual recognition code of SIM card, at least four passwords that arabic numeral form, and the acquiescence initial setting up is generally 1234 or 0000.The release pattern is the user by the pattern of Touch Screen input, generally can for example be 3 * 3 patterns of continuous at least four points of inputting arbitrarily of totally 9 points on the corresponding screen.
Step S202, when the release information of described user input during with default release information inconsistency, prompting user input authentication information.In the specific implementation, if the release information of input and the release information inconsistency of presetting, then release failure if input continuously three release information failures, is then ejected dialog box, prompting user input authentication information.
Step S203 obtains the authentication information of user's input.In the specific implementation, authentication information is used for giving for change default release information, authentication information comprises password, pattern, question and answer authorization information etc. at least, wherein, the problem that the question and answer authorization information can occur for answering screen, such as " which day you were in favorite one day? ", " which day your birthday is? " Deng, the answer that input is corresponding, thus the authentication information of user's input obtained.
Step S204, the authentication information of the judging described user input whether default authentication information with described default release information association is consistent, if judged result is yes, execution in step S205, if the determination result is NO, execution in step S206.
Step S205 obtains and described default release information, shows described default release information.In the specific implementation, when release information is the release pattern, show that described release information is: show the release pattern of described user input or show the coordinate of each node that the release pattern of described user's input is corresponding.Concrete, when the authentication information of user input is consistent with the authentication information of presetting, if default release information is unlocking pin or PIN code, be user selection be that password or PIN code are carried out screen locking, in database, get access to default password or PIN code, then show at screen.If default release information is the release pattern, be user selection be the pattern screen locking, in database, obtain the pattern related with default authentication information, with pattern displaying out, if in database, do not get access to default pattern, then continue to get access to the coordinate data of node corresponding to this pattern, by node data the release Patten drawing is displayed.
Step S206, display reminding information: input error, please re-enter.In the specific implementation, if continuous three input error, lock-screen.
A kind of method of electronic equipment release information of giving for change is by obtaining the release information of user's input in the embodiment of the invention, when the release information of user input during with default release information inconsistency, prompting user input authentication information, obtain the authentication information of user's input, whether the authentication information of judging user's input is consistent with the default authentication information of the release information association of presetting, if consistent, obtain default release information, show default release information.Thereby can be able to give for change the password of original setting or release pattern etc., the practicality and the dirigibility that have improved the electronic equipments such as mobile phone.
Further alternative, be the another kind of method flow diagram of giving electronic equipment release information for change in the embodiment of the invention such as Fig. 3, the method for then giving electronic equipment release information in this inventive embodiments for change can also comprise at least:
Step S301 arranges described default release information.In the specific implementation, release information comprises following at least a: the PIN (Personal Identification Number) of unlocking pin, smart card, release pattern etc.When release information was unlocking pin or PIN code (PIN (Personal Identification Number) of smart card), directly keyboard input unlocking pin or the PIN code by portable terminal arranged, thereby default release information is set.When release information is the release pattern, described default release information is set comprises: the release pattern of intercepting user input; The coordinate data of preserving the release pattern of described user input or preserving each node corresponding to the release pattern of user's input.The screenshotss mechanism that carries by portable terminal intercepts the release pattern that presets in the screen get off, and the release pattern that intercepts is preserved with the form of picture, and the coordinate data of corresponding each node of release pattern is saved in the database.
Step S302 arranges the default authentication information with described default release information association.In the specific implementation, when being set, default authentication information ejects a form, the inside comprises the problem of several acquiescences, can select by drop-down menu button, can set simultaneously 1 ~ 3 problem answers, such as: " which day your birthday is? ", " which day you were in favorite one day? ", " whom the favorite teacher of your primary school is? " Deng, the user also can answer by the self-defined editor's problem of the custom button of form, as: " your favorite film? ", " city that you think most? " Deng.Default authentication information with default release information association is set, namely carry out related to the default authentication information that sets with the default release information that sets, and be saved in the database, thereby default authentication information and the release information of presetting are corresponding one by one, conveniently inquire about in database.
Step S303 obtains the release information of user's input.In the specific implementation, release information comprises following at least a: the PIN (Personal Identification Number) of unlocking pin, smart card, release pattern etc.Unlocking pin can be for comprising four characters and comprising a letter at least, and character comprises letter, numbers and symbols etc., and letter can be capitalization or lowercase.The PIN (Personal Identification Number) of smart card is PIN code, specifically refers to the individual recognition code of SIM card, at least four passwords that arabic numeral form, and the acquiescence initial setting up is generally 1234 or 0000.The release pattern is the user by the pattern of Touch Screen input, generally can for example be 3 * 3 patterns of continuous at least four points of inputting arbitrarily of totally 9 points on the corresponding screen.
Step S304 when the release information of described user input during with default release information inconsistency, receives the instruction that release information is given in user's request for change.In the specific implementation, the instruction of release information is given in user request for change can be for selecting corresponding button by some default buttons or at the interface of input release information in certain time interval, such as pressing power key 5 seconds etc.
Determine there is the record with the default authentication information of described default release information association in step S305.In the specific implementation, after receiving user request and giving the instruction of release information for change, Query Database when inquiring the record that exists in the database with the default authentication information of default release information association, and then is determined.
Step S306, prompting user input authentication information.In the specific implementation, if the release information of input and the release information inconsistency of presetting, then release failure if input continuously three release information failures, is then ejected dialog box, prompting user input authentication information.
Step S307 obtains the authentication information of user's input.In the specific implementation, authentication information is used for giving for change default release information, authentication information comprises password, pattern, question and answer authorization information etc. at least, wherein, the problem that the question and answer authorization information can occur for answering screen, such as " which day you were in favorite one day? ", " which day your birthday is? " Deng, the answer that input is corresponding, thus the authentication information of user's input obtained.
Step S308 judges whether the authentication information of described user's input is consistent with default authentication information, if judged result is yes, and execution in step S309, if the determination result is NO, execution in step S310.
Step S309 obtains the described default release information related with described default authentication information, shows described default release information.In the specific implementation, when release information is the release pattern, show that described release information is: show the release pattern of described user input or show the coordinate of each node that the release pattern of described user's input is corresponding.Concrete, when the authentication information of user input is consistent with the authentication information of presetting, if default release information is unlocking pin or PIN code, be user selection be that password or PIN code are carried out screen locking, in database, get access to default password or PIN code, then show at screen.If default release information is the release pattern, be user selection be the pattern screen locking, in database, obtain the pattern related with default authentication information, with pattern displaying out, if in database, do not get access to default pattern, then continue to get access to the coordinate data of node corresponding to this pattern, by node data the release Patten drawing is displayed.
Step S310, display reminding information: input error, please re-enter.In the specific implementation, if continuous three input error, lock-screen.
Another kind is given the method for electronic equipment release information for change by default release information is set in the embodiment of the invention, default authentication information with default release information association is set, obtain the authentication information of user's input, when the release information of user input during with default release information inconsistency, the instruction of release information is given in reception user request for change, the record of the default authentication information of definite release information association that exists and preset.Prompting user input authentication information, obtain the authentication information of user's input, judge whether the authentication information of user's input is consistent with the default authentication information of the release information association of presetting, if consistent, obtain default release information, show default release information.Thereby can be able to give for change the password of original setting or release pattern etc., the practicality and the dirigibility that have improved the electronic equipments such as mobile phone.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or store-memory body (Random Access Memory, RAM) etc. at random.
Above disclosed is preferred embodiment of the present invention only, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.