Summary of the invention
The main technical problem to be solved in the present invention is to provide a kind of touch screen unlocking method being difficult to false triggering
And there is the electronic equipment of touch screen.
For solving above-mentioned technical problem, the present invention provides a kind of touch screen unlocking method, comprises the following steps:
Signal receiving step: under screen lock status, electronic equipment receives the touch signal on touch screen;
Timing starts step: judge whether the position coordinates of touch signal is positioned on touch screen the given zone preset
In territory, if it is, start timing;
Unlock and judge step: after timing starts, it is judged that whether receive follow-up in timing time
Meet the touch signal of unlocking condition, if it is trigger touch screen unlocking program.
Further, described judge timing time in whether receive and follow-up meet unlocking condition
The step of touch signal include: judge whether the position coordinates of follow-up touch signal is positioned at default specific
In region, after if it is triggering touch screen unlocking program according to the subsequent touch number of times of regulation or restart timing
Repeat to unlock and judge step.
In a kind of embodiment, the subsequent touch number of times set as once, described judge timing time in whether connect
The step receiving the follow-up touch signal meeting unlocking condition includes: judge follow-up touch letter
Number position coordinates whether be positioned at default specific region, if it is trigger touch screen unlocking program.
In another kind of embodiment, the subsequent touch number of times of setting, more than once, in described judgement timing time is
The no step receiving the follow-up touch signal meeting unlocking condition includes: if often received
One follow-up touch signal, then judge whether the position coordinates of this touch signal is positioned at default specific region
In, and if being positioned at all follow-up touch signal of specific region in one section of timing time and reach regulation
Subsequent touch number of times then trigger touch screen unlocking program.
In the third embodiment, the subsequent touch number of times of setting, more than once, in described judgement timing time is
The no step receiving the follow-up touch signal meeting unlocking condition includes: if often received
One follow-up touch signal, then judge whether the position coordinates of this touch signal is positioned at default specific region
In, and if being positioned at all follow-up touch signal of specific region in multistage timing time and reach regulation
Subsequent touch number of times then trigger touch screen unlocking program, repeat after otherwise restarting timing unlock judge step.
Described specific region include presetting on the touchscreen the first specific region of diverse location and at least one the
Two specific regions;Timing starts in step that to judge whether the position coordinates of touch signal is positioned at described first specific
In region, unlock and judge step judging, whether the position coordinates of follow-up touch signal is positioned at described second spy
Determine in region.
In a kind of embodiment, the subsequent touch number of times of setting is more than twice, and described second specific region has
Multiple and preset diverse location on the touchscreen respectively, unlock and judge step judges follow-up touch signal
Position coordinates whether be positioned at correspondence the second specific region.
Described unblock judges in step, and arbitrary timing time inner electronic equipment does not receive and is positioned at touch screen
Touch signal in specific region, then touch screen keeps screen lock and stops timing.
The present invention also protects a kind of electronic equipment with touch screen, including:
Specific region presetting module, for presetting the specific region on touch screen;
Time presetting module, is used for presetting timing time;
Signal receiving module, for receiving the touch signal on touch screen;
First area judge module, for judging the touch letter that signal receiving module receives under screen lock status
Number position coordinates whether be positioned at default specific region, if it is, start timing module timing;
Unlock judge module, after starting in timing, it is judged that whether receive at least one times in timing time
The follow-up touch signal meeting unlocking condition, if it is triggers touch screen unlocking program by unlocked state.
In a kind of embodiment, described unblock judge module includes second area judge module, is used for judging letter
Whether the position coordinates of number follow-up touch signal that receiver module receives in timing time is positioned at default
In specific region, if it is trigger touch screen unlocking program by unlocked state.
In a kind of embodiment, unlock judge module and include:
Second area judge module, for often receiving a follow-up touch letter when described signal receiving module
Number time, it is judged that whether the position coordinates of this follow-up touch signal is positioned at default specific region;
Touch number of times judge module, for when the subsequent touch number of times set is more than once and second area is sentenced
Disconnected module judges when the position coordinates of follow-up touch signal is positioned at default specific region, according to set
Whether subsequent touch number of times is positioned at all follow-up touch signal of specific region in judging one section of timing time
Reach the subsequent touch number of times set, if it is trigger touch screen unlocking program by unlocked state.
In a kind of embodiment, unlock judge module and include:
Second area judge module, for often receiving a follow-up touch letter when described signal receiving module
Number time, it is judged that whether the position coordinates of this follow-up touch signal is positioned at default specific region;
Touch number of times judge module, for when the subsequent touch number of times set is more than once and second area is sentenced
Disconnected module judges when the position coordinates of follow-up touch signal is positioned at default specific region, according to set
Whether subsequent touch number of times is positioned at all follow-up touch signal of specific region in judging multistage timing time
Reach the subsequent touch number of times set, if it is trigger touch screen unlocking program by unlocked state, otherwise
Control again to trigger after timing module restarts timing to unlock judge module.
Further, also include interface control module, for judging that signal receives when first area judge module
When the position coordinates of the touch signal that module receives under shielding lock status is positioned at default specific region, will
The interface of touch screen is transformed to wait user's input state by shielding lock status.
The touch screen unlocking method of the present invention and the electronic equipment with touch screen input in user's releasing process
The position of touch signal, triggering times and repeatedly trigger between interval time propose certain requirement, when
When user unlocks consciously, can touch touch screen according to unlocking rule, electronic equipment is judging touching of user
Touch the unblock that is well on when meeting unblock rule, but when mobile phone is placed in pocket or bag when, pocket,
Bag or other article are extremely difficult to these requirements and false triggering unlocking condition for the friction of touch screen, with existing
There is technology to compare, effectively reduce the probability that touch screen is unlocked due to false triggering, it is to avoid touch screen is not
Unlock in the case of necessity, therefore improve the satisfaction of user.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
The touch screen unlocking method of the present invention presets timing time in the electronic device, and presets on the touchscreen
At least one specific region, when touch screen unlocks, needs to input touch signal in the specific region of touch screen,
Then in timing time, again input at least one touch signal, and the touch signal again inputted needs full
The certain unlocking condition of foot just can make touch screen unlock.Unlocking condition includes multiple, such as, need one section of timing
In time or in multiple continuous print timing time, input one or more in the specific region of touch screen and touch
Touching signal, touch screen can unlock, if after timing starts, arbitrary timing time inner electronic equipment is not
Receive the touch signal of the specific region being positioned at touch screen, then touch screen keeps screen lock and stops timing.
The touch screen unlocking method of the present invention mainly includes that signal receiving step, timing start step and unblock is sentenced
Disconnected step, specifically, signal receiving step refers to that electronic equipment receives the touch on touch screen under screen lock status
Signal, timing starts step and refers to whether the position coordinates judging this touch signal is positioned at default specific region,
If it is, startup timing, unlock after judging that step refers to that timing starts, it is judged that whether receive in timing time
To the follow-up touch signal meeting unlocking condition, if it is trigger touch screen unlocking program.
Such as unlock whether to receive in judging step judges timing time and follow-up meet unblock
The touch signal of condition method particularly includes: judge whether the position coordinates of follow-up touch signal is positioned at default
Specific region in, if it is trigger touch screen unlocking program or restart according to the subsequent touch number of times set
Repeat after timing to unlock and judge step.
Wherein, according to specific needs, the specific region preset can only include one, needs in releasing process every time
In same specific region, to input touch signal, it is possible to include multiple, releasing process needs not every time
Touch signal is inputted in same specific region.The position of specific region, size, shape and timing time
Length can be the Default Value of electronic equipment, it is possible to by electronic equipment provide special arrange menu by user from
Row is arranged.Preferably, specific region includes the first specific region and at least one second specific region, first
Specific region and the second specific region are respectively provided at the diverse location of touch screen, and timing starts judgement in step and touches
Whether the position coordinates touching signal is positioned at the first specific region, unlocks and judges to judge follow-up touch in step
Whether the position coordinates of signal is positioned at the second specific region.When the subsequent touch number of times set is more than twice,
Second specific region can have multiple and preset diverse location on the touchscreen respectively, unlocks and judges in step
Judge whether the position coordinates of follow-up touch signal is positioned at the second specific region of correspondence.On the touchscreen
When presetting specific region, can be by relative coordinate date storage corresponding on the touchscreen for point all of in this region
In the memory space of electronic equipment.
Touch signal refer to touch screen contact because of perception during and the signal that produces, this signal connects from perception
Touching and start until perception contactant leaves and terminates, this process is a touch signal, the most once touches
Signal can be one click produce signal, continuously touch signal that certain time produces or continuously slipping necessarily
Track and the signal etc. that produces.
Refer to Fig. 1, the touch screen unlocking method of the present embodiment needs to input once in the first specific region A
Touch signal, then inputs follow-up touch in predetermined timing time in the second specific region B
Touch screen could be unlocked by signal, specifically includes following steps:
Step S101: touch screen receives the touch signal on touch screen under screen lock status.
Step S102: judge that the position coordinates of this touch signal, whether in the first specific region A, is to turn step
Rapid S103, otherwise returns to step S101 and continues waiting for receiving touch signal.Such as one click is produced
Signal or the signal that touch certain time produces continuously, touch screen can obtain the relative coordinate that signal is corresponding
Data or multiple relative coordinate date, and compare its whether with the first specific region A of storage in electronic equipment
One or more relative coordinate date interior is identical, is then to show that this touch signal is at the first specific region A
In, otherwise show that this touch signal is not in the first specific region A.
Step S103: start timing and continue waiting for follow-up touch signal.
Step S104: whether receive follow-up touch signal in judging timing time, be to go to step S106,
If timing time does not also receive follow-up touch signal at the expiration, then go to step S105.According to specific needs,
Touch screen needs the touch signal received can be identical every time, it is also possible to different, such as a kind of embodiment needs
The most all to input the signal that one click produces, another embodiment needs to exist for the first time
Inputting the signal that one click produces on touch screen, second time inputs on the touchscreen and touches certain time continuously
The signal produced.
Step S105: stop timing and go to step S101, continues waiting for receiving the touch signal on touch screen.
Step S106: judge whether the position coordinates of the follow-up touch signal that step S104 receives is positioned at
In two specific region B, it is to go to step S107, otherwise goes to step S104 and continue waiting for receiving follow-up touch
Signal.Concrete determination methods is with reference to step S102.
Step S107: stop timing and trigger touch screen unlocking program, controls touch screen and unlocks.
Another kind of embodiment, unlike above example, only presets a specific region in electronic equipment,
I.e. first specific region A and the second specific region B is same region, then above step S102 and S106
Judge that twice touch signal is whether in same specific region.
Refer to Fig. 2, the touch screen unlocking method of the present embodiment needs defeated in the first specific region of touch screen
Enter a touch signal, then according to the subsequent touch number of times set, respectively in multistage continuous print timing time
The touch signal that each input is follow-up, and in each timing time, the follow-up touch signal of input is positioned at touch
In second specific region of screen, touch screen could be unlocked.The subsequent touch number of times of this setting can be that electronics sets
Standby Default Value, it is possible to provided the special menu that arranges to be arranged voluntarily by user by electronic equipment, i.e. basis
Subsequent touch number of times is preset in the request of user.Such as when the subsequent touch number of times set is as twice, at touch screen
On a first specific region A is set, during two second specific region B, C, in releasing process, need exist
Touch signal of input in first specific region A, defeated in the second specific region B in one section of timing time
Enter follow-up touch signal, after inputting in the second specific region C in next section of timing time once
Touch screen could be unlocked by continuous touch signal;Such as when the subsequent touch number of times set is as n time, touching
Arrange on screen the individual second specific region B of a first specific region A, n (n represents the natural number more than 2),
C ... time, in releasing process, need to input a touch signal, one section of timing in the first specific region A
Follow-up touch signal is inputted in time, the in next section of timing time in the second specific region B
The touch signal that in two specific region C, input is follow-up, to the last at last in one section of timing time
Touch screen could be unlocked by the touch signal inputting n-th follow-up in individual second specific region.Present embodiment
Specifically include following steps:
Step S201: touch screen receives the touch signal on touch screen under screen lock status.
Step S202: be similar to step S102, it is judged that the position coordinates of this touch signal is the most specific first
In region, it is, goes to step S203, otherwise return to step S201 and continue waiting for follow-up touch signal.
Step S203: start timing and continue waiting for the follow-up touch signal on touch screen.
Step S204: be similar to step S104, it is judged that whether receive follow-up touch in one section of timing time
Signal often receives a follow-up touch signal and then goes to step S206, if this timing time does not also connect at the expiration
Receive follow-up touch signal, go to step S205.
Step S205: stop timing and go to step S201, continues waiting for receiving touch signal.
Step S206: judge whether the position coordinates of the follow-up touch signal that step S204 receives is positioned at pre-
If the second corresponding specific region in, be to go to step S207, otherwise go to step S204 and continue waiting for receiving
Follow-up touch signal.
Step S207: all follow-up touch signal being positioned at the second specific region in multistage timing time is
The no subsequent touch number of times reaching to set?It is to go to step S208, otherwise goes to step S209.This step can use
The mode of counting realizes, if there have the position coordinates of touch signal to be positioned in such as one section timing time to be default
Then count once in the second corresponding specific region, when final count value reaches the subsequent touch number of times of setting,
The all touch signals being positioned at the second specific region in then showing multistage timing time have reached the follow-up of setting
Touch number of times.
Step S208: stop timing and trigger touch screen unlocking program, controls touch screen and unlocks.
Step S209: restart timing and return to step S204, it is judged that after whether receiving in next timing time
Continuous touch signal, then circulation step S204-S209, until triggering touch screen unlocking program or going to step
S201 continues waiting for receiving touch signal.
Another kind of embodiment unlike above example, the timing that the most predeterminable multistage of electronic equipment is different
Time, when being recycled to step S204 every time, it may be judged whether receives follow-up touching in different timing times
Touch signal.Such as when the subsequent touch number of times set is as twice, two the second given zone are set on the touchscreen
Territory B, C, and set twice timing time corresponding to follow-up touch signal and be respectively 1s and 3s, unlocked
Cheng Zhong, needs to judge whether to receive follow-up touch signal in 1s in step S204, if
Be, judge in step S206 the position coordinates of this touch signal whether in the second specific region B, if
It is, then in step S207-S209 returns to step S204, again to judge whether to receive once in 3s
Follow-up touch signal, if it is judges in step S206 that whether the position coordinates of this touch signal is
In two specific region C, if it is, through step S207 and S208 to triggering touch screen unlocking program.
Refer to Fig. 3, the touch screen unlocking method of the present embodiment need to input in the first specific region of touch screen
Touch signal, then according to the subsequent touch number of times set, second in one section of predetermined timing time
Input follow-up touch signal in specific region could touch screen be unlocked, specifically include following steps:
Step S301: touch screen receives the touch signal on touch screen under screen lock status.
Step S302: be similar to step S102, it is judged that whether the position coordinates of this touch signal is in the first given zone
In territory, it is, goes to step S303, otherwise return to step S301 and continue waiting for receiving follow-up touch signal.
Step S303: start timing and continue and wait follow-up touch signal.
Step S304: be similar to step S104, it is judged that whether receive follow-up touch in one section of timing time
Signal, often receives a follow-up touch signal and then goes to step S206, if this timing time is the most not
Receive follow-up touch signal, go to step S305.
Step S305: stop timing and go to step S301, continues waiting for receiving the touch signal on touch screen.
Step S306: judge whether the position coordinates of the follow-up touch signal that step S104 receives is positioned at
In two specific regions, it is, goes to step S307, otherwise go to step S304 and continue waiting for follow-up touch signal.
Step S307:: all follow-up touch signal being positioned at the second specific region in one section of timing time is
The no subsequent touch number of times reaching to set?It is to go to step S308, otherwise goes to step S309.This step can refer to
Step S207 uses the mode of counting to realize.
Step S308: stop timing and trigger touch screen unlocking program, controls touch screen and unlocks.
Step S309: stop timing, is subsequently returning to step S301 and continues waiting for receiving touch signal.
Refer to Fig. 4, in the operating process being unlocked touch screen, its interface state can be carried out by touch screen
Conversion, to remind user to operate accordingly according to different interface states.Such as after touch screen screen locking
Interface is in screen lock status, if it is determined that the position coordinates of touch signal is positioned at default in timing starts step
In specific region, then interface is extremely waited user's input state by shielding lock status conversion, after unlocking touch screen
Interface is by waiting that user's input state is changed to released state.
Such as combine figure 1 above, the embodiment of 2,3 statements, if user does not carries out any behaviour to touch screen
If make or electronic equipment itself be not carried out any task (i.e. meeting condition G), the interface of touch screen by
Released state is changed to shielding lock status, the now touch signal on the touch screen to be received such as touch screen;Once walk
Rapid S102, S202 or S302 judge that touch signal (i.e. meets condition E) in the first specific region, then touch
By shielding lock status conversion, the interface touching screen extremely waits that user's input state, now electronic equipment startup timing also continue
The continuous follow-up touch signal waited on touch screen;When the interface of touch screen is waiting user's input
During state, if meeting unlocking condition (i.e. meeting condition F), then by waiting that the conversion of user's input state is to solving
Lock status, if but arbitrary timing time inner electronic equipment does not receive on touch screen in the second specific region
Touch signal (i.e. meeting condition D), then the interface of touch screen by wait user's input state change to shielding lock
State.
As it is shown in figure 5, the present invention also protects a kind of electronic equipment with touch screen, more than realizing
The method of each embodiment, including time presetting module 10, specific region presetting module 20, timing module
60, signal receiving module 30, first area judge module 40, unblock judge module 70 and unlocked state 50.
Wherein, time presetting module 10 is used for presetting timing time, and timing time can be Default Value, it is possible to
Self-defined setting for user.
Specific region presetting module 20 is for presetting at least one specific region on the touchscreen, according to concrete need
, the specific region that specific region presetting module 20 is preset can only have one, it is possible to has multiple, has
The first specific region and the second specific region that can preset diverse location on the touchscreen respectively is included time multiple,
Second specific region can have one, it is possible to has diverse location that is multiple and that be preset in touch screen respectively.In advance
If the relative coordinate date that point all of in this region is corresponding on the touchscreen can be stored in electricity during specific region
In the memory space of subset.The setting of specific region can be Default Value, it is possible to self-defined for user sets
Put.
Signal receiving module 30 receives the touch signal on touch screen, and as the case may be, touch signal is permissible
Produce for the signal of one click generation, the signal that touch certain time produces continuously, continuously slipping certain track
Raw signal etc..
First area judge module 40 is tactile for judging that signal receiving module 30 receives under screen lock status
Whether the position coordinates touching signal is positioned at default specific region, counts if it is, start timing module 60
Time, otherwise control touch screen and continue to keep screen lock.When the specific region bag that specific region presetting module 20 is preset
When including the first specific region of default diverse location on the touchscreen and one or more second specific region, the
One region decision module 40 can be used for judging the touch letter that signal receiving module 30 receives under screen lock status
Number position coordinates whether be positioned at the first specific region.
Unlock judge module 70 after starting in timing, it is judged that whether receive at least one times in timing time
The follow-up touch signal meeting unlocking condition, if it is triggers touch screen by unlocked state 50 and unlocks journey
Sequence.
In a kind of embodiment, unlock judge module 70 and include second area judge module 71, follow-up when set
When touch number of times is one time, for judging follow-up the touching that signal receiving module 30 receives in timing time
Whether the position coordinates touching signal is positioned at default specific region, is if it is triggered by unlocked state 50
Touch screen unlocking program, otherwise touch screen continues keep screen lock status and stop timing.
In the second embodiment, unlock judge module 70 and may also include second area judge module 71 and touch
Number of times judge module 72, touches the subsequent touch number of times of predeterminable setting in number of times judge module 72, and this is follow-up
Touching number of times can be Default Value, it is possible to preset according to the request of user.When the subsequent touch set
When number is more than one time, the second specific region judge module 71 is for often receiving one when signal receiving module 30
During individual follow-up touch signal, it is judged that whether the position coordinates of this follow-up touch signal is positioned at default specific
In region;Touch number of times judge module 72 for judging follow-up touch letter when second area judge module 71
Number position coordinates when being positioned at default specific region, the subsequent touch number of times according to setting judges one section of meter
Time the time in be positioned at the subsequent touch whether all follow-up touch signal of specific region reaches to set
Number, if it is triggers touch screen unlocking program by unlocked state 50, and otherwise touch screen continues to keep screen lock
And stop timing.
In the third embodiment, unlock judge module 70 and also include second area judge module 71 and touch secondary
Number judge module 72, when the subsequent touch number of times set is more than one time, the second specific region judge module 71
For when signal receiving module 30 often receives a follow-up touch signal, it is judged that this follow-up touch letter
Number position coordinates whether be positioned at default specific region;Touch number of times judge module 72 for when the secondth district
Territory judge module 71 judges when the position coordinates of follow-up touch signal is positioned at default specific region, according to
The subsequent touch number of times set is positioned at all follow-up touch letter of specific region in judging multistage timing time
Number whether reach the subsequent touch number of times set, if it is trigger touch screen by unlocked state 50 and unlock journey
Sequence, otherwise controls again to trigger after timing module 60 restarts timing to unlock judge module 70.
In three of the above embodiment, when the specific region that specific region presetting module 20 is preset includes being preset in tactile
When touching the first specific region of the upper diverse location of screen and one or more second specific region, second area judges
Module 40 is respectively used to judge the position of the touch signal that signal receiving module 30 receives under screen lock status
Whether coordinate is positioned at the second specific region.If the second specific region has multiple and lays respectively at touch screen
On diverse location, then in second and third embodiments, second area judge module 40 can be used for judging signal
Whether the position coordinates of the subsequent touch signal that receiver module 30 receives every time is positioned at the second given zone of correspondence
In territory.
Electronic equipment also includes interface control module, for judging that signal receives when first area judge module 40
When the position coordinates of the touch signal that module 30 receives under shielding lock status is positioned at default specific region,
It is transformed to wait user's input state by shielding lock status by the interface of touch screen.
The touch screen unlocking method of the present invention and there is the electronic equipment of touch screen to existing touch screen solution lock side
Formula improves, and adds unlocking condition to a certain extent, when mobile phone is placed in pocket or bag
Waiting, pocket, bag or other article are difficult to these unlocking conditions of false triggering, therefore for the friction of touch screen
Effectively reduce the probability that touch screen is unlocked due to false triggering, it is to avoid touch screen is in the case of unnecessary
Unlock, therefore improve the satisfaction of user.It addition, the specific region of the present invention, timing time, triggering
Number of times etc. all can be arranged according to the demand of user flexibly, therefore, it is possible to meet the individual demand of user further,
Improve user experience.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to recognize
Determine the present invention be embodied as be confined to these explanations.Ordinary skill for the technical field of the invention
For personnel, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace,
All should be considered as belonging to protection scope of the present invention.