CN104090726B - A kind of mobile terminal touch screen unlocking method and system - Google Patents

A kind of mobile terminal touch screen unlocking method and system Download PDF

Info

Publication number
CN104090726B
CN104090726B CN201410371847.0A CN201410371847A CN104090726B CN 104090726 B CN104090726 B CN 104090726B CN 201410371847 A CN201410371847 A CN 201410371847A CN 104090726 B CN104090726 B CN 104090726B
Authority
CN
China
Prior art keywords
touch
screen
touch point
user
initial
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
CN201410371847.0A
Other languages
Chinese (zh)
Other versions
CN104090726A (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.)
Weihai Shenzhou Information Technology Research Institute Co.,Ltd.
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410371847.0A priority Critical patent/CN104090726B/en
Publication of CN104090726A publication Critical patent/CN104090726A/en
Application granted granted Critical
Publication of CN104090726B publication Critical patent/CN104090726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a kind of mobile terminal touch screen unlocking method and system, and this method includes:A detects the two initial touch points of user on the touchscreen, obtains initial touch point coordinates, calculates using two initial touch point lines as cornerwise first rectangular area;B, detect that user discharges touch screen operation, obtain the coordinate of two termination touch points, calculate and terminate touch point line as cornerwise second rectangular area using two;C, calculate the ratio of the first rectangular area and the second rectangular area and by it compared with preset range, if the ratio is within a preset range, touch screen unlocks.The touch screen unlocking method of the present invention only defines unlocking condition, without limiting user's unlocking method so that a variety of unlocking methods can be used to perform unblock for user so that unlocking method of the invention operationally has variability.The operation repeatedly avoided simultaneously in existing method to release region causes sensitivity of touch screen to reduce problem, extends the service life of touch-screen.

Description

