CN104090723B - A kind of unlocking method and system that area is touched based on touch-screen - Google Patents

A kind of unlocking method and system that area is touched based on touch-screen Download PDF

Info

Publication number
CN104090723B
CN104090723B CN201410349057.2A CN201410349057A CN104090723B CN 104090723 B CN104090723 B CN 104090723B CN 201410349057 A CN201410349057 A CN 201410349057A CN 104090723 B CN104090723 B CN 104090723B
Authority
CN
China
Prior art keywords
touch
area
input code
screen
unblock
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
CN201410349057.2A
Other languages
Chinese (zh)
Other versions
CN104090723A (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 CN201410349057.2A priority Critical patent/CN104090723B/en
Publication of CN104090723A publication Critical patent/CN104090723A/en
Application granted granted Critical
Publication of CN104090723B publication Critical patent/CN104090723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of unlocking method and system that area is touched based on touch-screen, wherein, method includes step:A, unblock when, obtain user touch touch-screen area, the input code of matching is drawn according to the size of the area;B, according to input sequence by each input code composition unblock sequence;C, by the unblock sequence and mobile terminal it is default unblock sequence be compared, if identical, unlock successfully, otherwise unlock fail.The present invention will not reveal the password of user in releasing process, user only need to input different input codes according to the difference for touching area, it is ensured that the security of input, also operates and also more to facilitate, without unblock operation on a large scale, more preferable unlocking manner provide the user.

Description

A kind of unlocking method and system that area is touched based on touch-screen
Technical field
The present invention relates to touch-screen unlocking technology field, more particularly to a kind of unlocking method that area is touched based on touch-screen And system.
Background technology
Solution is touched screen and widely applied in mobile terminal, most of particularly on intelligent mobile terminal all to use touch-screen The unblock of touch-screen is also almost all based on as the unblock of its main entering apparatus, therefore intelligent mobile terminal.Existing In unlocking manner, unlocking method uses following several ways mostly:It is to slide to unlock by specified path, this unlocking manner Its security is relatively low;It is the numeral that specified sequence is inputted on keyboard with touch screen, this unlocking manner needs user to remember Various numerals, and unlock numeral and be also possible to be remembered by other people, its security also has much room for improvement, so existing unlocking manner Also exist in actual use process certain not enough.
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 solution that area is touched based on touch-screen Locking method and system, it is intended to solve that existing mobile terminal touch screen unlocking manner security is high and unhandy problem.
Technical scheme is as follows:
A kind of unlocking method that area is touched based on touch-screen, wherein, including step:
A, unblock when, obtain user touch touch-screen area, the input code of matching is drawn according to the size of the area;
B, according to input sequence by each input code composition unblock sequence;
C, by the unblock sequence and mobile terminal it is default unblock sequence be compared, if identical, unlock successfully, otherwise Unblock failure.
The described unlocking method that area is touched based on touch-screen, wherein, the step A is specifically included:
A1, one timer of startup;
The coordinate of all touch points of A2, acquisition in the timer timing range, and according to the coordinate of these touch points Calculate touch area;
A3, the input code according to the affiliated scope acquisition matching of the size for touching area.
The described unlocking method that area is touched based on touch-screen, wherein, also include before the step A1:
Pre-set with touching the one-to-one input code of the affiliated scope of size.
The described unlocking method that area is touched based on touch-screen, wherein, the calculating process of the step A2 is specifically included:
The difference XM of the abscissa value of two minimum and maximum touch points of abscissa is calculated in the touch point of acquisition;
The difference YM of the ordinate value of two minimum and maximum touch points of ordinate is calculated in the touch point of acquisition;
Calculating obtains touch surface product S:S=XM*YM.
A kind of system for unlocking that area is touched based on touch-screen, wherein, including:
Input code matching module, in unblock, the area that user touches touch-screen being obtained, according to the size of the area Draw the input code of matching;
Sequence comprising modules are unlocked, for each input code composition to be unlocked into sequence according to input sequence;
Unlocked state, for the default unblock sequence of the unblock sequence and mobile terminal to be compared, if identical, is solved Lock successfully, otherwise unblock failure.
The described system for unlocking that area is touched based on touch-screen, wherein, the input code matching module is specifically included:
Timer start unit, for starting a timer;
Touch area computing unit, the coordinate for obtaining all touch points in the timer timing range, and root Touch area is calculated according to the coordinate of these touch points;
Input code matching unit, the input code for obtaining matching according to the affiliated scope of the size for touching area.
The described system for unlocking that area is touched based on touch-screen, wherein, the input code matching module also includes:
Input code presets unit, for pre-setting and touching the one-to-one input code of the affiliated scope of size.
The described system for unlocking that area is touched based on touch-screen, wherein, the touch area computing unit is specifically included:
Abscissa difference computation subunit, two minimum and maximum for calculating abscissa in the touch point of acquisition The difference XM of the abscissa value of touch point;
Ordinate difference computation subunit, two minimum and maximum for calculating ordinate in the touch point of acquisition The difference YM of the ordinate value of touch point;
Area computation subunit is touched, touch surface product S is obtained for calculating:S=XM*YM.
Beneficial effect:The input code that area of the invention by touching touch-screen according to user is matched, and according to many Secondary touch touch-screen obtains multiple input codes, and constitutes unblock sequence, it is compared with default unblock sequence, if phase Together, then it is unlocked, on the contrary unblock failure, and of the invention that the password of user will not be revealed in releasing process, user only needs basis The difference for touching area inputs different input codes, it is ensured that the security of input, also operates and also more to facilitate, nothing Operation need to be unlocked on a large scale, provide the user more preferable unlocking manner.
Brief description of the drawings
Fig. 1 is a kind of flow chart for the unlocking method preferred embodiment that area is touched based on touch-screen of the present invention.
The particular flow sheet that Fig. 2 is step S101 in method shown in Fig. 1.
Fig. 3 is a kind of flow chart for the unlocking method Application Example that area is touched based on touch-screen of the present invention.
Fig. 4 is a kind of structured flowchart for the system for unlocking preferred embodiment that area is touched based on touch-screen of the present invention.
Fig. 5 is the concrete structure block diagram of input code matching module in system shown in Figure 4.
Embodiment
The present invention provides a kind of unlocking method and system that area is touched based on touch-screen, to make the purpose of the present invention, skill Art scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.It should be appreciated that tool described herein Body embodiment only to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow for the unlocking method preferred embodiment that area is touched based on touch-screen of the present invention Figure, as illustrated, it includes step:
S101, unblock when, obtain user touch touch-screen area, the input of matching is drawn according to the size of the area Code;
S102, according to input sequence by each input code composition unblock sequence;
S103, by the unblock sequence and mobile terminal it is default unblock sequence be compared, if identical, unlock successfully, Otherwise unblock failure.
In the present embodiment, the area that user touches touch-screen is obtained first, is matched according to the size of the area Input code.
User perceptually can increase or reduce touch area, the touch area correspondence of different range when being touched One input code.
So after multiple touch, multiple input codes are obtained, and a unblock sequence is constituted according to input sequence.
The unblock sequence and the unblock sequence that has set in advance are compared again, if identical, unlocked successfully, if it is different, Then unblock failure.
The present invention unlocking manner, due in releasing process user without input numeral, only need to according to touch area come Input code is determined, so other users are digital all without unblock is seen in whole process, and other users can not be examined easily Feel unblock area during unblock user's unblock, so the unlocking manner of the present invention is very concealed, it is very safe.And input behaviour Only need to user and change touch area, without mobile touch location, so it is very convenient to operate.
As preferred embodiment of the invention, the step S101 is specifically included:
S201, one timer of startup;
The coordinate of all touch points of S202, acquisition in the timer timing range, and according to the seat of these touch points Mark calculates touch area;
S203, the input code according to the affiliated scope acquisition matching of the size for touching area.
The present embodiment be by starting a timer, to set the touch time, in the timer timing range it is all touch Coordinate a little is touched, touch area is calculated by the coordinate of these touch points, is come further according to the affiliated scope of size is touched To each input code of matching.For example set 400ms timer, timer startup after, begin to obtain 400ms when Between in the range of all touch points coordinate, touch area is calculated according to the coordinate of these touch points.The embodiment of the present invention In specific implementation process, input code can be obtained by way of repeatedly being touched in timing range, it is multiple not by input Same touch area, so as to obtain multiple input codes with certain order.The timing range of the timer can be by system default Set, can also be set by user is self-defined in menu option, such as user can be adjusted to 500ms, or 300ms etc. Deng.
As preferred embodiment of the invention, also include before the step S201:
Pre-set with touching the one-to-one input code of the affiliated scope of size.
For example, touching the big input code of the correspondence of area greatly, input code can be divided into 0 to 9 and have 10 grades altogether, and Different touch areas are corresponded to respectively.It is apparent that this mode needs user to remember cumbersome touch size, it is careless slightly, Touch area will be inputed by mistake.So the preferred mode of the present invention is only to set two input codes, such as 1 and 0,1 represents big Area is touched, 0 represents small touch area, and user, which can only rely on, feels that big touch area or small touch surface can be inputted Product, and without worrying to input password by mistake.And user need remember be exactly 1 and 0 constitute unblock sequence, such as 101100, solve The number for locking input code in sequence can be 4 or 6, when selection is arranged to 6, can further ensure the present invention's The security of unlocking manner, when being arranged to 4, can facilitate user to remember input code.
As preferred embodiment of the invention, the calculating process of the step S202 is specifically included:
The difference XM of the abscissa value of two minimum and maximum touch points of abscissa is calculated in the touch point of acquisition;
The difference YM of the ordinate value of two minimum and maximum touch points of ordinate is calculated in the touch point of acquisition;
The touch scope that can touch finger according to user for touching area is obtained, according to each touch point on touch finger The difference XM of the abscissa value of two minimum and maximum touch points of abscissa, and two minimum and maximum touch points of ordinate Ordinate value difference YM come calculate obtain touch surface product S;
The calculation formula for touching area S is:S=XM*YM.
It is more accurate according to the touch area that aforesaid way is obtained, and be more easy to calculate.
The present invention provides an Application Example, as shown in figure 3, it includes step:
S100, startup timer;
S200, setting variable i are 1;
S300, judge whether timer is overtime, when being, into step S400, otherwise return and continue to judge that timer is No time-out;
S400, calculating touch area S;
S500, according to touch area S obtain input code C;
S600, judge whether input code C is equal with P [i], when being, into step S700, otherwise return to step S200; P [i] therein is i-th of input code in default unblock sequence.
S700, judge i whether be equal to N;When being, into step S800, step S900 is otherwise transferred to;
S800, unlock successfully;
S900, i=i+1, and return to step S300.
Based on the above method, the present invention also provides a kind of system for unlocking preferred embodiment that area is touched based on touch-screen, As shown in figure 4, it includes:
Input code matching module 100, in unblock, the area that user touches touch-screen being obtained, according to the area Size draws the input code of matching;
Sequence comprising modules 200 are unlocked, for each input code composition to be unlocked into sequence according to input sequence;
Unlocked state 300, for the default unblock sequence of the unblock sequence and mobile terminal to be compared, if identical, Then unlock successfully, otherwise unblock failure.
Further, as shown in figure 5, the input code matching module 100 is specifically included:
Timer start unit 110, for starting a timer;
Touch area computing unit 120, the coordinate for obtaining all touch points in the timer timing range, and Touch area is calculated according to the coordinate of these touch points;
Input code matching unit 130, the input code for obtaining matching according to the affiliated scope of the size for touching area.
Further, the input code matching module 100 also includes:
Input code presets unit, for pre-setting and touching the one-to-one input code of the affiliated scope of size.
Further, the touch area computing unit 120 is specifically included:
Abscissa difference computation subunit, two minimum and maximum for calculating abscissa in the touch point of acquisition The difference XM of the abscissa value of touch point;
Ordinate difference computation subunit, two minimum and maximum for calculating ordinate in the touch point of acquisition The difference YM of the ordinate value of touch point;
Area computation subunit is touched, touch surface product S is obtained for calculating:S=XM*YM.
Ins and outs on above-mentioned modular unit have been described in detail in method above, therefore are repeated no more.
In summary, the input code that the area of the invention by touching touch-screen according to user is matched, and according to many Secondary touch touch-screen obtains multiple input codes, and constitutes unblock sequence, it is compared with default unblock sequence, if phase Together, then it is unlocked, on the contrary unblock failure, and of the invention that the password of user will not be revealed in releasing process, user only needs basis The difference for touching area inputs different input codes, it is ensured that the security of input, also operates and also more to facilitate, nothing Operation need to be unlocked on a large scale, provide the user more preferable unlocking manner.
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 (6)

1. a kind of unlocking method that area is touched based on touch-screen, it is characterised in that including step:
A, unblock when, obtain user touch touch-screen area, the input code of matching is drawn according to the size of the area;
B, according to input sequence by each input code composition unblock sequence;
C, by the unblock sequence and mobile terminal it is default unblock sequence be compared, if identical, unlock successfully, otherwise unlock Failure;
The step A is specifically included:
A1, one timer of startup;
The coordinate of all touch points of A2, acquisition in the timer timing range, and calculated according to the coordinate of these touch points Go out to touch area;
A3, the input code according to the affiliated scope acquisition matching of the size for touching area;
Touch area one input code of correspondence of different range.
2. the unlocking method according to claim 1 that area is touched based on touch-screen, it is characterised in that in the step A1 Also include before:
Pre-set with touching the one-to-one input code of the affiliated scope of size.
3. the unlocking method according to claim 1 that area is touched based on touch-screen, it is characterised in that the step A2's Calculating process is specifically included:
The difference XM of the abscissa value of two minimum and maximum touch points of abscissa is calculated in the touch point of acquisition;
The difference YM of the ordinate value of two minimum and maximum touch points of ordinate is calculated in the touch point of acquisition;
Calculating obtains touch surface product S:S=XM*YM.
4. a kind of system for unlocking that area is touched based on touch-screen, it is characterised in that including:
Input code matching module, in unblock, obtaining the area that user touches touch-screen, being drawn according to the size of the area The input code of matching;
Sequence comprising modules are unlocked, for each input code composition to be unlocked into sequence according to input sequence;
Unlocked state, for the default unblock sequence of the unblock sequence and mobile terminal to be compared, if identical, is unlocked into Work(, otherwise unblock failure;
The input code matching module is specifically included:
Timer start unit, for starting a timer;
Touch area computing unit, the coordinate for obtaining all touch points in the timer timing range, and according to this The coordinate of a little touch points calculates touch area;
Input code matching unit, the input code for obtaining matching according to the affiliated scope of the size for touching area;
Touch area one input code of correspondence of different range.
5. the system for unlocking according to claim 4 that area is touched based on touch-screen, it is characterised in that the input code Also include with module:
Input code presets unit, for pre-setting and touching the one-to-one input code of the affiliated scope of size.
6. the system for unlocking according to claim 4 that area is touched based on touch-screen, it is characterised in that the touch area Computing unit is specifically included:
Abscissa difference computation subunit, two touches minimum and maximum for calculating abscissa in the touch point of acquisition The difference XM of the abscissa value of point;
Ordinate difference computation subunit, two touches minimum and maximum for calculating ordinate in the touch point of acquisition The difference YM of the ordinate value of point;
Area computation subunit is touched, touch surface product S is obtained for calculating:S=XM*YM.
CN201410349057.2A 2014-07-22 2014-07-22 A kind of unlocking method and system that area is touched based on touch-screen Active CN104090723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410349057.2A CN104090723B (en) 2014-07-22 2014-07-22 A kind of unlocking method and system that area is touched based on touch-screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410349057.2A CN104090723B (en) 2014-07-22 2014-07-22 A kind of unlocking method and system that area is touched based on touch-screen

Publications (2)

Publication Number Publication Date
CN104090723A CN104090723A (en) 2014-10-08
CN104090723B true CN104090723B (en) 2017-09-05

Family

ID=51638443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410349057.2A Active CN104090723B (en) 2014-07-22 2014-07-22 A kind of unlocking method and system that area is touched based on touch-screen

Country Status (1)

Country Link
CN (1) CN104090723B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281411B (en) * 2014-10-13 2017-10-24 惠州Tcl移动通信有限公司 Touch screen unlocking method and system based on mobile terminal
CN104765995B (en) * 2015-04-24 2018-03-06 福建师范大学 Smart machine identity identifying method and client based on contact action
CN111507144B (en) * 2019-01-31 2024-02-09 北京小米移动软件有限公司 Touch area acquisition method and device, intelligent equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221932A (en) * 2011-06-29 2011-10-19 华为终端有限公司 Touch screen command input method and user equipment
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
CN103135935A (en) * 2013-03-07 2013-06-05 京东方科技集团股份有限公司 Touch screen unlocking method and module and terminal device
CN103309479A (en) * 2012-03-07 2013-09-18 深圳富泰宏精密工业有限公司 Touch screen operating system and method
WO2014008871A1 (en) * 2012-07-13 2014-01-16 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and device for touch screen verification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221932A (en) * 2011-06-29 2011-10-19 华为终端有限公司 Touch screen command input method and user equipment
CN103309479A (en) * 2012-03-07 2013-09-18 深圳富泰宏精密工业有限公司 Touch screen operating system and method
WO2014008871A1 (en) * 2012-07-13 2014-01-16 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and device for touch screen verification
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
CN103135935A (en) * 2013-03-07 2013-06-05 京东方科技集团股份有限公司 Touch screen unlocking method and module and terminal device

Also Published As

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

Similar Documents

Publication Publication Date Title
US10209885B2 (en) Method and device for building virtual keyboard
CN102841696B (en) The method of electronic equipment and input password thereof
CN104090723B (en) A kind of unlocking method and system that area is touched based on touch-screen
RU2589397C2 (en) Authentication graphic gestures
US20130159927A1 (en) Electronic device with touch screen and screen unlocking method thereof
EP2963534A1 (en) Method and system for unlocking screen of mobile phone
CN103927119B (en) Switch to the method and system at account interface
CN104020944A (en) Data input method based on sliding block
WO2012155428A1 (en) Method and portable terminal equipment for unlocking terminal screen lock
CN105353880A (en) Application program start control system and method based on finger information
CN103530053A (en) Mobile terminal, unlocking method for screen of mobile terminal and locking method for screen of mobile terminal
CN104598783A (en) Unlocking method and device of intelligent terminal
CN104182143A (en) Backlight brightness adjustment method and system for mobile terminals
WO2022228465A1 (en) Interface display method and apparatus, electronic device, and storage medium
JP2013084144A (en) Information input device, method and program
CN101131637A (en) Method and device for generating user interface
CN105573631A (en) Touch display electronic device and control method thereof
CN102236440B (en) Password input method and mobile terminal using same
CN103412723A (en) Mobile terminal unlocking method and mobile terminal unlocking system
CN103186338B (en) A kind of method and electronic equipment setting clock
CN101907943A (en) Method and system for correcting software keyboard input as well as computer program product using method
CN103605474A (en) Control method and control system of electronic equipment with touch screen and fingerprint sensor
CN103092412B (en) Mobile terminal and the display packing of mobile terminal operation object
CN104978030A (en) Left and right hand based software and method for automatically adjusting display interface of mobile phone
CN105159499A (en) Luminance enhancing method and device, luminance reduction method and device, and terminal

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
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: 20221116

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