CN104156167A - Mobile terminal and children mode entering and exiting method thereof - Google Patents

Mobile terminal and children mode entering and exiting method thereof Download PDF

Info

Publication number
CN104156167A
CN104156167A CN201410365810.7A CN201410365810A CN104156167A CN 104156167 A CN104156167 A CN 104156167A CN 201410365810 A CN201410365810 A CN 201410365810A CN 104156167 A CN104156167 A CN 104156167A
Authority
CN
China
Prior art keywords
distance
mobile terminal
coordinate
point coordinate
time
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.)
Granted
Application number
CN201410365810.7A
Other languages
Chinese (zh)
Other versions
CN104156167B (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.)
TCL Communication Ningbo 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 CN201410365810.7A priority Critical patent/CN104156167B/en
Publication of CN104156167A publication Critical patent/CN104156167A/en
Application granted granted Critical
Publication of CN104156167B publication Critical patent/CN104156167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal and a children mode entering and exiting method thereof. The method includes the steps: A, acquiring all point coordinates, touched by a user at a moment, of a touch screen; B, computing the distance between any two point coordinates in all the point coordinates, and filtering computed distance values; C, judging whether the filter distance values include values higher than a preset distance threshold or not, if yes, entering a normal mode, and entering a children mode otherwise. The distance between any two point coordinates in all the point coordinates, touched by the user, on the touch screen is computed, and the distance values are compared to the distance threshold so as to judge whether the user is an adult or child, and the mobile terminal is enabled to enter the corresponding working mode.

Description