A kind of mobile terminal touch screen unlocking method and system
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of mobile terminal touch screen unlocking method and system.
Background technology
Touch-screen has slowly turned into the conventional accessory of mobile terminal device, releases phone lock shape by touch-screen at present State has an a variety of methods, for example, virtual key unlocking method, sliding block unblock method, gesture unblock method, drag area unblock method and Line unblock method etc..Although above-mentioned unlocking method with unblock efficiency high and exclude maloperation possibility the advantages of, simultaneously There is also the problem of mode of operation is single, no variability causes releasing process dry as dust.And above-mentioned unlocking method is big It is required for prestoring the track of slip, it is not only cumbersome, and can not be to screen if user forgets setting unblock track Curtain unblock, influence user's use.
Other existing unblock scheme is all operated in touch-screen FX substantially, gets off to cause for a long time to unlock Region touch-screen abrasion is larger, and sensor accuracy can reduce, and ultimately cause whole touch-screen service life and shorten.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of mobile terminal touch screen unlocking method And system, it is intended to solve that the unblock operation of current unblock scheme is single, easily causes the reduction of touch-screen release region transducer sensitivity The problem of.
Technical scheme is as follows:
A kind of mobile terminal touch screen unlocking method, wherein, it the described method comprises the following steps:
A, the two initial touch points of user on the touchscreen are detected simultaneously by unlock interface, obtain two initial touch The coordinate of point, calculates the area using two initial touch point lines as cornerwise first rectangle;
B, detect that user discharges touch screen operation, obtain the seat that user discharges the first two termination touch point of touch-screen Mark, calculate and terminate area of the touch point line as cornerwise second rectangle using two;
C, the ratio of the first rectangular area and the second rectangular area is calculated and by the ratio compared with preset range, if Within a preset range, then touch-screen is unlocked the ratio.
Described mobile terminal touch screen unlocking method, wherein, also include before the step A:
It is that Y-axis is established and is used for using screen top margin as X-axis, screen left side in advance to touch the screen upper left corner as origin The coordinate system of labeled touch point coordinates.
Described mobile terminal touch screen unlocking method, wherein, the step A is specially:
A1, in unlock interface the touch operation of user on the touchscreen is detected, judge whether the touch operation is to touch Two touches on screen are touched, if so, then performing step A2;
A2, the coordinate for obtaining two initial touch points in the touch operation, calculate using two initial touch point lines as The area of cornerwise first rectangle.
Described mobile terminal touch screen unlocking method, wherein, when judge in step A1 user's touch operation be not touch Two touches on screen, then show the prompt message of unblock failure.
Described mobile terminal touch screen unlocking method, wherein, the step B is specially:
B1, continue detect user on the touchscreen while two touches operate, until detect user discharge touch-screen Operation, then perform step B2;
B2, the coordinate that user discharges the first two termination touch point of touch-screen is obtained, calculate and terminate touch points company with two Line is the area of cornerwise second rectangle.
Described mobile terminal touch screen unlocking method, wherein, when the step B1 continue detection process in, be not detected by User on the touchscreen while two touches operate when, then show unblock unsuccessfully prompt message.
Described mobile terminal touch screen unlocking method, wherein, the preset range is by default minimum value and presets most Big numerical value is determined, when the ratio of the first rectangular area and the second rectangular area is default between minimum value and greatest measure When, then judge the ratio within a preset range.
Described mobile terminal touch screen unlocking method, wherein, when the first rectangular area and the ratio of the second rectangular area Not within a preset range, then the prompt message of unblock failure is shown.
A kind of mobile terminal touch screen system for unlocking, wherein, the system includes:
Acquisition module, for detecting the two initial touch points of user on the touchscreen simultaneously in unlock interface, obtain two The coordinate of individual initial touch point, and for detect user discharge touch screen operation when, obtain user discharge touch-screen it The first two terminates the coordinate of touch point;
Computing module, for calculating the area using two initial touch point coordinates lines as cornerwise first rectangle, with And for calculating the area using the coordinate of two termination touch points as cornerwise second rectangle;
Judge module, for calculating the ratio of the first rectangular area and the second rectangular area and by the ratio and preset range It is compared, and touch-screen is unlocked according to comparative result.
Beneficial effect:The present invention provides a kind of mobile terminal touch screen unlocking method and system, touch-screen solution of the invention Locking method only defines unlocking condition, without being defined to user's unlocking method so that a variety of unlocking methods can be used to hold for user The unblock operation of the row present invention, so that the unlocking method of the present invention has variability.And unlocking method of the present invention is unlimited Fixed specific unblock track, user need not keep specific unblock track firmly in mind, facilitate user, while avoid in existing method to solution The problem of operation repeatedly in lock region causes touch panel sensor sensitivity decrease, accordingly extend the service life of touch-screen.
Brief description of the drawings
Fig. 1 is mobile terminal touch screen unlocking method flow chart in the specific embodiment of the invention.
Fig. 2 is mobile terminal touch screen unlocking method flow chart in another specific embodiment of the present invention.
Fig. 3 is mobile terminal touch screen system for unlocking theory diagram in the specific embodiment of the invention.
Embodiment
The present invention provides a kind of mobile terminal touch screen unlocking method and system, to make the purpose of the present invention, technical scheme And effect is clearer, clear and definite, the present invention is described in more detail below.It should be appreciated that specific implementation described herein Example is not intended to limit the present invention only to explain the present invention.
A kind of mobile terminal touch screen unlocking method as shown in Figure 1, wherein, it the described method comprises the following steps:
S100, in unlock interface it is detected simultaneously by the two initial touch points of user on the touchscreen, obtains two startings The coordinate of touch point, calculate the area using two initial touch point lines as cornerwise first rectangle;
Further, also include before the step S100:In advance to touch the screen upper left corner as origin, with screen top While be X-axis, screen left side be that Y-axis establishes coordinate system for labeled touch point coordinates.Pass through the signable touch of the coordinate system All touch points on screen.
In preferred embodiment, the step S100 is specially:
The touch operation of user on the touchscreen is detected in unlock interface, judges whether the touch operation is in touch-screen On two touches, if so, then performing following steps;
Obtain the coordinate of two initial touch points in the touch operation, calculate using two initial touch point coordinates lines as The area of cornerwise first rectangle.Wherein, the side for the rectangular area being made up of two initial touch points diagonal is calculated Method is:Area S=| xa-xb|×|ya-yb|, in formula, xaFor initial touch point a abscissa, yaFor the vertical of initial touch point a Coordinate, xbFor initial touch point b abscissa, ybFor initial touch point b ordinate, S is initial touch point a, initial touch point The rectangular area that b is made up of diagonal.
In above-mentioned preferred embodiment, when judging that user's touch operation is not two touches on touch-screen, then detection is exited, The prompt message of display unblock failure.
S200, detect that user discharges touch screen operation, the first two for obtaining user's release touch-screen terminates touch point Coordinate, calculate and terminate area of the touch point line as cornerwise second rectangle using two;
Further, above-mentioned steps S200 is specially:
Two touches operate while continuing to detect user on the touchscreen, until detecting that user discharges touch-screen behaviour Make, then perform following steps;
The coordinate that user discharges the first two termination touch point of touch-screen is obtained, is calculated with the coordinates of two termination touch points Line is the area of cornerwise second rectangle.The coordinate of two termination touch points is cornerwise area for forming the second rectangle Calculating it is identical with the method that the first rectangular area is calculated in step S100.
In detection process is continued, if two touches operate while being not detected by user on the touchscreen, that is, detect The touch of user on the touchscreen is non-two touch, then shows unblock failure prompt message.It can continue in unlock interface simultaneously Detected, to wait the unblock again of user to operate.
Whether within a preset range S300, the ratio for calculating the first rectangular area and the second rectangular area, judge the ratio, If so, step S400 is then performed, if it is not, then performing step S500.
Wherein, the preset range is determined by default minimum value and default greatest measure, when the first rectangular area With the ratio of the second rectangular area it is default between minimum value and greatest measure when, then judge the ratio within a preset range. And when the first rectangular area and the second rectangular area ratio not within a preset range, then show the prompt message for unlocking and failing. Perform step S500.
S400, touch-screen are unlocked.And perform step S600.
S500, the prompt message of display unblock failure.
S600, end.
The present invention has only preset unlocking condition, and unblock operation is not defined, therefore user can be in unlock interface Optional position, the unblock that the present invention is performed using any means is operated, so equivalent to having given User Defined unlocking motion Right, so that the unlocking method of the present invention there can be different unblock operational motions under the use of different user, meet The requirement of user individual.
The touch screen unlocking method of the present invention is further elaborated below by specific embodiment as shown in Figure 2, It is comprised the following steps that:
S1, detect that user touches touch-screen, obtain and touch point coordinates.
S2, whether it is 2 touch points.If so, then perform step S3, if it is not, then performing step S10.Touch to acquisition Point number is confirmed, if two touch points, then performs step S3.
S3, calculate the rectangular area S0 that the two touch point lines are diagonal composition.And result of calculation is preserved.
S4, whether touch-screen is discharged, if so, explanation user terminates unblock operation, then step S7 is performed, if it is not, then performing Step S5.
S5, whether it is 2 touch points, if so, explanation user then performs step S6 also in unblock operating process, if It is no, illustrate to have ceased the operation of 2 touch points in user's releasing process, then the operation has not met the unlocking condition of the present invention, then Perform step S10.
S6, acquisition user touch the coordinate of two touch points of touch-screen and preservation.And return to step S4 is sentenced afterwards It is disconnected.
S7, calculate the rectangular area S1 that the first two touch point line of user's release touch-screen is formed as diagonal.And Perform step S8.
S8, according to S1/S0, judge whether to unlock successfully, using the comparison of S1/S0 and preset range, judge whether it full The default unlocking condition of foot, if so, step S9 is then performed, if it is not, then performing step S10.
S9, issue the user with unblock successfully prompting.
S10, the prompting for issuing the user with unblock failure.
Mobile terminal touch screen system for unlocking of the present invention is illustrated in figure 3, wherein, the system includes:
Acquisition module 100, for detecting the two initial touch points of user on the touchscreen simultaneously in unlock interface, obtain The coordinate of two initial touch points, and for when detecting that user discharges touch screen operation, obtaining user and discharging touch-screen The first two terminate touch point coordinate;
Computing module 200, for calculating the area using two initial touch point coordinates lines as cornerwise first rectangle, And for calculating the area using the coordinate of two termination touch points as cornerwise second rectangle;
Judge module 300, for calculating the ratio of the first rectangular area and the second rectangular area and by the ratio with presetting Scope is compared, and touch-screen is unlocked according to comparative result.
In addition, present system includes reminding module 400 and setup module 500, shown reminding module 400 is used to unlock Unblock failure prompt message is sent in the case of failure, also can be transmitted certainly and unlock successfully prompt message.The setup module 500 For setting the preset range of the present invention for being used to judge in advance and establishing coordinate system etc..
The present invention provides a kind of mobile terminal touch screen unlocking method and system, and touch screen unlocking method of the invention is only fixed Adopted unlocking condition, without being defined to user's unlocking method so that a variety of unlocking methods can be used to perform the present invention's for user Unblock operation, so that the unlocking method of the present invention has variability.And unlocking method of the present invention does not limit specific unblock Track, user need not keep specific unblock track firmly in mind, facilitate user, while avoid in existing method to the anti-of release region The problem of multiple operation causes touch panel sensor sensitivity decrease, accordingly extend the service life of touch-screen.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (8)

