CN102520863B - Mobile phone screen unlocking method based on Android platform - Google Patents

Mobile phone screen unlocking method based on Android platform Download PDF

Info

Publication number
CN102520863B
CN102520863B CN2011104205191A CN201110420519A CN102520863B CN 102520863 B CN102520863 B CN 102520863B CN 2011104205191 A CN2011104205191 A CN 2011104205191A CN 201110420519 A CN201110420519 A CN 201110420519A CN 102520863 B CN102520863 B CN 102520863B
Authority
CN
China
Prior art keywords
coordinate points
user
mobile phone
coordinate
phone screen
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
Application number
CN2011104205191A
Other languages
Chinese (zh)
Other versions
CN102520863A (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2011104205191A priority Critical patent/CN102520863B/en
Publication of CN102520863A publication Critical patent/CN102520863A/en
Application granted granted Critical
Publication of CN102520863B publication Critical patent/CN102520863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a mobile phone screen unlocking method based on an Android platform. The mobile phone screen unlocking method is further based on a mobile phone screen unlocking device. Steps of the mobile phone screen unlocking method include 1, recording a coordinate point assembly PS of a user control; 2, recording a touch trace L of the user control; 3, adopting a coordinate point on the L as a center point and gathering all coordinate points in a radius R range into a coordinate point assembly LS; 4, calculating intersection of the coordinate point assembly LS and the coordinate point assembly PS of the user control, and reassigning the value of the intersection as zero; and 5, calculating ratio of the number of the coordinate points with the values of 1 in the coordinate point assembly PS of the user controls to the number of coordinate points in a coordinate point assembly S in a touch screen, judging that an unlocking event occurs if the ratio is smaller than a preset threshold value K, and finishing the current process if the ratio is not smaller than the preset threshold value K. If the ratio of the number of the coordinate points of an unerased portion of the analog user control to the number of total coordinate points of the touch screen of a mobile phone is smaller than a certain threshold value, unlocking is successful; and if the unlocking condition is not met, locking is still kept. The mobile phone screen unlocking method based on the Android platform is low in error operating rate and convenient in operation, and meets experiences of users.

Description

A kind of Mobile phone screen unlocking method based on the Android platform
Technical field
The present invention relates to a kind of unlock method of handset touch panel, particularly relate to a kind of Mobile phone screen unlocking method based on the Android platform.
Background technology
Development along with science and technology, the use crowd of intelligent mobile terminal is popular gradually, and touch screen unlocking uses a highest operation of mobile terminal frequency of utilization every day as people, and 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 as Macintosh release, acoustic control release, figure release etc., all there are some shortcomings, 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 unlocking method based on the Android platform is 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 unlocking method based on the Android platform, based on the mobile phone screen tripper, described tripper comprises subscriber interface module, induction track logging modle, unlock events judge module and unlock events execution module, described Mobile phone screen unlocking method relates to following condition
P1 touches first point of track for the user; P2 touches last point in track for the user; L touches the set of trajectory coordinates point for the user; S is all coordinate points set of handset touch panel; The user touches track paintbrush LS in user's touch track coordinate points set L centered by coordinate points, and radius is the set of all coordinate points in R; PS is the set of user control coordinate points; PS1 is that user control coordinate points set internal coordinate value is 0 coordinate points set, and the user touches the intersection of the coordinate points of track paintbrush LS process; PS2 is that user control coordinate points set internal coordinate value is 1 coordinate points set, and the user touches track paintbrush LS does not have the intersection of the coordinate points of process; The ratio of PS2 set coordinate points number that and if only and if S set coordinate points number, less than or equal to K, is judged as the release success, and sends message to the unlock events execution module;
Described Mobile phone screen unlocking method step is as follows:
Step 1, recording user control coordinate points set PS;
Step 2, recording user control touching trajectory coordinates point set L;
Step 3, will be centered by the upper coordinate points of L point, in the radius R scope, all coordinate points are included into the user and touch in track paintbrush LS;
Step 4, calculate the user and touch track paintbrush LS and user control coordinate points set PS common factor, and it is worth again assignment is 0;
Step 5, calculate the number that user control coordinate points set PS internal coordinate point value is 1 point,, with the ratio of touch screen coordinate points S set internal coordinate point number,, if less than or equal to reservation threshold K, be judged as the unlock events generation, otherwise finish current flow process.
User control coordinate point value in above-mentioned steps 4 in system default user control scope is 1.
The scope of the described threshold values K of above-mentioned steps 5 is 0<K<1.
The detailed step of described Mobile phone screen unlocking method is as follows:
Step S201, collection user touch trajectory coordinates point set L, and data are saved to buffer area;
Step S202, L is converted into the user touches track paintbrush LS, take the upper coordinate points of L as the center of circle, radius is in the scope of R, the set of all coordinate points;
The common factor of step S203, calculating LS and user control coordinate points set PS;
Step S204, judge whether that point set has common factor, if having, carry out next step, if nothing directly finishes current flow process;
The coordinate figure of step S205, the interior point that will occur simultaneously is 0 by 1 assignment;
Step S206, calculate the ratio of the number of the number of coordinate points that user control coordinate set internal coordinate value is 1 set and touch panel coordinates point;
Step S207, calculate to obtain ratio according to S206 and further judge, occur if this ratio, less than or equal to reservation threshold K, is judged as unlock events, notice unlock events execution module is carried out unlocking operation, otherwise, directly finish current flow process;
Step S208, execution unlocking operation, enter the release rear interface;
Step S209, end release flow process.
Radius R described in above-mentioned steps S202 is definite value, and is the systemic presupposition value.
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.
Description of drawings
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;
Fig. 4 is unlock method detail flowchart of the present invention.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, in order to technical characterictic of the present invention and advantage are carried out more deep annotation.
As shown in Figure 1, a kind of Mobile phone screen unlocking method based on the Android platform, described device comprise subscriber interface module 101, induction track logging modle 102, unlock events judge module 201 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, be used for the recording user sliding trace, and result sent to the unlock events judge module; 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, be used for carrying out the release after the response unlock events occurs and control subscriber interface module.
The subscriber interface module 101 of described tripper, be further used for simulating the user interface controls of random arbitrary shape, and control has its boundary coordinate record.
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 judge.
Described unlock events judge module judges that the condition of release is,
Wipe: overlap with the user control coordinate if the user touches track, look it and wipe
If user control is not wiped free of coordinate points number and the total coordinate points number of touch-screen ratio less than the value of cutting down necessarily, be judged as unlock events and occur, and notice unlock events execution module.
The unlock events execution module of described tripper, be further used for responding unlock events, and, according to the page that the respective user interface control represents, directly enter the corresponding page after release.
As shown in Figure 2, described Mobile phone screen unlocking method relates to following condition, and P1 touches first point of track for the user; P2 touches last point in track for the user; L touches the set of trajectory coordinates point for the user; S is all coordinate points set of handset touch panel; The user touches track paintbrush LS in user's touch track coordinate points set L centered by coordinate points, and radius is the set of all coordinate points in R; PS is the set of user control coordinate points; PS1 is that user control coordinate points set internal coordinate value is 0 coordinate points set, and the user touches the intersection of the coordinate points of track paintbrush LS process; PS2 is that user control coordinate points set internal coordinate value is 1 coordinate points set, and the user touches track paintbrush LS does not have the intersection of the coordinate points of process; The ratio of PS2 set coordinate points number that and if only and if S set coordinate points number, less than or equal to K, is judged as the release success, and sends message to the unlock events execution module;
As shown in Figure 3, described Mobile phone screen unlocking method step is as follows:
Step 1, recording user control coordinate points set PS;
Step 2, recording user control touching trajectory coordinates point set L;
Step 3, will be centered by the upper coordinate points of L point, in the radius R scope, all coordinate points are included into the user and touch in track paintbrush LS;
Step 4, calculate the user and touch track paintbrush LS and user control coordinate points set PS common factor, and it is worth again assignment is 0;
Step 5, calculate the number that user control coordinate points set PS internal coordinate point value is 1 point,, with the ratio of touch screen coordinate points S set internal coordinate point number,, if less than or equal to reservation threshold K, be judged as the unlock events generation, otherwise finish current flow process.
User control coordinate point value in above-mentioned steps 4 in system default user control scope is 1.
The scope of the described threshold values K of above-mentioned steps 5 is 0<K<1.
As shown in Figure 4, the detailed step of described Mobile phone screen unlocking method is as follows:
Step S201, collection user touch trajectory coordinates point set L, and data are saved to buffer area;
Step S202, L is converted into the user touches track paintbrush LS, take the upper coordinate points of L as the center of circle, radius is in the scope of R, the set of all coordinate points;
The common factor of step S203, calculating LS and user control coordinate points set PS;
Step S204, judge whether that point set has common factor, if having, carry out next step, if nothing directly finishes current flow process;
The coordinate figure of step S205, the interior point that will occur simultaneously is 0 by 1 assignment;
Step S206, calculate the ratio of the number of the number of coordinate points that user control coordinate set internal coordinate value is 1 set and touch panel coordinates point;
Step S207, calculate to obtain ratio according to S206 and further judge, occur if this ratio, less than or equal to reservation threshold K, is judged as unlock events, notice unlock events execution module is carried out unlocking operation, otherwise, directly finish current flow process;
Step S208, execution unlocking operation, enter the release rear interface;
Step S209, end release flow process.
Radius R described in above-mentioned steps S202 is definite value, and is the systemic presupposition value.
By the technical scheme in above embodiment, the present invention is carried out clear, complete description; obvious described embodiment is the embodiment of a part of the present invention; rather than whole embodiment; based on the embodiment in the present invention; those of ordinary skills, not making under the creative work prerequisite the every other embodiment that obtains, belong to the scope of protection of the invention.

Claims (5)

1. Mobile phone screen unlocking method based on the Android platform, based on the mobile phone screen tripper, described tripper comprises subscriber interface module, induction track logging modle, unlock events judge module and unlock events execution module, it is characterized in that, described Mobile phone screen unlocking method relates to following condition
P1 touches first point of track for the user; P2 touches last point in track for the user; L touches the set of trajectory coordinates point for the user; S is all coordinate points set of handset touch panel; The user touches track paintbrush LS in user's touch track coordinate points set L centered by coordinate points, and radius is the set of all coordinate points in R; PS is the set of user control coordinate points; PS1 is that user control coordinate points set internal coordinate value is 0 coordinate points set, and the user touches the intersection of the coordinate points of track paintbrush LS process; PS2 is that user control coordinate points set internal coordinate value is 1 coordinate points set, and the user touches track paintbrush LS does not have the intersection of the coordinate points of process; The ratio of PS2 set coordinate points number that and if only and if S set coordinate points number, less than or equal to K, is judged as the release success, and sends message to the unlock events execution module;
Described Mobile phone screen unlocking method step is as follows:
Step 1, recording user control coordinate points set PS;
Step 2, recording user control touching trajectory coordinates point set L;
Step 3, will be centered by the upper coordinate points of L point, in the radius R scope, all coordinate points are included into the user and touch in track paintbrush LS;
Step 4, calculate the user and touch track paintbrush LS and user control coordinate points set PS common factor, and it is worth again assignment is 0;
Step 5, calculate the number that user control coordinate points set PS internal coordinate point value is 1 point,, with the ratio of touch screen coordinate points S set internal coordinate point number,, if less than or equal to reservation threshold K, be judged as the unlock events generation, otherwise finish current flow process.
2. the Mobile phone screen unlocking method based on the Android platform according to claim 1 is characterized in that: the user control coordinate point value in system default user control scope is 1.
3. the Mobile phone screen unlocking method based on the Android platform according to claim 2, it is characterized in that: the scope of described threshold values K is 0<K<1.
4. the described Mobile phone screen unlocking method based on the Android platform of any one according to claim 1~3, is characterized in that, the detailed step of described Mobile phone screen unlocking method is as follows:
Step S201, collection user touch trajectory coordinates point set L, and data are saved to buffer area;
Step S202, L is converted into the user touches track paintbrush LS, take the upper coordinate points of L as the center of circle, radius is in the scope of R, the set of all coordinate points;
The common factor of step S203, calculating LS and user control coordinate points set PS;
Step S204, judge whether that point set has common factor, if having, carry out next step, if nothing directly finishes current flow process;
The coordinate figure of step S205, the interior point that will occur simultaneously is 0 by 1 assignment;
Step S206, calculate the ratio of the number of the number of coordinate points that user control coordinate set internal coordinate value is 1 set and touch panel coordinates point;
Step S207, calculate to obtain ratio according to S206 and further judge, occur if this ratio, less than or equal to reservation threshold K, is judged as unlock events, notice unlock events execution module is carried out unlocking operation, otherwise, directly finish current flow process;
Step S208, execution unlocking operation, enter the release rear interface;
Step S209, end release flow process.
5. the Mobile phone screen unlocking method based on the Android platform according to claim 4, it is characterized in that: the radius R described in step S202 is definite value, and is the systemic presupposition value.
CN2011104205191A 2011-12-15 2011-12-15 Mobile phone screen unlocking method based on Android platform Active CN102520863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104205191A CN102520863B (en) 2011-12-15 2011-12-15 Mobile phone screen unlocking method based on Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104205191A CN102520863B (en) 2011-12-15 2011-12-15 Mobile phone screen unlocking method based on Android platform

Publications (2)

Publication Number Publication Date
CN102520863A CN102520863A (en) 2012-06-27
CN102520863B true CN102520863B (en) 2013-11-13

Family

ID=46291809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104205191A Active CN102520863B (en) 2011-12-15 2011-12-15 Mobile phone screen unlocking method based on Android platform

Country Status (1)

Country Link
CN (1) CN102520863B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014015528A1 (en) * 2012-07-27 2014-01-30 华为终端有限公司 Method and device of unlock screen saver
CN102968271A (en) * 2012-11-06 2013-03-13 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN103235702B (en) * 2013-05-03 2016-08-03 Tcl通讯(宁波)有限公司 A kind of mobile terminal unlocking method based on touch screen and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2148497A1 (en) * 2008-07-23 2010-01-27 Lg Electronics Inc. Mobile terminal and event control method thereof
CN101794188A (en) * 2009-12-17 2010-08-04 宇龙计算机通信科技(深圳)有限公司 Screen locking/ unlocking control method, system and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI400930B (en) * 2007-12-28 2013-07-01 Htc Corp Handheld electronic device and screen locking method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2148497A1 (en) * 2008-07-23 2010-01-27 Lg Electronics Inc. Mobile terminal and event control method thereof
CN101794188A (en) * 2009-12-17 2010-08-04 宇龙计算机通信科技(深圳)有限公司 Screen locking/ unlocking control method, system and mobile terminal

Also Published As

Publication number Publication date
CN102520863A (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN105159530B (en) A kind of the display object switching method and device of application
CN103412723B (en) Mobile terminal unlocking method and mobile terminal unlocking system
EP2722730A1 (en) Mobile terminal and method for moving cursor thereof
WO2015120703A1 (en) Method and system for displaying application shortcut on lockscreen interface
CN102135850A (en) Handheld terminal equipment and automatic unlocking method thereof
CN101943995A (en) Method and device for processing display information of mobile terminal and touch screen thereof
CN103092523A (en) Unlocking method and terminal
CN102520857B (en) Mobile phone screen unlocking device and unlocking method thereof
WO2015120704A1 (en) Method and system for displaying an application shortcut in a lock screen interface
CN103076970B (en) Mobile terminal and screen unlock method thereof
CN102117165A (en) Touch input processing method and mobile terminal
CN103927119A (en) Method and system for switching to account interface
CN101183284A (en) Mobile terminal hand-written inputting method, device and mobile terminal
CN102520863B (en) Mobile phone screen unlocking method based on Android platform
CN104571882A (en) User operating mode judging method and device based on terminal and terminal
CN102968270A (en) Data deleting method and terminal equipment thereof
CN103294175B (en) A kind of electronic equipment and the method for automatic switchover input pattern thereof
CN103491243A (en) Rapid unlocking method of smart phone
CN105426091A (en) Method and terminal for controlling black screen gesture processing
CN205091713U (en) Finger print identifying mouse
CN102707892A (en) Pattern unlocking method
CN103809894B (en) A kind of recognition methods of gesture and electronic equipment
CN102299997B (en) Movable terminal number input method and device
CN104090715A (en) Unlocking method and system of touch screen terminal
CN105446639A (en) Terminal awakening method and device

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