A kind of entry and exit method of mobile terminal and child mode thereof
Technical field
The present invention relates to intelligent mobile terminal application, in particular a kind of entry and exit method of mobile terminal and child mode thereof.
Background technology
Along with the develop rapidly of mobile terminal technology, at present as the intelligent mobile terminal such as mobile phone, flat board has been come in increasing ordinary people family, these equipment are also touched by increasing children, therefore most mobile terminals are all furnished with child mode, and the mobile terminal under child mode shows that meeting children uses and some functions have been done to restriction.
In the prior art, entering child mode need to realize by a series of setting, and exiting child mode also needs to realize by a series of setting, and operation steps is more loaded down with trivial details.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the invention provides a kind of entry and exit method of mobile terminal and child mode thereof, be intended to solve mobile terminal in prior art and enter and exit the problem of child mode complex operation step.
The technical scheme adopting is as follows:
An entry and exit method for mobile terminal child mode, comprises step:
A, obtain all point coordinate that a certain moment touch-screen is touched by user;
B, calculate the distance between any two point coordinate in all point coordinate, and the distance value calculating is filtered;
C, judge in the distance value after filtering whether have and be greater than the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.
The entry and exit method of described mobile terminal child mode, wherein, described steps A specifically comprises:
A1, detect user touch locking screen interface;
A2, startup timer;
A3, in the time that the time-out time of timer expires, obtain all point coordinate that current time touch-screen is touched by user.
The entry and exit method of described mobile terminal child mode, wherein, the time-out time of described timer is 200 milliseconds.
The entry and exit method of described mobile terminal child mode, wherein, described step B specifically comprises:
B1, calculate the distance between any two point coordinate in all point coordinate;
B2, filter out all distance values that are greater than 200.
The entry and exit method of described mobile terminal child mode, wherein, also comprises in described step B1 apart from computing formula:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate in all point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
The entry and exit method of described mobile terminal child mode wherein, also comprised before described steps A:
A0, set in advance distance threshold.
The entry and exit method of described mobile terminal child mode, wherein, described distance threshold is 100.
A kind of mobile terminal, comprising:
Touch coordinate acquisition module, all point coordinate that touched by user for obtaining a certain moment touch-screen;
Distance calculation module, for calculating the distance between any two point coordinate of all point coordinate;
Apart from filtering module, for filtering out all distance values that are greater than 200;
Result judge module, is greater than for judging whether distance value after filtration has the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.
Described mobile terminal, wherein, also comprises a timer, for triggering touch coordinate acquisition module.
Described mobile terminal, wherein, also comprises in described distance calculation module apart from computing formula:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate in all point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
Beneficial effect of the present invention:
Compared with prior art, the entry and exit method of a kind of mobile terminal provided by the invention and child mode thereof, obtain user's Fingertip touch to the distance between any two point coordinate in all point coordinate on touch-screen by calculating, and itself and distance threshold are compared, thereby judge that user is for adult or children, and make mobile terminal enter corresponding mode of operation.
Brief description of the drawings
Fig. 1 is the flow chart of steps of the entry and exit method of mobile terminal child mode of the present invention;
Fig. 2 is the flow chart of steps of the concrete Application Example of entry and exit method of mobile terminal child mode of the present invention;
Fig. 3 is the module frame chart of mobile terminal of the present invention;
Fig. 4 is the module frame chart of the central processing unit of mobile terminal of the present invention.
Embodiment
The invention provides a kind of entry and exit method of mobile terminal and child mode thereof, for making object of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention is different from children's finger fineness according to adult, in the time touch-screen being touched to operation, and the contact area difference covering, thus determine that mobile terminal user is adult or child.
Because adult's finger is thicker, the surface of contact of finger tip and touch-screen is larger, institute's energy overlay planes point coordinate is also just more, it is very large that distance so between points will become, and on this surface of contact, in all point coordinate, the distance value between any two point coordinate is to have the situation that is greater than predeterminable range threshold value (apart from critical value).Be greater than distance threshold as long as have in these distance values, can determine that mobile terminal user, for adult, enters normal mode so accordingly, otherwise, child mode entered.
Because children's finger is thinner, the surface of contact of finger tip and touch-screen is less, institute's energy overlay planes point coordinate is also just less, it is very little that distance so between points will become, and on this surface of contact, in all point coordinate, the distance value between any two point coordinate does not exist the situation that is greater than predeterminable range threshold value.When not being greater than distance threshold in these distance values, can determine that mobile terminal user is children, enter so accordingly child mode.
Refer to Fig. 1, Fig. 1 is the flow chart of steps of the entry and exit method of mobile terminal child mode of the present invention.
As shown in Figure 1, the entry and exit method of described mobile terminal child mode, it comprises step:
Step S110, obtain all point coordinate that a certain moment touch-screen is touched by user, this step S110 specifically comprises:
Step S111, detect user touch locking screen interface;
Step S112, startup timer;
Step S113, in the time that the timer expiry time expires, obtain all point coordinate that current time touch-screen is touched by user.
Wherein, the time-out time of timer is 200 milliseconds.
Execution of the present invention is in putting out under screen state at mobile terminal, that is to say, mobile terminal is to be in the lock state down at the beginning, in the time that user touches touch-screen and carries out release, first start timer, in the time that timer expires, obtain all point coordinate that current time touch-screen is touched by user.
Step S120, calculate the distance between any two point coordinate in all point coordinate, and the distance value calculating is filtered, this step S120 specifically comprises:
Step S121, calculate the distance between any two point coordinate in all point coordinate;
Step S122, filter out all distance values that are greater than 200.
Wherein, in step S121, also comprise apart from computing formula:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
For the error detection of avoiding bringing due to multiple point touching, in apart from result of calculation, need the part that exceedes normal distance value to filter out, on the display screen that is 1280*800 in resolution, distance value exceedes 200 the improper distance value that is, so in the time that subsequent step carries out distance value comparison, need the improper distance value of this part to filter out, in order to avoid disturb judged result.
Step S130, judge in the distance value after filtering whether have and be greater than the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.Before step S110, also should comprise step:
Step S101, set in advance distance threshold.
Wherein, described distance threshold is 100.
On the display screen that is 1280*800 in resolution, when adult touches touch-screen with children, the distance critical value in all point coordinate that cover between any two point coordinate is 100.Taking this distance threshold as boundary, in the time detecting that distance value is greater than distance threshold 100, be judged as adult so, enter accordingly normal mode; In the time detecting that distance value is less than or equal to distance threshold 100, be judged as adult, enter accordingly child mode.
In the present embodiment, in the time need to entering the child mode of mobile terminal, only mobile terminal screen need be extinguished and gives children, because children's finger is thinner, the surface of contact of finger tip and touch-screen is less, institute's energy overlay planes point coordinate is also just less, and it is very little that distance so between points will become, and on this surface of contact, in all point coordinate, the distance value between any two point coordinate does not exist the situation that is greater than predeterminable range threshold value.Therefore,, in the time that the distance value between any two point coordinate is less than or equal to predeterminable range threshold value in all point coordinate, after release, just enter child mode.
In the time that needs exit child mode, only mobile terminal screen need be extinguished and gives adult, because adult's finger is thicker, the surface of contact of finger tip and touch-screen is larger, institute's energy overlay planes point coordinate is also just more, it is very large that distance so between points will become, and on this surface of contact, in all point coordinate, the distance value between any two point coordinate is to have the situation that is greater than predeterminable range threshold value.Therefore,, in the time that the distance between any two point coordinate is greater than predeterminable range threshold value in all point coordinate, after release, just enter normal mode.
Below in conjunction with a concrete Application Example, the present invention is done to further narration, specific as follows described in:
As shown in Figure 2, Fig. 2 is the flow chart of steps of the concrete Application Example of entry and exit method of mobile terminal child mode of the present invention.Described in specific as follows:
Step S11, the time-out time that timer is set are 200 milliseconds, perform step afterwards S12;
Step S12, judge that whether timer is overtime, if it is perform step S13, otherwise continue execution step S12;
Step S13, obtain all point coordinate that current touch-screen is touched by user, perform step afterwards S14;
Step S14, calculate the distance between any two point coordinate in all point coordinate, perform step afterwards S15; Wherein, the first point (x1, y1) is as follows with second point (x2, y2) distance calculating method:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Step S15, filter out all distance values that are greater than 200; Perform step afterwards S16;
Step S16, judge in Distance Remaining value, whether there is the value that is greater than 100; If it is perform step S17; Otherwise execution step S19;
Step S17, the whether successful release of user, if it is perform step S18; Otherwise execution step S12;
Step S18, enter normal mode;
Step S19, the whether successful release of user, if it is perform step S20; Otherwise execution step S12;
Step S20, enter child mode.
According to above-mentioned steps, in the time need to entering the child mode of mobile terminal, only mobile terminal screen need be extinguished and gives children, because children's finger is thinner, after release, just enter child mode; In the time that needs exit child mode, only mobile terminal screen need be extinguished and gives adult, because adult's finger is thicker, after release, just enter normal mode.
Based on the embodiment of said method, the present invention also provides a kind of embodiment of mobile terminal.
As shown in Figure 3, Fig. 3 is the module frame chart of mobile terminal of the present invention, described mobile terminal, and it comprises:
Central processing unit 310, the point coordinate touching for obtain user from touch-screen 320, and under screen lock state, detect user and be still grown up for children;
Touch-screen 320, for responding to user's touch;
Display screen 330, for showing.
Wherein, in the present embodiment, the resolution of regulation touch-screen 320, display screen 330 is 1280*800.
Shown in Fig. 4, Fig. 4 is the module frame chart of the central processing unit of mobile terminal of the present invention, and central processing unit 310 specifically comprises with lower module:
Timer 311, for triggering touch coordinate acquisition module 312, in the time that user touches touch-screen under screen lock state, start timer at once, when the time-out time of timer 311 expires, trigger touch coordinate acquisition module 312, the time-out time of timer 311 is preferably 200 milliseconds herein.
Touch coordinate acquisition module 312, all point coordinate that touched by user for obtaining a certain moment touch-screen.
Distance calculation module 313, for calculating the distance between any two point coordinate of all point coordinate that touch coordinate acquisition module 312 gets, wherein, also comprises in described distance calculation module apart from computing formula:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
Apart from filtering module 314, for filtering out all distance values that are greater than 200, on the display screen that is 1280*800 in resolution, if distance value is greater than 200, obviously exceeded the situation of normal person's finger, likely because therefore the error detection that multiple point touching brings needs this part distance value to filter out.
Result judge module 315, is greater than for judging whether distance value after filtration has the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.
Certainly, can also comprise: release result detection module 316, for detection of user, whether release is successful, if user's release success and result judge module 315 judge that user, as children, enters child mode; If user's release success and result judge module 315 judge that user, as adult, enters normal mode.
In sum, the entry and exit method of a kind of mobile terminal provided by the present invention and child mode thereof, obtain user's Fingertip touch to the distance between any two point coordinate in all point coordinate on touch-screen by calculating, and itself and distance threshold are compared, thereby judge that user is for adult or children, and make mobile terminal enter corresponding mode of operation.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (10)