1. a kind of mobile terminal touch screen unlocking method, it is characterised in that the described method comprises the following steps:
A, the two initial touch points of user on the touchscreen are detected simultaneously by unlock interface, two initial touch points of acquisition Coordinate, calculate the area using two initial touch point lines as cornerwise first rectangle;
B, detect that user discharges touch screen operation, obtain the coordinate that user discharges the first two termination touch point of touch-screen, meter Calculate and terminate area of the touch point line as cornerwise second rectangle using two;
C, the ratio of the first rectangular area and the second rectangular area is calculated and by the ratio compared with preset range, if the ratio Within a preset range, then touch-screen is unlocked value;
The step A is specially:
A1, in unlock interface the touch operation of user on the touchscreen is detected, judge whether the touch operation is in touch-screen On two touches, if so, then performing step A2;
A2, the coordinate for obtaining two initial touch points in the touch operation, it is diagonal to calculate using two initial touch point lines The area of first rectangle of line;
Wherein, calculate and be by the method for the rectangular area that diagonal is formed by two initial touch point lines:Area S=| xa-xb |×|ya-yb|, in formula, xaFor initial touch point a abscissa, yaFor initial touch point a ordinate, xbFor initial touch Point b abscissa, ybFor initial touch point b ordinate, S is that diagonal is formed by initial touch point a, initial touch point b Rectangular area.
2. mobile terminal touch screen unlocking method according to claim 1, it is characterised in that also wrapped before the step A Include:
It is that Y-axis is established for marking using screen top margin as X-axis, screen left side in advance to touch the screen upper left corner as origin Touch the coordinate system of point coordinates.
3. mobile terminal touch screen unlocking method according to claim 1, it is characterised in that when judging user in step A1 Touch operation is not two touches on touch-screen, then shows the prompt message of unblock failure.
4. mobile terminal touch screen unlocking method according to claim 3, it is characterised in that the step B is specially:
B1, continue detect user on the touchscreen while two touches operate, until detect user discharge touch-screen behaviour Make, then perform step B2;
B2, obtain user discharge touch-screen the first two terminate touch point coordinate, calculate using two terminate touch point lines as The area of cornerwise second rectangle.
5. mobile terminal touch screen unlocking method according to claim 4, it is characterised in that when the step B1 continues to examine During survey, when two touches operate while being not detected by user on the touchscreen, then unblock failure prompt message is shown.
6. mobile terminal touch screen unlocking method according to claim 5, it is characterised in that the preset range is by presetting Minimum value and default greatest measure are determined, when the ratio of the first rectangular area and the second rectangular area is in default minimum number When between value and greatest measure, then the ratio is judged within a preset range.
7. mobile terminal touch screen unlocking method according to claim 6, it is characterised in that when the first rectangular area and The ratio of two rectangular areas within a preset range, does not then show the prompt message of unblock failure.
8. a kind of mobile terminal touch screen system for unlocking, it is characterised in that the system includes:
Acquisition module, for detecting the two initial touch points of user on the touchscreen simultaneously in unlock interface, obtain two and rise Beginning touch point coordinate, and for detect user discharge touch screen operation when, obtain user discharge touch-screen before two The individual coordinate for terminating touch point;
Computing module, for calculating the area using two initial touch point lines as cornerwise first rectangle, and based on Calculate and terminate area of the touch point line as cornerwise second rectangle using two;
Judge module, for calculating the ratio of the first rectangular area and the second rectangular area and carrying out the ratio and preset range Compare, and touch-screen is unlocked according to comparative result;
Wherein, calculate and be by the method for the rectangular area that diagonal is formed by two initial touch point lines:Area S=| xa-xb |×|ya-yb|, in formula, xaFor initial touch point a abscissa, yaFor initial touch point a ordinate, xbFor initial touch Point b abscissa, ybFor initial touch point b ordinate, S is that diagonal is formed by initial touch point a, initial touch point b Rectangular area.
CN201410371847.0A 2014-07-31 2014-07-31 A kind of mobile terminal touch screen unlocking method and system Active CN104090726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410371847.0A CN104090726B (en) 2014-07-31 2014-07-31 A kind of mobile terminal touch screen unlocking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410371847.0A CN104090726B (en) 2014-07-31 2014-07-31 A kind of mobile terminal touch screen unlocking method and system

