CN105159557B - The generation method and mobile terminal of a kind of unlocking pin - Google Patents
The generation method and mobile terminal of a kind of unlocking pin Download PDFInfo
- Publication number
- CN105159557B CN105159557B CN201510542558.7A CN201510542558A CN105159557B CN 105159557 B CN105159557 B CN 105159557B CN 201510542558 A CN201510542558 A CN 201510542558A CN 105159557 B CN105159557 B CN 105159557B
- Authority
- CN
- China
- Prior art keywords
- touch
- unlocking pin
- control operation
- touch control
- pressure
- 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.)
- Expired - Fee Related
Links
Abstract
The embodiment of the invention discloses a kind of generation method of unlocking pin and mobile terminal, wherein the method that application starts may include:The password that monitoring user shows to touch display screen sets first touch control operation at interface;After first touch control operation is monitored, the touch-control pressure of first touch control operation is obtained;In the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, then according to the touch-control pressing creation unlocking pin of first touch control operation;The unlocking pin is included setting on interface in the password.Using the embodiment of the present invention, at least one unlocking pin can be generated at random according to the touch-control pressure of touch control operation, ensure that the security of mobile terminal, improve Consumer's Experience.
Description
Technical field
The present invention relates to the generation method and mobile terminal of intelligent terminal technical field, more particularly to a kind of unlocking pin.
Background technology
Currently, user can carry out screen locking operation according to diversified forms to mobile terminal, after mobile terminal carries out screen locking, can keep away
Exempt from the maloperation because of caused by touch display screen.Active user can be configured in several ways when setting unlocking pin,
Such as numerical ciphers, graphical passwords.But user can be set identical or similar according to personal habits more when setting unlocking pin
Password, easily cause illegally to crack.The security of mobile terminal is have impact on, reduces Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of generation method and mobile terminal of unlocking pin, can be according to the touch-control of touch control operation
Pressure generates at least one unlocking pin at random, ensure that the security of mobile terminal, improves Consumer's Experience.
First aspect of the embodiment of the present invention provides a kind of generation method of unlocking pin, and methods described may include:
The password that monitoring user shows to touch display screen sets first touch control operation at interface;
After first touch control operation is monitored, the touch-control pressure of first touch control operation is obtained;
In the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, then grasped according to first touch-control
The touch-control pressing creation unlocking pin of work;
The unlocking pin is included setting on interface in the password.
As preferred embodiment, the touch-control pressure in first touch control operation exceedes the situation of predetermined threshold value
Under, then included according to the touch-control pressing creation unlocking pin of first touch control operation:
In the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, first touch control operation is judged
Touch-control pressure whether in one of pressure limit of default N number of pressure limit, wherein, N number of pressure limit
The generation quantity of the corresponding unlocking pin, N is integer;
If judge i-th pressure limit of the touch-control pressure of first touch control operation in N number of pressure limit
It is interior, then the M unlocking pin corresponding with i-th of pressure limit is generated, M is integer;
Wherein, it is described to include including on password setting interface by the unlocking pin:
M unlocking pin of the generation is included setting on interface in the password.
As preferred embodiment, include setting interface in the password in the M unlocking pin by the generation
After upper, methods described also includes:
Monitor the second touch control operation that user sets interface to the password;
After second touch control operation is monitored, unlocking pin corresponding to second touch control operation is selected as current
Unlocking pin.
As preferred embodiment, unlocking pin corresponding to selection second touch control operation is close as currently unlocking
Code includes:
Obtain the touch-control coordinate of second touch control operation;
When it is determined that the touch-control coordinate falls into the M unlocking pin viewing area of j-th unlocking pin, selection
J-th of unlocking pin is as the current unlocking pin.
As preferred embodiment, in unlocking pin corresponding to selection second touch control operation as current unblock
After password, methods described also includes:
Monitor threeth touch control operation of the user to terminal virtual key;
After three touch control operation is monitored, the touch-control pressure of the 3rd touch control operation is obtained;
After the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, locking screen interface is shown.
As preferred embodiment, the generation M unlocking pin corresponding with i-th of scope includes:
If judging the touch-control pressure of first touch control operation in i-th of pressure limit in N number of pressure limit,
Obtain the touch-control duration of first touch control operation;
The touch-control duration is divided into M duration scope;
The touch-control pressure of each duration scope in the M duration scope is obtained respectively;
Obtain the pressure value of the touch-control pressure in the range of each duration;
Data message in the pressure value of touch-control pressure described in random acquisition in the range of each duration, according to what is gathered
The data message generates unlocking pin.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal may include:
First monitoring modular, the first touch-control behaviour at interface is set for monitoring the password that user shows to touch display screen
Make;
First acquisition module, for after first touch control operation is monitored, obtaining touching for first touch control operation
Governor pressure;
Generation module, in the case of exceeding predetermined threshold value in the touch-control pressure of first touch control operation, then basis
The touch-control pressing creation unlocking pin of first touch control operation;
First display module, for including the unlocking pin to set interface in the password.
As preferred embodiment, the generation module includes:
Judging unit, in the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, judge described the
The touch-control pressure of one touch control operation whether in one of pressure limit of default N number of pressure limit, wherein, it is described N number of
Pressure limit correspond to the generation quantity of the unlocking pin, N is integer;
Generation unit, judge the touch-control pressure of first touch control operation in N number of model for the judging unit
In the range of i-th enclosed, then the M unlocking pin corresponding with i-th of scope is generated, M is integer;
Wherein, first display module is additionally operable to:
M unlocking pin of the generation is included setting on interface in the password.
As preferred embodiment, the terminal also includes:
Second monitoring modular, for including M unlocking pin of the generation in the password in the display module
After setting on interface, monitoring user sets second touch control operation at interface to the password;
Selecting module, for after second touch control operation is monitored, selecting to solve corresponding to second touch control operation
Lock cipher is as current unlocking pin.
As preferred embodiment, the selecting module includes:
Acquiring unit, for obtaining the touch-control coordinate of second touch control operation;
Selecting unit, when it is determined that the touch-control coordinate falls into the viewing area of j-th of unlocking pin in the M unlocking pin
During domain, j-th of unlocking pin is selected as the current unlocking pin.
As preferred embodiment, the terminal also includes:
3rd monitoring modular, for selecting unlocking pin conduct corresponding to second touch control operation in the selecting module
After current unlocking pin, threeth touch control operation of the monitoring user to terminal virtual key;
Second acquisition module, for after three touch control operation is monitored, obtaining touching for the 3rd touch control operation
Governor pressure;
Second display module, for after the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, showing
Locking screen interface.
As preferred embodiment, the generation unit includes:
Duration obtains subelement, if for judging the touch-control pressure of first touch control operation in N number of pressure limit
I-th of pressure limit in, then obtain the touch-control duration of first touch control operation;
Subelement is divided, for the touch-control duration to be divided into M duration scope;
Subelement is obtained respectively, for obtaining the touch-control pressure of each duration scope in the M duration scope respectively;
Pressure value obtains subelement, for obtaining the pressure value of the touch-control pressure in the range of each duration;
Subelement is gathered, for the data letter in the pressure value of the touch-control pressure described in random acquisition in the range of each duration
Breath, unlocking pin is generated according to the data message gathered.
In the embodiment of the present invention, when the first touch-control for monitoring user and being set to the password that is shown in touch display screen interface
After operation, it can judge whether the touch control operation indicates to generate unlocking pin by the touch-control pressure of the first touch control operation of acquisition.When
In the case that the touch-control pressure of first touch control operation exceedes predetermined threshold value, then unlocking pin can be generated according to the touch-control pressure, and
The unlocking pin can be included setting on interface in password, so as to which user sets password without oneself, can be obtained by the above method
Random cipher is taken, the security of mobile terminal is ensure that, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this area
For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is the schematic flow sheet of an embodiment of the generation method of unlocking pin provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of the generation method of unlocking pin provided in an embodiment of the present invention;
Fig. 3 is the structural representation of an embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another embodiment of mobile terminal provided in an embodiment of the present invention.
Embodiment
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 clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
, can touching according to touch control operation the embodiment of the invention discloses a kind of generation method of unlocking pin and mobile terminal
Governor pressure generates at least one unlocking pin at random, ensure that the security of mobile terminal, improves Consumer's Experience.Below will knot
Accompanying drawing is closed to be described in detail.The mobile terminal of the wherein embodiment of the present invention may include but be not limited to mobile phone, notebook computer, put down
The mobile terminals such as plate computer.
Referring to Fig. 1, the flow that Fig. 1 is an embodiment of the generation method of unlocking pin provided in an embodiment of the present invention is shown
It is intended to.The method of the embodiment of the present invention can be realized by mobile terminal.As shown in figure 1, this method may comprise steps of.
Step S101, the password that monitoring user shows to touch display screen set first touch control operation at interface.
In one embodiment, when user needs to set password, mobile terminal can show that password sets interface.Wherein,
Can be by a certain application, such as random generation cipher application, display password sets interface;Also it can show that password is set in system setting
Put interface.Optionally, user can set unlocking pin to a certain application, also can set unlocking pin to terminal screen locking.Specifically,
The password of setting may include that numerical ciphers, gesture password or pattern password (such as input hand in the nine grids that locking screen interface is shown
Gesture password or pattern password) etc..
In one embodiment, first touch control operation at interface can be set by monitoring user to the password of display, judged
Whether user needs to obtain random unlocking pin.
Step S102, after first touch control operation is monitored, obtain the touch-control pressure of first touch control operation.
In one embodiment, after monitoring that user sets first touch control operation at interface to the password of display, then may be used
The touch-control pressure of the touch control operation is obtained, and whether the touch-control pressure that can further detect the first touch control operation exceedes default threshold
Value, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value, shows that user needs to obtain random cipher;If inspection
The touch-control pressure of the first touch control operation is measured not less than predetermined threshold value, then current display interface can be entered according to the first touch control operation
Other operations of row, such as switch to other interfaces.
Step S103, in the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, then according to
The touch-control pressing creation unlocking pin of first touch control operation.
In one embodiment, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value, can be according to this
Touch-control pressing creation unlocking pin.Optionally, random cipher can be generated according to the pressure value or pressure limit of touch-control pressure, also may be used
According to password corresponding to the pressure value of touch-control pressure or pressure limit generation.As obtained user with random more than predetermined threshold value
The pressure value or pressure limit of touch-control pressure, in specific pressure value or pressure limit, a few numerals, generation are selected at random
Unlocking pin, or the several numerals selected at random are converted into gesture or pattern password.Optionally, also can be according to touch-control pressure one
The secondary multiple unlocking pins of generation, there is provided to user, allow users to be selected, enhance Consumer's Experience.According to touch-control pressure
Also unlocking pin can be generated by other means, be not construed as limiting in the embodiment of the present invention.
Step S104, the unlocking pin is included setting on interface in the password.
In one embodiment, can be by unlocking pin if according to the touch-control pressing creation unlocking pin of the first touch control operation
It is shown in password and interface is set, so as to which user can obtains random cipher by way of pressing touch display screen.Specifically, it can give birth to
Into multiple unlocking pins, multiple unlocking pins can be simultaneously displayed on to password and set on interface, also can be by multiple unblocks of generation
Password is sequentially displayed in password and set on interface.User can select one of unlocking pin according to touch control operation.When user selects
After taking a certain unlocking pin, the unlocking pin can be preserved.When the lock for getting user's input on locking screen interface again
After shielding password, it can be contrasted with the unlocking pin of storage, judge whether it is consistent.
Optionally, unlocking pin can be shown according to default display pattern, such as default display pattern is numerical ciphers, then
Unlocking pin is converted into figure pattern to be shown;If default display pattern is pattern password, unlocking pin can be turned
Pattern is changed to be shown.If default display pattern is gesture password, unlocking pin can be converted into and receive rice password
It has been shown that, and the slip order of the gesture password of generation can be shown.
In the embodiment of the present invention, when the first touch-control for monitoring user and being set to the password that is shown in touch display screen interface
After operation, it can judge whether the touch control operation indicates to generate unlocking pin by the touch-control pressure of the first touch control operation of acquisition.When
In the case that the touch-control pressure of first touch control operation exceedes predetermined threshold value, then unlocking pin can be generated according to the touch-control pressure, and
The unlocking pin can be included setting on interface in password, so as to which user sets password without oneself, can be obtained by the above method
Random cipher is taken, the security of mobile terminal is ensure that, improves Consumer's Experience.
Referring to Fig. 2, Fig. 2 is the flow of another embodiment of the generation method of unlocking pin provided in an embodiment of the present invention
Schematic diagram.The method of the embodiment of the present invention can be realized by mobile terminal.As shown in Fig. 2 this method can include following step
Suddenly.
Step S201, the password that monitoring user shows to touch display screen set first touch control operation at interface.
In one embodiment, when user needs to set password, mobile terminal can show that password sets interface.Wherein,
Can be by a certain application, such as random generation cipher application, display password sets interface;Also it can show that password is set in system setting
Put interface.Optionally, user can set unlocking pin to a certain application, also can set unlocking pin to terminal screen locking.Specifically,
The password of setting may include that numerical ciphers, gesture password or pattern password (such as input hand in the nine grids that locking screen interface is shown
Gesture password or pattern password) etc..
In one embodiment, first touch control operation at interface can be set by monitoring user to the password of display, judged
Whether user needs to obtain random cipher.
Step S202, after first touch control operation is monitored, obtain the touch-control pressure of first touch control operation.
In one embodiment, after monitoring that user sets first touch control operation at interface to the password of display, then may be used
The touch-control pressure of the touch control operation is obtained, and whether the touch-control pressure that can further detect the first touch control operation exceedes default threshold
Value, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value, shows that user needs to obtain random cipher;If inspection
The touch-control pressure of the first touch control operation is measured not less than predetermined threshold value, then current display interface can be entered according to the first touch control operation
Other operations of row, such as switch to other interfaces.
Step S203, in the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, judge described the
The touch-control pressure of one touch control operation whether in one of pressure limit of default N number of pressure limit, wherein, it is described N number of
Pressure limit corresponds to the generation quantity of the unlocking pin, and N is integer.
In one embodiment, if the touch-control pressure of the first touch control operation exceedes predetermined threshold value, show that user needs to obtain
Take unlocking pin, then can determine whether the first touch control operation touch-control pressure whether default N song pressure limit wherein
In one pressure limit.Wherein, N number of pressure limit corresponds to the generation quantity of unlocking pin, and such as N number of pressure limit is continuous model
Enclose, including (0.1~0.2) N, (0.2~0.3) N, (0.3~0.4) N etc., then scope (0.1~0.2) N can corresponding to unblock it is close
The generation quantity of code is 1, and the generation quantity of unlocking pin corresponding to scope (0.2~0.3) N is 2, accordingly, class successively
Pushing away can show that n-th pressure limit corresponds to N number of generation quantity or N integral multiple generation quantity.
Step S204, if judging i-th of the touch-control pressure of first touch control operation in N number of pressure limit
In pressure limit, then the M unlocking pin corresponding with i-th of pressure limit is generated, M is integer.
In one embodiment, if judging i-th scope of the touch-control pressure of the first touch control operation in N number of scope
Interior, wherein i-th of scope can correspond to M unlocking pin, as in above-mentioned example, i-th of scope can correspond to i unlocking pin.Root
According to default corresponding relation, M can be equal to i or other integers, the embodiment of the present invention do not limit, then it is close can to correspond to M unblock of generation
Code.For example, if the touch-control pressure for judging the first touch control operation is 0.42N, in scope (0.4~0.5) N;If model
It is 6 to enclose generation quantity corresponding to (0.4~0.5) N, then it is close can to generate 6 unblocks according to the touch-control pressure of the first touch control operation
Code.
Optionally, after the unlocking pin quantity for judging to need, if generation quantity is M, then the can further be obtained
The touch-control duration of one touch control operation, and touch-control duration is divided into M duration scope, and obtain respectively in the range of the M duration
Touch-control pressure pressure value, according in the range of each duration pressure value generate a unlocking pin, then unlocking pin is total
Body quantity is M.Specifically, can by the data message of the pressure value in the range of each duration of acquisition of random acquisition, according to
The data message generates unlocking pin, if the form of unlocking pin is pattern password or gesture password, according to the data message
Pattern password or gesture password, and the sequencing of the data message according to random acquisition are drawn out, unlocking pin is set out
Order direction.
Step S205, M unlocking pin of the generation is included setting on interface in the password.
In one embodiment, the M unlocking pins of generation can be included setting on interface in password, makes user can be from multiple
Selected in unlocking pin.Unlocking pin can be shown according to default display pattern, such as default display pattern is digital close
Code, then be converted to figure pattern by unlocking pin and shown;If default display pattern is pattern password, will can unlock close
Code is converted to pattern and shown.If default display pattern is gesture password, unlocking pin can be converted into gesture
Password is shown, and can show the gesture order of the gesture password of generation.
Step S206, monitoring user set second touch control operation at interface to the password.
In one embodiment, after showing M unlocking pin of generation at the same time, user can be monitored interface is set to password
The second touch control operation.The touch control operation corresponding selection instruct, can according to the second touch control operation select corresponding to unlocking pin, and
The unlocking pin can be preserved.Before being preserved, it may be determined that the attribute of the unlocking pin, be such as a certain application of triggering
Unlocking pin or the unlocking pin that shows of triggering touch display screen.
Step S207, after second touch control operation is monitored, select unblock corresponding to second touch control operation close
Code is used as current unlocking pin.
In the embodiment of the present invention, step S207 may include following steps:
Obtain the touch-control coordinate of second touch control operation;
When it is determined that the touch-control coordinate falls into the M unlocking pin viewing area of j-th unlocking pin, selection
J-th of unlocking pin is as the current unlocking pin.
Specifically, after the second touch control operation is monitored, where the touch-control coordinate that can further obtain the second touch control operation
Position, however, it is determined that go out the viewing area that touch-control coordinate falls into j-th of unlocking pin in M unlocking pin, then j-th of solution may be selected
Lock cipher is as current unlocking pin.Wherein, current unlocking pin may include that the unlocking pin for triggering display interface or triggering are entered
Enter the unlocking pin of the menu interface of a certain application.
Step S208, threeth touch control operation of the monitoring user to terminal virtual key.
Step S209, after three touch control operation is monitored, obtain the touch-control pressure of the 3rd touch control operation.
Step S210, after the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, show locking screen interface.
In one embodiment, after unlocking pin is chosen, user can further be monitored to the of terminal virtual key
Three touch control operations.Wherein, virtual key is included in home keys, Menu key or ESC Escape below the touch display screen of mobile terminal
Deng.After user is monitored to three touch control operation of terminal virtual key, the touch-control pressure of the 3rd touch control operation can be obtained, if
Touch-control pressure reaches predetermined threshold value, then can show locking screen interface, so as to make user rapidly enter corresponding locking screen interface, with
The selected unlocking pin of input.Wherein, the predetermined threshold value may be configured as identical with the predetermined threshold value in the first touch control operation, i.e.,
When the touch-control pressure of touch control operation meets or exceeds the predetermined threshold value, that is, the touch control operation is judged for pressing operation, i.e., according to tactile
Governor pressure carries out respective operations.
In the embodiment of the present invention, when the first touch-control for monitoring user and being set to the password that is shown in touch display screen interface
After operation, it can judge whether the touch control operation indicates to generate unlocking pin by the touch-control pressure of the first touch control operation of acquisition.When
In the case that the touch-control pressure of first touch control operation exceedes predetermined threshold value, then unlocking pin can be generated according to the touch-control pressure, and
The unlocking pin can be included setting on interface in password, so as to which user sets password without oneself, can be obtained by the above method
Random cipher is taken, the security of mobile terminal is ensure that, improves Consumer's Experience.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of an embodiment of mobile terminal provided in an embodiment of the present invention.Such as Fig. 3
Shown, the mobile terminal may include the first monitoring modular 301, the first acquisition module 302, generation module 303, the first display module
304。
Wherein, the first monitoring modular 301, the first of interface is set for monitoring the password that user shows to touch display screen
Touch control operation.
In one embodiment, when user needs to set password, mobile terminal can show that password sets interface.Wherein,
Can be by a certain application, such as random generation cipher application, display password sets interface;Also it can show that password is set in system setting
Put interface.Optionally, user can set unlocking pin to a certain application, also can set unlocking pin to terminal screen locking.Specifically,
The password of setting may include that numerical ciphers, gesture password or pattern password (such as input hand in the nine grids that locking screen interface is shown
Gesture password or pattern password) etc..
In one embodiment, the first monitoring modular 301 can set the of interface by monitoring user to the password of display
One touch control operation, judges whether user needs to obtain random unlocking pin.
First acquisition module 302, for after first touch control operation is monitored, obtaining first touch control operation
Touch-control pressure.
In one embodiment, when the first monitoring modular 301 monitors that user sets the first of interface to the password of display
After touch control operation, then the first acquisition module 302 can obtain the touch-control pressure of the touch control operation, and can further detect the first touch-control
Whether the touch-control pressure of operation exceedes predetermined threshold value, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value,
Show that user needs to obtain random cipher;If detecting, the touch-control pressure of the first touch control operation, can root not less than predetermined threshold value
Other operations are carried out to current display interface according to the first touch control operation, such as switch to other interfaces.
Generation module 303, in the case of exceeding predetermined threshold value in the touch-control pressure of first touch control operation, then root
According to the touch-control pressing creation unlocking pin of first touch control operation.
In one embodiment, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value, generation module
303 can be according to the touch-control pressing creation unlocking pin.Optionally, can according to the pressure value or pressure limit of touch-control pressure generate with
Secret code, also can according to the pressure value or pressure limit of touch-control pressure generate corresponding to password.User is such as obtained with more than default
The pressure value or pressure limit of the random touch-control pressure of threshold value, in specific pressure value or pressure limit, select certain at random
Several numerals, unlocking pin is generated, or the several numerals selected at random are converted into gesture or pattern password.Optionally, also may be used
Multiple unlocking pins are once generated according to touch-control pressure, there is provided to user, allow users to be selected, enhance user's body
Test.Unlocking pin can also be generated by other means according to touch-control pressure, be not construed as limiting in the embodiment of the present invention.
First display module 304, for including the unlocking pin to set interface in the password.
In one embodiment, if generation module 303 is according to the touch-control pressing creation unlocking pin of the first touch control operation,
One display module 304 can include unlocking pin to set interface in password, so as to which user can be by pressing the side of touch display screen
Formula obtains random cipher.Specifically, multiple unlocking pins can be generated, multiple unlocking pins can be simultaneously displayed on to password circle is set
On face, multiple unlocking pins of generation can be also sequentially displayed in password and set on interface.User can select according to touch control operation
One of unlocking pin.After user chooses a certain unlocking pin, the unlocking pin can be preserved.When again in screen locking
After the screen-lock password that user's input is got on interface, it can be contrasted with the unlocking pin of storage, judge whether it is consistent.
Optionally, unlocking pin can be shown according to default display pattern, such as default display pattern is numerical ciphers, then
Unlocking pin is converted into figure pattern to be shown;If default display pattern is pattern password, unlocking pin can be turned
Pattern is changed to be shown.If default display pattern is gesture password, unlocking pin can be converted into and receive rice password
It has been shown that, and the slip order of the gesture password of generation can be shown.
In the embodiment of the present invention, when the first touch-control for monitoring user and being set to the password that is shown in touch display screen interface
After operation, it can judge whether the touch control operation indicates to generate unlocking pin by the touch-control pressure of the first touch control operation of acquisition.When
In the case that the touch-control pressure of first touch control operation exceedes predetermined threshold value, then unlocking pin can be generated according to the touch-control pressure, and
The unlocking pin can be included setting on interface in password, so as to which user sets password without oneself, can be obtained by the above method
Random cipher is taken, the security of mobile terminal is ensure that, improves Consumer's Experience.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet of another embodiment of mobile terminal provided in an embodiment of the present invention.Such as
Shown in Fig. 4, the mobile terminal may include that the first monitoring modular 401, the first acquisition module 402, generation module 403, first are shown
Module 404, the second monitoring modular 405, selecting module 406, the 3rd monitoring modular 407, the display of the second acquisition module 408, second
Module 409.
Wherein, the first monitoring modular 401, the first of interface is set for monitoring the password that user shows to touch display screen
Touch control operation.
In one embodiment, when user needs to set password, mobile terminal can show that password sets interface.Wherein,
Can be by a certain application, such as random generation cipher application, display password sets interface;Also it can show that password is set in system setting
Put interface.Optionally, user can set unlocking pin to a certain application, also can set unlocking pin to terminal screen locking.Specifically,
The password of setting may include that numerical ciphers, gesture password or pattern password (such as input hand in the nine grids that locking screen interface is shown
Gesture password or pattern password) etc..
In one embodiment, the first monitoring modular 401 can set the of interface by monitoring user to the password of display
One touch control operation, judges whether user needs to obtain random cipher.
First acquisition module 402, for after first touch control operation is monitored, obtaining first touch control operation
Touch-control pressure.
In one embodiment, when the first monitoring modular 401 monitors that user sets the first of interface to the password of display
After touch control operation, then the first acquisition module 402 can obtain the touch-control pressure of the touch control operation, and can further detect the first touch-control
Whether the touch-control pressure of operation exceedes predetermined threshold value, if detecting, the touch-control pressure of the first touch control operation exceedes predetermined threshold value,
Show that user needs to obtain random cipher;If detecting, the touch-control pressure of the first touch control operation, can root not less than predetermined threshold value
Other operations are carried out to current display interface according to the first touch control operation, such as switch to other interfaces.
Generation module 403, in the case of exceeding predetermined threshold value in the touch-control pressure of first touch control operation, then root
According to the touch-control pressing creation unlocking pin of first touch control operation.
In the embodiment of the present invention, generation module 403 may include with lower unit:
Judging unit 4031, in the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, judge institute
The touch-control pressure of the first touch control operation is stated whether in one of pressure limit of default N number of pressure limit, wherein, it is described
N number of pressure limit corresponds to the generation quantity of the unlocking pin, and N is integer;
Generation unit 4032, judge the touch-control pressure of first touch control operation in the N for the judging unit
In the range of i-th in individual pressure limit, then the M unlocking pin corresponding with i-th of pressure limit is generated, M is whole
Number.
In one embodiment, if the touch-control pressure of the first touch control operation exceedes predetermined threshold value, show that user needs to obtain
Unlocking pin is taken, then further by judging unit 4031 the touch-control pressure of the first touch control operation can be judged whether in default N
In the one of pressure limit for singing pressure limit.Wherein, N number of pressure limit corresponds to the generation quantity of unlocking pin, such as N number of pressure
Power scope is successive range, including (0.1~0.2) N, (0.2~0.3) N, (0.3~0.4) N etc., then scope (0.1~0.2) N
Can corresponding to unlocking pin generation quantity be 1, the generation quantity of unlocking pin corresponding to scope (0.2~0.3) N be 2,
Accordingly, the like can show that n-th scope corresponds to N number of generation quantity or N integral multiple generation quantity.
In one embodiment, if judging unit 4031 judges the touch-control pressure of the first touch control operation in N number of scope
I-th in the range of, wherein i-th of scope can correspond to M unlocking pin, as in above-mentioned example, i-th of scope can correspond to i
Unlocking pin.According to default corresponding relation, M can be equal to i or other integers, the embodiment of the present invention do not limit, then generation unit
4032 can correspond to M unlocking pin of generation.For example, if the touch-control pressure for judging the first touch control operation is 0.42N,
In scope (0.4~0.5) N;, can touching according to the first touch control operation if generation quantity corresponding to scope (0.4~0.5) N is 6
Governor pressure, generate 6 unlocking pins.
Optionally, after judging unit 4031 judges the unlocking pin quantity needed, if generation quantity is M, then give birth to
The touch-control duration of the first touch control operation can be further obtained into unit 4032, and touch-control duration is divided into M duration scope, and
The pressure value of the touch-control pressure in the range of the M duration is obtained respectively, and one is generated according to the pressure value in the range of each duration
Unlocking pin, then the total number of unlocking pin is M.Specifically, in the range of can be by each duration of acquisition of random acquisition
Pressure value data message, according to the data message generate unlocking pin, if the form of unlocking pin is pattern password or hand
Gesture password, then pattern password or gesture password, and the elder generation of the data message according to random acquisition are drawn out according to the data message
Order afterwards, the order direction of unlocking pin is set out.
First display module 404, for including M unlocking pin of the generation to set interface in the password.
In one embodiment, the first display module 404 can include the M unlocking pins of generation to set interface in password
On, user is selected from multiple unlocking pins.Unlocking pin can be shown according to default display pattern, it is such as default
Display pattern is numerical ciphers, then unlocking pin is converted into figure pattern is shown;If default display pattern is pattern
Password, then unlocking pin can be converted to pattern and be shown.If default display pattern is gesture password, will can solve
Lock cipher is converted into gesture password and shown, and can show the gesture order of the gesture password of generation.
Second monitoring modular 405, second touch control operation at interface is set for monitoring user to the password.
In one embodiment, after the first display module 404 shows M unlocking pin of generation simultaneously, the second monitoring
Module 405 can monitor the second touch control operation that user sets interface to password.The touch control operation corresponding selection instructs, can be according to the
Unlocking pin corresponding to the selection of two touch control operations, and the unlocking pin can be preserved.Before being preserved, it may be determined that should
The unlocking pin that the attribute of unlocking pin, such as unlocking pin for a certain application of triggering or triggering touch display screen are shown.
Selecting module 406, for after second touch control operation is monitored, selecting corresponding to second touch control operation
Unlocking pin is as current unlocking pin.
In the embodiment of the present invention, selecting module 406 may include with lower unit:
Acquiring unit 4061, for obtaining the touch-control coordinate of second touch control operation;
Selecting unit 4062, when it is determined that the touch-control coordinate falls into the M unlocking pin the aobvious of j-th unlocking pin
When showing region, j-th of unlocking pin is selected as the current unlocking pin.
Specifically, after the second touch control operation is monitored, the second touch-control further can be obtained by acquiring unit 4061 and grasped
The touch-control coordinate position of work, however, it is determined that go out the viewing area that touch-control coordinate falls into j-th of unlocking pin in M unlocking pin
Domain, then optional j-th of the unlocking pin of selecting unit 4062 is as current unlocking pin.Wherein, current unlocking pin may include
Trigger the unlocking pin of display interface or trigger the unlocking pin for the menu interface for entering a certain application.
3rd monitoring modular 407, is used for, threeth touch control operation of the monitoring user to terminal virtual key.
Second acquisition module 408, for after three touch control operation is monitored, obtaining the 3rd touch control operation
Touch-control pressure.
Second display module 409, for after the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, showing
Show locking screen interface.
In one embodiment, after selecting module 406 chooses unlocking pin, the 3rd monitoring modular 407 can be further
Monitor threeth touch control operation of the user to terminal virtual key.Wherein, virtual key is included in the touch display screen of mobile terminal
Home keys, Menu key or ESC Escape of lower section etc..When the 3rd monitoring modular 407 monitors user to the 3rd of terminal virtual key
After touch control operation, the second acquisition module 408 can obtain the touch-control pressure of the 3rd touch control operation, if touch-control pressure reaches default threshold
Value, then the second display module 409 can show locking screen interface, so as to make user rapidly enter corresponding locking screen interface, with defeated
Enter selected unlocking pin.Wherein, the predetermined threshold value may be configured as identical with the predetermined threshold value in the first touch control operation, that is, touch
When the touch-control pressure of control operation meets or exceeds the predetermined threshold value, that is, the touch control operation is judged for pressing operation, i.e., according to touch-control
Pressure carries out respective operations.
In the embodiment of the present invention, when the first touch-control for monitoring user and being set to the password that is shown in touch display screen interface
After operation, it can judge whether the touch control operation indicates to generate unlocking pin by the touch-control pressure of the first touch control operation of acquisition.When
In the case that the touch-control pressure of first touch control operation exceedes predetermined threshold value, then unlocking pin can be generated according to the touch-control pressure, and
The unlocking pin can be included setting on interface in password, so as to which user sets password without oneself, can be obtained by the above method
Random cipher is taken, the security of mobile terminal is ensure that, improves Consumer's Experience.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special
Integrated circuit (ASIC) is realized.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
Embodiments described above, the restriction to the technical scheme protection domain is not formed.It is any in above-mentioned implementation
Modifications, equivalent substitutions and improvements made within the spirit and principle of mode etc., should be included in the protection model of the technical scheme
Within enclosing.
Claims (8)
- A kind of 1. generation method of unlocking pin, it is characterised in that including:The password that monitoring user shows to touch display screen sets first touch control operation at interface;After first touch control operation is monitored, the touch-control pressure of first touch control operation is obtained;In the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, then according to first touch control operation Touch-control pressing creation unlocking pin;The unlocking pin is included setting on interface in the password;In the case that the touch-control pressure in first touch control operation exceedes predetermined threshold value, then grasped according to first touch-control The touch-control pressing creation unlocking pin of work includes:In the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, touching for first touch control operation is judged Governor pressure whether in one of pressure limit of default N number of pressure limit, wherein, N number of pressure limit corresponds to institute The generation quantity of unlocking pin is stated, N is integer;If judging the touch-control pressure of first touch control operation in i-th of pressure limit in N number of pressure limit, The generation M unlocking pin corresponding with i-th of pressure limit, M is integer;Wherein, it is described to include including on password setting interface by the unlocking pin:M unlocking pin of the generation is included setting on interface in the password.
- 2. method as claimed in claim 1, it is characterised in that include in the M unlocking pin by the generation described After password is set on interface, methods described also includes:Monitor the second touch control operation that user sets interface to the password;After second touch control operation is monitored, unlocking pin corresponding to second touch control operation is selected as current unblock Password.
- 3. method as claimed in claim 2, it is characterised in that unlocking pin corresponding to selection second touch control operation is made Include for current unlocking pin:Obtain the touch-control coordinate of second touch control operation;When it is determined that the touch-control coordinate falls into the M unlocking pin viewing area of j-th unlocking pin, described in selection J-th of unlocking pin is as the current unlocking pin.
- 4. method as claimed in claim 2, it is characterised in that in unlocking pin corresponding to selection second touch control operation After current unlocking pin, methods described also includes:Monitor threeth touch control operation of the user to terminal virtual key;After three touch control operation is monitored, the touch-control pressure of the 3rd touch control operation is obtained;After the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, locking screen interface is shown.
- A kind of 5. mobile terminal, it is characterised in that including:First monitoring modular, first touch control operation at interface is set for monitoring the password that user shows to touch display screen;First acquisition module, for after first touch control operation is monitored, obtaining the touch-control pressure of first touch control operation Power;Generation module, in the case of exceeding predetermined threshold value in the touch-control pressure of first touch control operation, then according to The touch-control pressing creation unlocking pin of first touch control operation;First display module, for including the unlocking pin to set interface in the password;The generation module includes:Judging unit, in the case where the touch-control pressure of first touch control operation exceedes predetermined threshold value, judge that described first touches The touch-control pressure of operation is controlled whether in one of pressure limit of default N number of pressure limit, wherein, N number of pressure Power scope corresponds to the generation quantity of the unlocking pin, and N is integer;Generation unit, judge the touch-control pressure of first touch control operation in N number of pressure model for the judging unit In i-th of the pressure limit enclosed, then the M unlocking pin corresponding with i-th of pressure limit is generated, M is integer;Wherein, first display module is additionally operable to:M unlocking pin of the generation is included setting on interface in the password.
- 6. terminal as claimed in claim 5, it is characterised in that the terminal also includes:Second monitoring modular, for including setting in the password by M unlocking pin of the generation in the display module After on interface, monitoring user sets second touch control operation at interface to the password;Selecting module, for after second touch control operation is monitored, selecting unblock corresponding to second touch control operation close Code is used as current unlocking pin.
- 7. terminal as claimed in claim 6, it is characterised in that the selecting module includes:Acquiring unit, for obtaining the touch-control coordinate of second touch control operation;Selecting unit, when it is determined that the touch-control coordinate falls into the viewing area of j-th of unlocking pin in the M unlocking pin When, j-th of unlocking pin is selected as the current unlocking pin.
- 8. terminal as claimed in claim 6, it is characterised in that the terminal also includes:3rd monitoring modular, for selecting unlocking pin corresponding to second touch control operation as current in the selecting module After unlocking pin, threeth touch control operation of the monitoring user to terminal virtual key;Second acquisition module, for after three touch control operation is monitored, obtaining the touch-control pressure of the 3rd touch control operation Power;Second display module, for after the touch-control pressure of the 3rd touch control operation reaches the predetermined threshold value, showing screen locking Interface.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150665.9A CN108255393B (en) | 2015-08-27 | 2015-08-27 | Unlocking password generation method and mobile terminal |
CN201510542558.7A CN105159557B (en) | 2015-08-27 | 2015-08-27 | The generation method and mobile terminal of a kind of unlocking pin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542558.7A CN105159557B (en) | 2015-08-27 | 2015-08-27 | The generation method and mobile terminal of a kind of unlocking pin |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810150665.9A Division CN108255393B (en) | 2015-08-27 | 2015-08-27 | Unlocking password generation method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159557A CN105159557A (en) | 2015-12-16 |
CN105159557B true CN105159557B (en) | 2018-03-02 |
Family
ID=54800433
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810150665.9A Active CN108255393B (en) | 2015-08-27 | 2015-08-27 | Unlocking password generation method and mobile terminal |
CN201510542558.7A Expired - Fee Related CN105159557B (en) | 2015-08-27 | 2015-08-27 | The generation method and mobile terminal of a kind of unlocking pin |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810150665.9A Active CN108255393B (en) | 2015-08-27 | 2015-08-27 | Unlocking password generation method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108255393B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653915A (en) * | 2015-12-24 | 2016-06-08 | 深圳市万普拉斯科技有限公司 | Unlocking method and system for terminal with touch display screen |
CN105791531B (en) * | 2015-12-24 | 2019-03-08 | 广东小天才科技有限公司 | A kind of setting method and system of intelligent terminal difference startup password |
CN105574379A (en) * | 2015-12-30 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Private mode starting method and device as well as terminal |
CN107103217A (en) * | 2016-02-23 | 2017-08-29 | 西安中兴新软件有限责任公司 | A kind of terminal unlock method and terminal |
CN108256300A (en) * | 2017-07-24 | 2018-07-06 | 平安科技(深圳)有限公司 | A kind of cipher set-up method, device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101539837A (en) * | 2009-04-16 | 2009-09-23 | 四川大学 | Touch force numerical password input device |
CN102841696A (en) * | 2011-06-24 | 2012-12-26 | 国基电子(上海)有限公司 | Electronic equipment and password input method thereof |
CN104850235A (en) * | 2015-05-28 | 2015-08-19 | 努比亚技术有限公司 | Password input method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080235788A1 (en) * | 2007-03-23 | 2008-09-25 | University Of Ottawa | Haptic-based graphical password |
CN103870181B (en) * | 2012-12-14 | 2017-08-25 | 联想(北京)有限公司 | A kind of control method of handheld device, control device and handheld device |
US20140189604A1 (en) * | 2013-01-03 | 2014-07-03 | International Business Machines Corporation | Method and system for unlocking a touchscreen of an electronic device |
CN104834462A (en) * | 2015-03-31 | 2015-08-12 | 努比亚技术有限公司 | Unlocking method for terminal equipment and terminal equipment |
-
2015
- 2015-08-27 CN CN201810150665.9A patent/CN108255393B/en active Active
- 2015-08-27 CN CN201510542558.7A patent/CN105159557B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101539837A (en) * | 2009-04-16 | 2009-09-23 | 四川大学 | Touch force numerical password input device |
CN102841696A (en) * | 2011-06-24 | 2012-12-26 | 国基电子(上海)有限公司 | Electronic equipment and password input method thereof |
CN104850235A (en) * | 2015-05-28 | 2015-08-19 | 努比亚技术有限公司 | Password input method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108255393A (en) | 2018-07-06 |
CN108255393B (en) | 2021-05-04 |
CN105159557A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159557B (en) | The generation method and mobile terminal of a kind of unlocking pin | |
CN102981717B (en) | Terminal and touch key-press locking means | |
CN105183284B (en) | A kind of method and user terminal for checking short message | |
CN104573552B (en) | A kind of method and device of hiden application icon | |
CN104598783B (en) | The unlocking method and device of a kind of intelligent terminal | |
CN104866226B (en) | A kind of terminal device and its control method | |
CN104035698B (en) | Terminal device and its state switching method | |
CN105204661B (en) | The filter method and device of the shielding word of input method | |
CN106709382A (en) | Keyboard display method and device | |
CN104598786B (en) | A kind of cipher-code input method and device | |
CN104318137A (en) | Activating or switching method, device and terminal for operating system and/or application program | |
CN105912896A (en) | Application switching method and terminal | |
CN104346073B (en) | A kind of information processing method and electronic equipment | |
CN108197501A (en) | Information input equipment inputs encryption method, device and the information input equipment of information | |
CN108171048A (en) | Password prompt method, apparatus, storage medium and terminal | |
CN106570386B (en) | Touch screen unlocking method and system | |
CN106339636A (en) | Hiding setting method and device, application program content processing method and device | |
CN107194218A (en) | Adjust the method and device of identification authentication mode | |
CN104636041B (en) | A kind of multifile fast selecting method and system based on touch screen | |
KR101658072B1 (en) | Touch screen included device performing unlocking by using touch extent | |
CN106888223B (en) | User account login method and mobile terminal | |
CN107153788A (en) | A kind of cipher-code input method and device, a kind of device for Password Input | |
WO2016062093A1 (en) | Touchscreen unlocking method and device | |
CN104331214A (en) | Information processing method and electronic equipment | |
CN106778219A (en) | A kind of cipher code protection method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180302 |