1. an entry and exit method for mobile terminal child mode, is characterized in that, comprises step:
A, obtain all point coordinate that a certain moment touch-screen is touched by user;
B, calculate the distance between any two point coordinate in all point coordinate, and the distance value calculating is filtered;
C, judge in the distance value after filtering whether have and be greater than the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.
2. the entry and exit method of mobile terminal child mode according to claim 1, is characterized in that, described steps A specifically comprises:
A1, detect user touch locking screen interface;
A2, startup timer;
A3, in the time that the time-out time of timer expires, obtain all point coordinate that current time touch-screen is touched by user.
3. the entry and exit method of mobile terminal child mode according to claim 2, is characterized in that, the time-out time of described timer is 200 milliseconds.
4. the entry and exit method of mobile terminal child mode according to claim 1, is characterized in that, described step B specifically comprises:
B1, calculate the distance between any two point coordinate in all point coordinate;
B2, filter out all distance values that are greater than 200.
5. the entry and exit method of mobile terminal child mode according to claim 4, is characterized in that, also comprises apart from computing formula in described step B1:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate in all point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
6. the entry and exit method of mobile terminal child mode according to claim 1, is characterized in that, before described steps A, also comprises:
A0, set in advance distance threshold.
7. the entry and exit method of mobile terminal child mode according to claim 6, is characterized in that, described distance threshold is 100.
8. a mobile terminal, is characterized in that, comprising:
Touch coordinate acquisition module, all point coordinate that touched by user for obtaining a certain moment touch-screen;
Distance calculation module, for calculating the distance between any two point coordinate of all point coordinate;
Apart from filtering module, for filtering out all distance values that are greater than 200;
Result judge module, is greater than for judging whether distance value after filtration has the distance threshold setting in advance, if time, enter normal mode, if not time, enter child mode.
9. mobile terminal according to claim 8, is characterized in that, also comprises a timer, for triggering touch coordinate acquisition module.
10. mobile terminal according to claim 8, is characterized in that, also comprises apart from computing formula in described distance calculation module:
L = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2
Wherein, L is the distance between any two point coordinate in all point coordinate, and x1 is the X-axis coordinate figure of first, the X-axis coordinate figure that x2 is second point, and y1 is the Y-axis coordinate figure of first, the Y-axis coordinate figure that y2 is second point.
CN201410365810.7A 2014-07-29 2014-07-29 A kind of entry and exit method of mobile terminal and its child mode Active CN104156167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410365810.7A CN104156167B (en) 2014-07-29 2014-07-29 A kind of entry and exit method of mobile terminal and its child mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410365810.7A CN104156167B (en) 2014-07-29 2014-07-29 A kind of entry and exit method of mobile terminal and its child mode

