The content of the invention
The technical problem to be solved in the present invention is a kind of method and device for touching screen unlocks, in the existing unlocking manner of solution
Security shortcoming problem.
In order to solve the above-mentioned technical problem, the invention provides a kind of device for touching screen unlocks, including used for perceiving
Family is to the operation of touch-screen and is converted to the touch screen operation interactive module of user's operation information, also sets mould including unlocking manner
Block, unlocks control module;The unlocking manner setup module, for determining to be operated with reference to unlock trigger region and with reference to unblock
Event condition;The unblock control module, the user's operation information for receiving the touch screen operation interactive module, judges institute
The tactile operating position of the point in user's operation information is stated to belong to the reference unlock trigger region and judge user's operation letter
When the tactile Action Events of point in breath meet the Action Events condition with reference to unblock, the unblock operation to the touch-screen is performed.
Further, said apparatus can also have the characteristics that:
One is corresponded to reference to one or more touch events in unlock trigger region with reference to unblock Action Events, or
It is provided with execution sequence or is not carried out multiple multiple touch events with reference in unlock trigger region of order.
Further, said apparatus can also have the characteristics that:
The touch event is to click touch-screen event or double hit touch-screen event, or non-closed lasting touch-screen event or
The lasting touch-screen event of closed type;The direction of the lasting touch-screen event of the closed type is clockwise or counterclockwise.
Further, said apparatus can also have the characteristics that:
The unlocking manner setup module, for the reference unlock trigger region using acquiescence and with reference to unblock operation thing
Part condition, or, the unlock trigger region and unblock Action Events condition that user is set unlock operation thing as the reference
Part and the reference unblock Action Events condition.
Further, said apparatus can also have the characteristics that:
Described device also includes LED lamp control module;
The unblock control module, is additionally operable to after the user's operation information for receiving the touch screen operation interactive module,
When judging that the tactile operating position of the point in the user's operation information belongs to the reference unlock trigger region, the LED controls are indicated
It is visibility status that molding block controls the reference unlock trigger region on the touch-screen;It is additionally operable to receiving the touch-screen
After the user's operation information of operating interactive module, judge that the point in the user's operation information touches operating position and is not belonging to the ginseng
When examining unlock trigger region, it is not visible state to indicate the LED control module to control the touch-screen.
In order to solve the above-mentioned technical problem, the invention provides a kind of method for touching screen unlocks, unlocking manner sets mould
Block is determined with reference to unlock trigger region and with reference to unblock Action Events condition;Unblock control module receives the touch screen operation
The user's operation information that interactive module sends, judges that the point in the user's operation information touches operating position and belongs to described with reference to solution
Lock toggle area and judge that the point in the user's operation information touches Action Events and meets described with reference to unblock Action Events bar
During part, the unblock operation to the touch-screen is performed.
Further, the above method can also have the characteristics that:
One is corresponded to reference to one or more touch events in unlock trigger region with reference to unblock Action Events, or
It is provided with execution sequence or is not carried out multiple multiple touch events with reference in unlock trigger region of order.
Further, the above method can also have the characteristics that:
The touch event is to click touch-screen event or double hit touch-screen event, or non-closed lasting touch-screen event or
The lasting touch-screen event of closed type;The direction of the lasting touch-screen event of the closed type is clockwise or counterclockwise.
Further, the above method can also have the characteristics that:
The unlocking manner setup module is using the reference unlock trigger region of acquiescence and with reference to unblock Action Events bar
Part, or, using user set unlock trigger region and unblock Action Events condition as it is described with reference to unblock Action Events and
The reference unblock Action Events condition.
Further, the above method can also have the characteristics that:
The unblock control module judges described after the user's operation information for receiving the touch screen operation interactive module
When the tactile operating position of point in user's operation information belongs to the reference unlock trigger region, the LED control module control is indicated
The reference unlock trigger region on the touch-screen is made for visibility status, judges that the point in the user's operation information touches behaviour
When being not belonging to the reference unlock trigger region as position, it is not visible to indicate the LED control module to control the touch-screen
State.
This programme disclosure satisfy that the safety requirements to mobile terminal, protect personal information, can also provide the solution of personalization
Lock mode.
Specific embodiment
As shown in figure 1, the device for touching screen unlocks includes touch screen operation interactive module (101), handed over touch screen operation
The connected unblock control module (102) of mutual module (101), the unlocking manner setup module being connected with unblock control module (102)
(103)。
Touch screen operation interactive module (101) is for perceiving user to the operation of touch-screen and being converted to user's operation information
And notify to unblock control module (102).
Unlocking manner setup module (103) is for determining with reference to unlock trigger region and with reference to unblock Action Events bar
Part.
Control module (102) is unlocked for receiving the user's operation information of touch screen operation interactive module (101), institute is judged
State the point in user's operation information touch operating position belong to unlocking manner setup module (103) reference unlock trigger region and
Judge that the point in the user's operation information touches the reference unblock operation thing that Action Events meet unlocking manner setup module (103)
During part condition (judgement is unlocked successfully), the unblock operation to touch-screen is performed.
Can be a region, or multiple with reference to unlock trigger region.The shape in region can be rectangle, may be used also
Being circular, star or irregular shape.Touch screen zone is for example divided into multiple rectangles as reference unlock trigger region,
Or one or more border circular areas as with reference to unlock trigger region, or can also be that user sets in setting touch screen zone
The region of one or more irregular shapes in fixed touch screen zone.
One is corresponded to reference to one or more touch events in unlock trigger region with reference to unblock Action Events, or
It is provided with execution sequence or is not carried out multiple multiple touch events with reference in unlock trigger region of order.Touch event is
Click touch-screen event or double hit touch-screen event, or non-closed lasting touch-screen event or the lasting touch-screen event of closed type;Its
In, non-closed lasting touch-screen event can be line segment formula, and the direction of the lasting touch-screen event of line segment formula is by screen left-hand
To screen dextrad or by screen dextrad to screen left-hand, the lasting touch-screen event of other track-wises is can also be;Wherein, close
The lasting touch-screen event of formula can be the closed trajectory mode such as circle, triangle, star, can also be other irregular closures
Track-wise, it can also be clockwise counterclockwise that the direction of the lasting touch-screen event of closed type can be.
It is described in detail with reference to unlock trigger region and with reference to unblock Action Events condition below by citing.
Scene one:As shown in Fig. 2 screen area is divided into four by the center line of the horizontal edge of screen area and the center line of longitudinal edge
Individual equal sub-rectangular areas, i.e. subregion one, two, three, four.Wherein subregion one is incited somebody to action as with reference to unlock trigger region.
With reference to unblock Action Events condition be a touch-screen event in subregion one, for example click touch-screen event or
Double hit touch-screen event (such as two double hits or three double hits) or non-closed lasting touch-screen event or the lasting touch screen of closed type
Event.
The continuous multiple touch-screen event in subregion one is can also be with reference to unblock Action Events condition, for example, is followed successively by
Touch-screen event, non-closed lasting touch-screen event are clicked, or is followed successively by and is clicked touch-screen event, the lasting touch screen thing of closed type
Part, or feasible mode.Continuous multiple touch-screen event can also be performed by the order of setting in subregion one, it is also possible to
Performed without the order according to setting.
Scene two:As shown in Fig. 2 screen area is divided into four by the center line of the horizontal edge of screen area and the center line of longitudinal edge
Individual equal sub-rectangular areas, i.e. subregion one, two, three, four.Wherein subregion one and subregion two will be touched as with reference to unblock
Hair region.
It is in subregion one in one or more touch-screen events, and subregion two with reference to unblock Action Events condition
One or more touch-screen events.Contact action to subregion one and can be according to first subregion to the contact action of subregion two
The order of subregion two again and again, it is also possible to disobey order like this.Contact action in all subregion can also be according to setting sequentially
Can also be according to setting sequentially.For two or more subregion contact action similarly.
Such as user need to be carried out in subregion one successively click touch-screen event, non-closed lasting touch-screen event,
Carried out in subregion two again successively click touch-screen event, the lasting touch-screen event of closed type, you can to think to unlock successfully.
Again for example, user need to carry out clicking the lasting touch-screen event of touch-screen event and line segment formula in subregion one, in subregion two
The lasting touch-screen event for click touch-screen event and closed type just can consider and unlock successfully.
Can be that system default is (such as most common with reference to unlock trigger region and with reference to unblock Action Events condition
3*3 or 2*2 matrix partitions), for example give tacit consent to the one kind in aforesaid way.Can also be by mobile terminal provide a user with it is several can
The mode of selection, user's selection one of which, such as unlocking manner setup module (103) is shown to user by touch-screen and can carried
The particular content of several selection modes for supplying, the corresponding solution of mode that unlocking manner setup module (103) will be selected according to user
Lock toggle area and unblock Action Events are used as with reference to unlock trigger region and with reference to unblock Action Events.For example, user
Line number and columns can be input into, and then be customized matrix partition by screen partition;Screen is divided into 2*2 as example below,
If screen is 480*960 pixels, screen is divided into 4 pieces of small subregions of equalization, the apex coordinate of subregion 1 is:[(480,960),
(480,480), (240,480), (240,960)], the apex coordinate of subregion 2 for [(0,480), (0,960), (240,960),
(240,480)], the apex coordinate of subregion 3 is [(240,0), (240,480), (480,480), (480,0)], the summit of subregion 4
Coordinate is [(0,0), (240,0), (0,480), (240,480)], and unlocking manner setup module (103) is by the 4 of subregion every piece
The coordinate of intersection point be stored into this space, so as to realize the subregion of touch-screen;The apex coordinate of subregion refers to Fig. 2.
As shown in figure 3, also including LED lamp control module in this programme in device, use for the convenience of the user, solve lock control mould
Block (102) is additionally operable to after the user's operation information for receiving touch screen operation interactive module (101), judges user's operation letter
Point in breath touches operating position and belongs to during with reference to unlock trigger region, on indication LED lamp control module (104) control touch-screen
It is visibility status with reference to unlock trigger region.
Unblock control module (102) is additionally operable to after the user's operation information for receiving touch screen operation interactive module (101),
When judging that the tactile operating position of the point in the user's operation information is not belonging to the reference unlock trigger region, indication LED control
It is not visible state that module (104) controls touch-screen.
Unblock control module (102) is additionally operable to after judging to unlock successfully, and indication LED control module (104) control is touched
Screen generally visibility status;It is additionally operable to after judging to unlock successfully, points out to unlock successfully by display module, is additionally operable to judging
After unblock failure, unblock failure is pointed out by display module.
As shown in figure 4, the method for touching screen unlocks includes:Unlocking manner setup module determine with reference to unlock trigger region with
And with reference to unblock Action Events condition;Unblock control module receives user's operation letter that the touch screen operation interactive module sends
Breath, judges that the point in the user's operation information touches operating position and belongs to the reference unlock trigger region and judge the use
When the tactile Action Events of point in the operation information of family meet the Action Events condition with reference to unblock, the solution to the touch-screen is performed
Lock operation.
On with reference to release region and, the solution identical with said apparatus associated description with reference to unblock Action Events set-up mode
Lock mode setup module is set using the reference unlock trigger region of acquiescence and with reference to unblock Action Events condition or by user
Fixed unlock trigger region and unblock Action Events condition operates as described with reference to unblock Action Events and the reference unblock
The mode of event condition with mutually state identical in device associated description, here is omitted.
To unlock set in control module (102) in this programme and whether open this programme unlocking manner (referred to as subregion
Domain unlocking manner) mark, if mobile terminal enables the subregion of this programme using default behavior or user's opening ways
Domain unlocking manner, then unlock control module (102) and record this subregion unlocking manner for opening, if mobile terminal is used
Unlocking manner of the prior art, then unlock control module (102) and record this subregion unlocking manner for closed mode.Solution lock control
After molding block (102) receives the user's operation information of touch screen operation interactive module (101), whether subregion unlocking manner is judged
It is opening, if opening, then the method for being described according to this programme carries out corresponding unblock and judges, if closing
State, then carry out corresponding unblock and judge according to mode of the prior art.If acquiescence can only use we in mobile terminal
The subregion unlocking manner of case, or default setting subregion unlocking manner is subregion unlocking manner, then unlock control module
(102) after receiving the user's operation information of touch screen operation interactive module (101), directly carried out accordingly using the mode of this programme
Unblock judge.
Unblock control module (102) judges that the position of user's operation belongs to during with reference to unlock trigger region, notifies LED control
Molding block lights the unlock trigger region belonging to this position on touch-screen, does not deal with otherwise, or reminds user's unblock failure.
Unblock control module (102) judges that the point in user's operation information touches operating position and belongs to the reference unlock trigger
Region and judge the point in the user's operation information touch Action Events meet it is described with reference to unblock Action Events condition when, hold
Unblock operation of the row to the touch-screen, can also notify that user unlocks successfully.
Maximum unblock errors number can be set in this programme, and when user continuously unlocks mistake more than this number of times, locking is eventually
End.
The method for describing touch screen unlocks in detail by taking the method for Fig. 5 as an example may comprise steps of:
S1001:Unblock control module receives the user's operation information of touch screen operation interactive module;
S1002:Whether unblock control module judges currently open subregion unlocking manner, if do not opened, using common
Unlocking manner, if had turned on, go to step S1201;
S1201:Judge that the corresponding user's point of user's operation information touches whether position belongs to reference to unlock trigger region, if
Then turn to S1202;Otherwise turn to S1001;
S1202:Unblock control module notifies that LED lamp control module lights the reference belonging to the tactile position of user's point on touch-screen
Unlock trigger region, and turn to S1203;
S1203:User continues to be input into unblock event, turns to S1204;
S1204:Unblock control module judges whether the unblock event of user is correct, and unblock event correctly then turns to S1211;
Unlocking manner mistake then turns to S1221;
S1211:User is pointed out to unlock successfully by display module, terminal display main interface;
S1221:Point out user to unlock failure by display module, and go to S1222;
S1222:Unblock control module judges whether unblock input number of times alreadys exceed the unblock upper limit, if exceeding unblock number of times
The upper limit, equipment then returns to holding state;If unblock number of times is not up to the upper limit, S1202 is gone to, continue to unlock operation.
Specific implementation is illustrated:
Example one
Application scenarios:By the center line of the horizontal edge of screen area and the center line of longitudinal edge by screen area be divided into four it is equal
Sub-rectangular areas, i.e. subregion one, two, three, four.Wherein subregion one and subregion two is incited somebody to action as with reference to unlock trigger region.
With reference to unblock Action Events condition be user need to be carried out in subregion one successively click touch-screen event (the first sub- condition), line
The lasting touch-screen event (the second sub- condition) of segmentation, then carried out in subregion two successively click (the 3rd sub- article of touch-screen event
Part), the lasting touch-screen event (the 4th sub- condition) of closed type.
Execution method:Terminal is in screen lock state, and user clicks touch screen, touch screen operation interactive module in subregion one
(101) this user's operation information for clicking touch-screen event operation is notified to unblock control module (102), unlocks control module
(102) judge that the point in this user's operation information touches operating position and belongs to subregion one, trigger LED lamp control module (104) point
Subregion one on bright screen curtain, user can see the desktop contents on touch-screen sub-zones one, unblock control module (102)
Judge that this clicks contact action and meets with reference to first sub- condition in unblock Action Events condition, continue waiting for the behaviour of user
Make;User continues to carry out the lasting touch screen of line segment formula in subregion one, and unblock control module (102) judges this lasting touch-screen event
Meet with reference to second sub- condition in unblock Action Events condition;User continues to carry out clicking touch-screen event in subregion two,
Unblock control module (102) judges that the point in this user's operation information touches operating position and belongs to subregion two, triggering LED control
Module (104) lights the subregion two on screen, and user can see the desktop contents on touch-screen sub-zones two, solve lock control
Molding block (102) judges that this clicks contact action and meets with reference to the 3rd sub- condition in unblock Action Events condition, continue etc.
Treat the operation of user;User continues to carry out the lasting touch screen of closed type in subregion two, and unblock control module (102) judges that this holds
Continuous touch-screen event is met with reference to the 4th sub- condition in unblock Action Events condition, is so far unlocked control module (102) and is judged
The integrated operation of user meets described with reference to unblock Action Events condition, and judgement is unlocked successfully, performs the solution to the touch-screen
Lock operation.
Example two
Application scenarios are identical with the application scenarios in example one.
Execution method:Terminal is in screen lock state, and user clicks touch screen, touch screen operation interactive module in subregion one
(101) this user's operation information for clicking touch-screen event operation is notified to unblock control module (102), unlocks control module
(102) judge that the point in this user's operation information touches operating position and belongs to subregion one, trigger LED lamp control module (104) point
Subregion one on bright screen curtain, unblock control module (102) judges that this clicks contact action and meets with reference to unblock Action Events bar
First sub- condition in part, continues waiting for the operation of user;User continues to carry out the lasting touch screen of line segment formula in subregion one,
Unblock control module (102) judges that this lasting touch-screen event is met with reference to second sub- condition in unblock Action Events condition;
User continues to carry out double-click touch-screen event in subregion two, and unblock control module (102) judges the point in this user's operation information
Tactile operating position belongs to subregion two, and the subregion two on screen is lighted in triggering LED lamp control module (104), solves lock control mould
Block (102) judges that this clicks contact action and is unsatisfactory for, with reference to the 3rd sub- condition in unblock Action Events condition, indicating described
LED control module controls the touch-screen for not visible state, and touch-screen continues to keep lock-out state.
Example three
Application scenarios are identical with the application scenarios in example one.
Execution method:Terminal is in screen lock state, and user clicks touch screen, touch screen operation interactive module in subregion three
(101) this user's operation information for clicking touch-screen event operation is notified to unblock control module (102), unlocks control module
(102) judge that the point in this user's operation information touches operating position and is not belonging to reference to unlock trigger region, other treatment are not performed.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually it is combined.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence
Knowing those skilled in the art can make various corresponding changes and deformation, but these corresponding changes and deformation according to the present invention
The protection domain of appended claims of the invention should all be belonged to.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD
Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, each module/unit in above-described embodiment can be realized in the form of hardware, it would however also be possible to employ the shape of software function module
Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.