CN104156167B - A kind of entry and exit method of mobile terminal and its child mode - Google Patents

A kind of entry and exit method of mobile terminal and its child mode Download PDF

Info

Publication number
CN104156167B
CN104156167B CN201410365810.7A CN201410365810A CN104156167B CN 104156167 B CN104156167 B CN 104156167B CN 201410365810 A CN201410365810 A CN 201410365810A CN 104156167 B CN104156167 B CN 104156167B
Authority
CN
China
Prior art keywords
distance
point coordinates
mrow
mobile terminal
point
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
CN201410365810.7A
Other languages
Chinese (zh)
Other versions
CN104156167A (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

Abstract

The invention discloses a kind of entry and exit method of mobile terminal and its child mode, including step:A, all point coordinates that a certain moment touch-screen is touched by user are obtained;B, the distance between any two point coordinates in all point coordinates is calculated, and the distance value to calculating filters;C, judge whether have in the distance value after filtering more than the distance threshold that pre-sets, if when, then into normal mode, if not when, then into child mode;By calculating the distance between any two point coordinates in all point coordinates on acquisition user's Fingertip touch to touch-screen, and by it compared with distance threshold, so as to judge user for adult or children, and mobile terminal is set to enter corresponding mode of operation.

Description

A kind of entry and exit method of mobile terminal and its child mode
Technical field
The present invention relates to intelligent mobile terminal application field, more particularly to a kind of mobile terminal and its child mode Entry and exit method.
Background technology
With the rapid development of mobile terminal technology, current such as mobile phone, flat board intelligent mobile terminal has been come into increasingly In more ordinary people families, these equipment are also touched by increasing children, therefore most mobile terminals are equipped with Child mode, the mobile terminal under child mode show meet children using and some functions are limited.
In the prior art, need to realize by a series of setting into child mode, exiting child mode also needs To be realized by a series of setting, operating procedure is more loaded down with trivial details.
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, the present invention provides a kind of entry and exit of mobile terminal and its child mode Method, it is intended to solve the problems, such as that mobile terminal enters in the prior art and to exit child mode complex for operation step.
Used technical scheme is as follows:
A kind of entry and exit method of mobile terminal child mode, including step:
A, all point coordinates that a certain moment touch-screen is touched by user are obtained;
B, the distance between any two point coordinates in all point coordinates is calculated, and the distance value to calculating was carried out Filter;
C, the distance threshold for whether having more than pre-setting in the distance value after filtering is judged, if when, then enter just Norm formula, if not when, then into child mode.
The entry and exit method of described mobile terminal child mode, wherein, the step A is specifically included:
A1, detect that user is touching locking screen interface;
A2, start timer;
A3, when the time-out time of timer expires, obtain current time touch-screen sat a little by what user touched Mark.
The entry and exit method of described mobile terminal child mode, wherein, the time-out time of the timer is 200 Millisecond.
The entry and exit method of described mobile terminal child mode, wherein, the step B is specifically included:
B1, calculate the distance between any two point coordinates in all point coordinates;
B2, filter out it is all be more than 200 distance value.
The entry and exit method of described mobile terminal child mode, wherein, distance meter is also included in the step B1 Calculate formula:
Wherein, L is the distance between any two point coordinates in all point coordinates, and x1 is first point of X-axis coordinate value, x2 For the X-axis coordinate value of second point, y1 is first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of second point.
The entry and exit method of described mobile terminal child mode, wherein, also include before the step A:
A0, pre-set distance threshold.
The entry and exit method of described mobile terminal child mode, wherein, the distance threshold is 100.
A kind of mobile terminal, including:
Touch coordinate acquisition module, all point coordinates touched for obtaining a certain moment touch-screen by user;
Distance calculation module, for calculating the distance between any two point coordinates in all point coordinates;
Apart from filtering module, for filter out it is all be more than 200 distance value;
As a result judge module, it is more than the distance threshold pre-set for judging whether to have in the distance value after filtering, such as When fruit is, then into normal mode, if not when, then into child mode.
Described mobile terminal, wherein, in addition to a timer, for triggering touch coordinate acquisition module.
Described mobile terminal, wherein, distance calculation formula is also included in the distance calculation module:
Wherein, L is the distance between any two point coordinates in all point coordinates, and x1 is first point of X-axis coordinate value, x2 For the X-axis coordinate value of second point, y1 is first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of second point.
Beneficial effects of the present invention:
Compared with prior art, a kind of entry and exit method of mobile terminal and its child mode provided by the invention, By calculating the distance between any two point coordinates in all point coordinates on acquisition user's Fingertip touch to touch-screen, and will It so as to judge user for adult or children, and makes mobile terminal enter corresponding Working mould compared with distance threshold Formula.
Brief description of the drawings
Fig. 1 is the step flow chart of the entry and exit method of mobile terminal child mode of the present invention;
Fig. 2 is the step flow of the entry and exit method concrete application embodiment of mobile terminal child mode of the present invention Figure;
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 its child mode, to make the mesh of the present invention , technical scheme and advantage it is clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings. It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention is different from the finger fineness of children according to being grown up, and when carrying out touch operation to touch-screen, is covered The contact area of lid is different, so that it is determined that mobile terminal user is adult or child.
Because adult finger is thicker, the contact surface of finger tip and touch-screen is larger, institute can overlay planes point coordinates also just compared with It is more, then distance between points will become very big, on the contact surface in all point coordinates any two point coordinates it Between distance value be there is a situation where to be more than pre-determined distance threshold value (i.e. apart from critical value).As long as have in these distance values more than away from From threshold value, then mobile terminal user can be determined for adult, then accordingly into normal mode, conversely, then entering youngster Virgin pattern.
Because children's finger is thinner, the contact surface of finger tip and touch-screen is smaller, and institute's energy overlay planes point coordinates is also just less, Distance so between points will become very little, on the contact surface in all point coordinates between any two point coordinates The situation more than pre-determined distance threshold value is not present in distance value., then can be true when being not greater than distance threshold in these distance values It is children to determine mobile terminal user, then accordingly into child mode.
Fig. 1 is referred to, Fig. 1 is the step flow chart 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 the mobile terminal child mode, it includes step:
Step S110, all point coordinates that a certain moment touch-screen is touched by user are obtained, step S110 is specifically wrapped Include:
Step S111, detect that user is touching locking screen interface;
Step S112, timer is started;
Step S113, when the timer expires between when expiring, obtain current time touch-screen touched by user it is all Point coordinates.
Wherein, the time-out time of timer is 200 milliseconds.
The execution of the present invention is to be in put out under screen state in mobile terminal, that is to say, that mobile terminal is at the beginning Under lock-out state, when user, which touches touch-screen, to be unlocked, start timer first, when the timer has lapsed, obtain current All point coordinates that moment touch-screen is touched by user.
Step S120, the distance between any two point coordinates in all point coordinates, and the distance value to calculating are calculated Filtered, step S120 is specifically included:
Step S121, the distance between any two point coordinates in all point coordinates is calculated;
Step S122, filter out it is all be more than 200 distance value.
Wherein, distance calculation formula is also included in step S121:
Wherein, L is the distance between any two point coordinates, and x1 is first point of X-axis coordinate value, and x2 is the X of second point Axial coordinate value, y1 are first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of second point.
To avoid the error detection brought due to multiple point touching, needed more than normal distance value in result of calculation Partial filtration falls, and on the display screen that resolution ratio is 1280*800, distance value more than 200 is improper distance value, then When subsequent step progress distance value compares, then the improper distance value in the part is needed to filter out, in order to avoid interference judged result.
Step S130, the distance threshold for whether having more than pre-setting in the distance value after filtering is judged, if when, then Into normal mode, if not when, then into child mode.Before step S110, it should also include step:
Step S101, distance threshold is pre-set.
Wherein, the distance threshold is 100.
On the display screen that resolution ratio is 1280*800, when adult touches touch-screen with children, what is covered sits a little The distance between any two point coordinates critical value is 100 in mark.So using the distance threshold as boundary, when detecting distance value During more than distance threshold 100, then it is judged as being grown up, accordingly into normal mode;When detect distance value be less than or equal to away from During from threshold value 100, then it is judged as being grown up, accordingly into child mode.
In the present embodiment, when needing into the child mode of mobile terminal, mobile terminal screen need to only be extinguished and given Children, because children's finger is thinner, the contact surface of finger tip and touch-screen is smaller, and institute's energy overlay planes point coordinates is also just less, that Distance between points will become very little, on the contact surface in all point coordinates between any two point coordinates away from The situation more than pre-determined distance threshold value is not present from value.Therefore, when the distance between any two point coordinates in all point coordinates When value is less than or equal to pre-determined distance threshold value, child mode is put into after unblock.
When needing to exit child mode, mobile terminal screen need to only be extinguished and give adult, due to finger of growing up Relatively thick, the contact surface of finger tip and touch-screen is larger, and institute's energy overlay planes point coordinates is also just more, then distance between points It will become very big, the distance value on the contact surface in all point coordinates between any two point coordinates is to exist to be more than to preset The situation of distance threshold.Therefore, when the distance between any two point coordinates is more than pre-determined distance threshold value in all point coordinates, Normal mode is put into after unblock.
The present invention is further discussed below with reference to a concrete application embodiment, it is described in detail below:
As shown in Fig. 2 Fig. 2 is the entry and exit method concrete application embodiment of mobile terminal child mode of the present invention Flow chart of steps.It is described in detail below:
Step S11, the time-out time for setting timer is 200 milliseconds, performs step S12 afterwards;
Step S12, judge whether timer is overtime, if it is perform step S13, otherwise continue executing with step S12;
Step S13, all point coordinates that current touch screen is touched by user are obtained, perform step S14 afterwards;
Step S14, the distance between any two point coordinates in all point coordinates is calculated, performs step S15 afterwards;Its In, first point (x1, y1) and second point (x2, y2) distance calculating method are as follows:
Step S15, filter out it is all be more than 200 distance value;Step S16 is performed afterwards;
Step S16, judge to whether there is the value more than 100 in Distance Remaining value;If it is step S17 is performed;Otherwise Perform step S19;
Step S17, whether user successfully unlocks, and if it is performs step S18;Otherwise step S12 is performed;
Step S18, into normal mode;
Step S19, whether user successfully unlocks, and if it is performs step S20;Otherwise step S12 is performed;
Step S20, into child mode.
According to above-mentioned steps, when needing into the child mode of mobile terminal, mobile terminal screen need to only be extinguished and handed over To children, because children's finger is thinner, child mode is put into after unblock;, only need to be by movement when needing to exit child mode Terminal screen, which extinguishes, gives adult, and because adult finger is thicker, normal mode is put into after unblock.
Embodiment based on the above method, the present invention also provide 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, the mobile terminal, it includes:
Central processing unit 310, the point coordinates touched for obtaining user at touch-screen 320, and examined under screen lock state It is that children are still grown up to survey user;
Touch-screen 320, for sensing the touch of user;
Display screen 330, for showing.
Wherein, provide that touch-screen 320, the resolution ratio of display screen 330 are 1280*800 in the present embodiment.
With reference to 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 has Body is included with lower module:
Timer 311, for triggering touch coordinate acquisition module 312, i.e., when user touches touch-screen under screen lock state When, start timer at once, when the time-out time of timer 311 expires, triggering touch coordinate acquisition module 312, timing herein The time-out time of device 311 is preferably 200 milliseconds.
Touch coordinate acquisition module 312, all point coordinates touched for obtaining a certain moment touch-screen by user.
Distance calculation module 313, any two in all point coordinates got for calculating touch coordinate acquisition module 312 The distance between individual point coordinates, wherein, distance calculation formula is also included in the distance calculation module:
Wherein, L is the distance between any two point coordinates, and x1 is first point of X-axis coordinate value, and x2 is the X of second point Axial coordinate value, y1 are first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of second point.
Apart from filtering module 314, for filter out it is all be more than 200 distance value, be the aobvious of 1280*800 in resolution ratio In display screen, if distance value is more than 200, it is clear that already exceed the situation of normal finger, it may be possible to because multiple point touching is brought Error detection, it is therefore desirable to this partial distance value is filtered out.
As a result judge module 315, for judging whether have in the distance value after filtering more than the distance threshold pre-set, If when, then into normal mode, if not when, then into child mode.
It is, of course, also possible to including:Result detection module 316 is unlocked, for detecting whether user unlocks success, if user Unlock successfully and result judge module 315 judges that user is children, then into child mode;If user unlocks successfully and result Judge module 315 judges user for adult, then into normal mode.
In summary, a kind of entry and exit method of mobile terminal and its child mode provided by the present invention, passes through Calculate and obtain the distance between any two point coordinates in all point coordinates on user's Fingertip touch to touch-screen, and by its with Distance threshold is compared, and so as to judge user for adult or children, and mobile terminal is entered corresponding mode of operation.
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 1. entry and exit method of mobile terminal child mode, it is characterised in that including step:
    A, all point coordinates that a certain moment touch-screen is touched by user are obtained;
    B, the distance between any two point coordinates in all point coordinates is calculated, and the distance value to calculating filters;
    C, the distance threshold for whether having more than pre-setting in the distance value after filtering is judged, if when, then into normal mode Formula, if not when, then into child mode;
    The step A is specifically included:
    A1, detect that user is touching locking screen interface;
    A2, start timer;
    A3, when the time-out time of timer expires, obtain all point coordinates for being touched by user of current time touch-screen;
    The time-out time of the timer is 200 milliseconds;
    The step B is specifically included:
    B1, calculate the distance between any two point coordinates in all point coordinates;
    B2, filter out it is all be more than 200 distance value.
  2. 2. the entry and exit method of mobile terminal child mode according to claim 1, it is characterised in that the step Also include distance calculation formula in B1:
    <mrow> <mi>L</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mo>(</mo> <mi>x</mi> <mn>1</mn> <mo>-</mo> <mi>x</mi> <mn>2</mn> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <mi>y</mi> <mn>1</mn> <mo>-</mo> <mi>y</mi> <mn>2</mn> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </msqrt> </mrow>
    Wherein, L is the distance between any two point coordinates in all point coordinates, and x1 is first point of X-axis coordinate value, x2 the 2 points of X-axis coordinate value, y1 are first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of second point.
  3. 3. the entry and exit method of mobile terminal child mode according to claim 1, it is characterised in that in the step Also include before rapid A:
    A0, pre-set distance threshold.
  4. 4. the entry and exit method of mobile terminal child mode according to claim 3, it is characterised in that the distance Threshold value is 100.
  5. A kind of 5. mobile terminal, it is characterised in that including:
    Touch coordinate acquisition module, all point coordinates touched for obtaining a certain moment touch-screen by user;
    Distance calculation module, for calculating the distance between any two point coordinates in all point coordinates;
    Apart from filtering module, for filter out it is all be more than 200 distance value;
    As a result judge module, for judging whether have more than the distance threshold pre-set in the distance value after filtering, if When, then into normal mode, if not when, then into child mode;
    Also include a timer, for triggering touch coordinate acquisition module;
    When user touches touch-screen under screen lock state, start timer;When the time-out time of timer expires, triggering is touched Coordinate obtaining module is touched, the time-out time of timer is 200 milliseconds.
  6. 6. mobile terminal according to claim 5, it is characterised in that also include distance in the distance calculation module and calculate Formula:
    <mrow> <mi>L</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mo>(</mo> <mi>x</mi> <mn>1</mn> <mo>-</mo> <mi>x</mi> <mn>2</mn> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>+</mo> <msup> <mrow> <mo>(</mo> <mi>y</mi> <mn>1</mn> <mo>-</mo> <mi>y</mi> <mn>2</mn> <mo>)</mo> </mrow> <mn>2</mn> </msup> </mrow> </msqrt> </mrow>
    Wherein, L is the distance between any two point coordinates in all point coordinates, and x1 is first point of X-axis coordinate value, x2 the 2 points of X-axis coordinate value, y1 are first point of Y-axis coordinate value, and y2 is the Y-axis coordinate value of 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 CN104156167A (en) 2014-11-19
CN104156167B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335060A (en) * 2014-08-14 2016-02-17 中兴通讯股份有限公司 Operation control method of 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
CN107480499B (en) * 2017-08-11 2020-09-11 苏州经贸职业技术学院 Child lock control method and device in working of touch screen equipment and terminal

Citations (5)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5979916B2 (en) * 2012-03-07 2016-08-31 キヤノン株式会社 Information processing apparatus and control method thereof

Patent Citations (5)

* 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
CN102819352A (en) * 2012-08-22 2012-12-12 华为终端有限公司 Method and device for controlling terminal equipment

Also Published As

Publication number Publication date
CN104156167A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN104156167B (en) A kind of entry and exit method of mobile terminal and its child mode
CN104166515B (en) A kind of mobile terminal touch screen unlocking method and system
CN104571925B (en) The one-handed performance method and device of mobile terminal
EP2975499B1 (en) Method and apparatus for preventing misoperation on touchscreen equipped mobile device
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN104090725B (en) Method and system for unlocking touch screen of mobile terminal
CN104808847B (en) Anti-interference method, device and touch sensor, the touch control terminal of touch-screen detection
CN103581443A (en) Intelligent terminal automatic awakening method and system based on sensors
CN104615303A (en) Mistaken touch prevention method of mobile terminal and mobile terminal
CN103577069B (en) The quick method and system starting camera under a kind of touch screen locking screen interface
CN104391639A (en) Handheld terminal and control method thereof
CN104020946B (en) Unlocking system and method
CN103139390A (en) Method, system of unlocking screen of mobile phone and mobile phone
CN103984484A (en) Unlocking method and device of touch screen electronic equipment
CN103593140A (en) Method and terminal for touch screen terminal screen locking
CN106295420B (en) A kind of information processing method and device
WO2017143823A1 (en) Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN107506092A (en) A kind of input control method and terminal
CN102609209A (en) Touch screen unlocking method after awakening mobile phone sleep
CN107247557A (en) A kind of application icon display methods and device
CN105607844A (en) Touch screen control method, touch screen control device and terminal
CN106775364A (en) Method and terminal that a kind of camera quick starts
CN104793824B (en) A kind of wake-up of mobile terminal and unlocking method and mobile terminal
CN102945097A (en) Method and system for anti-interference of touch screen
CN104978030A (en) Left and right hand based software and method for automatically adjusting display interface of mobile phone

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