Publications (2)

Publication Number Publication Date
CN104090726A CN104090726A (en) 2014-10-08
CN104090726B true CN104090726B (en) 2017-12-19

Family

ID=51638446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410371847.0A Active CN104090726B (en) 2014-07-31 2014-07-31 A kind of mobile terminal touch screen unlocking method and system

Country Status (1)

Country Link
CN (1) CN104090726B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868619A (en) * 2016-03-28 2016-08-17 惠州Tcl移动通信有限公司 Touch screen unlocking method and system based on mobile terminal and mobile terminal
CN107480507A (en) * 2017-08-14 2017-12-15 佛山市三水区彦海通信工程有限公司 A kind of mobile terminal touch screen unlocking method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257816A (en) * 2012-02-21 2013-08-21 中兴通讯股份有限公司 Method and device for touch screen unlocking
CN103513853A (en) * 2012-06-19 2014-01-15 联想(北京)有限公司 State switching method and device
CN103777882A (en) * 2012-10-24 2014-05-07 腾讯科技(深圳)有限公司 Multiterm selection method and device based on touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101613086B1 (en) * 2009-01-05 2016-04-29 삼성전자주식회사 Apparatus and method for display of electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257816A (en) * 2012-02-21 2013-08-21 中兴通讯股份有限公司 Method and device for touch screen unlocking
CN103513853A (en) * 2012-06-19 2014-01-15 联想(北京)有限公司 State switching method and device
CN103777882A (en) * 2012-10-24 2014-05-07 腾讯科技(深圳)有限公司 Multiterm selection method and device based on touch screen

