CN110174992A - A kind of child-resistant accidentally touches the method and terminal installation of APP - Google Patents
A kind of child-resistant accidentally touches the method and terminal installation of APP Download PDFInfo
- Publication number
- CN110174992A CN110174992A CN201910415128.7A CN201910415128A CN110174992A CN 110174992 A CN110174992 A CN 110174992A CN 201910415128 A CN201910415128 A CN 201910415128A CN 110174992 A CN110174992 A CN 110174992A
- Authority
- CN
- China
- Prior art keywords
- striking
- app
- child
- accidentally touches
- track
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses methods and terminal installation that a kind of child-resistant accidentally touches APP, which comprises calling system bottom order obtains position and the striking time of user's striking mobile terminal touch screen, calculates track and the striking frequency of striking point;Judge whether track or the striking frequency of striking point are abnormal;If so, pop-up warning window, and APP is forbidden to use;If it is not, APP normal response striking operation is made to execute corresponding function.Method provided by the present invention and all modules are built upon on systematic difference layer, can not be influenced by mobile terminal bottom, therefore for the mobile terminal device of different vendor, can compatible with and adaptation.
Description
Technical field
The present invention relates to technical field of touch control, and in particular to a kind of child-resistant accidentally touches the method and terminal installation of APP.
Background technique
There are many children to be also in innocent age level in actual life, when they take the mobile phone of parent,
Out of curiosity, it is often clicked carelessly against screen, and consequence caused so is then often possible to be that will use family to generate one
Fixed irreversible loss brings many unnecessary troubles to parent.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of accidentally touching of the child-resistant with stronger practicability and compatibility
The method and terminal installation of APP.
In order to achieve the above objectives, the first aspect of the present invention provides a kind of method that child-resistant accidentally touches APP, is applied to terminal
Device, which comprises
Calling system bottom order obtains position and the striking time of user's striking mobile terminal touch screen, calculates striking
The track of point and striking frequency;
Judge whether track or the striking frequency of striking point are abnormal;
If so, pop-up warning window, and APP is forbidden to use;
If it is not, APP normal response striking operation is made to execute corresponding function.
Preferably, it while forbidding APP to use, is returned according to all operations that system record log had executed APP previously
Rolling.
Preferably, it calculates the track of striking point and the method for striking frequency includes:
It obtains the position of user's striking mobile terminal touch screen and after the striking time, the time point of current striking time is remembered
Record is that the difference of CurrentClickTime, current CurrentClickTime and last time CurrentClickTime are to touch
Frequency is hit, the track of striking point is obtained by the coordinate of current touch location and the coordinate of last touch location.
Preferably, whether Yi Chang method includes: for the track for judging striking point or striking frequency
When next touch event occurs, correction verification module is by current CurrentClickTime and last time
CurrentClickTime is compared, if the difference of current CurrentClickTime and last time CurrentClickTime are big
In the threshold value MIN_CLICK_TIME of the minimum time difference of default, then compare the coordinate of this striking twice again, if this is touched twice
The coordinate distance hit is less than the minimum allowable range MIN_CLICK_DISTANCE of default, then false-touch prevention detection counter adds
One, if the value of detection counter is greater than or equal to alarm value WARNING_NUM, judge track and the striking frequency of current striking point
Rate is abnormal.
Preferably, the system comprises Android operation system, IOS operating system, Symbian operating system,
BlackBerry operating system, WindowsPhone operating system.
Preferably, the terminal installation includes smart phone, tablet computer, smartwatch, Intelligent bracelet.
The second aspect of the present invention provides the terminal installation of child-resistant mistake touching APP a kind of, comprising:
Striking operates acquisition module, is used for the order of calling system bottom, obtains the position of user's striking mobile terminal touch screen
It sets and striking time, the track of calculating striking point and striking frequency;
Correction verification module judges striking for receiving the striking locus of points and striking frequency data of striking operation acquisition module
Whether the track of point or striking frequency are abnormal;
Air control module cooperates with correction verification module, for the judging result according to correction verification module, executes following operation:
If results abnormity, warning window is popped up, and APP is forbidden to use;
If the non-exception of result, APP normal response striking operation is made to execute corresponding function.
Preferably, the air control module is also used to while forbidding APP to use, and keeps APP first according to system record log
The preceding all operation rollbacks executed.
Preferably, the system comprises Android operation system, IOS operating system, Symbian operating systems, Black
Berry operating system, Windows Phone operating system.
Preferably, the terminal installation includes smart phone, tablet computer, smartwatch, Intelligent bracelet.
Compared with prior art, the invention has the following beneficial effects:
Method provided by the present invention and all modules are built upon on systematic difference layer, can not be by mobile whole
Hold the influence of bottom, therefore for the mobile terminal device of different vendor, can compatible with and adaptation.In addition to this, originally
Invent it is practical, can avoid well because children accidentally touching APP due to user bring loss.
Detailed description of the invention
Fig. 1 is the flow diagram that child-resistant of the present invention accidentally touches APP method;
Fig. 2 is the structural block diagram that child-resistant of the present invention accidentally touches APP terminal installation;
Child-resistant misses the partial code schematic diagram for touching APP method to Fig. 3-1 to Fig. 3-4 to realize the present invention.
Specific embodiment
Present invention will now be described in further detail with reference to the embodiments and the accompanying drawings, but embodiments of the present invention are unlimited
In this.
With reference to Fig. 1, Fig. 1 is the flow diagram that child-resistant provided by the present invention accidentally touches APP method, and the child-resistant is accidentally touched
The method of APP can be applied in the terminal installation with touch screen or touch key-press.Wherein, terminal installation includes but is not limited to intelligence
Mobile phone, tablet computer, smartwatch, Intelligent bracelet etc..The operating system of terminal installation may include but be not limited to Android operation
System, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows
Phone operating system etc..As shown in Figure 1, the method that the child-resistant accidentally touches APP executes as follows after user clicks screen
Step:
S1 calling system bottom order obtains position and the striking time of user's striking mobile terminal touch screen, calculates touching
Hit track a little and striking frequency;
In this step, striking operation may include the behaviour such as click, pressing, sliding on touch screen or on touch key-press
Make.Wherein, clicking operation may include clicking, double-click or repeatedly clicking, and pressing operation may include short-press, long-pressing and tool
There is a pressing operation (for example pressing again, flicking) etc. of different pressures value, slide can refer on touch area along linear slide,
Specific symbol etc. can also be slided out.
In this step, it calculates the striking locus of points and the method for striking frequency includes:
It obtains the position of user's striking mobile terminal touch screen and after the striking time, the time point of current striking time is remembered
Record is that the difference of CurrentClickTime, current CurrentClickTime and last time CurrentClickTime are to touch
Frequency is hit, the track of striking point is obtained by the coordinate of current touch location and the coordinate of last touch location.
S2 judges whether the track of striking point or striking frequency abnormal, as the striking locus of points whether disorder or striking frequency
It is whether excessively high;
In this step, judge whether Yi Chang method is for the striking frequency of striking point: if current striking time point
The difference of CurrentClickTime and striking last time, lastClickTime time point is less than the minimum time difference threshold value that system allows
When MIN_CLICK_TIME, it is determined as that striking frequency anomaly, code are arranged as shown in figure 3-1.It calculates on this basis current
Coordinate distance between striking point and last time striking point, if calculated distance is less than minimum allowable range MIN_CLICK_
DISTANCE, then be determined as striking exception, and code is arranged as shown in figure 3-2.Alarm counters warning adds one at this time, when
When the numerical value of alarm counters reaches the value of WARNING_NUM, code is arranged as shown in Fig. 3-3, then global variable AppLock
For true, user's operation APP will be disabled at this time, and code setting is as shown in Figure 3-4.
S21 is if so, pop-up alerts window, and APP is forbidden to use;
In this step, APP is forbidden to use, APP will be not responding to the operation of user within a certain period of time, and the disabling time can be with
It is set as 10 minutes, 20 minutes or 30 minutes etc..While forbidding APP to use, executed APP previously according to system record log
All operation rollbacks crossed make to be judged as abnormal preceding safe handling state back to operation using data.
S22 is if it is not, then make APP normal response striking operation execute corresponding function, APP can continue normal use at this time.
Referring to Fig. 2, Fig. 2 is the structural block diagram that child-resistant provided by the present invention accidentally touches APP terminal installation.Wherein, eventually
End device includes but is not limited to smart phone, tablet computer, smartwatch, Intelligent bracelet etc..The operating system of terminal installation can
Including but not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, BlackBerry are (black
The certain kind of berries) operating system, Windows Phone operating system etc..As shown in Fig. 2, the terminal installation includes striking operation acquisition
Module 1, correction verification module 2 and air control module 3.Wherein, striking operation acquisition module 1 is used for the order of calling system bottom, obtains and uses
The position of family striking mobile terminal touch screen and striking time, and calculate track and the striking frequency of striking point.Correction verification module 2 is used
In the striking locus of points and striking frequency data that receive striking operation acquisition module, track or the striking frequency of striking point are judged
It is whether abnormal.Air control module 3 and correction verification module cooperate, and for the judging result according to correction verification module, execute following operation: if knot
Fruit is abnormal, then pops up warning window, and APP is forbidden to use, if the non-exception of result, makes APP normal response striking operation execution pair
Answer function.
The realization principle of terminal installation as described above, striking operation acquisition module 1 is: the embedded system in mobile terminal
Bottom in system can provide corresponding order, to allow the software on upper layer to get about device hardware information and relevant parameter,
So the correlation method that developer can provide refering to the related development document of corresponding mobile terminal embedded system goes to obtain and correspond to
The attribute of touch event.The data format that different mobile terminal is got is generally different, obtains the mesh of striking operation acquisition module 1
Be exactly the hardware bottom layer Information encapsulation that will acquire into unified data format, facilitate correction verification module 2 to carry out unified processing.
The realization principle of terminal installation as described above, correction verification module 2 is to obtain striking operation acquisition module 1 to collect
User's striking coordinate and occur striking when time point after, striking coordinate is labeled as by correction verification module 2
CurrentClickPosition, the time point are labeled as CurrentClickTime, when next touch event occurs, school
It tests module 2 to compare current CurrentClickTime and history CurrentClickTime, is if both difference is greater than
The threshold value MIN_CLICK_TIME of the minimum time difference of system setting, then compare the coordinate of this striking twice again, if this two coordinate points
Distance difference is less than the minimum allowable range MIN_CLICK_DISTANCE of default, then false-touch prevention detection counter adds one,
If the value of detection counter is greater than or equal to alarm value WARNING_NUM, overall identification AppLock is labeled as true, this
When, trigger air control module 3.
The realization principle of terminal installation as described above, air control module 3 is: when detecting that overall identification AppLock is true
When, then App lock program is triggered, and realize rolling back action, the algorithm principle of App lock program is pop-up warning window, informs and uses
Family App will lock one specific time, and timer starts countdown at this time, and then risk control module can pass through recursive side
Formula obtains all controls of App, and sets false for the operability of all controls of App so that user can not to App into
Row operation, after timer countdown, global variable AppLock is labeled as false, at this point, air control module 3 can be by passing
The mode returned obtains all controls, sets true for the operability of all controls of App, App reverts to normal condition at this time.
If repeatedly triggering air control module 3, the data content modified can be rolled back to by air control module 3 according in User operation log
Before secondary sensitive operation timing node.
Step in the method for the embodiment of the present invention can carry out sequence adjustment, merger or deletion according to actual needs.This
Module or unit or sub-unit in the device of the embodiment of invention can be merged according to actual needs, divide or be deleted.
One of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can to lead to
Program is crossed to instruct the relevant hardware of terminal device and complete, which can be stored in a computer readable storage medium,
The storage medium may include: flash disk, read only memory ROM, random access memory ram, disk or CD etc..
The above, preferable specific embodiment only of the invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Design is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (10)
1. a kind of method that child-resistant accidentally touches APP, is applied to terminal installation, which is characterized in that the described method includes:
Calling system bottom order obtains position and the striking time of user's striking mobile terminal touch screen, calculates striking point
Track and striking frequency;
Judge whether track or the striking frequency of striking point are abnormal;
If so, pop-up warning window, and APP is forbidden to use;
If it is not, APP normal response striking operation is made to execute corresponding function.
2. the method that child-resistant according to claim 1 accidentally touches APP, which is characterized in that while forbidding APP to use, root
All operation rollbacks for having executed APP previously according to system record log.
3. the method that child-resistant according to claim 1 accidentally touches APP, which is characterized in that calculate track and the touching of striking point
The method for hitting frequency includes:
It obtains the position of user's striking mobile terminal touch screen and after the striking time, the time point of current striking time is recorded as
The difference of CurrentClickTime, current CurrentClickTime and last time CurrentClickTime are striking frequency
Rate obtains the track of striking point by the coordinate of current touch location and the coordinate of last touch location.
4. the method that child-resistant according to claim 3 accidentally touches APP, which is characterized in that judge striking point track or
Whether Yi Chang method includes: striking frequency
When next touch event occurs, correction verification module is by current CurrentClickTime and last time
CurrentClickTime is compared, if the difference of current CurrentClickTime and last time CurrentClickTime are big
In the threshold value MIN_CLICK_TIME of the minimum time difference of default, then compare the coordinate of this striking twice again, if this is touched twice
The coordinate distance hit is less than the minimum allowable range MIN_CLICK_DISTANCE of default, then false-touch prevention detection counter adds
One, if the value of detection counter is greater than or equal to alarm value WARNING_NUM, judge track and the striking frequency of current striking point
Rate is abnormal.
5. the method that child-resistant according to claim 1 accidentally touches APP, which is characterized in that the system comprises Android behaviour
Make system, IOS operating system, Symbian operating system, Black Berry operating system, Windows Phone operating system.
6. the method that child-resistant according to claim 1 accidentally touches APP, which is characterized in that the terminal installation includes intelligence
Mobile phone, tablet computer, smartwatch, Intelligent bracelet.
7. the terminal installation that a kind of child-resistant accidentally touches APP characterized by comprising
Striking operate acquisition module, be used for the order of calling system bottom, obtain user's striking mobile terminal touch screen position and
The striking time calculates track and the striking frequency of striking point;
Correction verification module judges striking point for receiving the striking locus of points and striking frequency data of striking operation acquisition module
Whether track or striking frequency are abnormal;
Air control module cooperates with correction verification module, for the judging result according to correction verification module, executes following operation:
If results abnormity, warning window is popped up, and APP is forbidden to use;
If the non-exception of result, APP normal response striking operation is made to execute corresponding function.
8. the terminal installation that child-resistant according to claim 7 accidentally touches APP, which is characterized in that the air control module is also used
In all operation rollbacks for while forbidding APP to use, having executed APP previously according to system record log.
9. the terminal installation that child-resistant according to claim 7 accidentally touches APP, which is characterized in that the system comprises
Android operation system, IOS operating system, Symbian operating system, Black Berry operating system, Windows Phone
Operating system.
10. the terminal installation that child-resistant according to claim 7 accidentally touches APP, which is characterized in that the terminal installation includes
Smart phone, tablet computer, smartwatch, Intelligent bracelet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910415128.7A CN110174992A (en) | 2019-05-17 | 2019-05-17 | A kind of child-resistant accidentally touches the method and terminal installation of APP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910415128.7A CN110174992A (en) | 2019-05-17 | 2019-05-17 | A kind of child-resistant accidentally touches the method and terminal installation of APP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110174992A true CN110174992A (en) | 2019-08-27 |
Family
ID=67691576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910415128.7A Pending CN110174992A (en) | 2019-05-17 | 2019-05-17 | A kind of child-resistant accidentally touches the method and terminal installation of APP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110174992A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901158A (en) * | 2020-07-14 | 2020-11-06 | 广东科徕尼智能科技有限公司 | Intelligent home distribution network fault data analysis method, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699318A (en) * | 2014-01-06 | 2014-04-02 | 联想(北京)有限公司 | Touch response method and touch response device of electronic device |
CN104238794A (en) * | 2013-06-24 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method and terminal for responding to touch screen operation, and mobile terminal |
CN104635985A (en) * | 2015-01-30 | 2015-05-20 | 深圳市中兴移动通信有限公司 | Mistaken touching preventing method and device for mobile terminal |
CN104636054A (en) * | 2013-11-07 | 2015-05-20 | 上海斐讯数据通信技术有限公司 | Method for preventing child from mistakenly operating touch screen device and touch screen device |
CN105242870A (en) * | 2015-10-30 | 2016-01-13 | 小米科技有限责任公司 | False touch method and device of terminal with touch screen |
CN105335062A (en) * | 2015-09-23 | 2016-02-17 | 小米科技有限责任公司 | Information editing operation processing method and apparatus |
CN107491260A (en) * | 2017-07-19 | 2017-12-19 | 苏州三星电子电脑有限公司 | The locking means and unlocking method of application program |
-
2019
- 2019-05-17 CN CN201910415128.7A patent/CN110174992A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238794A (en) * | 2013-06-24 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method and terminal for responding to touch screen operation, and mobile terminal |
CN104636054A (en) * | 2013-11-07 | 2015-05-20 | 上海斐讯数据通信技术有限公司 | Method for preventing child from mistakenly operating touch screen device and touch screen device |
CN103699318A (en) * | 2014-01-06 | 2014-04-02 | 联想(北京)有限公司 | Touch response method and touch response device of electronic device |
CN104635985A (en) * | 2015-01-30 | 2015-05-20 | 深圳市中兴移动通信有限公司 | Mistaken touching preventing method and device for mobile terminal |
CN105335062A (en) * | 2015-09-23 | 2016-02-17 | 小米科技有限责任公司 | Information editing operation processing method and apparatus |
CN105242870A (en) * | 2015-10-30 | 2016-01-13 | 小米科技有限责任公司 | False touch method and device of terminal with touch screen |
CN107491260A (en) * | 2017-07-19 | 2017-12-19 | 苏州三星电子电脑有限公司 | The locking means and unlocking method of application program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901158A (en) * | 2020-07-14 | 2020-11-06 | 广东科徕尼智能科技有限公司 | Intelligent home distribution network fault data analysis method, equipment and storage medium |
CN111901158B (en) * | 2020-07-14 | 2023-07-25 | 广东好太太智能家居有限公司 | Intelligent household distribution network fault data analysis method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095059B (en) | A kind of method and mobile terminal reducing mobile terminal power consumption | |
CN108710469B (en) | Application program starting method, mobile terminal and medium product | |
CN103646208B (en) | Monitoring method and device of eMMC | |
CN102495768B (en) | Instruction processing method and terminal equipment | |
CN102375597B (en) | Signal conditioning package and information processing method | |
CN107422901B (en) | Method and system for preventing mistaken touch of touch screen | |
CN106453911B (en) | Mobile terminal shutdown control method and device and mobile terminal | |
CN110188013A (en) | A kind of log read-write capability test method, device and electronic equipment and storage medium | |
CN106570370A (en) | User identity identification method and device | |
CN109597755A (en) | Detection method, device, storage medium and the electronic equipment that text is shown | |
CN104035702A (en) | Method for preventing intelligent terminal operation error and intelligent terminal | |
CN106791120A (en) | Mobile terminal puts out the control method and device of screen | |
CN114063802B (en) | Touch detection method, device, storage medium, microprocessor and touch control device | |
CN110174992A (en) | A kind of child-resistant accidentally touches the method and terminal installation of APP | |
CN109491825B (en) | Method, device, storage medium and terminal for positioning abnormal starting problem | |
CN109801668A (en) | Data memory device and the operating method being applied thereon | |
CN109876446B (en) | Method and device for detecting occupation distribution of game map and grid in memory | |
CN109002216B (en) | Touch screen repairing method and device and electronic equipment | |
CN106569675B (en) | A kind of prompting frame display methods and device | |
CN106682512B (en) | Method, device and system for preventing program from being modified | |
CN116302744A (en) | Signal collision verification method, device, equipment and storage medium | |
US10168834B2 (en) | Method and device for operating a touch screen | |
CN111459346B (en) | Capacitive touch device and gesture recognition method, chip and storage medium thereof | |
CN112073046B (en) | Detection method, detection device and terminal for key triggering event | |
CN106095690A (en) | The method of testing of application and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190827 |
|
RJ01 | Rejection of invention patent application after publication |