Summary of the invention
The embodiment of the present invention provides a kind of electronic equipment and the method giving electronic equipment unlocking information for change, can give for change
The password originally arranged or the unlocking pattern etc., thus improve practicality and the motility of the electronic equipments such as mobile phone.
Embodiments provide the method giving electronic equipment unlocking information for change, including:
Obtain the unlocking information of user's input;
When the unlocking information that described user inputs is inconsistent with the unlocking information preset, prompting user inputs body
Part checking information;
Obtain the authentication information of user's input;
Judge whether the authentication information that described user inputs associates with described default unlocking information default
Authentication information consistent;
If it is, obtain described default unlocking information, show described default unlocking information.
Wherein, before the described unlocking information obtaining user's input, also include:
Described default unlocking information is set;
The authentication information preset associated with described default unlocking information is set.
Wherein, before described prompting user inputs authentication information, also include:
Receive user's request and give the instruction of unlocking information for change;
Determine the record that there is the authentication information preset associated with described default unlocking information.
Wherein, when described unlocking information is the unlocking pattern, described described default unlocking information be set include:
Intercept the unlocking pattern of user's input;
Preserve the unlocking pattern of described user input or preserve corresponding each of the unlocking pattern of described user input
The coordinate data of node.
Wherein, when described unlocking information is the unlocking pattern, the unlocking information described in described display includes:
Show the unlocking pattern that described user inputs or show corresponding each of the unlocking pattern that described user inputs
The coordinate of node.
Correspondingly, the embodiment of the present invention additionally provides a kind of electronic equipment, including:
Unlocking information acquisition module, for obtaining the unlocking information of user's input;
Reminding module, when the unlocking information that described user inputs is inconsistent with the unlocking information preset, is used for
Prompting user inputs authentication information;
Authentication information acquisition module, for obtaining the authentication information of user's input;
Authentication information judge module, for judge authentication information that described user inputs whether with institute
The authentication information preset stating default unlocking information association is consistent;
Unlocking information processing module, if authentication information judge module judged result is yes, is used for obtaining
Described default unlocking information, shows described default unlocking information.
Wherein, described electronic equipment also includes:
Unlocking information arranges module, for arranging described default unlocking information;
Authentication information arranges module, for arranging the body preset associated with described default unlocking information
Part checking information.
Wherein, described electronic equipment also includes:
Request receiver module, gives the instruction of unlocking information for change for receiving user's request;
Determine module, for determining that there is the described default identity associated with described default unlocking information tests
The record of card information.
Wherein, when described unlocking information is the unlocking pattern, described unlocking information arranges module and includes:
The unlocking pattern interception unit, for intercepting the unlocking pattern of user's input;
Record storage unit, for preserving the unlocking pattern of described user input or preserving the unblock of user's input
The coordinate data of each node that pattern is corresponding.
Wherein, described unlocking information arrange module specifically for:
When described unlocking information is the unlocking pattern, obtain and show the unlocking pattern or aobvious that described user inputs
Show the coordinate of each node corresponding to the unlocking pattern that described user inputs.
Implement the embodiment of the present invention, can avoid owing to forget Password or the unlocking pattern etc. causes normally using
Electronic equipment, can give password or the unlocking pattern etc. of original setting for change, thus improve the electronic equipments such as mobile phone
Practicality and motility.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of electronic equipment and the method giving electronic equipment unlocking information for change, it is possible to
Electronic equipment is given the unlocking information such as unlocking pin arranged, the unlocking pattern etc., below by being embodied as change
Example illustrates.
Refer to the structural representation of a kind of electronic equipment that Fig. 1, Fig. 1 provide for the embodiment of the present invention.Such as figure
Shown in 1, a kind of electronic equipment in the embodiment of the present invention at least includes unlocking information acquisition module 101, prompting
Module 102, authentication information acquisition module 103, authentication information judge module 104 and unlocking information
Processing module 105, wherein:
Unlocking information acquisition module 101, for obtaining the unlocking information of user's input.In implementing, unlock
Information include following at least one: unlocking pin, the PIN of smart card, the unlocking pattern etc..Unlock
Password can be including at least four characters and to comprise a letter, and character includes letter, numbers and symbols
Deng, letter can be capitalization or lower case.The PIN of smart card i.e. PIN code (Personal
Identification Number), (Subscriber Identity Module, client identifies mould to refer specifically to SIM
Block, is also called smart card, subscriber identification card) individual recognition code, at least four Arabic numerals
The password of composition, acquiescence initial setting up is generally 1234 or 0000.The unlocking pattern is that user passes through touch screen
The pattern of curtain input, typically can on for example, corresponding screen 3 × 3 totally 9 points arbitrarily input the most continuous
The pattern of four points.
Reminding module 102, when the unlocking information that described user inputs is inconsistent with the unlocking information preset, uses
Authentication information is inputted in prompting user.In implementing, if the unlocking information of input and the solution preset
Lock information is inconsistent, then unlock failure, if three unlocking information failures of input continuously, then pop-up dialogue box,
Prompting user inputs authentication information.
Authentication information acquisition module 103, for obtaining the authentication information of user's input.Implement
In, authentication information is for giving default unlocking information for change, and authentication information at least includes password, figure
Case, question and answer checking information etc., wherein, question and answer checking information can be to answer screen produced problem, such as " you
Favorite one day is which day?", " which day your birthday is?" etc., the answer that input is corresponding, from
And obtain the authentication information of user's input.
Authentication information judge module 104, for judge authentication information that described user inputs whether with
The authentication information preset of described default unlocking information association is consistent.
Unlocking information processing module 105, if authentication information judge module 104 judged result is yes, uses
In obtaining described default unlocking information, show described default unlocking information.In implementing, unlock letter
Breath processing module 105 specifically for: when unlocking information is the unlocking pattern, obtains and show what user inputted
The coordinate of each node corresponding to the unlocking pattern of the unlocking pattern or display user's input.Concrete, work as user
When the authentication information of input is consistent with the authentication information preset, if the unlocking information preset is to solve
What lock cipher or PIN code, i.e. user selected be password or PIN code carries out screen locking, unlocking information processing module
105 get default password or PIN code in data base, then show on screen.If preset
Unlocking information be the unlocking pattern, i.e. user select be pattern screen locking, unlocking information processing module 105 number
The pattern associated according to the authentication information obtained in storehouse with preset, by pattern displaying out, if in data
Storehouse does not gets default pattern, then continues to get the coordinate data of node corresponding to this pattern, pass through
Node data is drawn the unlocking pattern and is displayed.
Further alternative, the device in the present embodiment can also include that unlocking information arranges module 106 and body
Part checking information arranges module 107, wherein:
Unlocking information arranges module 106, for arranging described default unlocking information.In implementing, unlock
Information include following at least one: unlocking pin, the PIN of smart card, the unlocking pattern etc..Work as solution
When lock information is unlocking pin or PIN code (PIN of smart card), directly by mobile terminal
Input through keyboard unlocking pin or PIN code are configured, thus arrange default unlocking information.Work as unlocking information
During for the unlocking pattern, unlocking information arranges module 106 and includes: the unlocking pattern interception unit, is used for intercepting use
The unlocking pattern of family input;Record storage unit, for preserving the unlocking pattern or the preservation of described user input
The coordinate data of each node corresponding to the unlocking pattern of user's input.The unlocking pattern interception unit is by mobile
The screenshotss mechanism that terminal carries intercepts the unlocking pattern preset in screen, and record storage unit is cutting
The unlocking pattern taken off preserves with the form of picture, and the number of coordinates of corresponding for the unlocking pattern each node
According to being saved in data base.
Authentication information arranges module 107, for arranging associate with described default unlocking information default
Authentication information.In implementing, when default authentication information is set, eject a form, the inside
The problem comprising several acquiescence, can be selected by drop-down menu button, can concurrently set 1 ~ 3 problem and carry out
Answer, such as: " which day your birthday is?", " which day you are in favorite one day?", " your primary school
Whom favorite teacher is?" etc., user can also be asked by the self-defined editor of the custom button of form
Topic is answered, such as: " your favorite film?", " city that you think most?" etc..Arrange with
The authentication information preset of the unlocking information association preset, i.e. to the authentication the preset letter set
Breath and the unlocking information preset set are associated, and are saved in data base, thus the identity preset
Checking information and the unlocking information one_to_one corresponding preset, convenient inquiry in data base.
Further alternative, the electronic equipment in the present embodiment can also include asking receiver module 108 with true
Cover half block 109, wherein:
Request receiver module 108, the unlocking information inputted as described user is inconsistent with the unlocking information preset
Time, the instruction of unlocking information is given for change for receiving user's request.In implementing, unblock is given in user's request for change
The instruction of information can be the button preset by some at a certain time interval or unlock letter in input
The interface of breath selects corresponding button, such as, press power key 5 seconds etc..
Determine module 109, there is, for determining, the authentication preset associated with described default unlocking information
The record of information.In implementing, after receiving the instruction that unlocking information is given in user's request for change, inquire about data
Storehouse, inquires the record of the authentication information preset that the unlocking information existed in data base and preset associates
Time, and then determine that module is determined.
The electronic equipment of the embodiment of the present invention can be any portable electric appts, includes but not limited to hand-held
Computer, panel computer, mobile phone, media player, personal digital assistant (PDA) etc..
The embodiment of the present invention provides a kind of electronic equipment, obtains user by unlocking information acquisition module 101 defeated
The unlocking information entered, when the unlocking information of user's input is inconsistent with the unlocking information preset, reminding module
102 prompting users input authentication information, and authentication information acquisition module 103 obtains the body of user's input
Part checking information, authentication information judge module 104 judge authentication information that user inputs whether with
The authentication information preset of the unlocking information association preset is consistent, if unanimously, unlocking information processes mould
Block 105 obtains the unlocking information preset, the unlocking information that display is preset, it is also possible to arranged by unlocking information
Module 106 arranges described default unlocking information, and authentication information arranges what module 107 arranged and preset
The authentication information preset of unlocking information association.Request receiver module 108 receives user's request and gives solution for change
The instruction of lock information, determines that the identity preset that module 109 determines that the unlocking information existed and preset associates is tested
The record of card information.And then can avoid due to forget Password or the unlocking pattern etc. cause the electronic equipments such as mobile phone without
Method normally uses, and can give password or the unlocking pattern etc. of original setting for change, thus improve the electronics such as mobile phone and set
Standby practicality and motility.
Fig. 2 is a kind of method flow diagram giving electronic equipment unlocking information for change, this enforcement in the embodiment of the present invention
Method flow in example can realize in the electronic equipment in foregoing embodiments, gives electronics as shown in the figure for change and sets
The control method of standby unlocking information at least includes:
Step S201, obtains the unlocking information of user's input.In implementing, unlocking information include with down to
Few one: unlocking pin, the PIN of smart card, the unlocking pattern etc..Unlocking pin can be at least
Comprising four characters and comprise a letter, character includes letter, numbers and symbols etc., and letter can be
Capitalization or lower case.The PIN of smart card i.e. PIN code, refers specifically to individual's knowledge of SIM
Other password, the password of at least four Arabic numerals composition, acquiescence initial setting up is generally 1234 or 0000.
The unlocking pattern is the pattern that user is inputted by Touch Screen, typically can on for example, corresponding screen 3 × 3 altogether
The pattern of the most continuous four points that 9 points arbitrarily input.
Step S202, when the unlocking information that described user inputs is inconsistent with the unlocking information preset, prompting
User inputs authentication information.In implementing, if the unlocking information of input and the unlocking information preset
Inconsistent, then unlock failure, if three unlocking information failures of input, then pop-up dialogue box, prompting continuously
User inputs authentication information.
Step S203, obtains the authentication information of user's input.In implementing, authentication information is used
In giving default unlocking information for change, authentication information at least includes password, pattern, question and answer checking information etc.,
Wherein, question and answer checking information can be to answer screen produced problem, as " which you are in favorite one day
My god?", " which day your birthday is?" etc., the answer that input is corresponding, thus obtain the body of user's input
Part checking information.
Step S204, it is judged that the authentication information of described user input whether with described default unlocking information
The authentication information preset of association is consistent, if it is judged that be yes, performs step S205, if sentenced
Disconnected result is no, performs step S206.
Step S205, obtains and described default unlocking information, shows described default unlocking information.Specifically
In realization, when unlocking information is the unlocking pattern, the unlocking information described in display is: show that described user is defeated
The unlocking pattern that enters or show the coordinate of each node corresponding to the unlocking pattern that described user inputs.Concrete,
When the authentication information of user's input is consistent with the authentication information preset, if the unblock letter preset
Breath is unlocking pin or PIN code, and what i.e. user selected be password or PIN code carries out screen locking, in data base
Get default password or PIN code, then show on screen.If the unlocking information preset is
What the unlocking pattern, i.e. user selected is pattern screen locking, the authentication information obtaining in data base with presetting
The pattern of association, by pattern displaying out, if not getting default pattern in data base, then continues
Get the coordinate data of node corresponding to this pattern, by node data, the unlocking pattern drafting is displayed.
Step S206, display reminding information: input error, please re-enter.In implementing, if even
Continuous three input errors, lock-screen.
In the embodiment of the present invention, a kind of method of electronic equipment unlocking information of giving for change is by obtaining the solution of user's input
Lock information, when the unlocking information of user's input is inconsistent with the unlocking information preset, prompting user inputs body
Part checking information, obtains the authentication information of user's input, it is judged that the authentication information of user's input is
No consistent with the authentication information preset of the unlocking information association preset, if unanimously, acquisition is preset
Unlocking information, the unlocking information that display is preset.It is thus possible to password or the unlocking pattern etc. of original setting can be given for change,
Improve practicality and the motility of the electronic equipments such as mobile phone.
Further alternative, if Fig. 3 is that in the embodiment of the present invention, another kind gives electronic equipment unlocking information for change
Method flow diagram, then the method giving electronic equipment unlocking information in this inventive embodiments for change at least can also include:
Step S301, arranges described default unlocking information.In implementing, unlocking information include with down to
Few one: unlocking pin, the PIN of smart card, the unlocking pattern etc..When unlocking information is close for unlocking
When code or PIN code (PIN of smart card), directly unlock close by the input through keyboard of mobile terminal
Code or PIN code are configured, thus arrange default unlocking information.When unlocking information is the unlocking pattern,
Arrange described default unlocking information to include: intercept the unlocking pattern of user's input;Preserve described user input
The unlocking pattern or preserve the coordinate data of each node corresponding to the unlocking pattern of user's input.By movement
The screenshotss mechanism that terminal carries intercepts the unlocking pattern preset in screen, the unblock that intercepting is got off
Pattern preserves with the form of picture, and the coordinate data of corresponding for the unlocking pattern each node is saved in data
In storehouse.
Step S302, arranges the authentication information preset associated with described default unlocking information.Specifically
In realization, ejecting a form when arranging default authentication information, the inside comprises the problem of several acquiescence,
Can be selected by drop-down menu button, 1 ~ 3 problem can be concurrently set and answer, such as: " your birthday
Which day is?", " which day you are in favorite one day?", " which the favorite teacher of your primary school is
Position?" etc., user can also be answered by the custom button of form self-defined editor problem, such as: " you
A favorite film?", " city that you think most?" etc..The unlocking information arranged and preset associates
Preset authentication information, i.e. to set preset authentication information and set preset
Unlocking information is associated, and is saved in data base, thus the authentication information preset and the solution preset
Lock information one_to_one corresponding, convenient inquiry in data base.
Step S303, obtains the unlocking information of user's input.In implementing, unlocking information include with down to
Few one: unlocking pin, the PIN of smart card, the unlocking pattern etc..Unlocking pin can be at least
Comprising four characters and comprise a letter, character includes letter, numbers and symbols etc., and letter can be
Capitalization or lower case.The PIN of smart card i.e. PIN code, refers specifically to individual's knowledge of SIM
Other password, the password of at least four Arabic numerals composition, acquiescence initial setting up is generally 1234 or 0000.
The unlocking pattern is the pattern that user is inputted by Touch Screen, typically can on for example, corresponding screen 3 × 3 altogether
The pattern of the most continuous four points that 9 points arbitrarily input.
Step S304, when the unlocking information that described user inputs is inconsistent with the unlocking information preset, receives
The instruction of unlocking information is given in user's request for change.In implementing, the instruction of unlocking information is given in user's request for change can
Think that the button preset by some at a certain time interval or the interface at input unlocking information select
Corresponding button, such as, press power key 5 seconds etc..
Step S305, determines and there is the default authentication information that associates with described default unlocking information
Record.In implementing, after receiving the instruction that unlocking information is given in user's request for change, inquire about data base, look into
When asking the record that there is the authentication information preset associated with the unlocking information preset in data base, enter
And be determined.
Step S306, prompting user inputs authentication information.In implementing, if the unblock letter of input
The unlocking information ceased and preset is inconsistent, then unlock failure, if three unlocking information failures of input continuously,
Then pop-up dialogue box, prompting user inputs authentication information.
Step S307, obtains the authentication information of user's input.In implementing, authentication information is used
In giving default unlocking information for change, authentication information at least includes password, pattern, question and answer checking information etc.,
Wherein, question and answer checking information can be to answer screen produced problem, as " which you are in favorite one day
My god?", " which day your birthday is?" etc., the answer that input is corresponding, thus obtain the body of user's input
Part checking information.
Step S308, it is judged that the authentication information of described user input whether with default authentication information
Unanimously, if it is judged that be yes, perform step S309, if it is judged that be no, perform step S310.
Step S309, obtains the described default unlocking information associated with described default authentication information,
Show described default unlocking information.In implementing, when unlocking information is the unlocking pattern, display is described
Unlocking information be: show the unlocking pattern that described user inputs or show the unlocking pattern that described user inputs
The coordinate of corresponding each node.Concrete, when the authentication information of user's input is tested with the identity preset
When card information is consistent, if the unlocking information preset is unlocking pin or PIN code, what i.e. user selected is close
Code or PIN code carry out screen locking, get default password or PIN code, in data base then on screen
Show.If the unlocking information preset is the unlocking pattern, what i.e. user selected is pattern screen locking, is counting
The pattern associated according to the authentication information obtained in storehouse with preset, by pattern displaying out, if in data
Storehouse does not gets default pattern, then continues to get the coordinate data of node corresponding to this pattern, pass through
Node data is drawn the unlocking pattern and is displayed.
Step S310, display reminding information: input error, please re-enter.In implementing, if even
Continuous three input errors, lock-screen.
In the embodiment of the present invention, another kind gives the method for electronic equipment unlocking information for change by arranging default unblock
Information, arranges the authentication information preset associated with the unlocking information preset, obtains the body of user's input
Part checking information, when the unlocking information of user's input is inconsistent with the unlocking information preset, reception user please
Ask the instruction giving unlocking information for change, determine the authentication the preset letter that the unlocking information existed and preset associates
The record of breath.Prompting user inputs authentication information, obtains the authentication information of user's input, it is judged that
The authentication information one preset whether the authentication information of user's input associates with default unlocking information
Cause, if unanimously, obtain the unlocking information preset, the unlocking information that display is preset.It is thus possible to can give for change former
The password arranged or the unlocking pattern etc., improve practicality and the motility of the electronic equipments such as mobile phone.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.