Also Published As

Publication number Publication date
CN104090726A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104166515B (en) A kind of mobile terminal touch screen unlocking method and system
CN104020946B (en) Unlocking system and method
CN104423855B (en) A kind of information processing method and electronic equipment
WO2014134930A1 (en) Method and system for unlocking touch screen and electronic device
CN103188362B (en) Incoming call sound hangs up management system and method
CN103399697B (en) A kind of unlocking method and terminal
CN103617000A (en) Method and system for switching screen of mobile terminal
CN104090726B (en) A kind of mobile terminal touch screen unlocking method and system
WO2013123707A1 (en) Method and device for unlocking touch screen
TW201241661A (en) Electronic device and unlocking method thereof
CN105607844A (en) Touch screen control method, touch screen control device and terminal
CN102937879B (en) There are mobile terminal and the two touch unlock methods of two touch system for unlocking
CN104580691B (en) A kind of short message delet method and terminal
CN106447864A (en) Non-contact unlocking method and system
CN105511774A (en) Method and device for displaying display terminal interface
CN106249996A (en) A kind of mobile terminal method for controlling application starting and system
CN105138115B (en) A kind of mobile terminal awakening method and system based on touch screen
CN104090681B (en) The method and system of touch-screen stabilization
CN106778112A (en) The method and terminal of a kind of unlock terminal
CN103019469B (en) Adaptable touch screen
CN103246456A (en) Unlocking method, unlocking device and electronic device
CN106775362A (en) Start the method and terminal of application program entry pallet
TWI476665B (en) System and method for improving input accuracy of the capacitive touch panel
CN105892859B (en) Terminal control method, terminal control mechanism and terminal
CN104951199A (en) Electronic device and screen unlocking method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211126

Address after: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee after: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221111

Address after: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong

Patentee after: Weihai Shenzhou Information Technology Research Institute Co.,Ltd.

Address before: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee before: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

TR01 Transfer of patent right