Publications (2)

Publication Number Publication Date
CN104156167A true CN104156167A (en) 2014-11-19
CN104156167B CN104156167B (en) 2018-01-02

Family

ID=51881678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410365810.7A Active CN104156167B (en) 2014-07-29 2014-07-29 A kind of entry and exit method of mobile terminal and its child mode

Country Status (1)

Country Link
CN (1) CN104156167B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015154403A1 (en) * 2014-08-14 2015-10-15 中兴通讯股份有限公司 Operation control method for touch-screen terminal, and terminal
CN105528152A (en) * 2015-12-08 2016-04-27 惠州Tcl移动通信有限公司 Image rotation display method and system
CN106503501A (en) * 2016-09-30 2017-03-15 维沃移动通信有限公司 A kind of startup method of user model and mobile terminal
CN107480499A (en) * 2017-08-11 2017-12-15 苏州经贸职业技术学院 Method of controlling child lock, device and terminal in touch-screen equipment work
CN108733995A (en) * 2017-04-20 2018-11-02 深圳市易鑫磊科技有限公司 A kind of touch screen system for unlocking and its method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329608A (en) * 2007-06-18 2008-12-24 联想(北京)有限公司 Touch screen input method
CN101930319A (en) * 2010-09-08 2010-12-29 敦泰科技有限公司 Touch information reporting method of touch screen
CN102426489A (en) * 2011-04-15 2012-04-25 北京汇冠新技术股份有限公司 Method and system for starting functions of mouse right key on touch screen
CN102819352A (en) * 2012-08-22 2012-12-12 华为终端有限公司 Method and device for controlling terminal equipment
CN103294227A (en) * 2012-02-28 2013-09-11 佳能株式会社 Information processing apparatus, and control method thereof
US20130234960A1 (en) * 2012-03-07 2013-09-12 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329608A (en) * 2007-06-18 2008-12-24 联想(北京)有限公司 Touch screen input method
CN101930319A (en) * 2010-09-08 2010-12-29 敦泰科技有限公司 Touch information reporting method of touch screen
CN102426489A (en) * 2011-04-15 2012-04-25 北京汇冠新技术股份有限公司 Method and system for starting functions of mouse right key on touch screen
CN103294227A (en) * 2012-02-28 2013-09-11 佳能株式会社 Information processing apparatus, and control method thereof
US20130234960A1 (en) * 2012-03-07 2013-09-12 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and storage medium
CN102819352A (en) * 2012-08-22 2012-12-12 华为终端有限公司 Method and device for controlling terminal equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015154403A1 (en) * 2014-08-14 2015-10-15 中兴通讯股份有限公司 Operation control method for touch-screen terminal, and terminal
CN105528152A (en) * 2015-12-08 2016-04-27 惠州Tcl移动通信有限公司 Image rotation display method and system
CN106503501A (en) * 2016-09-30 2017-03-15 维沃移动通信有限公司 A kind of startup method of user model and mobile terminal
CN108733995A (en) * 2017-04-20 2018-11-02 深圳市易鑫磊科技有限公司 A kind of touch screen system for unlocking and its method
CN107480499A (en) * 2017-08-11 2017-12-15 苏州经贸职业技术学院 Method of controlling child lock, device and terminal in touch-screen equipment work

