Summary of the invention
The technical problem underlying that the present invention will solve is that a kind of electronic equipment that is difficult for the touch screen unlocking method of false triggering and has touch-screen is provided.
For solving the problems of the technologies described above, the present invention provides a kind of touch screen unlocking method, may further comprise the steps:
The signal receiving step: under screen lock state, electronic equipment receives the touch signal on the touch-screen;
The timing setting up procedure: whether the position coordinates of judging touch signal is positioned at specific region preset on the touch-screen, if then start timing;
The release determining step: timing judges whether receive at least once the follow-up touch signal that meets unlocking condition in the timing time, if then trigger the touch screen unlocking program after starting.
Further; Saidly judge that the step that whether receives at least once the follow-up touch signal that meets unlocking condition in the timing time comprises: whether the position coordinates of judging follow-up touch signal is positioned at preset specific region, if follow-up touch number of times then according to the rules repeats the release determining step after triggering the touch screen unlocking program or restarting timing.
Among a kind of embodiment; The follow-up touch number of times of setting is for once; Saidly judge that the step that whether receives at least once the follow-up touch signal that meets unlocking condition in the timing time comprises: whether the position coordinates of judging follow-up touch signal is positioned at preset specific region, if then trigger the touch screen unlocking program.
Among the another kind of embodiment; The follow-up touch number of times of setting is greater than once; Saidly judge that the step that whether receives at least once the follow-up touch signal that meets unlocking condition in the timing time comprises: if whenever receive a follow-up touch signal; Whether the position coordinates of then judging this touch signal is positioned at preset specific region, and if all follow-up touch signals that are positioned at the specific region in one section timing time follow-up touch number of times of reaching regulation then trigger the touch screen unlocking program.
Among the third embodiment; The follow-up touch number of times of setting is greater than once; Saidly judge that the step that whether receives at least once the follow-up touch signal that meets unlocking condition in the timing time comprises: if whenever receive a follow-up touch signal; Whether the position coordinates of then judging this touch signal is positioned at preset specific region; And if all follow-up touch signals that are positioned at the specific region in the multistage timing time follow-up touch number of times of reaching regulation then trigger the touch screen unlocking program, otherwise repeat the release determining step after restarting timing.
Said specific region comprises first specific region and at least one second specific region that is preset in diverse location on the touch-screen; Whether the position coordinates of judging touch signal in the timing setting up procedure is positioned at said first specific region, judges in the release determining step whether the position coordinates of follow-up touch signal is positioned at said second specific region.
In a kind of embodiment; The follow-up touch number of times of setting is greater than twice; Said second specific region has a plurality of and is preset in the diverse location on the touch-screen respectively, judges in the release determining step whether the position coordinates of follow-up touch signal is positioned at the second corresponding specific region.
In the said release determining step, arbitrary timing time inner electronic equipment does not receive the touch signal of the specific region that is positioned at touch-screen, and then touch-screen keeps the screen lock and stops timing.
The present invention has also protected a kind of electronic equipment with touch-screen, comprising:
The specific region presetting module is used for the specific region on the preset touch-screen;
The time presetting module is used for preset timing time;
Signal receiving module is used to receive the touch signal on the touch-screen;
The first area judge module is used to judge whether signal receiving module is positioned at preset specific region at the position coordinates that shields the touch signal that receives under the lock state, if then start the timing module timing;
The release judge module is used for after timing starts, judging whether receive at least once the follow-up touch signal that meets unlocking condition in the timing time, if then trigger the touch screen unlocking program through separating lock module.
In a kind of embodiment; Said release judge module comprises the second area judge module; Whether the position coordinates of the follow-up touch signal that is used to judge that signal receiving module receives in timing time is positioned at preset specific region, if then trigger the touch screen unlocking program through separating lock module.
In a kind of embodiment, the release judge module comprises:
The second area judge module is used for when said signal receiving module whenever receives a follow-up touch signal, judging whether the position coordinates of the touch signal that this is follow-up is positioned at preset specific region;
Touch the number of times judge module; Be used for when the follow-up touch number of times of setting greater than once and second area judge module when judging that the position coordinates of follow-up touch signal is positioned at preset specific region; Follow-up touch number of times according to setting judges whether all follow-up touch signals that are positioned at the specific region in one section timing time reach the follow-up touch number of times of setting, if then trigger the touch screen unlocking program through separating lock module.
In a kind of embodiment, the release judge module comprises:
The second area judge module is used for when said signal receiving module whenever receives a follow-up touch signal, judging whether the position coordinates of the touch signal that this is follow-up is positioned at preset specific region;
Touch the number of times judge module; Be used for when the follow-up touch number of times of setting greater than once and second area judge module when judging that the position coordinates of follow-up touch signal is positioned at preset specific region; Follow-up touch number of times according to setting judges whether all follow-up touch signals that are positioned at the specific region in the multistage timing time reach the follow-up touch number of times of setting; If then trigger the touch screen unlocking program through separating lock module, otherwise the control timing module triggers the release judge module after restarting timing once more.
Further; Also comprise the interface control module; Be used for when the first area judge module judges that the position coordinates of the touch signal that signal receiving module receives is positioned at preset specific region under screen lock state, it is to wait for user's input state that state transformation is locked by screen in the interface of touch-screen.
Touch screen unlocking method of the present invention and electronic equipment with touch-screen are to position, the triggering times of the touch signal imported in user's releasing process and propose certain requirement the interval time between repeatedly triggering; As user consciously during release; Can touch touch-screen according to the release rule; The electronic equipment release that when the touch of judges meets the release rule, is well on, but in mobile phone is placed on pocket or bag time the, pocket, bag perhaps other article are difficult to reach these requirements and the false triggering unlocking condition for the friction of touch-screen; Compared with prior art; Effectively reduce touch-screen owing to the probability that false triggering is unlocked, avoid touch-screen release under unnecessary situation, therefore improved user's satisfaction.
Embodiment
Combine accompanying drawing that the present invention is done further explain through embodiment below.
Touch screen unlocking method of the present invention is preset timing time in electronic equipment; And on touch-screen preset at least one specific region; During touch screen unlocking; Need be in the specific region of touch-screen the input touch signal, then in timing time, import at least one touch signal once more, and the touch signal of importing once more need satisfy certain unlocking condition and just can make touch screen unlocking.Unlocking condition comprises multiple; For example need be in one section timing time or in a plurality of continuous timing times; One or more touch signal of input in the specific region of touch-screen, touch-screen can releases, if after timing starts; Arbitrary timing time inner electronic equipment does not receive the touch signal of the specific region that is positioned at touch-screen, and then touch-screen keeps the screen lock and stops timing.
Touch screen unlocking method of the present invention mainly comprises signal receiving step, timing setting up procedure and release determining step; Particularly; The signal receiving step refers to that electronic equipment receives the touch signal on the touch-screen under screen lock state, and the timing setting up procedure refers to whether the position coordinates of judging this touch signal is positioned at preset specific region, if; Then start timing; The release determining step judges whether receive at least once the follow-up touch signal that meets unlocking condition in the timing time, if then trigger the touch screen unlocking program after referring to that timing starts.For example judge in the release determining step that the concrete grammar that whether receives at least once the follow-up touch signal that meets unlocking condition in the timing time is: whether the position coordinates of judging follow-up touch signal is positioned at preset specific region, if repeat the release determining step after then triggering the touch screen unlocking program or restart timing according to the follow-up touch number of times of setting.
Wherein, according to concrete needs, preset specific region can only comprise one, need in same specific region, import touch signal in the releasing process at every turn, also can comprise a plurality ofly, need in different specific regions, import touch signal in the releasing process at every turn.The length of the position of specific region, size, shape and timing time can be the Default Value of electronic equipment, also can provide special setup menu to be provided with voluntarily by the user by electronic equipment.Preferably; The specific region comprises first specific region and at least one second specific region; First specific region and second specific region are located at the diverse location of touch-screen respectively; Whether the position coordinates of judging touch signal in the timing setting up procedure is positioned at first specific region, judges in the release determining step whether the position coordinates of follow-up touch signal is positioned at second specific region.When the follow-up touch number of times of setting during greater than twice, second specific region can have a plurality of and be preset in the diverse location on the touch-screen respectively, judges in the release determining step whether the position coordinates of follow-up touch signal is positioned at second specific region of correspondence.On touch-screen during preset specific region, can the relative coordinate date of some correspondences on touch-screen all in should the zone be stored in the storage space of electronic equipment.
One time touch signal is meant the signal that touch-screen produces because of the perception period of contact; This signal leaves and finishes up to the perception contactant from perception contact beginning; Therefore this process is a touch signal, and touch signal can be signal that one click produces, touches signal that certain hour produces or Continuous Sliding certain track and the signal that produces etc. continuously.
Please refer to Fig. 1; The touch screen unlocking method of present embodiment need be imported one time touch signal in the first specific region A; Then in predetermined timing time, in the second specific region B, importing once follow-up touch signal could specifically may further comprise the steps touch screen unlocking:
Step S101: touch-screen receives the touch signal on the touch-screen under screen lock state.
Step S102: whether the position coordinates of judging this touch signal in the first specific region A, is then to change step S103, continues to wait for and receives touch signal otherwise get back to step S101.The signal that for example produces for one click or touch the signal that certain hour produces continuously; Touch-screen can obtain signal corresponding a relative coordinate date or a plurality of relative coordinate date; And relatively its whether with electronic equipment in the first specific region A that stores one or more relative coordinate date identical; Be, then show this touch signal in the first specific region A, otherwise show that this touch signal is not in the first specific region A.
Step S103: start timing and continue to wait for follow-up touch signal.
Step S104: judging whether receive follow-up touch signal in the timing time, is then to change step S106, if timing time does not also receive follow-up touch signal at the expiration, then changes step S105.According to concrete needs; The touch signal that touch-screen need receive at every turn can be identical; Also can be different; For example a kind of embodiment needs on touch-screen, all to import the signal that one click produces at every turn, and another kind of embodiment needs the signal that the input one click produces on touch-screen for the first time, and input touches the signal that certain hour produces continuously on touch-screen for the second time.
Step S105: stop timing and change step S101, continue to wait for the touch signal that receives on the touch-screen.
Step S106: whether the position coordinates of the follow-up touch signal that determining step S104 receives is positioned at the second specific region B, is then to change step S107, continues the follow-up touch signal of wait reception otherwise change step S104.Concrete determination methods is with reference to step S102.
Step S107: stop timing and trigger the touch screen unlocking program, the control touch screen unlocking.
What another kind of embodiment was different with above embodiment is; Only preset specific region in the electronic equipment; Promptly the first specific region A and the second specific region B are same zone, and then above step S102 and S106 judge that twice touch signal is whether in same specific region.
Please refer to Fig. 2; The touch screen unlocking method of present embodiment need be imported one time touch signal in first specific region of touch-screen; Then according to the follow-up touch number of times of setting; The once follow-up touch signal of each input in the continuous timing time of multistage, and the follow-up touch signal of input in each timing time respectively is positioned at second specific region of touch-screen, could be to touch screen unlocking.The follow-up touch number of times of this setting can be the Default Value of electronic equipment, also can provide special setup menu to be provided with voluntarily by the user by electronic equipment, promptly according to the preset follow-up touch number of times of user's request.The follow-up touch number of times of for example setting is twice o'clock; One first specific region A is set on touch-screen; When two second specific region B, C, in the releasing process, need in the first specific region A, import one time touch signal; The once follow-up touch signal of input in one section inherent second specific region B of timing time, the follow-up next time touch signal of input could be to touch screen unlocking in the inherent second specific region C of next section timing time; When the follow-up touch number of times of for example setting is n time; One first specific region A is set on touch-screen; The individual second specific region B of n (n representes the natural number greater than 2), C ... The time; In the releasing process, need in the first specific region A, import one time touch signal, the once follow-up touch signal of input in one section inherent second specific region B of timing time; The once follow-up touch signal of input in the inherent second specific region C of next section timing time, to the last the n time follow-up touch signal of input could be to touch screen unlocking in last second specific region, one section timing time inherence.This embodiment specifically may further comprise the steps:
Step S201: touch-screen receives the touch signal on the touch-screen under screen lock state.
Step S202: be similar to step S102, whether the position coordinates of judging this touch signal in first specific region, is then to change step S203, continues to wait for follow-up touch signal otherwise get back to step S201.
Step S203: start timing and continue to wait for the follow-up touch signal on the touch-screen.
Step S204: be similar to step S104; Judge that whether receiving follow-up touch signal in one section timing time whenever receives a follow-up touch signal and then change step S206; If this timing time does not also receive follow-up touch signal at the expiration, change step S205.
Step S205: stop timing and change step S201, continue to wait for reception touch signal.
Step S206: whether the position coordinates of the follow-up touch signal that determining step S204 receives is positioned at second specific region of preset correspondence, is then to change step S207, continues the follow-up touch signal of wait reception otherwise change step S204.
Do step S207: all follow-up touch signals that are positioned at second specific region in the multistage timing time reach the follow-up touch number of times of setting? Be then to change step S208, otherwise change step S209.This step can adopt the mode of counting to realize; If for example have second specific region then counting that the position coordinates of touch signal is positioned at preset correspondence once in one section timing time; When final count value reaches the follow-up touch number of times of setting, show that then all touch signals that are positioned at second specific region in the multistage timing time have reached the follow-up touch number of times of setting.
Step S208: stop timing and trigger the touch screen unlocking program, the control touch screen unlocking.
Step S209: restart timing and get back to step S204, judge whether receive follow-up touch signal in next timing time, then circulation step S204-S209 receives the touch signal up to triggering the touch screen unlocking program or changeing step S201 continuation wait.
What another kind of embodiment was different with above embodiment is that the different timing time of the also predeterminable multistage of electronic equipment when being circulated to step S204, judges whether in different timing times, to receive follow-up touch signal at every turn.The follow-up touch number of times of for example setting is twice o'clock; Two second specific region B, C are set on touch-screen, and set twice corresponding timing time of follow-up touch signal and be respectively 1s and 3s, in the releasing process; Need in step S204, judge whether in 1s, to receive once follow-up touch signal; If whether the position coordinates of then in step S206, judging this touch signal is in the second specific region B, if then get back among the step S204 through step S207-S209; Judge whether in 3s, to receive once follow-up touch signal once more; If whether the position coordinates of then in step S206, judging this touch signal in the second specific region C, if, then through step S207 and S208 to triggering the touch screen unlocking program.
Please refer to Fig. 3; The touch screen unlocking method of present embodiment needs touch signal of input in first specific region of touch-screen; Then according to the follow-up touch number of times of setting; The repeatedly follow-up touch signal of input could specifically may further comprise the steps touch screen unlocking in second specific region in one section predetermined timing time:
Step S301: touch-screen receives the touch signal on the touch-screen under screen lock state.
Step S302: be similar to step S102, whether the position coordinates of judging this touch signal in first specific region, is then to change step S303, continues to wait for and receives follow-up touch signal otherwise get back to step S301.
Step S303: start timing and continue the follow-up touch signal of wait.
Step S304: be similar to step S104; Judge in one section timing time and whether receive follow-up touch signal; Whenever receiving a follow-up touch signal then changes step S206, if this timing time does not also receive follow-up touch signal at the expiration, changes step S305.
Step S305: stop timing and change step S301, continue to wait for the touch signal that receives on the touch-screen.
Step S306: whether the position coordinates of the follow-up touch signal that determining step S104 receives is positioned at second specific region, is then to change step S307, continues to wait for follow-up touch signal otherwise change step S304.
Do step S307:: all follow-up touch signals that are positioned at second specific region in one section timing time reach the follow-up touch number of times of setting? Be then to change step S308, otherwise change step S309.This step can adopt the mode of counting to realize with reference to step S207.
Step S308: stop timing and trigger the touch screen unlocking program, the control touch screen unlocking.
Step S309: stop timing, then get back to step S301 and continue to wait for the reception touch signal.
Please refer to Fig. 4, touch-screen is carried out in the operating process of release, touch-screen can carry out conversion to its interfacial state, operates accordingly according to different interfacial states to remind the user.For example the interface after the touch-screen screen locking is screen lock state; Be positioned at preset specific region if in the timing setting up procedure, judge the position coordinates of touch signal; Then the interface to waiting for user's input state, is converted to released state to the interface behind the touch screen unlocking by wait user input state by screen lock state exchange.
The embodiment that for example combines above Fig. 1,2,3 statements; If the user touch-screen is not carried out any operation or if electronic equipment itself is not carried out any task (G promptly satisfies condition); The interface of touch-screen is converted to screen lock state by released state, and this moment, touch-screen was waited for the touch signal that receives on the touch-screen; In case step S102, S202 or S302 judge touch signal (E promptly satisfies condition) in first specific region; Then state exchange is locked to waiting for user's input state by screen in the interface of touch-screen, and electronic equipment started timing and continued at least once follow-up touch signal on the wait touch-screen this moment; When the interface of touch-screen when waiting for user's input state; If satisfy unlocking condition (F promptly satisfies condition); Then by waiting for that user's input state is converted to released state; If but arbitrary timing time inner electronic equipment does not receive the touch signal in second specific region on the touch-screen (D promptly satisfies condition), then the interface of touch-screen is by waiting for that user's input state is converted to screen lock state.
As shown in Figure 5; The present invention has also protected a kind of electronic equipment with touch-screen; Be used to realize the method for above each embodiment, conciliate lock module 50 comprising time presetting module 10, specific region presetting module 20, timing module 60, signal receiving module 30, first area judge module 40, release judge module 70.
Wherein, time presetting module 10 is used for preset timing time, and timing time can be Default Value, also can be user's self-defined setting.
Specific region presetting module 20 is used for preset at least one specific region on touch-screen; According to concrete needs; The preset specific regions of specific region presetting module 20 can only have one, also can have a plurality ofly, have and comprise first specific region and second specific region that can be preset in diverse location on the touch-screen respectively when a plurality of; Second specific region can have one, also can have a plurality of and is preset in the diverse location of touch-screen respectively.Can the relative coordinate date of some correspondences on touch-screen all in should the zone be stored in the storage space of electronic equipment during preset specific region.The setting of specific region can be Default Value, also can be user's self-defined setting.
Signal receiving module 30 receives the touch signal on the touch-screens, as the case may be, the signal that touch signal can produce for one click, touches the signal that certain hour produces, the signal that the Continuous Sliding certain track produces etc. continuously.
First area judge module 40 is used to judge whether signal receiving module 30 is positioned at preset specific region at the position coordinates that shields the touch signal that receives under the lock state, if then start timing module 60 timing, otherwise the control touch-screen continues to keep screen to lock.When the preset specific regions of specific region presetting module 20 comprised first specific region that is preset in diverse location on the touch-screen and one or more second specific region, whether the position coordinates of the touch signal that first area judge module 40 can be used for judging that signal receiving module 30 receives under screen lock state was positioned at first specific region.
Release judge module 70 is used for after timing starts, judging whether receive at least once the follow-up touch signal that meets unlocking condition in the timing time, if then trigger the touch screen unlocking program through separating lock module 50.
Among a kind of embodiment; Release judge module 70 comprises second area judge module 71; When the follow-up touch number of times of setting is one time; Whether the position coordinates of the follow-up touch signal that is used to judge that signal receiving module 30 receives in timing time is positioned at preset specific region, if then trigger the touch screen unlocking programs through separating lock module 50, otherwise touch-screen continues to keep screen lock state and stop timing.
Among second kind of embodiment; Release judge module 70 also can comprise second area judge module 71 and touch number of times judge module 72; Touch the follow-up touch number of times of predeterminable setting in the number of times judge module 72, this follow-up touch number of times can be Default Value, also can preset according to user's request.When the follow-up touch number of times of setting during greater than a time, the second specific region judge module 71 is used for when signal receiving module 30 whenever receives a follow-up touch signal, judging whether the position coordinates of the touch signal that this is follow-up is positioned at preset specific region; Touching number of times judge module 72 is used for when second area judge module 71 judges that the position coordinates of follow-up touch signal is positioned at preset specific region; Follow-up touch number of times according to setting judges whether all follow-up touch signals that are positioned at the specific region in one section timing time reach the follow-up touch number of times of setting; If then trigger the touch screen unlocking program through separating lock module 50, otherwise touch-screen continues to keep the screen lock and stops timing.
Among the third embodiment; Release judge module 70 also comprises second area judge module 71 and touches number of times judge module 72; When the follow-up touch number of times of setting during greater than one time; The second specific region judge module 71 is used for when signal receiving module 30 whenever receives a follow-up touch signal, judging whether the position coordinates of the touch signal that this is follow-up is positioned at preset specific region; Touching number of times judge module 72 is used for when second area judge module 71 judges that the position coordinates of follow-up touch signal is positioned at preset specific region; Follow-up touch number of times according to setting judges whether all follow-up touch signals that are positioned at the specific region in the multistage timing time reach the follow-up touch number of times of setting; If then trigger the touch screen unlocking program through separating lock module 50, otherwise control timing module 60 triggers release judge module 70 after restarting timing once more.
More than among three kinds of embodiment; When the preset specific regions of specific region presetting module 20 comprised first specific region that is preset in diverse location on the touch-screen and one or more second specific region, second area judge module 40 is respectively applied for judged whether signal receiving module 30 is positioned at second specific region at the position coordinates that shields the touch signal that receives under the lock state.If second specific region has a plurality of and lays respectively at the diverse location on the touch-screen; Then among the second and the 3rd embodiment, whether the position coordinates of the follow-up touch signal that second area judge module 40 can be used for judging that signal receiving module 30 receives at every turn is positioned at the second corresponding specific region.
Electronic equipment also comprises the interface control module; Be used for when first area judge module 40 judges that the position coordinates of the touch signal that signal receiving module 30 receives is positioned at preset specific region under screen lock state, it is to wait for user's input state that state transformation is locked by screen in the interface of touch-screen.
Touch screen unlocking method of the present invention improves existing touch screen unlocking mode with the electronic equipment with touch-screen; Increased unlocking condition to a certain extent; In the time of in mobile phone is placed on pocket or bag, pocket, bag or other article are difficult to these unlocking conditions of false triggering for the friction of touch-screen, therefore effectively reduce the probability that touch-screen is unlocked owing to false triggering; Avoid touch-screen release under unnecessary situation, therefore improved user's satisfaction.In addition, specific region of the present invention, timing time, triggering times etc. all can be provided with according to user's demand flexibly, therefore can further satisfy user's individual demand, have improved user experience.
Above content is to combine concrete embodiment to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.