CN106528353A - Crash detection method and system based on touch screen and display screen - Google Patents
Crash detection method and system based on touch screen and display screen Download PDFInfo
- Publication number
- CN106528353A CN106528353A CN201610876117.5A CN201610876117A CN106528353A CN 106528353 A CN106528353 A CN 106528353A CN 201610876117 A CN201610876117 A CN 201610876117A CN 106528353 A CN106528353 A CN 106528353A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- screen
- detecting
- display screen
- mobile terminal
- 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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a crash detection method and system based on a touch screen and a display screen. The method comprises the following steps: recording, storing and detecting input times of the touch screen by a counter, and adding 1 to the counter when input on the touch screen is detected; resetting the counter when change of the display content of the display screen is detected; and judging that a mobile terminal crashes when a count value of the counter exceeds a set threshold value. Through adoption of the crash detection method and system, the problem that a reset operation is implemented continuously on a watchdog timer through a special process to discover crash of the mobile terminal in the prior art is solved; resources are saved for the system; and the running efficiency of the system is increased.
Description
Technical field
A kind of the present invention relates to technical field of mobile terminals, more particularly to deadlock inspection based on touch screen and display screen
Survey method and system.
Background technology
With developing rapidly for mobile terminal technology, the such as intelligent mobile terminal such as mobile phone, flat board has been come into more and more at present
In many ordinary people families;And mobile terminal function is complicated at present, and user can be from network each germplasm downloaded and installed
Uneven application software is measured, therefore, deadlock can be run into using in unavoidably in mobile terminal;For deadlock, mobile terminal is needed
Real-time detection is wanted, and needs to restart mobile terminal in time or by the modes such as display lamp being lighted to user when deadlock is detected
Prompting is sent, so that mobile terminal returns to normal condition as early as possible.In the prior art, for the detection crashed is by starting
One WatchDog Timer, is then constantly resetted to WatchDog Timer by a process, if the process is not right in time
Triggering interruption prompting is crashed by the then WatchDog Timer time-out that WatchDog Timer resetted.Said process is needed constantly rear
Platform makees the operation that resets to WatchDog Timer, occupies the resource of some systems to a certain extent.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of to be based on touch screen
With the deadlock detection method and system of display screen.Need by opening a special process to hold in aiming to solve the problem that prior art
The operation that row constantly resets to WatchDog Timer is crashed with finding mobile terminal.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of deadlock detection method based on touch screen and display screen, wherein, including:
Step A, arranges the number of times with a counter records storage detection touch screen input, will when detecting touch screen and being input into
Enumerator adds one;
Step B, when detecting display screen display content and changing by the counter O reset;
Step C, when the count value for detecting enumerator exceedes setting thresholding, judges that mobile terminal crashes.
The deadlock detection method based on touch screen and display screen, wherein, also includes:
Step D, performs when judging that mobile terminal crashes and restarts mobile terminal operation.
The deadlock detection method based on touch screen and display screen, wherein, step A also includes:
Detection touch screen interrupts the change of foot, adds one when touch screen interrupts when foot is produced and once interrupted by enumerator.
The deadlock detection method based on touch screen and display screen, wherein, step B also includes:
The change of detection screen data foot, when screen data foot produces one-shot change by counter O reset.
A kind of deadlock detecting system based on touch screen and display screen, wherein, including:
Setup module, for arranging the number of times being input into counter records storage detection touch screen, when detecting touch screen
Enumerator is added one during input;
Detection module, for when detecting display screen display content and changing by the counter O reset;
Control module, for when the count value for detecting enumerator exceedes setting thresholding, judging that mobile terminal crashes.
The deadlock detecting system based on touch screen and display screen, wherein, also includes:
Restart performing module, mobile terminal operation is restarted for performing when judging that mobile terminal crashes.
The deadlock detecting system based on touch screen and display screen, wherein, the setup module includes:
First detector unit, for detecting that touch screen interrupts the change of foot, when touch screen interrupts meter when foot produces once interruption
Number device adds one.
The deadlock detecting system based on touch screen and display screen, wherein, the detection module includes:
Second detector unit, for detecting the change of screen data foot, will meter when screen data foot produces one-shot change
Number device resets.
Deadlock detection method and system based on touch screen and display screen provided by the present invention, methods described is by using one
Enumerator is added one when detecting touch screen and being input into by the number of times of individual counter records storage detection touch screen input;Work as detection
By the counter O reset when changing to display screen display content;When the count value for detecting enumerator exceedes setting thresholding
When, judge that mobile terminal crashes.It is constantly right to perform by opening a special process so as to solve to need in prior art
The operation that WatchDog Timer resets is crashed with finding mobile terminal;For system save resources, the operational efficiency of system is improved.
Description of the drawings
Fig. 1 is the present invention based on touch screen and the flow chart of the preferred embodiment of the deadlock detection method of display screen.
Fig. 2 is the present invention based on touch screen and the principle of work and power frame of the preferred embodiment of the deadlock detecting system of display screen
Figure.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that specific embodiment described herein is only to explain the present invention, and without
It is of the invention in limiting.
Fig. 1 is referred to, Fig. 1 is the present invention based on touch screen and the knot of the preferred embodiment of the deadlock detection method of display screen
Structure schematic diagram.As shown in figure 1, a kind of deadlock detection method based on touch screen and display screen provided in an embodiment of the present invention, bag
Include following steps:
Step S100, arranges the number of times of a counter records storage detection touch screen input, when touch screen input is detected
Enumerator plus one.
In the embodiment of the present invention, need to arrange an enumerator, for counting the number of times of touch screen input, more specifically, using
Interrupt the number of times that foot produces interruption in touch screen is counted.By arranging the secondary of a counter records storage detection touch screen input
Enumerator is added one when detecting touch screen and being input into by number.
Wherein, when touch screen is detected, detect that line connects the interruption foot of touch screen, when touch screen detects touch, its
Interrupt notification system reading touch information can be produced by interrupting foot, and the interruption foot has been also connected to touch screen check system,
Will be detected by touch screen detection module when the interruption foot of touch screen produces interruption each time, then touch screen detection module
Jia one by enumerator work to operate.
Step S200, when detecting display screen display content and changing by the counter O reset.
In the present embodiment, will detect the counter O reset when content that display screen shows changes.
The data pin of one connecting line line display screen, when screen content is detected, is set, it is possible to display screen and system
Between be connected with a plurality of data pin video data passed to into display screen for system, only need to arbitrarily take a data foot i.e. herein
Can;When video data is sent to display screen by system, data pin can produce height change, if now data pin generates height
Low change will be detected simultaneously, then will make clear operation by counter O reset module to enumerator.
Step S300, when the count value for detecting enumerator exceedes setting thresholding, judges that mobile terminal crashes.
I.e. in the present invention, by arranging an enumerator, recording user operation touch screen number of times is touched when recorded user operation
The number of times for touching screen input reaches predetermined threshold such as 5 times, and the content that display screen shows all does not change, then judge mobile whole
Crash at end.
Step S400, performs when judging that mobile terminal crashes and restarts mobile terminal operation.
When mobile terminal deadlock is judged, then mobile terminal is restarted in control.
Wherein, step S100 is specific as follows:
Detection touch screen interrupts the change of foot, adds one when touch screen interrupts when foot is produced and once interrupted by enumerator.
Wherein, the step 200 is specifically included:
The change of detection screen data foot, when screen data foot produces one-shot change by counter O reset.
Therefore, a kind of deadlock detection method based on touch screen and display screen that the present invention is provided.Solve existing
Need by opening a special process to perform the operation for constantly resetting WatchDog Timer to find movement in technology
Terminal crash, save can resource loss, energy-conservation electric energy provides users with the convenient.
Fig. 2 is referred to, it is a kind of former with the function of the deadlock detecting system of display screen based on touch screen that Fig. 2 show the present invention
Reason block diagram, as shown in Fig. 2 the system includes:
Setup module 210, for arranging the number of times being input into counter records storage detection touch screen, when detecting touch
Enumerator is added one during screen input;As detailed above.
Detection module 220, for when detecting display screen display content and changing by the counter O reset;Specifically
As mentioned above.
Control module 230, for when the count value for detecting enumerator exceedes setting thresholding, judging that mobile terminal is dead
Machine;As detailed above.
The deadlock detecting system based on touch screen and display screen, wherein, also includes:
Restart performing module, mobile terminal operation is restarted for performing when judging that mobile terminal crashes;As detailed above.
The deadlock detecting system based on touch screen and display screen, wherein, the setup module includes:
First detector unit, for detecting that touch screen interrupts the change of foot, when touch screen interrupts meter when foot produces once interruption
Number device adds one;As detailed above.
The deadlock detecting system based on touch screen and display screen, wherein, the detection module includes:
Second detector unit, for detecting the change of screen data foot, will meter when screen data foot produces one-shot change
Number device resets;As detailed above.
In sum, the deadlock detection method and system based on touch screen and display screen provided by the present invention, the side
Enumerator is added when detecting touch screen and being input into by method by the number of times with a counter records storage detection touch screen input
One;When detecting display screen display content and changing by the counter O reset;When the count value for detecting enumerator surpasses
When crossing setting thresholding, judge that mobile terminal crashes.So as to solve to need in prior art by open a special process come
Perform the operation for constantly resetting WatchDog Timer to crash to find mobile terminal;For system save resources, system is improved
Operational efficiency.
In sum, a kind of deadlock detection method based on touch screen and display screen of the present invention, methods described is by using one
Enumerator is added one when detecting touch screen and being input into by the number of times of individual counter records storage detection touch screen input;Work as detection
By the counter O reset when changing to display screen display content;When the count value for detecting enumerator exceedes setting thresholding
When, judge that mobile terminal crashes.It is constantly right to perform by opening a special process so as to solve to need in prior art
The operation that WatchDog Timer resets is crashed with finding mobile terminal;For system save resources, the operational efficiency of system is improved.
Certainly, one of ordinary skill in the art will appreciate that all or part of flow process in realizing above-described embodiment method,
Can be by computer program to instruct related hardware(Such as processor, controller etc.)To complete, described program can be stored
In the storage medium of an embodied on computer readable, the program is may include upon execution such as the flow process of above-mentioned each method embodiment.Its
Described in storage medium can be for memorizer, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, and for those of ordinary skills, can
To be improved according to the above description or be converted, all these modifications and variations should all belong to the guarantor of claims of the present invention
Shield scope.
Claims (8)
1. a kind of deadlock detection method based on touch screen and display screen, it is characterised in that include:
Step A, arranges the number of times with a counter records storage detection touch screen input, will when detecting touch screen and being input into
Enumerator adds one;
Step B, when detecting display screen display content and changing by the counter O reset;
Step C, when the count value for detecting enumerator exceedes setting thresholding, judges that mobile terminal crashes.
2. according to claim 1 based on touch screen and the deadlock detection method of display screen, it is characterised in that also include:
Step D, performs when judging that mobile terminal crashes and restarts mobile terminal operation.
3. according to claim 1 based on touch screen and the deadlock detection method of display screen, it is characterised in that step A
Also include:
Detection touch screen interrupts the change of foot, adds one when touch screen interrupts when foot is produced and once interrupted by enumerator.
4. according to claim 1 based on touch screen and the deadlock detection method of display screen, it is characterised in that step B
Also include:
The change of detection screen data foot, when screen data foot produces one-shot change by counter O reset.
5. a kind of deadlock detecting system based on touch screen and display screen, it is characterised in that include:
Setup module, for arranging the number of times being input into counter records storage detection touch screen, when detecting touch screen
Enumerator is added one during input;
Detection module, for when detecting display screen display content and changing by the counter O reset;
Control module, for when the count value for detecting enumerator exceedes setting thresholding, judging that mobile terminal crashes.
6. according to claim 5 based on touch screen and the deadlock detecting system of display screen, it is characterised in that also include:
Restart performing module, mobile terminal operation is restarted for performing when judging that mobile terminal crashes.
7. according to claim 5 based on touch screen and the deadlock detecting system of display screen, it is characterised in that the setting mould
Block includes:
First detector unit, for detecting that touch screen interrupts the change of foot, when touch screen interrupts meter when foot produces once interruption
Number device adds one.
8. according to claim 5 based on touch screen and the deadlock detecting system of display screen, it is characterised in that the detection mould
Block includes:
Second detector unit, for detecting the change of screen data foot, will meter when screen data foot produces one-shot change
Number device resets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610876117.5A CN106528353A (en) | 2016-10-08 | 2016-10-08 | Crash detection method and system based on touch screen and display screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610876117.5A CN106528353A (en) | 2016-10-08 | 2016-10-08 | Crash detection method and system based on touch screen and display screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528353A true CN106528353A (en) | 2017-03-22 |
Family
ID=58333033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610876117.5A Pending CN106528353A (en) | 2016-10-08 | 2016-10-08 | Crash detection method and system based on touch screen and display screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528353A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107132974A (en) * | 2017-05-16 | 2017-09-05 | 努比亚技术有限公司 | Terminal freezes screen processing method, terminal and computer-readable recording medium |
CN107608811A (en) * | 2017-08-31 | 2018-01-19 | 河源中光电通讯技术有限公司 | A kind of deadlock detecting system based on touch-screen and display screen |
CN107728839A (en) * | 2017-09-28 | 2018-02-23 | 努比亚技术有限公司 | Freeze screen monitoring solution method, mobile terminal and computer-readable recording medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615374A (en) * | 2009-07-15 | 2009-12-30 | 广东威创视讯科技股份有限公司 | A kind of tableaux device and its implementation of demonstration time controlled |
CN102156584A (en) * | 2011-04-19 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Touch screen terminal and method for solving deadlock of touch screen |
CN104331339A (en) * | 2014-11-20 | 2015-02-04 | 惠州Tcl移动通信有限公司 | Mobile terminal crash detecting method and system, and mobile terminal |
US9298556B2 (en) * | 2013-04-24 | 2016-03-29 | Nintendo Co., Ltd. | Graphics processing watchdog active reset |
CN105677225A (en) * | 2016-01-12 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Interface refreshing method and system |
-
2016
- 2016-10-08 CN CN201610876117.5A patent/CN106528353A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615374A (en) * | 2009-07-15 | 2009-12-30 | 广东威创视讯科技股份有限公司 | A kind of tableaux device and its implementation of demonstration time controlled |
CN102156584A (en) * | 2011-04-19 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Touch screen terminal and method for solving deadlock of touch screen |
US9298556B2 (en) * | 2013-04-24 | 2016-03-29 | Nintendo Co., Ltd. | Graphics processing watchdog active reset |
CN104331339A (en) * | 2014-11-20 | 2015-02-04 | 惠州Tcl移动通信有限公司 | Mobile terminal crash detecting method and system, and mobile terminal |
CN105677225A (en) * | 2016-01-12 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Interface refreshing method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107132974A (en) * | 2017-05-16 | 2017-09-05 | 努比亚技术有限公司 | Terminal freezes screen processing method, terminal and computer-readable recording medium |
CN107608811A (en) * | 2017-08-31 | 2018-01-19 | 河源中光电通讯技术有限公司 | A kind of deadlock detecting system based on touch-screen and display screen |
CN107608811B (en) * | 2017-08-31 | 2021-07-30 | 河源中光电通讯技术有限公司 | Crash detection system based on touch screen and display screen |
CN107728839A (en) * | 2017-09-28 | 2018-02-23 | 努比亚技术有限公司 | Freeze screen monitoring solution method, mobile terminal and computer-readable recording medium |
CN107728839B (en) * | 2017-09-28 | 2021-05-21 | 努比亚技术有限公司 | Screen freezing monitoring solution method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104331339B (en) | A kind of mobile terminal deadlock detection process method, system and mobile terminal | |
EP3316136B1 (en) | Method and device for evaluating system fluency, and ue | |
KR101892315B1 (en) | Touch event anticipation in a computing device | |
CN103294161B (en) | Electronic device | |
US20180300529A1 (en) | Electronic device and detection method | |
US9069463B2 (en) | Touch apparatus and operating method thereof | |
WO2017198025A1 (en) | Method, apparatus for processing power consumption of an application programme, calculation device and machine readable storage medium | |
CN106528353A (en) | Crash detection method and system based on touch screen and display screen | |
CN109738719B (en) | Electrostatic discharge ESD detection method and related product | |
TWI528173B (en) | Method, apparatus and computer program product for debugging and error prevention | |
JP2015026197A (en) | Job delaying detection method, information processor and program | |
WO2020038089A1 (en) | Terminal, method and device for performing operations on terminal, and storage medium | |
CN111897686A (en) | Server cluster hard disk fault processing method and device, electronic equipment and storage medium | |
CN110399153A (en) | Method for upgrading system, device, terminal and computer readable storage medium | |
CN105975304A (en) | Restarting method and apparatus for mobile device | |
CN104077050A (en) | Terminal operating method | |
US20240152439A1 (en) | Detection Method and Electronic Device | |
CN109582505B (en) | BIOS option default value recovery system, method and device | |
CN102810072B (en) | Computer system and restarting method thereof | |
CN109873980A (en) | Video monitoring method, device and terminal device | |
CN111625174B (en) | Touch screen control method and device, electronic equipment and storage medium | |
CN113190427A (en) | Caton monitoring method and device, electronic equipment and storage medium | |
CN113157504A (en) | Touch screen equipment testing method and touch screen equipment testing system | |
CN111913743A (en) | Data processing method and device | |
CN113849336B (en) | BMC time management method, system, device and computer medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |