Summary of the invention
The embodiment of the present invention provides a kind of method, device and equipment for touching screen unlocks, user can be facilitated to set touch screen
Standby unlock operation.
The first aspect of the present invention provides a kind of method for touching screen unlocks, this method comprises:
The unlocking information that user inputs in the release region of touch screen is received, the release region is any on touch screen
Region;
The unlocking information of the input is compared with pre-stored unlocking information;
If the unlocking information of the input is consistent with the pre-stored unlocking information, by the touch screen unlocks.
In the first possible implementation of the first aspect:
The unlocking information includes: that the continuous unlock figure of user's input and user preset portion to the continuous unlock figure
The input rate divided;
The unlocking information by the input is compared with pre-stored unlocking information
By the continuous unlock figure of the input and the input rate respectively with pre-stored unlock figure and default
Rate is compared;
If the unlocking information of the input is consistent with the pre-stored unlocking information, by the touch screen solution
Lock includes:
If the graphic parameter one of the graphic parameter of the continuous unlock figure of the input and pre-stored unlock figure
It causes and the input rate is consistent with scheduled rate, by the touch screen unlocks.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In:
The graphic parameter of the continuous unlock figure of the input includes shape or the institute of the continuous unlock figure of the input
State the shapes and sizes of the continuous unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
If the figure of the graphic parameter of the continuous unlock figure of the input and pre-stored unlock figure is joined
It is consistent with scheduled rate to count the consistent and described input rate, includes: by the touch screen unlocks
If the shape of the continuous unlock figure of the input and the pre-stored unlock shape of figure are consistent and described
Input rate is consistent with scheduled rate, by the touch screen unlocks;Or
If the shapes and sizes of the continuous unlock figure of the input respectively with it is pre-stored unlock figure shape
It is consistent with scheduled rate with the in the same size and described input rate, by the touch screen unlocks.
In a third possible implementation of the first aspect:
The unlocking information includes: the interruption unlock figure of user's input;
The unlocking information by the input is compared with pre-stored unlocking information
The interruption of the input is unlocked into figure and pre-stored unlock figure is compared;
If the unlocking information of the input is consistent with the pre-stored unlocking information, by the touch screen solution
Lock includes:
If the graphic parameter of the interruption unlock figure of the input and the graphic parameter one of pre-stored unlock figure
It causes, by the touch screen unlocks.
In a fourth possible implementation of the first aspect:
The unlocking information includes: that the interruption unlock figure of user's input and user preset portion to interruption unlock figure
The input rate divided;
The unlocking information by the input is compared with pre-stored unlocking information
By the interruption of the input unlock figure and the input rate respectively with pre-stored unlock figure and preset
Rate is compared;
If the unlocking information of the input is consistent with the pre-stored unlocking information, by the touch screen solution
Lock includes:
If the graphic parameter of the interruption unlock figure of the input and the graphic parameter one of pre-stored unlock figure
It causes, and the input rate is consistent with scheduled rate, by the touch screen unlocks.
The third possible implementation with reference to first aspect, in the 5th kind of possible implementation of first aspect
In:
The graphic parameter of the interruption unlock figure of the input includes shape or the institute of the interruption unlock figure of the input
State the shapes and sizes of the interruption unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
If the graphic parameter of the interruption unlock figure of the input and the figure of pre-stored unlock figure are joined
Number is consistent, includes: by the touch screen unlocks
If the shape of the interruption unlock figure of the input is consistent with the pre-stored unlock shape of figure, will be described
Touch screen unlocks;Or
If the input interruption unlock figure shapes and sizes and it is pre-stored unlock figure shape and greatly
It is small consistent, by the touch screen unlocks.
The 4th kind of possible implementation with reference to first aspect, in the 6th kind of possible implementation of first aspect
In:
The graphic parameter of the interruption unlock figure of the input includes shape or the institute of the interruption unlock figure of the input
State the shapes and sizes of the interruption unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
If the graphic parameter of the interruption unlock figure of the input and the figure of pre-stored unlock figure are joined
Number is consistent, includes: by the touch screen unlocks
If the shape and the pre-stored unlock shape of figure of the interruption unlock figure of the input are consistent and described
Input rate is consistent with scheduled rate, by the touch screen unlocks;Or
If the input interruption unlock figure shapes and sizes respectively with it is pre-stored unlock figure shape
It is consistent with scheduled rate with the in the same size and described input rate, by the touch screen unlocks.
The second aspect of the present invention provides a kind of device of the unlock of touch screen, which includes:
Receiving unit, the unlocking information inputted for receiving user in the release region of touch screen, the release region are
Any region on touch screen;
Comparing unit, for comparing the received unlocking information of the receiving unit with pre-stored unlocking information
Compared with;
Unlocking unit, if for the comparing unit determine the input unlocking information and the pre-stored solution
Lock information is consistent, by the touch screen unlocks.
In the first possible implementation of the second aspect:
The unlocking information includes: that the continuous unlock figure of user's input and user preset portion to the continuous unlock figure
The input rate divided;
The comparing unit is specifically used for:
By the continuous unlock figure of the input and the input rate respectively with pre-stored unlock figure and default
Rate is compared;
The unlocking unit is specifically used for:
If the graphic parameter one of the graphic parameter of the continuous unlock figure of the input and pre-stored unlock figure
It causes and the input rate is consistent with scheduled rate, by the touch screen unlocks.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect
In:
The graphic parameter of the continuous unlock figure of the input includes shape or the institute of the continuous unlock figure of the input
State the shapes and sizes of the continuous unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
The unlocking unit is specifically used for:
If the shape of the continuous unlock figure of the input and the pre-stored unlock shape of figure are consistent and described
Input rate is consistent with scheduled rate, by the touch screen unlocks;Or
If the shapes and sizes of the continuous unlock figure of the input respectively with it is pre-stored unlock figure shape
It is consistent with scheduled rate with the in the same size and described input rate, by the touch screen unlocks.
In the third possible implementation of the second aspect:
The unlocking information includes: the interruption unlock figure of user's input;
The comparing unit is specifically used for:
The interruption of the input is unlocked into figure and pre-stored unlock figure is compared;
The unlocking unit is specifically used for:
If the graphic parameter of the interruption unlock figure of the input and the graphic parameter one of pre-stored unlock figure
It causes, by the touch screen unlocks.
In the fourth possible implementation of the second aspect:
The unlocking information includes: that the interruption unlock figure of user's input and user preset portion to interruption unlock figure
The input rate divided;
The comparing unit is specifically used for:
By the interruption of the input unlock figure and the input rate respectively with pre-stored unlock figure and preset
Rate is compared;
The unlocking unit is specifically used for:
If the graphic parameter of the interruption unlock figure of the input and the graphic parameter one of pre-stored unlock figure
It causes, and the input rate is consistent with scheduled rate, by the touch screen unlocks.
In conjunction with the third possible implementation of second aspect, in the 5th kind of possible implementation of second aspect
In:
The graphic parameter of the interruption unlock figure of the input includes shape or the institute of the interruption unlock figure of the input
State the shapes and sizes of the interruption unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
The unlocking unit is specifically used for:
If the shape of the interruption unlock figure of the input is consistent with the pre-stored unlock shape of figure, will be described
Touch screen unlocks;Or
If the input interruption unlock figure shapes and sizes and it is pre-stored unlock figure shape and greatly
It is small consistent, by the touch screen unlocks.
In conjunction with the 4th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect
In:
The graphic parameter of the interruption unlock figure of the input includes shape or the institute of the interruption unlock figure of the input
State the shapes and sizes of the interruption unlock figure of input;The graphic parameter of the pre-stored unlock figure includes described preparatory
The shapes and sizes of the continuous unlock figure of the shape or input of the unlock figure of storage;
The unlocking unit is specifically used for:
If the shape and the pre-stored unlock shape of figure of the interruption unlock figure of the input are consistent and described
Input rate is consistent with scheduled rate, by the touch screen unlocks;Or
If the input interruption unlock figure shapes and sizes respectively with it is pre-stored unlock figure shape
It is consistent with scheduled rate with the in the same size and described input rate, by the touch screen unlocks.
The third aspect of the present invention provides a kind of equipment for touching screen unlocks, which includes: shell, and circuit board touches
Display screen, processor, memory, power circuit;
On the housing, the circuit board is placed in the space that the shell surrounds for the touch display screen placement
Portion, the processor and the memory are arranged on the circuit board;
The memory is for storing data;
The power circuit, for each circuit or the device power supply for the touch-screen equipment;
The processor is specifically used for for handling data:
The unlocking information that user inputs in the release region of touch screen is received, the release region is any on touch screen
Region;
The unlocking information of the input is compared with pre-stored unlocking information;
If the unlocking information of the input is consistent with the pre-stored unlocking information, by the touch screen unlocks.
This method, device and equipment for touching screen unlocks provided by the invention, firstly, receiving user in the solution of touch screen
The unlocking information of region input is locked, which is any region on touch screen;Then, by the unlocking information of input and in advance
The unlocking information first stored is compared, if the unlocking information of input is consistent with pre-stored unlocking information, by touch screen
Unlock.In this way, no longer limit to release region fixed on the touchscreen when user carries out unlocking screen to touch-screen equipment, thus
User can be facilitated to operate the unlock of touch-screen equipment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of methods for touching screen unlocks, are executed by touch-screen equipment, specifically by touch-screen equipment
The touch screen tripper of middle setting executes, as shown in Figure 1, comprising the following steps:
S11, receives the unlocking information that user inputs in the release region of touch screen, which is appointing on touch screen
What region.
In this step, unlocking information may include the unlock figure that user slidably inputs on the touchscreen, wherein unlock figure
It can be continuous unlock figure, be also possible to interruption unlock figure.Wherein, continuously unlock figure refers to that user is on the touchscreen
During input unlocks figure, finger or writing pencil do not leave always touching for the unlock figure of continuously slipping input, i.e. user
The figure inputted in the case where touching screen;Interruption unlock figure refers to that user is during input unlocks figure, finger or hand
It writes pen and left touch screen at least once, while the time for leaving touch screen is defeated no more than the default reaction time of touch-screen equipment
The unlock figure entered.
Wherein, the touch-screen equipment preset reaction time can be preset by the touch-control system of touch control device, can also be with
By user's self-setting, is not limited in the present invention, for example, 5s can be set by the time.
It should be pointed out that unlock figure can be set to arbitrary shape, for example, unlock figure can be rectangle isotactic
Then figure, or irregular figure;For another example the unlock figure can be the figures such as simple lines, number or text.It closes
In unlock figure form and dimension is not limited in the present invention, user can be according to habit or the concrete conditions such as demand voluntarily
Setting.It will thus be seen that about on touch screen unlock figure setting have stronger flexibility, and then user can by
Different unlocking informations is flexibly set on touch-screen equipment, to improve the safety of system.
Further, the unlocking information, can also in addition to the unlock figure slidably inputed on the touchscreen including user
Input rate including the unlock figure predetermined fraction that user slidably inputs on the touchscreen.Wherein, figure predetermined fraction is unlocked
Input rate, can be input unlock the entire part of figure input rate, be also possible to input unlock figure at least
The input rate of a part, the present invention is it is not limited here.
On how to determine the gliding cable structure for inputting unlock figure, the present invention is also not specifically limited.For example, determining input
The input rate step of unlock figure can be, and touch-screen equipment first determines sliding used in described input unlock figure a part
Time and sliding length determine unlock figure portion further according to sliding time and sliding length used in determining unlock figure
The average input rai divided.From the aforegoing it can be seen that on the basis of comparing unlock figure, then compare the input rate of unlock figure
When with preset gliding cable structure, safety can be further improved.
In this step, the release region on touch screen refers to, user can pass through hand on the touch screen of touch-screen equipment
Finger or writing pencil etc., slidably input any region of unlocking information on the touchscreen.It is the mobile phone of touch screen with touch-screen equipment
For, power knob or some function button for unlock are pressed under mobile phone suspend mode or standby mode, on mobile phone screen
It would indicate that unlocking screen interface.As shown in Fig. 2, user can be in any region of mobile phone screen unlock interface, i.e. unlock circle
The different location in face, for example, inputting unlocking information on position 1, position 2 or position 3.
The unlocking information of input is compared by S12 with pre-stored unlocking information.
In this step, in order to which the security of system of touch-screen equipment is effectively ensured, the user of touch-screen equipment can be in touch-screen equipment
In unlocking information is stored in advance, if necessary to need to believe the unlock of the input to screen unlocks are touched to use touch-screen equipment
Breath is compared with pre-stored unlocking information.
Specifically, in conjunction with the unlocking information in step S11, in this step, by the unlocking information of input be stored in advance
Unlocking information be compared can be different according to the content of unlocking information and have different manner of comparison, according to different comparisons
Mode particularly may be divided into following four situation:
The first situation: when unlocking information is continuous unlock figure:
In the case, the unlocking information of input is compared with pre-stored unlocking information is by the input
The graphic parameter of continuous unlock figure is compared with the graphic parameter of pre-stored unlock figure.
Wherein, the graphic parameter of the continuous unlock figure of the input includes the shape of the continuous unlock figure of the input
Or the shapes and sizes of the continuous unlock figure of the input;The graphic parameter of the pre-stored unlock figure includes described
The shapes and sizes of the continuous unlock figure of the shape or input of pre-stored unlock figure.
Therefore, in the case, by the graphic parameter of the continuous unlock figure of the input and pre-stored unlock
When the graphic parameter of figure is compared, it can be the size and shape of the continuous unlock figure of the input respectively and in advance
The size and shape of the unlock figure of storage is compared, or can also be the shape of the continuous unlock figure of the input only
The shape of shape and pre-stored unlock figure is compared.
Second situation: when unlocking information is the continuous input rate for unlocking figure and predetermined fraction:
In the case, the unlocking information of input is compared with pre-stored unlocking information is by the input
The graphic parameter of continuous unlock figure and the input rate respectively with the graphic parameter of pre-stored unlock figure and preset
Rate is compared.
Wherein, the graphic parameter of the continuous unlock figure of the input includes the shape of the continuous unlock figure of the input
Or the shapes and sizes of the continuous unlock figure of the input;The graphic parameter of the pre-stored unlock figure includes described
The shapes and sizes of the continuous unlock figure of the shape or input of pre-stored unlock figure.
Therefore, in the case, by the graphic parameter of the continuous unlock figure of the input and pre-stored unlock
When the graphic parameter of figure is compared, it can be the size and shape of the continuous unlock figure of the input respectively and in advance
The size and shape of the unlock figure of storage is compared, or can also be the shape of the continuous unlock figure of the input only
The shape of shape and pre-stored unlock figure is compared.
In this embodiment, for convenience of storage unlock figure, it can be previously stored with unlock shape library, in the unlock figure
It is stored with several unlock figures in library, may exist the solution for there are two width shapes identical but of different sizes in several described unlock figures
Lock figure.
The third situation: when unlocking information is interruption unlock figure:
In the case, the unlocking information of input is compared with pre-stored unlocking information is by the input
The graphic parameter of the graphic parameter of interruption unlock figure and pre-stored unlock figure is compared.
Wherein, the graphic parameter of the interruption unlock figure of the input includes the shape of the interruption unlock figure of the input
Or the shapes and sizes of the interruption unlock figure of the input;The graphic parameter of the pre-stored unlock figure includes described
The shapes and sizes of the continuous unlock figure of the shape or input of pre-stored unlock figure.
Therefore, in the case, in the graphic parameter that the interruption of the input is unlocked to figure and pre-stored unlock
When the graphic parameter of figure is compared, it can be the size and shape of the interruption unlock figure of the input respectively and in advance
The size and shape of the unlock figure of storage is compared, can also be only by the input interruption unlock figure shape and
The shape of pre-stored unlock figure is compared.
4th kind of situation: unlocking information is the input rate of interruption unlock figure and the interruption unlock figure predetermined fraction
When:
In the case, the unlocking information of input is compared with pre-stored unlocking information is by the input
Interruption unlock figure graphic parameter and the input rate respectively with it is pre-stored unlock figure graphic parameter and preset
Rate is compared.
Wherein, the graphic parameter of the interruption unlock figure of the input includes the shape of the interruption unlock figure of the input
Or the shapes and sizes of the interruption unlock figure of the input;The graphic parameter of the pre-stored unlock figure includes described
The shapes and sizes of the continuous unlock figure of the shape or input of pre-stored unlock figure.
Therefore, in the case, in the graphic parameter that the interruption of the input is unlocked to figure and pre-stored unlock
When the graphic parameter of figure is compared, it can be the size and shape of the interruption unlock figure of the input respectively and in advance
The size and shape of the unlock figure of storage is compared, and can also be the shape of the interruption unlock figure of the input and pre-
The shape of the unlock figure first stored is compared.
In this embodiment, for convenience of storage unlock figure, it can be also previously stored with unlock shape library, schemed in the unlock
Several unlock figures are stored in shape library, may exist in several described unlock figures there are two width shapes identical but of different sizes
Unlock figure.
S13 will touch screen unlocks if the unlocking information of input is consistent with pre-stored unlocking information.
Specifically, when in the first of step S12, if the shape of the continuous unlock figure of the input and pre-
The shape of the unlock figure first stored is consistent, or if the shapes and sizes of the continuous unlock figure of the input respectively and in advance
The shapes and sizes of the unlock figure first stored are consistent, and touch-screen equipment will touch screen unlocks.
When under the second situation of step S12, if the shape of the continuous unlock figure of the input be stored in advance
Unlock figure shape it is consistent and the input rate is consistent with scheduled rate, by the touch screen unlocks;Or if institute
State the shapes and sizes of the continuous unlock figure of input and institute consistent with the pre-stored unlock shapes and sizes of figure respectively
It is consistent with scheduled rate to state input rate, by the touch screen unlocks.
When in the third of step S12, if the input interruption unlock figure shape be stored in advance
Unlock figure shape it is consistent, by the touch screen unlocks;Or if the input interruption unlock figure shape and
Size is consistent with the pre-stored unlock shapes and sizes of figure, by the touch screen unlocks.
When in the 4th kind of step S12, if the input interruption unlock figure shape be stored in advance
Unlock figure shape it is consistent and the input rate is consistent with scheduled rate, by the touch screen unlocks;Or if institute
State the shapes and sizes and institute consistent with the pre-stored unlock shapes and sizes of figure respectively of the interruption unlock figure of input
It is consistent with scheduled rate to state input rate, by the touch screen unlocks.
Unlocking information is inputted on any region of user on the touchscreen to be unlocked, touch-screen equipment verifies user therewith
Whether the unlocking information of input is consistent by the pre-stored unlocking information of touch-screen equipment with user, in the consistent feelings of the two
Under condition, user's " be completed and touch screen unlocks " can be prompted or be directly entered operation interface.
It can be seen from the above the unlocking screen method of the embodiment of the present invention, firstly, receiving user in the unlock of touch screen
The unlocking information of region input, the release region are any region on touch screen;Then, by the unlocking information of input and in advance
The unlocking information of storage is compared, if the unlocking information of input is consistent with pre-stored unlocking information, by touch screen solution
Lock.In this way, no longer limiting to release region fixed on the touchscreen when user carries out unlocking screen to touch-screen equipment, thus side
Just user carries out unlocking screen to touch-screen equipment.
In conjunction with shown in Fig. 3 and Fig. 4, by taking the mobile phone of touch screen as an example, when unlocking information is continuous unlock figure and the company
When the input rate of continuous unlock figure predetermined fraction, the unlocking method of touch screen is specific can include:
User presets unlocking information in mobile phone.As shown in figure 3, the unlocking information of user setting is shown in Fig. 3 continuous
Figure, and the gliding cable structure for presetting figure between the predetermined fraction section A-B of the figure is 5m/s.Mobile phone receives user and exists
The unlocking information inputted in the release region of touch screen, as shown in Figure 4.Firstly, the unlocking information that mobile phone determines that user inputs is
The unlock figure and preset unlock figure, then be compared by continuous unlock figure.It can be seen that user in conjunction with Fig. 3 and Fig. 4
The unlock figure of input is consistent with preset unlock graphics shape.Therefore mobile phone is further continued for the user that will be obtained and is inputting the unlock
When figure, predetermined fraction section A-B is corresponding, i.e., the input rate of A '-B ' section is compared with the input rate of section A-B.Such as
The fruit input rate is equal to preset input rate, then by the touch screen unlocks of mobile phone.
In conjunction with shown in Fig. 5 and Fig. 6, by taking the mobile phone of touch screen as an example, between unlocking information is interruption unlock figure and is described
When the input rate of disconnected unlock figure predetermined fraction, the unlocking method of touch screen is specific can include:
User presets unlocking information in mobile phone.As shown in figure 5, the unlocking information of user setting is interruption shown in fig. 5
Figure, and the gliding cable structure for presetting figure between C to D sections of predetermined fraction of the figure is 4m/s.Mobile phone receives user
The unlocking information inputted in the release region of touch screen, as shown in Figure 6.Firstly, mobile phone determines the unlocking information of user's input
Figure is unlocked for interruption, then is compared the unlock figure and preset unlock figure.It can be seen that use in conjunction with Fig. 5 and Fig. 6
The unlock figure of family input is consistent with preset unlock graphics shape.Therefore mobile phone is further continued for the user that will be obtained and is inputting the solution
When locking figure, corresponding by C-D sections of predetermined fraction, i.e., the input rate of C '-D ' section is compared with C-D sections of input rate.
If the input rate is equal to preset input rate, by the touch screen unlocks of mobile phone.
Correspondingly, the embodiments of the present invention also provide a kind of trippers 20 of touch screen, as shown in fig. 7, comprises:
Receiving unit 21, the unlocking information inputted for receiving user in the release region of touch screen, the release region
For any region on touch screen;Comparing unit 22, for by the received unlocking information of the receiving unit 21 be stored in advance
Unlocking information be compared;Unlocking unit 23, if for the comparing unit 22 judgement input unlocking information with it is described
Pre-stored unlocking information is consistent, by the touch screen unlocks.
The tripper 20 of the touch screen of the embodiment of the present invention, receiving unit 21 receive user in the release region of touch screen
The unlocking information of input, the release region are any region on touch screen;Comparing unit 22 is by the received solution of receiving unit 21
Lock information is compared with pre-stored unlocking information;If the comparing unit determine that input unlocking information with it is pre-stored
Unlocking information is consistent, and unlocking unit 23 will touch screen unlocks, to allow users to conveniently solve touch-screen equipment
Lock operation.
Optionally, in one embodiment of the invention, unlocking information includes: the continuous unlock figure and use of user's input
Input rate of the family to the continuous unlock figure predetermined fraction.
In this case, comparing unit 22 is specifically used for: respectively and in advance by the continuous unlock figure and input rate of input
The unlock figure and scheduled rate first stored is compared;If the unlocking unit 23, which is specifically used for comparing unit 22, judges institute
State the graphic parameter input speed consistent and described with the pre-stored unlock graphic parameter of figure of the continuous unlock figure of input
Rate is consistent with scheduled rate, by the touch screen unlocks.
Wherein, it when the continuous unlock figure of input to be compared with pre-stored unlock figure, will input
The graphic parameter of continuous unlock figure and the graphic parameter of pre-stored unlock figure are compared.Wherein, the continuous solution of input
Lock figure graphic parameter include input continuous unlock figure shape or the input continuous unlock figure shape and
Size;The graphic parameter of pre-stored unlock figure includes the shape or the input of the pre-stored unlock figure
The shapes and sizes of continuous unlock figure.In this case, unlocking unit 23 is specifically used for: if the continuous unlock figure of input
The shape input rate consistent and described with the pre-stored unlock shape of figure and scheduled rate it is consistent, by touch screen solution
Lock;Or if input continuous unlock figure shapes and sizes respectively with it is pre-stored unlock figure shapes and sizes
The consistent and described input rate is consistent with scheduled rate, will touch screen unlocks.
It should be noted that the unlocking information of user's input only can continuously unlock figure, comparing unit 22 will be inputted
Continuous unlock figure and pre-stored unlock figure be compared, if the two is consistent, unlocking unit 23 is by touch screen solution
Lock.
Optionally, in one embodiment of the invention, unlocking information includes: the interruption unlock figure of user's input.
In this case, comparing unit 22 is specifically used for: the interruption of input being unlocked figure and pre-stored unlock is schemed
Shape is compared;The unlocking unit 23 is specifically used for: if the figure of the interruption unlock figure of the judgement input of comparing unit 22
Parameter is consistent with the pre-stored unlock graphic parameter of figure, by the touch screen unlocks.
Wherein, it when the interruption unlock figure of input to be compared with pre-stored unlock figure, will input
The graphic parameter of interruption unlock figure and the graphic parameter of pre-stored unlock figure are compared.Wherein, the discontinuous solution of input
Lock figure graphic parameter include input interruption unlock figure shape or the input interruption unlock figure shape and
Size;The graphic parameter of pre-stored unlock figure includes the shape or the input of the pre-stored unlock figure
The shapes and sizes of continuous unlock figure.In this case, unlocking unit 23 is specifically used for: if the interruption of input unlocks figure
Shape it is consistent with the pre-stored unlock shape of figure, screen unlocks will be touched;Or if the interruption of input unlocks figure
Shapes and sizes it is consistent with the pre-stored unlock shapes and sizes of figure, screen unlocks will be touched.
Optionally, in one embodiment of the invention, unlocking information includes: the interruption unlock figure and use of user's input
Input rate of the family to interruption unlock figure predetermined fraction.
In this case, comparing unit 22 is specifically used for: the interruption of input is unlocked figure and input rate respectively and in advance
The unlock figure and scheduled rate first stored is compared;If the unlocking unit 23 is specifically used for the discontinuous solution of the input
The graphic parameter for locking figure is consistent with the pre-stored unlock graphic parameter of figure, and the input rate and scheduled rate one
It causes, by the touch screen unlocks.
Wherein, it when the interruption unlock figure of input to be compared with pre-stored unlock figure, will input
The graphic parameter of interruption unlock figure and the graphic parameter of pre-stored unlock figure are compared.Wherein, the discontinuous solution of input
Lock figure graphic parameter include input interruption unlock figure shape or the input interruption unlock figure shape and
Size;The graphic parameter of pre-stored unlock figure includes the shape of pre-stored unlock figure or the continuous unlock of input
The shapes and sizes of figure.In this case, unlocking unit 23 is specifically used for: if input interruption unlock figure shape with
The shape of pre-stored unlock figure is consistent and the input rate is consistent with scheduled rate, will touch screen unlocks;Or such as
The shapes and sizes and institute consistent with the pre-stored unlock shapes and sizes of figure respectively of the interruption unlock figure of fruit input
It is consistent with scheduled rate to state input rate, screen unlocks will be touched.
It should be noted that the specific function of each structural unit of the tripper 20 of touch screen provided in an embodiment of the present invention
Embodiment of the method above can be referred to.
From the aforegoing it can be seen that comparing unit 22 can only scheme the shape of the unlock figure of input and pre-stored unlock
The shape of shape is compared, and whether the unlock figure to judge input is consistent with preset pattern, if the two is consistent, unlocking unit
23 will touch screen unlocks.Therefore, user need to only input unlock figure identical with preset figure forms on the touchscreen, from
And the user that is more convenient for is unlocked operation;
It is also seen that the input rate for unlocking figure and scheduled rate can also be compared by comparing unit 22 from upper,
In this way, except compare tablet pattern it is whether consistent with preset pattern in addition to, also judge whether input rate consistent with scheduled rate, from
And improve the safety of device.
Correspondingly, the embodiment of the invention also provides a kind of touch-screen equipment 50, as shown in fig. 7, touch-screen equipment 50 includes: outer
Shell 51, circuit board 52, touch display screen 53, processor 54, memory 55, power circuit 56;
Touch display screen 53 is placed on shell 51, and circuit board 52 is placed in the space interior that shell 51 surrounds, processor
54 and memory 55 be arranged on circuit board 52;
Memory 55 is for storing data;
Power circuit 56, for each circuit or the device power supply for touch-screen equipment 50;
Processor 54 is specifically used for for handling data:
The unlocking information that user inputs in the release region of touch screen is received, which is any area on touch screen
Domain;
The unlocking information of input is compared with pre-stored unlocking information;
If the unlocking information of input is consistent with the pre-stored unlocking information, screen unlocks will be touched.
In addition, the processor 54 is also used to execute any step involved in embodiment of the present invention method, herein no longer in detail
It states.
The touch-screen equipment 50 of the embodiment of the present invention inputs firstly, processor 54 receives user in the release region of touch screen
Unlocking information, the release region be touch screen on any region;Then, processor 54 by the unlocking information of input and in advance
The unlocking information of storage is compared, if the unlocking information of input is consistent with pre-stored unlocking information, by touch screen solution
Lock.In this way, more convenient user carries out unlocking screen to touch-screen equipment.
Optionally, touch-screen equipment provided in an embodiment of the present invention can be mobile phone, tablet computer or personal digital assistant etc.
Any one terminal device with touch screen.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to by specialized hardware include specific integrated circuit, specially
It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program are ok
It is easily realized with corresponding hardware, moreover, being used to realize that the specific hardware structure of same function is also possible to a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But software program is real in situations more for the purpose of the present invention
It is now more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words makes the prior art
The part of contribution can be embodied in the form of software products, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic or disk etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.