CN102520857B - Mobile phone screen unlocking device and unlocking method thereof - Google Patents
Mobile phone screen unlocking device and unlocking method thereof Download PDFInfo
- Publication number
- CN102520857B CN102520857B CN201110403381.4A CN201110403381A CN102520857B CN 102520857 B CN102520857 B CN 102520857B CN 201110403381 A CN201110403381 A CN 201110403381A CN 102520857 B CN102520857 B CN 102520857B
- Authority
- CN
- China
- Prior art keywords
- user
- track
- module
- unlock
- events
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The invention discloses a screen unlocking device and unlocking method thereof based on Android platform. The device comprises an induction track recording module, an unlocking event judgment module, other event execution module and an unlocking event execution module, wherein the induction track recording module is used for recording tracks of a first inductive element and a second inductive element touched by a user, and transmitting the tracks to the unlocking event judgment module; the unlocking event judgment module is used for judging whether sliding track of the user on the touch screen passes through an unlock icon, notifying the unlocking event execution module to execute unlocking operation if the track passes through the unlock icon, and notifying other event execution modules to make corresponding interface response and further keeping the locking state if the track is determined as other events, such as click and incorrect operation. The mobile phone screen unlocking device provided by the invention has low incorrect operation rate and high convenience in operation, and can meet the requirement for user experience.
Description
Technical field
The present invention relates to a kind of intelligent mobile terminal technology based on the Android platform, particularly relate to a kind of mobile phone screen tripper and unlock method thereof.
Background technology
Along with scientific and technical development, the use crowd of intelligent mobile terminal is popular gradually, and touch screen unlocking is used as people the operation that the mobile terminal frequency of utilization is the highest every day, its convenience always is with the ability that prevents maloperation the problem that each large cell phone manufacturer pays close attention to.But at present commonly all there are some shortcomings as Macintosh release, acoustic control release, figure release etc., such as the Macintosh release needs the user, remember the Macintosh setting, and complete release and need the multistep finger manipulation.The misuse rate of acoustic control release is higher again, and uses inconvenient.From convenience with prevent from the ability of maloperation all needing to promote.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of mobile phone screen tripper and unlock method thereof are provided, make conveniently release of user, and misuse rate is low.
In order to achieve the above object, the technical solution used in the present invention is: a kind of mobile phone screen tripper, based on the Android platform, screen is touch-screen, and described device comprises subscriber interface module, induction track logging modle, unlock events judge module, other event execution modules and unlock events execution module.
Described subscriber interface module, for the user interface controls of simulation regular shape on user interface;
Described induction track logging modle, for the recording user sliding trace, and send to the unlock events judge module by result;
Described unlock events judge module, judged whether that according to subscriber interface module and induction track logging modle data unlock events occurs, if any, send message and process to the unlock events execution module, otherwise further decision event, send message and process to other event execution modules after judgement;
Described unlock events execution module, for carrying out the release after the response unlock events occurs and controlling subscriber interface module;
Described other event execution modules, for carrying out the release after other events of response occur and controlling subscriber interface module.
The subscriber interface module of described tripper, be further used for the user interface controls of analog rule geometric configuration, the control behavior comprise control according to necessarily at the uniform velocity floating in user interface, control has its boundary coordinate record, control to enter the entrance at each interface of mobile phone for reflection.
The induction track logging modle of described tripper, be further used for recording user the 1st to N contact coordinate position of touching and the contact coordinate position be sent to the unlock events judge module, and N is natural number.
The unlock events judge module of described tripper, further obtain data according to subscriber interface module with induction track logging modle place and judged;
Described unlock events judge module judges that the condition of release is,
P1: the user touches first point of track;
P2: the user touches last point in track;
N1: the user touches in track the overlapping coordinate points of first and the set of user control frontier point;
N2: the user touches in track the overlapping coordinate points of last and the set of user control frontier point;
The length of track between L1:N1 and N2;
Air line distance between L2:N1 and N2;
S: user control frontier point set;
And if only if L1 >=L2, and, in the situation about not overlapping with point in user control frontier point range of convergence of the position of P1 and P2, be judged as the release success, and transmission message is to the unlock events execution module; Otherwise be considered as maloperation, and send message to other event execution modules.
The unlock events execution module of described tripper, be further used for responding unlock events, and the page meaned according to the respective user interface control, directly enters the corresponding page after release.
Other event execution modules of described tripper, be further used for the maloperation response events, and translation is done in the user control frontier point set in user interface.
A kind of unlock method that utilizes above-mentioned mobile phone screen tripper comprises the following steps:
First coordinate points P1 of step 1, recording user touching track;
Last coordinate points P2 in step 2, recording user touching track;
Step 3, the set of recording user control frontier point;
Step 4, calculate the user and touch in track the overlapping coordinate points N1 of first and the set of user control frontier point;
Step 5, calculate the user and touch in track the overlapping coordinate points N2 of last and the set of user control frontier point;
The length L 1 of track between step 6, calculating N1 and N2;
Air line distance L2 between step 7, calculating N1 and N2;
If the position of step 8 P1 and P2 does not overlap with point in user control frontier point range of convergence, judge whether L1 >=L2, be to be judged as the release success, and send message to the unlock events execution module, otherwise be judged to maloperation, and send message to other event execution modules.
Compared with prior art, the invention has the beneficial effects as follows: according to apparatus and method of the present invention, make the user pass through easily interface alternation, only need single stepping, can complete unlocking operation, simultaneously, guaranteeing that, under easy to operate prerequisite, the probability of introducing maloperation is extremely low; In implementation procedure, because algorithm is simple, guaranteed execution efficiency in addition, another advantage of the present invention is, only needs the sensing element on touch screen, can realize unlocking operation.
The accompanying drawing explanation
Fig. 1 is apparatus structure schematic diagram of the present invention;
fig. 2 is unlock method schematic diagram of the present invention;
Fig. 3 is unlock method process flow diagram of the present invention.
Embodiment
Below in conjunction with embodiment, with reference to accompanying drawing, be elaborated, in order to technical characterictic of the present invention and advantage are interpretated more in-depth.
As shown in Figure 1, 2, a kind of mobile phone screen tripper, based on the Android platform, screen is touch-screen, and described device comprises subscriber interface module 101, induction track logging modle 102, unlock events judge module 201, other event execution modules 302 and unlock events execution module 301.
Described subscriber interface module 101, for the user interface controls of simulation regular shape on user interface; Described induction track logging modle 102, for the recording user sliding trace, and send to the unlock events judge module by result; Described unlock events judge module 201, judged whether that according to subscriber interface module and induction track logging modle data unlock events occurs, if any, sending message processes to the unlock events execution module, as do not have, further decision event, send message and process to other event execution modules after judgement; Described unlock events execution module 301, for carrying out the release after the response unlock events occurs and controlling subscriber interface module; Described other event execution modules 302, for carrying out the release after other events of response occur and controlling subscriber interface module.
The subscriber interface module 101 of described tripper, be further used for the user interface controls of analog rule geometric configuration, the control behavior comprise control according to necessarily at the uniform velocity floating in user interface, control has its boundary coordinate record, control to enter the entrance at each interface of mobile phone for reflection.
The induction track logging modle of described tripper, be further used for recording user the 1st to N contact coordinate position of touching and the contact coordinate position be sent to the unlock events judge module, and N is natural number.
The unlock events judge module 201 of described tripper, further obtain data according to subscriber interface module with induction track logging modle place and judged;
Described unlock events judge module 201 judges that the condition of releases is,
P1: the user touches first point of track;
P2: the user touches last point in track;
N1: the user touches in track the overlapping coordinate points of first and the set of user control frontier point;
N2: the user touches in track the overlapping coordinate points of last and the set of user control frontier point;
The length of track between L1:N1 and N2;
Air line distance between L2:N1 and N2;
S: user control frontier point set;
And if only if L1 >=L2, and, in the situation about not overlapping with point in user control frontier point range of convergence of the position of P1 and P2, be judged as the release success, and transmission message is to the unlock events execution module; Otherwise be considered as maloperation, and send message to other event execution modules.
The unlock events execution module 301 of described tripper, be further used for responding unlock events, and the page meaned according to the respective user interface control, directly enters the corresponding page after release.
Other event execution modules 302 of described tripper, be further used for the maloperation response events, and translation is done in the user control frontier point set in user interface.
A kind of unlock method that utilizes above-mentioned mobile phone screen tripper comprises the following steps:
First coordinate points P1 of step 1, recording user touching track;
Last coordinate points P2 in step 2, recording user touching track;
Step 3, the set of recording user control frontier point;
Step 4, calculate the user and touch in track the overlapping coordinate points N1 of first and the set of user control frontier point;
Step 5, calculate the user and touch in track the overlapping coordinate points N2 of last and the set of user control frontier point;
The length L 1 of track between step 6, calculating N1 and N2;
Air line distance L2 between step 7, calculating N1 and N2;
If the position of step 8 P1 and P2 does not overlap with point in user control frontier point range of convergence, judge whether L1 >=L2, be to be judged as the release success, and send message to the unlock events execution module, otherwise be judged to maloperation, and send message to other event execution modules.
As shown in Figure 3, the detailed step of described unlock method is as follows:
Step S201, obtain user control frontier point S set, and data are saved to buffer area;
Step S202, obtain first coordinate points P1 that the user touches touch-screen, and data are saved to buffer area;
Step S203, the packet information of obtaining according to step S201 and step S202, carry out simple mathematics judgement, and whether judging point P1 is in the inside of set S, in inside, be judged as maloperation, and notify other event execution module executable operations, execution step S213; Not at a set S bounds inside, execution step S204;
Step S204, recording user sliding trace, and end user finger leaves last coordinate points P2 of touch screen, saves as packet, execution step S205;
Step S205, calculate and record sliding trace and user control frontier point intersection of sets point D1, for follow-up use, the execution step S206 of making a decision;
Step S206, judge whether the D1 point exists, exist and illustrate that user's sliding trace and user control have at least one joining, perform step S207 and whether reached unlocking condition further to judge that the user operates; Do not exist and carry out step S214, directly finish current flow process;
Step S207, calculate and record second intersection point D2 of sliding trace and the set of user control frontier point, carry out step S208;
Step S208, whether the D2 point is existed and judged, D2 exists and carries out step S209, further carries out the distance of user's sliding trace arc length between D1 and D2; D2 does not exist and judges that the user is operating as other Action Events, carries out step S213;
Between step S209, calculating D1 and D2, the distance L 1 of user's sliding trace arc length, carry out step S210;
Air line distance L2 between step S210, calculating D1 and D2, execution step S211;
Step S211, comparison L1 and L2, L1 >=L2, be judged as unlock events and occur, and carries out step S212; Otherwise be judged as maloperation, carry out step S213;
Step S212, execution unlock events, unlock screen;
Step S213, carry out other event, keep screen locking;
Step S214, finish current flow process, empty data in buffer memory.
By the technical scheme in above embodiment, the present invention is carried out to clear, complete description, the embodiment that obvious described embodiment is a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Claims (5)
1. a mobile phone screen tripper, based on the Android platform, screen is touch-screen, described device comprises subscriber interface module, induction track logging modle, unlock events judge module, other event execution modules and unlock events execution module;
Described subscriber interface module, for the user interface controls of simulation regular shape on user interface;
Described induction track logging modle, for the recording user sliding trace, and send to the unlock events judge module by result;
Described unlock events judge module, judged whether that according to subscriber interface module and induction track logging modle data unlock events occurs, if any, send message and process to the unlock events execution module, otherwise further decision event, send message and process to other event execution modules after judgement;
Described unlock events execution module, for carrying out the release after the response unlock events occurs and controlling subscriber interface module;
Described other event execution modules, for carrying out the release after other events of response occur and controlling subscriber interface module;
The subscriber interface module of described tripper, be further used for the user interface controls of analog rule geometric configuration, the control behavior comprise control according to necessarily at the uniform velocity floating in user interface, control has its boundary coordinate record, control to enter the entrance at each interface of mobile phone for reflection;
The induction track logging modle of described tripper, be further used for recording user the 1st to N contact coordinate position of touching and the contact coordinate position be sent to the unlock events judge module, and N is natural number;
It is characterized in that: the unlock events judge module of described tripper, further obtain data according to subscriber interface module with induction track logging modle place and judged;
Described unlock events judge module judges that the condition of release is,
P1: the user touches first point of track;
P2: the user touches last point in track;
N1: the user touches in track the overlapping coordinate points of first and the set of user control frontier point;
N2: the user touches in track the overlapping coordinate points of last and the set of user control frontier point;
The length of track between L1:N1 and N2;
Air line distance between L2:N1 and N2;
S: user control frontier point set;
And if only if L1 >=L2, and in the situation that the position of P1 and P2 does not overlap with point in user control frontier point range of convergence, be judged as the release success, and send message to the unlock events execution module, otherwise be considered as maloperation, and send message to other event execution modules.
2. mobile phone screen tripper according to claim 1, it is characterized in that: the unlock events execution module of described tripper, be further used for responding unlock events, and the page meaned according to the respective user interface control, the corresponding page directly entered after release.
3. mobile phone screen tripper according to claim 2 is characterized in that: other event execution modules of described tripper, be further used for the maloperation response events, and translation is done in the user control frontier point set in user interface.
4. a unlock method that utilizes the described mobile phone screen tripper of any one in claim 1~3, is characterized in that, comprises the following steps:
First coordinate points P1 of step 1, recording user touching track;
Last coordinate points P2 in step 2, recording user touching track;
Step 3, the set of recording user control frontier point;
Step 4, calculate the user and touch in track the overlapping coordinate points N1 of first and the set of user control frontier point;
Step 5, calculate the user and touch in track the overlapping coordinate points N2 of last and the set of user control frontier point;
The length L 1 of track between step 6, calculating N1 and N2;
Air line distance L2 between step 7, calculating N1 and N2;
If the position of step 8 P1 and P2 does not overlap with point in user control frontier point range of convergence, judge whether L1 >=L2, be to be judged as the release success, and send message to the unlock events execution module, otherwise be judged to maloperation, and send message to other event execution modules.
5. the unlock method of mobile phone screen tripper according to claim 4, is characterized in that, the detailed step of described unlock method is as follows:
Step S201, obtain user control frontier point S set, and data are saved to buffer area;
Step S202, obtain first coordinate points P1 that the user touches touch-screen, and data are saved to buffer area;
Step S203, the packet information of obtaining according to step S201 and step S202, carry out simple mathematics judgement, and whether judging point P1 is in the inside of set S, in inside, be judged as maloperation, and notify other event execution module executable operations, execution step S213; Not at a set S bounds inside, execution step S204;
Step S204, recording user sliding trace, and end user finger leaves last coordinate points P2 of touch screen, saves as packet, execution step S205;
Step S205, calculate and record sliding trace and user control frontier point intersection of sets point D1, for follow-up use, the execution step S206 of making a decision;
Step S206, judge whether the D1 point exists, exist and illustrate that user's sliding trace and user control have at least one joining, perform step S207 and whether reached unlocking condition further to judge that the user operates; Do not exist and carry out step S214, directly finish current flow process;
Step S207, calculate and record second intersection point D2 of sliding trace and the set of user control frontier point, carry out step S208;
Step S208, whether the D2 point is existed and judged, D2 exists and carries out step S209, further carries out the distance of user's sliding trace arc length between D1 and D2; D2 does not exist and judges that the user is operating as other Action Events, carries out step S213;
Between step S209, calculating D1 and D2, the distance L 1 of user's sliding trace arc length, carry out step S210;
Air line distance L2 between step S210, calculating D1 and D2, execution step S211;
Step S211, comparison L1 and L2, L1 >=L2, be judged as unlock events and occur, and carries out step S212; Otherwise be judged as maloperation, carry out step S213;
Step S212, execution unlock events, unlock screen;
Step S213, carry out other event, keep screen locking;
Step S214, finish current flow process, empty data in buffer memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110403381.4A CN102520857B (en) | 2011-12-07 | 2011-12-07 | Mobile phone screen unlocking device and unlocking method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110403381.4A CN102520857B (en) | 2011-12-07 | 2011-12-07 | Mobile phone screen unlocking device and unlocking method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102520857A CN102520857A (en) | 2012-06-27 |
CN102520857B true CN102520857B (en) | 2014-01-01 |
Family
ID=46291804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110403381.4A Active CN102520857B (en) | 2011-12-07 | 2011-12-07 | Mobile phone screen unlocking device and unlocking method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102520857B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2581486T3 (en) * | 2012-07-27 | 2016-09-06 | Huawei Device Co., Ltd. | Method and device for unlocking a screen saver |
CN110232273A (en) | 2013-10-25 | 2019-09-13 | 华为技术有限公司 | The method and terminal that a kind of couple of user is authenticated |
CN105099674B (en) | 2014-04-17 | 2018-09-07 | 华为技术有限公司 | User authen method, authentication device and terminal |
US10924601B2 (en) | 2017-07-14 | 2021-02-16 | Huawei Technologies Co., Ltd. | Lock screen interface processing method and terminal |
CN110032854A (en) * | 2019-04-10 | 2019-07-19 | 惠州Tcl移动通信有限公司 | Solve lock control method, device, mobile terminal and storage medium |
CN112532791B (en) * | 2020-11-25 | 2021-08-03 | 惠州Tcl移动通信有限公司 | Unlocking method and device of mobile terminal, storage medium and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604223A (en) * | 2009-04-20 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of unlock method of touch-screen, system and touch panel device |
CN101866259A (en) * | 2010-01-28 | 2010-10-20 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen unlocking method, system and touch screen device |
CN101976171A (en) * | 2010-10-29 | 2011-02-16 | 东莞宇龙通信科技有限公司 | Method and system for unlocking touch device and touch device |
-
2011
- 2011-12-07 CN CN201110403381.4A patent/CN102520857B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604223A (en) * | 2009-04-20 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of unlock method of touch-screen, system and touch panel device |
CN101866259A (en) * | 2010-01-28 | 2010-10-20 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen unlocking method, system and touch screen device |
CN101976171A (en) * | 2010-10-29 | 2011-02-16 | 东莞宇龙通信科技有限公司 | Method and system for unlocking touch device and touch device |
Also Published As
Publication number | Publication date |
---|---|
CN102520857A (en) | 2012-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102520857B (en) | Mobile phone screen unlocking device and unlocking method thereof | |
CN103186345B (en) | The section system of selection of a kind of literary composition and device | |
CN105159530B (en) | A kind of the display object switching method and device of application | |
CN102799351B (en) | The user interface Activiation method of terminal device and terminal device | |
CN101727269B (en) | Touch screen operating system, mobile phone including same, and activation method of touch keys thereof | |
CN102722333B (en) | A kind of touch screen unlocking method and terminal | |
CN104571829B (en) | The display control method and terminal of a kind of terminal | |
CN105760041A (en) | Unread message display method and system | |
CN103092523A (en) | Unlocking method and terminal | |
CN103150093B (en) | The method of a kind of operation indicating identifier movement, device and terminal | |
CN103246382A (en) | Control method and electronic equipment | |
CN104238794B (en) | The response method and terminal, mobile terminal of a kind of pair of contact action | |
CN103941977A (en) | Information processing method and electronic equipment | |
CN104375756A (en) | Touch operation method and touch operation device | |
CN102799348A (en) | Method and device for icon edition on terminal adopting touch screen | |
CN103455174A (en) | Electronic equipment control method and device and electronic equipment | |
CN103188362A (en) | System and method for incoming call answer and hangup management | |
CN102968270A (en) | Data deleting method and terminal equipment thereof | |
CN104077066A (en) | Portable device and operation method | |
CN103150111A (en) | Symbol inputting method, device and terminal | |
CN105426091A (en) | Method and terminal for controlling black screen gesture processing | |
CN103123795A (en) | Multimedia playing method | |
CN102299997B (en) | Movable terminal number input method and device | |
CN102520863B (en) | Mobile phone screen unlocking method based on Android platform | |
CN103049198B (en) | handwriting input recognition system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |
|
CP01 | Change in the name or title of a patent holder |