Also Published As

Publication number Publication date
CN104156167B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
CN104156167A (en) Mobile terminal and children mode entering and exiting method thereof
CN106775084B (en) A kind of false-touch prevention method, device and mobile terminal of touch screen
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106959841B (en) Method and device for calling functions in application
TWI698800B (en) Information image display method and device
EP3220251B1 (en) Method and system based on mobile terminal for turning off screen during call to prevent inadvertent touch
EP2975499B1 (en) Method and apparatus for preventing misoperation on touchscreen equipped mobile device
CN104615303A (en) Mistaken touch prevention method of mobile terminal and mobile terminal
CN103473015A (en) Anti-addiction method and terminal
CN105243369B (en) A kind of recognition methodss of fingerprint, device and mobile terminal
CN107506092B (en) Input control method and terminal
CN102609209B (en) Touch screen unlocking method after awakening mobile phone sleep
CN110287666B (en) Fingerprint unlocking method and related device
KR20180122544A (en) Electronic apparatus and detection method
CN103139390A (en) Method, system of unlocking screen of mobile phone and mobile phone
CN105183235A (en) Method for preventing mistakenly touching edge of touch control screen
US20160132178A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
CN104166515A (en) Touch screen unlocking method and system for mobile terminal
CN109543574A (en) Fingerprint collecting method and relevant device
CN103455266A (en) Method for processing mistaken touch operations of touch screen and terminal equipment
EP3712752A1 (en) Touch recognition method and touch device
CN104464647A (en) Backlight brightness adjusting method and terminal
CN109409320A (en) Fingerprint collecting method and relevant device
CN105302369B (en) Method and system for preventing or reducing misoperation of touch screen
CN105825104B (en) A kind of method for processing business and electronic equipment based on fingerprint recognition

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