CN105335074B - A kind of method and electronic equipment for replacing electronic equipment unlocking pin - Google Patents
A kind of method and electronic equipment for replacing electronic equipment unlocking pin Download PDFInfo
- Publication number
- CN105335074B CN105335074B CN201510908074.XA CN201510908074A CN105335074B CN 105335074 B CN105335074 B CN 105335074B CN 201510908074 A CN201510908074 A CN 201510908074A CN 105335074 B CN105335074 B CN 105335074B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- unlocking pin
- rocks
- default
- rock
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of methods for replacing electronic equipment unlocking pin, including:For step S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;Step S20 judges rocking number and whether reaching setting and rock number for the electronic equipment obtained according to the number that rocks of the electronic equipment obtained;If the number that rocks for the electronic equipment that step S30 has been obtained reaches setting and rocks number, the current unlocking pin of electronic equipment is replaced.The present invention is by judging to rock rocking number and whether reaching setting and rock number for electronic equipment, to replace the current unlocking pin of electronic equipment, user can be met when frequently using electronic equipment, quickly and easily unlocked, and can ensure the personal information of user's storage in the electronic device.A kind of method for replacing electronic equipment unlocking pin provided by the invention also has many advantages, such as that operating procedure is simple, it is fast to replace speed.
Description
Technical field
The present invention relates to electronic equipments to unlock field, more particularly to the method and electronics for replacing electronic equipment unlocking pin
Equipment.
Background technology
With the fast development of electronics technology, the individual that user stores in electronic equipment (mobile phone, tablet computer etc.) believes
Breath gradually increases.In order to ensure that unlocking pin is arranged in the safety of personal information in electronic equipment, user on an electronic device.Mesh
Before, common unlocking manner is mainly the following:The sliding unlock of no password, the sliding of specific pattern unlock, input password
Unlock and PIN code unlock etc..
Wherein, the sliding unlock of no password, can prevent mobile phone misoperation and in the case where not closing system software
Save electricity.In addition, sliding unlock of the user's operation without password is the most convenient, fast, but the personal information in electronic equipment
Safety cannot ensure.Wherein, the sliding unlock, the unlock of input password and PIN code unlock etc. of specific pattern, can ensure individual
The safety of information, only unlocking pin are more complicated, and safety is higher.But user is more frequent using electronic equipment, input
The number for setting unlocking pin is more, and cumbersome unlocked step is not only added to user;It is also close in multiple input setting unlock
During code, setting unlocking pin is easy to be penetrated by other people, to steal the personal information in electronic equipment.
Therefore, existing electronic equipment has the following defects:(1) a kind of unlocking pin can only be set, unlocked to replace
Password, it is necessary to it must reset, it is complex for operation step, time-consuming;(2) it cannot meet and conveniently and efficiently unlock, and ensure
The security needs of personal information.
Invention content
Technical solution provided by the invention is as follows:
A method of electronic equipment unlocking pin is replaced, including:Step S10 is obtained according to the operation for rocking electronic equipment
Take electronic equipment rocks number;Step S20 judges that the electronics obtained is set according to the number that rocks of the electronic equipment obtained
It is standby rock number and whether reach setting rock number;If the number that rocks for the electronic equipment that step S30 has been obtained reaches setting
Number is rocked, then replaces the current unlocking pin of electronic equipment.
Preferably, the first default unlocking pin corresponding at least default two kinds different unlocking manners of step S01, second pre-
If the two different first default unlocking pins, the second default unlock corresponding to unlocking pin or same unlocking manner
Password.
The present invention also provides another methods for replacing electronic equipment unlocking pin, including:Step S02 judges Current electronic
Whether equipment is in screen state of going out;If step S03 current electronic devices are in screen state of going out, go to step S10;Otherwise,
Terminate;For step S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;Step S20 is according to having obtained
Electronic equipment rocks number, judges rocking number and whether reaching setting and rock number for the electronic equipment obtained;Step S30
If the number that rocks of the electronic equipment obtained reaches setting and rocks number, the current unlocking pin of electronic equipment is replaced.
The present invention also provides the methods that another replaces electronic equipment unlocking pin, including:Step S04 judges Current electronic
Whether equipment is in screen lock state;If step S05 current electronic devices are in screen lock state, go to step S10;Otherwise,
Terminate;For step S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;Step S20 is according to having obtained
Electronic equipment rocks number, judges rocking number and whether reaching setting and rock number for the electronic equipment obtained;Step S30
If the number that rocks of the electronic equipment obtained reaches setting and rocks number, the current unlocking pin of electronic equipment is replaced.
The present invention also provides the methods that another replaces electronic equipment unlocking pin, including:Step S11 is according to rocking electronics
The operation of equipment obtains the reference information for rocking electronic equipment every time and generating;Step S12 judges that electricity is rocked in this time obtained
Sub- equipment and whether the reference information that generates reaches setting threshold values;If this times of step S13 has rocked the reference information of electronic equipment
Reach setting threshold values, then record that this time rock electronic equipment rocks number;If the reference of electronic equipment is rocked in this times of step S14
Information not up to sets threshold values, then do not record that this time rock electronic equipment rocks number;Step S20 is according to the electronics obtained
Equipment rocks number, judges rocking number and whether reaching setting and rock number for the electronic equipment obtained;If step S30 is
The number that rocks of the electronic equipment of acquisition reaches setting and rocks number, then replaces the current unlocking pin of electronic equipment.
Preferably, according to the operation for rocking electronic equipment, the number that rocks that electronic equipment is rocked in acquisition is the step S10
Refer to:Obtained in setting time rock electronic equipment rock number.
The present invention also provides the methods that another replaces electronic equipment unlocking pin, including:Step S01 is at least two kinds default
The first default unlocking pin, the second default unlocking pin or same unlocking manner institute corresponding to different unlocking manners is right
The two different first default unlocking pins, the second default unlocking pin answered;Step S10 is according to the behaviour for rocking electronic equipment
Make, obtain electronic equipment rocks number;Step S20 judges to have obtained according to the number that rocks of the electronic equipment obtained
Electronic equipment rocks number and whether reaches setting and rock number;If the electronic equipment that step S31 has been obtained rocks number etc.
Number is rocked in the first setting, then it is the first default unlocking pin to replace the current unlocking pin of electronic equipment;If step S32 has been obtained
The number that rocks of the electronic equipment taken rocks number equal to the second setting, then it is second pre- to replace the current unlocking pin of electronic equipment
If unlocking pin;If the number that rocks for the electronic equipment that step S33 has been obtained rocks number not equal to the first setting or second sets
Surely number is rocked, then is changed without the current unlocking pin of electronic equipment.
A kind of electronic equipment for replacing electronic equipment unlocking pin, including:Acquisition module, according to the behaviour for rocking electronic equipment
Make, acquisition module acquisition electronic equipment rocks number;Judgment module, the judgment module are electrically connected with the acquisition module,
The judgment module receives the number that rocks for the electronic equipment that the acquisition module exports, and judges rocking for the electronic equipment obtained
Whether number, which reaches setting, is rocked number;Module is replaced, which is electrically connected with the judgment module, the replacement module
The number that rocks for receiving the electronic equipment of the judgment module output reaches the judging result that number is rocked in setting, replaces electronics and sets
Standby current unlocking pin.
Preferably, the electronic equipment of this replacement electronic equipment unlocking pin further includes:Pre- storing module, the pre- storing module with
The replacement module electrical connection, the first default solution in the pre- storing module corresponding at least default two kinds of different unlocking manners
The two different first default unlocking pins corresponding to lock cipher, the second default unlocking pin or same unlocking manner,
Second default unlocking pin.
Preferably, the electronic equipment of this replacement electronic equipment unlocking pin further includes:Logging modle, the logging modle with
The judgment module electrical connection, the logging modle receive the reference letter that electronic equipment is rocked in this time that the judgment module exports
Breath has reached setting threshold values, and record that this time rock electronic equipment rocks number.
Compared with prior art, a kind of method for replacing electronic equipment unlocking pin provided by the invention, is shaken by judging
Rocking number and whether reaching setting and rock number for electronic equipment is shaken, to replace the current unlocking pin of electronic equipment, can be met
User quickly and easily unlocks when frequently using electronic equipment, and can ensure the personal letter of user's storage in the electronic device
Breath.When frequently using electronic equipment, unlocking pin can be arranged relatively simple or be slided for no password to be unlocked user;
When the rarely needed electronic equipment of user, unlocking pin can be arranged complex;It is replaced by rocking electronic equipment
Unlocking pin is changed, has many advantages, such as that operating procedure is simple, it is fast to replace speed.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to a kind of replacement electronic equipment solution
The method of lock cipher and above-mentioned characteristic, technical characteristic, advantage and its realization method of electronic equipment are further described.
Fig. 1 is a kind of flow diagram of method that replacing electronic equipment unlocking pin of the present invention;
Fig. 2 is the flow diagram of another method for replacing electronic equipment unlocking pin of the invention;
Fig. 3 is the flow diagram of the method for another replacement electronic equipment unlocking pin of the invention;
Fig. 4 is the flow diagram of the method for another replacement electronic equipment unlocking pin of the invention;
Fig. 5 is the flow diagram of another method for replacing electronic equipment unlocking pin of the invention;
Fig. 6 is the composed structure schematic diagram of a kind of electronic equipment of the present invention;
Fig. 7 is the composed structure schematic diagram of another electronic equipment of the invention;
Fig. 8 is the part flow diagram of the method for another replacement electronic equipment unlocking pin of the invention;
Fig. 9 is the part flow diagram of the method for another replacement electronic equipment unlocking pin of the invention.
Drawing reference numeral explanation:
10, acquisition module, 20, judgment module, 30, replace module, 40, pre- storing module, 50, logging modle.
Specific implementation mode
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, control is illustrated below
The specific implementation mode of the present invention.It should be evident that drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, so that simplified form is easy to understand, there is identical structure or function in some figures
Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated
" only this ", can also indicate the situation of " more than one ".
Fig. 1 is a kind of flow diagram of method that replacing electronic equipment unlocking pin of the present invention.As shown in Figure 1, according to
One embodiment of the present of invention, a method of electronic equipment unlocking pin is replaced, including:Step S10 is set according to electronics is rocked
Standby operation, obtain electronic equipment rocks number;Step S20 judges according to the number that rocks of the electronic equipment obtained
The electronic equipment of acquisition rocks number and whether reaches setting and rock number;Preferably, it is secondary to rock rocking for electronic equipment for acquisition
Number refers to:Obtain in the setting time (such as 10S or 20S or 30S etc.) rock electronic equipment rock number;If step S30
The electronic equipment obtained rock number reach setting rock number (such as 2 times, 3 times, it is 5 inferior), then replace electronic equipment
Current unlocking pin.
Fig. 2 is the flow diagram of another method for replacing electronic equipment unlocking pin of the invention.As shown in Fig. 2, root
According to an alternative embodiment of the invention, a method of electronic equipment unlocking pin is replaced, including:Preferably, step S01 is at least
The first default unlocking pin, the second default unlocking pin or same unlock corresponding to default two kinds of different unlocking manners
It is specific in the two different first default unlocking pins, the second default unlocking pin corresponding to mode, such as sliding unlock
Pattern is to set input password as the second default unlocking pin in the first default unlocking pin, input password unlock;Alternatively,
PIN code is set as the first default unlocking pin in PIN code unlock, and the specific pattern in sliding unlock is that the second default unlock is close
Code;Alternatively, the first specific pattern in sliding unlock is the first default unlocking pin, the second specific pattern in sliding unlock is
If second default unlocking pin etc. makes be two kinds of default unlocking pins under same unlocking manner in order to facilitate user
With can increase the information such as pattern, color on display interface and be distinguished;Step S02 judges whether current electronic device is located
In screen state of going out;If step S03 current electronic devices are in screen state of going out, go to step S10;Otherwise, terminate;Step
For S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;Step S20 is according to the electronic equipment obtained
Rock number, judge rocking number and whether reaching setting and rock number for the electronic equipment obtained;Preferably, acquisition is rocked
The number that rocks of electronic equipment refers to:It is obtained in setting time (such as 10S or 20S or 30S etc.) and rocks shaking for electronic equipment
Shake number;If the number that rocks for the electronic equipment that step S30 has been obtained reaches setting and rocks number (such as 2 times, 3 times, 5 times
Deng), then replace the current unlocking pin of electronic equipment.
It is in order to not influence electronic equipment in work shape specifically, whether judge current electronic device in going out screen state
The rocking action generated under state, such as the rocking action that electronic equipment carries out in certain software is not influenced;To ensure electronics
The reliability of equipment.
Fig. 3 is the flow diagram of the method for another replacement electronic equipment unlocking pin of the invention.As shown in figure 3, root
According to yet another embodiment of the present invention, a method of electronic equipment unlocking pin is replaced, including:Preferably, step S01 is at least
The first default unlocking pin, the second default unlocking pin or same unlock corresponding to default two kinds of different unlocking manners
It is specific in the two different first default unlocking pins, the second default unlocking pin corresponding to mode, such as sliding unlock
Pattern is to set input password as the second default unlocking pin in the first default unlocking pin, input password unlock;Alternatively,
PIN code is set as the first default unlocking pin in PIN code unlock, and the specific pattern in sliding unlock is that the second default unlock is close
Code;Alternatively, the first specific pattern in sliding unlock is the first default unlocking pin, the second specific pattern in sliding unlock is
If second default unlocking pin etc. makes be two kinds of default unlocking pins under same unlocking manner in order to facilitate user
With can increase the information such as pattern, color on display interface and be distinguished;Step S04 judges whether current electronic device is located
In screen lock state;If step S05 current electronic devices are in screen lock state, go to step S10;Otherwise, terminate;Step
For S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;Step S20 is according to the electronic equipment obtained
Rock number, judge rocking number and whether reaching setting and rock number for the electronic equipment obtained;Preferably, acquisition is rocked
The number that rocks of electronic equipment refers to:It is obtained in setting time (such as 10S or 20S or 30S etc.) and rocks shaking for electronic equipment
Shake number;If the number that rocks for the electronic equipment that step S30 has been obtained reaches setting and rocks number (such as 2 times, 3 times, 5 times
Deng), then replace the current unlocking pin of electronic equipment.
It is in order to not influence being arranged in the electronic device specifically, judging whether current electronic device is in screen lock state
The screen locking time, which refers to:Electronic equipment is not operated in setting time and is locked screen automatically.
Fig. 4 is the flow diagram of the method for another replacement electronic equipment unlocking pin of the invention.As shown in figure 4, root
According to the present invention another embodiment, a method of replace electronic equipment unlocking pin, including:Step S01 at least default two
The first default unlocking pin, the second default unlocking pin or same unlocking manner institute corresponding to the different unlocking manners of kind
Corresponding two different first default unlocking pins, the second default unlocking pin, for example, sliding unlock in specific pattern be
Input password is set as the second default unlocking pin in first default unlocking pin, input password unlock;Alternatively, PIN code solution
PIN code is set as the first default unlocking pin in lock, and the specific pattern in sliding unlock is the second default unlocking pin;Or
Person, the first specific pattern in sliding unlock are the first default unlocking pin, and the second specific pattern in sliding unlock is second
If default unlocking pin etc. uses be two kinds of default unlocking pins under same unlocking manner in order to facilitate user, can
It is distinguished with increasing the information such as pattern, color on display interface;Whether step S02 judges current electronic device in the screen that goes out
State;If step S03 current electronic devices are in screen state of going out, go to step S04;Otherwise, terminate;Step S04 judges
Whether current electronic device is in screen lock state;If step S05 current electronic devices are in screen lock state, go to step
S10;Otherwise, terminate;Step S11 obtains the reference rocked electronic equipment every time and generated according to the operation for rocking electronic equipment
Information;The reference information can be the gravity value obtained by gravity sensor, can also be 3-axis acceleration sensor or six
The acceleration etc. that axle acceleration sensor obtains;Step S12 judges the reference that electronic equipment is rocked in this time obtained and generates
Whether information reaches setting threshold values;If the reference information that electronic equipment is rocked in this times of step S13 has reached setting threshold values, record
What electronic equipment was rocked in this time rocks number;If the reference information that electronic equipment is rocked in this times of step S14 not up to sets threshold values,
Do not record that this time rock electronic equipment then rocks number;Step S20 judges according to the number that rocks of the electronic equipment obtained
The electronic equipment obtained rocks number and whether reaches setting and rock number;Preferably, it obtains and rocks rocking for electronic equipment
Number refers to:Obtain in the setting time (such as 10S or 20S or 30S etc.) rock electronic equipment rock number;Step S30
If the electronic equipment obtained rock number reach setting rock number (such as 2 times, 3 times, it is 5 inferior), replace electronics and set
Standby current unlocking pin.
Specifically, judge whether the reference information for rocking electronic equipment and generating that has obtained reaches setting threshold values, be for
Maloperation is prevented, to improve reliability, the practicability of the present invention.
Fig. 5 is the flow diagram of another method for replacing electronic equipment unlocking pin of the invention.As shown in figure 5, root
According to an alternative embodiment of the invention, a method of electronic equipment unlocking pin is replaced, including:Step S01 at least default two
The first default unlocking pin, the second default unlocking pin or same unlocking manner institute corresponding to the different unlocking manners of kind
Corresponding two different first default unlocking pins, the second default unlocking pin, for example, sliding unlock in specific pattern be
Input password is set as the second default unlocking pin in first default unlocking pin, input password unlock;Alternatively, PIN code solution
PIN code is set as the first default unlocking pin in lock, and the specific pattern in sliding unlock is the second default unlocking pin;Or
Person, the first specific pattern in sliding unlock are the first default unlocking pin, and the second specific pattern in sliding unlock is second
If default unlocking pin etc. uses be two kinds of default unlocking pins under same unlocking manner in order to facilitate user, can
It is distinguished with increasing the information such as pattern, color on display interface;Whether step S02 judges current electronic device in the screen that goes out
State;If step S03 current electronic devices are in screen state of going out, go to step S04;Otherwise, terminate;Step S04 judges
Whether current electronic device is in screen lock state;If step S05 current electronic devices are in screen lock state, go to step
S10;Otherwise, terminate;Step S11 obtains the reference rocked electronic equipment every time and generated according to the operation for rocking electronic equipment
Information;The reference information can be the gravity value obtained by gravity sensor, can also be 3-axis acceleration sensor or six
The acceleration etc. that axle acceleration sensor obtains;Step S12 judges the reference that electronic equipment is rocked in this time obtained and generates
Whether information reaches setting threshold values;If the reference information that electronic equipment is rocked in this times of step S13 has reached setting threshold values, record
What electronic equipment was rocked in this time rocks number;If the reference information that electronic equipment is rocked in this times of step S14 not up to sets threshold values,
Do not record that this time rock electronic equipment then rocks number;Step S21 judges according to the number that rocks of the electronic equipment obtained
The electronic equipment obtained rock number whether reach the first setting rock number or second setting rock number;Preferably,
It obtains and rocks the number that rocks of electronic equipment and refer to:It is obtained in setting time (such as 10S or 20S or 30S etc.) and rocks electronics
Equipment rocks number;If the number that rocks for the electronic equipment that step S31 has been obtained rocks number (such as 3 equal to the first setting
It is secondary), then it is the first default unlocking pin to replace the current unlocking pin of electronic equipment;If the electronic equipment that step S32 has been obtained
It rocks number and rocks number (such as 5 times) equal to the second setting, then it is the second default solution to replace the current unlocking pin of electronic equipment
Lock cipher;If the number that rocks for the electronic equipment that step S33 has been obtained rocks number (such as 3 times) or the not equal to the first setting
Number (such as 5 times) is rocked in two settings, then is changed without the current unlocking pin of electronic equipment.
Specifically, in above-described embodiment, rocked provided with two kinds of default unlocking pins and corresponding two kinds of settings secondary
Number, can also be arranged three kinds, a kind of, four kinds of default unlocking pins and corresponding setting rock number, replaced.
According to one embodiment of present invention, a kind of electronic equipment for replacing electronic equipment unlocking pin, including:Obtain mould
Block 10, according to the operation for rocking electronic equipment, the acquisition module 10 acquisition electronic equipment rocks number;Judgment module 20, should
Judgment module 20 is electrically connected with the acquisition module 10, which receives the electronic equipment of the output of the acquisition module 10
Rock number, judge rocking number and whether reaching setting and rock number for the electronic equipment obtained;Module 30 is replaced, this is more
Mold changing block 30 is electrically connected with the judgment module 20, and the module 30 of replacing receives shaking for the electronic equipment for judging mould output
It shakes number and reaches the judging result that number is rocked in setting, replace the current unlocking pin of electronic equipment.
Fig. 6 is the composed structure schematic diagram of a kind of electronic equipment of the present invention.As shown in fig. 6, it is according to the present invention another
Embodiment, a kind of electronic equipment for replacing electronic equipment unlocking pin, including:Acquisition module 10, according to rocking electronic equipment
Operation, the acquisition module 10 acquisition electronic equipment rock number;Judgment module 20, the judgment module 20 and the acquisition module
10 electrical connections, the judgment module 20 receive the number that rocks of the electronic equipment of the output of the acquisition module 10, what judgement had obtained
Electronic equipment rocks number and whether reaches setting and rock number;Replace module 30, the replacement module 30 and the judgment module
20 electrical connections, the number that rocks for replacing the electronic equipment that module 30 receives the judgement mould output reach setting and rock number
Judging result, replace the current unlocking pin of electronic equipment;Pre- storing module 40, the pre- storing module 40 and 30 electricity of the replacement module
Connection, the first default unlocking pin in the pre- storing module 40 corresponding at least default two kinds of different unlocking manners, second
The two different first default unlocking pins, the second default solution corresponding to default unlocking pin or same unlocking manner
Lock cipher.
Fig. 7 is the composed structure schematic diagram of another electronic equipment of the invention.As shown in fig. 7, according to the present invention another
A embodiment, a kind of electronic equipment for replacing electronic equipment unlocking pin, including:Acquisition module 10, according to rocking electronic equipment
Operation, which obtains electronic equipment and rocks number;Judgment module 20, the judgment module 20 and the acquisition mould
Block 10 is electrically connected, which receives the number that rocks of the electronic equipment of the output of the acquisition module 10, and judgement has obtained
Electronic equipment rock number and whether reach setting and rock number;Replace module 30, the replacement module 30 and the judgement mould
Block 20 is electrically connected, and the number that rocks for replacing the electronic equipment that module 30 receives the judgement mould output reaches setting and rocks time
Several judging results replaces the current unlocking pin of electronic equipment;Pre- storing module 40, the pre- storing module 40 and the replacement module 30
Electrical connection, the first default unlocking pin in the pre- storing module 40 corresponding at least default two kinds of different unlocking manners, the
It is the two different first default unlocking pins corresponding to two default unlocking pins or same unlocking manner, second default
Unlocking pin;Logging modle 50, the logging modle 50 are electrically connected with the judgment module 20, and the logging modle 50 receives described
The reference information that electronic equipment is rocked in this time that judgment module 20 exports has reached setting threshold values, records this time and rocks electronic equipment
Rock number.
According to another embodiment of the invention, a method of electronic equipment unlocking pin is replaced, including:In the mould that prestores
The first default unlocking pin, the second default unlocking pin in block 40 corresponding at least default two kinds of different unlocking manners, or
The two different first default unlocking pins, the second default unlocking pin corresponding to same unlocking manner, such as sliding solution
Specific pattern in lock be in the first default unlocking pin, input password unlock to set input password close as the second default unlock
Code;Alternatively, setting PIN code as the first default unlocking pin in PIN code unlock, the specific pattern in sliding unlock is second pre-
If unlocking pin;Alternatively, the first specific pattern in sliding unlock is the first default unlocking pin, second in sliding unlock is special
It is second default unlocking pin etc. to determine pattern, if be two kinds of default unlocking pins under same unlocking manner, for side
Just user uses, and can increase the information such as pattern, color on display interface and be distinguished;Judgment module 20 judges Current electronic
Whether equipment is in screen state of going out;If current electronic device is in screen state of going out, judgment module 20 also judges current electronic device
Whether screen lock state is in;If current electronic device is in screen lock state, acquisition module 10 according to the operation for rocking electronic equipment,
Obtain the reference information for rocking electronic equipment every time and generating;The reference information can be the gravity obtained by gravity sensor
Value can also be the acceleration etc. that 3-axis acceleration sensor or six-axle acceleration sensor obtain;Judgment module 20 also judges
Whether the reference information that this time obtained is rocked electronic equipment and generated reaches setting threshold values;If electronic equipment is rocked in this time
Reference information has reached setting threshold values, and what logging modle 50 recorded that this time rock electronic equipment rocks number;If electricity is rocked in this time
The reference information of sub- equipment not up to sets threshold values, and what logging modle 50 did not recorded that this time rock electronic equipment rocks number;Sentence
For disconnected module 20 also according to the number that rocks of the electronic equipment obtained, judge the electronic equipment obtained rocks whether number reaches
Number is rocked to the first setting or number is rocked in the second setting;Preferably, it obtains and rocks the number that rocks of electronic equipment and refer to:
Obtain in setting time (such as 10S or 20S or 30S etc.) rock electronic equipment rock number;If the electronic equipment obtained
The number that rocks rock number (such as 3 times) equal to the first setting, replace module 30 and replace the current unlocking pin of electronic equipment and be
First default unlocking pin;If the number that rocks of the electronic equipment obtained rocks number (such as 5 times) equal to the second setting, more
It is the second default unlocking pin to change the mold block 30 and replace the current unlocking pin of electronic equipment;If rocking for the electronic equipment obtained is secondary
Number rocks number (such as 3 times) not equal to the first setting or number (such as 5 times) is rocked in the second setting, replaces module 30 and is changed without
The current unlocking pin of electronic equipment.
Reach after setting rocks number specifically, the present invention can be the number that rocks got in setting time, stands
Horse replaces the unlocking pin of electronic equipment;Can also be obtained in setting time it is whole rock number after, rocked with setting
Number is compared, then replaces the unlocking pin of electronic equipment.
Fig. 8 is the part flow diagram of the method for another replacement electronic equipment unlocking pin of the invention.Fig. 9 is this hair
The part flow diagram of the method for another bright replacement electronic equipment unlocking pin.As shown in Figure 8 and Figure 9, according to the present invention
Another embodiment, a method of replace electronic equipment unlocking pin, including:Mobile phone screen locking setting module, user can be with
Mobile phone is set in mobile phone screen locking setting module according to the hobby of oneself goes out screen when rocking, the mode of mobile phone screen locking, such as password
Unlock, pattern unlock etc.;Under handset sliding screen locking, when the screen that goes out rocks, a kind of screen locking mode can only be set;It can be secondary according to rocking
Several differences sets different screen locking modes;For example rock 1 time and unlocked for pattern, it rocks 2 times and is unlocked for password;Mobile phone rocks
Monitoring modular judges the number whether mobile phone is rocked and rocked, is to shake according to the data that mobile phone gravity sensor returns
It has shaken 1 time or 2 times or multiple;Mobile phone rocks screen lock module, when monitoring under handset sliding screen locking, is shaken when going out screen
After rolling, the screen locking of calling mobile phone operates, and mobile phone is made to be in corresponding screen lock state;It is arranged simultaneously according to mobile phone screen locking setting module
The number rocked with mobile phone allows mobile phone to be in the different screen locking mode such as password unlock or pattern unlock.
Mobile phone is arranged one and shakes function, after opening this function, can pre-enter password, pattern two kinds of locks are arranged
Screen, the screen locking mode being arranged is kept, and rocking action is waited for trigger.Handset sliding screen locking and go out screen in the case of,
If user thinks interim quick-replaceable mobile phone screen locking mode, roll mobile phone, automatic to adjust after mobile phone has monitored rocking action
Go out pattern or password screen locking to replace, in this way, using sliding screen locking when usually user mobile phone is not from hand, once mobile phone does not exist
It when at one's side or not wanting that others is allowed to spy upon privacy, shakes and quickly sets mobile phone to password or pattern screen locking, this mode exists
It ensure that the safety for also increasing mobile phone while user itself facilitates, be very suitable for user's use.It, can in the case where sliding screen locking
Come in a manner of the safer screen locking of quick-replaceable by saving a series of cumbersome settings;In addition, screen locking mode is replaced by shaking,
User is more convenient to use, hommization.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of method for replacing electronic equipment unlocking pin, which is characterized in that including:
For step S10 according to the operation for rocking electronic equipment, obtain electronic equipment rocks number;
For step S20 according to the number that rocks of the electronic equipment obtained, whether judge the electronic equipment obtained rocks number
Reach setting and rocks number;
If the number that rocks for the electronic equipment that step S30 has been obtained reaches setting and rocks number, replaces electronic equipment and currently solve
Lock cipher;The electronic equipment is at least provided with two kinds of default unlocking pins, and the two of corresponding two kinds of default unlocking pins
Kind is default to rock number.
2. as described in claim 1 replace electronic equipment unlocking pin method, which is characterized in that the step S10 it
Before further include:
The first default unlocking pin, the second default unlocking pin corresponding at least default two kinds of different unlocking manners of step S01,
Or the two different first default unlocking pins, the second default unlocking pin corresponding to same unlocking manner.
3. as described in claim 1 replace electronic equipment unlocking pin method, which is characterized in that the step S10 it
Before further include:
Whether step S02 judges current electronic device in screen state of going out;
If step S03 current electronic devices are in screen state of going out, go to step S10;Otherwise, terminate.
4. as described in claim 1 replace electronic equipment unlocking pin method, which is characterized in that the step S10 it
Before further include:
Step S04 judges whether current electronic device is in screen lock state;
If step S05 current electronic devices are in screen lock state, go to step S10;Otherwise, terminate.
5. the method for the replacement electronic equipment unlocking pin as described in any one of Claims 1 to 4, which is characterized in that institute
Stating step S10 further includes:
Step S11 obtains the reference information for rocking electronic equipment every time and generating according to the operation for rocking electronic equipment;
Step S12 judges whether the reference information that this time obtained is rocked electronic equipment and generated reaches setting threshold values;
If the reference information that electronic equipment is rocked in this times of step S13 has reached setting threshold values, records this time and rock electronic equipment
Rock number;
If the reference information that electronic equipment is rocked in this times of step S14 not up to sets threshold values, this time is not recorded rock electronics and set
Standby rocks number.
6. the method for the replacement electronic equipment unlocking pin as described in any one of Claims 1 to 4, it is characterised in that:
According to the operation for rocking electronic equipment, the number that rocks that electronic equipment is rocked in acquisition refers to the step S10:In setting
It is interior obtain rock electronic equipment rock number.
7. the method for replacing electronic equipment unlocking pin as claimed in claim 2, which is characterized in that the step S30 is also wrapped
It includes:
If the number that rocks for the electronic equipment that step S31 has been obtained rocks number equal to the first setting, replaces electronic equipment and work as
Preceding unlocking pin is the first default unlocking pin;
If the number that rocks for the electronic equipment that step S32 has been obtained rocks number equal to the second setting, replaces electronic equipment and work as
Preceding unlocking pin is the second default unlocking pin;
If the electronic equipment that step S33 has been obtained rocks that number rocks number not equal to the first setting or the second setting is rocked time
Number, then be changed without the current unlocking pin of electronic equipment.
8. a kind of electronics of the method for replacement electronic equipment unlocking pin of application as described in any one of claim 1~7
Equipment, which is characterized in that including:
Acquisition module, according to the operation for rocking electronic equipment, acquisition module acquisition electronic equipment rocks number;
Judgment module, the judgment module are electrically connected with the acquisition module, which receives the acquisition module output
Electronic equipment rocks number, judges rocking number and whether reaching setting and rock number for the electronic equipment obtained;
Module is replaced, which is electrically connected with the judgment module, and the replacement module receives the judgment module output
The number that rocks of electronic equipment reach setting and rock the judging result of number, replace the current unlocking pin of electronic equipment;It is described
Electronic equipment is at least provided with two kinds of default unlocking pins, and two kinds of corresponding two kinds of default unlocking pins default rock time
Number.
9. replacing the electronic equipment of electronic equipment unlocking pin as claimed in claim 8, which is characterized in that further include:
Pre- storing module, the pre- storing module are electrically connected with the replacement module, and two kinds of differences are at least preset in the pre- storing module
Corresponding to the first default unlocking pin, the second default unlocking pin or same unlocking manner corresponding to unlocking manner
Two different first default unlocking pins, the second default unlocking pin.
10. replacing the electronic equipment of electronic equipment unlocking pin as claimed in claim 8, which is characterized in that further include:
Logging modle, the logging modle are electrically connected with the judgment module, and the logging modle receives the judgment module output
This time rock the reference information of electronic equipment and have reached setting threshold values, record that this time rock electronic equipment rocks number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510908074.XA CN105335074B (en) | 2015-12-09 | 2015-12-09 | A kind of method and electronic equipment for replacing electronic equipment unlocking pin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510908074.XA CN105335074B (en) | 2015-12-09 | 2015-12-09 | A kind of method and electronic equipment for replacing electronic equipment unlocking pin |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105335074A CN105335074A (en) | 2016-02-17 |
CN105335074B true CN105335074B (en) | 2018-07-24 |
Family
ID=55285660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510908074.XA Active CN105335074B (en) | 2015-12-09 | 2015-12-09 | A kind of method and electronic equipment for replacing electronic equipment unlocking pin |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105335074B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092351A (en) * | 2013-01-31 | 2013-05-08 | 广东欧珀移动通信有限公司 | Alarm clock ringing stopping method and device and mobile terminal |
CN103135792A (en) * | 2013-03-12 | 2013-06-05 | 广东欧珀移动通信有限公司 | Method and device for terminal unlocking with gravity sensing principle |
CN103577732A (en) * | 2012-07-24 | 2014-02-12 | 联想(北京)有限公司 | Information processing method and device and electronic device |
CN104571835A (en) * | 2013-10-09 | 2015-04-29 | 英业达科技有限公司 | Shaking unlocking handheld device and method thereof |
CN104777982A (en) * | 2015-04-27 | 2015-07-15 | 努比亚技术有限公司 | Method and device for switching terminal input method |
-
2015
- 2015-12-09 CN CN201510908074.XA patent/CN105335074B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577732A (en) * | 2012-07-24 | 2014-02-12 | 联想(北京)有限公司 | Information processing method and device and electronic device |
CN103092351A (en) * | 2013-01-31 | 2013-05-08 | 广东欧珀移动通信有限公司 | Alarm clock ringing stopping method and device and mobile terminal |
CN103135792A (en) * | 2013-03-12 | 2013-06-05 | 广东欧珀移动通信有限公司 | Method and device for terminal unlocking with gravity sensing principle |
CN104571835A (en) * | 2013-10-09 | 2015-04-29 | 英业达科技有限公司 | Shaking unlocking handheld device and method thereof |
CN104777982A (en) * | 2015-04-27 | 2015-07-15 | 努比亚技术有限公司 | Method and device for switching terminal input method |
Also Published As
Publication number | Publication date |
---|---|
CN105335074A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2857947A1 (en) | Terminal device and unlocking method thereof | |
CN102932540B (en) | Mobile terminal and stealing prevention method thereof | |
CN104714641B (en) | Application program plus unlocking method and device | |
CN103413072A (en) | Application program protection method and device | |
CN103139353A (en) | Lock unlocking method and lock unlocking device of mobile terminal | |
CN104182500B (en) | Safety prompt function method and apparatus | |
CN104036195A (en) | Information processing method and device | |
CN105786303B (en) | The unlocking screen method and electronic device of electronic device | |
CN103533180A (en) | Set contact calling based method for unlocking mobile phone | |
CN107231607A (en) | Unlocking method, tripper and the computer-readable recording medium of blue-tooth intelligence lock | |
CN105224194B (en) | A kind of data processing method and terminal | |
CN105184132A (en) | Electronic device privacy right management method and system | |
CN109040351A (en) | Camera control method, device, mobile terminal and storage medium | |
JP2010257060A (en) | Authentication system and authentication method | |
CN105335074B (en) | A kind of method and electronic equipment for replacing electronic equipment unlocking pin | |
CN105516500B (en) | A kind of method and system selecting equipment mode | |
CN107872428A (en) | The login method and device of application program | |
CN107451464A (en) | Prompt message output method and device | |
CN105701376B (en) | The combination unlocking method and intelligent terminal of a kind of intelligent terminal | |
CN107346387A (en) | Unlocking method and device | |
CN105630320B (en) | The unlocking screen method and screen unlocking device of terminal | |
CN104598785B (en) | A kind of method and device for entering different mode based on unlocking pin | |
CN108052810A (en) | A kind of data processing method, device and equipment | |
CN104200543B (en) | There is the Lock control system of mobile communication module | |
CN106529252A (en) | Unlocking method and device for terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201103 Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Patentee before: Phicomm (Shanghai) Co.,Ltd. |
|
TR01 | Transfer of patent right |