CN104331339A - Mobile terminal crash detecting method and system, and mobile terminal - Google Patents

Mobile terminal crash detecting method and system, and mobile terminal Download PDF

Info

Publication number
CN104331339A
CN104331339A CN201410667314.7A CN201410667314A CN104331339A CN 104331339 A CN104331339 A CN 104331339A CN 201410667314 A CN201410667314 A CN 201410667314A CN 104331339 A CN104331339 A CN 104331339A
Authority
CN
China
Prior art keywords
counter
mobile terminal
terminal
reset
baseband processor
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
CN201410667314.7A
Other languages
Chinese (zh)
Other versions
CN104331339B (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.)
Shaobo Medical Technology Shandong Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201410667314.7A priority Critical patent/CN104331339B/en
Publication of CN104331339A publication Critical patent/CN104331339A/en
Application granted granted Critical
Publication of CN104331339B publication Critical patent/CN104331339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal crash detecting method, a mobile terminal crash detecting system and a mobile terminal. The method comprises the following steps of connecting a counter with a signal source providing periodic signals in advance, and adding 1 by using the counter when the signal source sends a periodic signal each time; controlling a baseband processer of the mobile terminal to clear the counter every other a first preset time, ensuring that a microcontroller of the mobile terminal periodically detects whether the counter is cleared, and when a value of the counter detected in a second preset time is beyond a preset threshold value, judging that the mobile terminal has been crashed; when the mobile terminal is judged to be crashed, copying data in an internal memory into a power-failure nonvolatile memory by using the microcontroller, and resetting the mobile terminal; after the mobile terminal restarts, sending the internal memory data saved in the power-failure nonvolatile memory to an appointed terminal. According to the method, the mobile terminal can automatically detect crash and save the internal memory data during crash for a mobile terminal manufacturer to analyze, and convenience is provided for a user.

Description

A kind of mobile terminal deadlock check processing method, system and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of mobile terminal deadlock check processing method, system and mobile terminal.
Background technology
Along with the development of mobile communication technology and improving constantly of people's living standard, the use of various mobile terminals as mobile phone is more and more universal, and mobile phone has become indispensable means of communication in people's life.
Along with the fast development of intelligent mobile terminal, the function of mobile terminal is become stronger day by day, but its software also becomes increasingly complex, and people are using the unavoidable situation occurring crashing in mobile terminal process.When crashing appears in mobile terminal, the most important thing is to retain the data in mobile terminal internal memory at that time, use the first-hand field data of mobile terminal at that time because the data in internal memory are users; In the prior art, when crashing appears in mobile terminal, be often difficult to retain the data in internal memory at that time, very large inconvenience is brought to the analysis of deadlock reason.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of mobile terminal deadlock check processing method, system and mobile terminal.Whether the present invention crashes by detecting mobile terminal voluntarily, and is preserved by internal storage data when crashing, mobile terminal restart after by the internal storage data preserved by Internet Transmission to mobile terminal manufacturer, convenient analyze deadlock reason, provide users with the convenient.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of mobile terminal deadlock check processing method, wherein, comprises step:
S, in advance the counter be arranged in mobile terminal to be connected with providing the signal source of periodically test waveform signal, by described counter, one-period test waveform signal often to be sent to signal source and carrying out counting and add 1;
A, control mobile terminal baseband processor reset counter every first schedule time, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes;
B, to crash when judgement mobile terminal, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal;
C, when after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.
Described mobile terminal deadlock check processing method, wherein, described step S specifically comprises:
S10, the first input end CIN of the counter be arranged in mobile terminal with the signal source crystal oscillator providing periodically test waveform signal to be connected, to control the waveform of described crystal oscillator output fixed frequency;
S11, the clear terminal pin CCLR of counter being connected baseband processor, resetting for carrying out counting, by counter output COUT connection microcontroller and baseband processor;
S12, the control counter rising edge to first input end CIN waveform counts, when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter.
Described mobile terminal deadlock check processing method, wherein, described steps A specifically comprises:
A1, control mobile terminal baseband processor reset counter every first schedule time;
Described in the microcontroller periodic detection of A2, mobile terminal, whether counter resets, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me;
A3, described rising edge look-at-me detected when the interrupt request pin of microcontroller, judge that counter does not reset, and judge that mobile terminal crashes.
Described mobile terminal deadlock check processing method, wherein, described step C specifically comprises:
After C1, mobile terminal are restarted, first baseband processor judges whether counter output is high level, if high level, then judges that restarting mobile terminal deadlock caused;
C2, baseband processor are sent to the terminal of specifying by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network;
C3, control baseband processor are to counter O reset.
Described mobile terminal deadlock check processing method, wherein, described power down nonvolatile memory is FLASH memory, described fixed frequency is set to F, described predetermined threshold is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2.
A kind of mobile terminal deadlock detecting processing system, wherein, system comprises:
Pre-set module, in advance the counter be arranged in mobile terminal being connected with providing the signal source of periodically test waveform signal, by described counter, one-period test waveform signal often being sent to signal source and carrying out counting and add 1;
Reset and detection module, counter is reset every first schedule time for controlling mobile terminal baseband processor, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes;
Copy and reseting module, for when judging that mobile terminal crashes, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal;
Transmission and control module, for when after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.
Described mobile terminal deadlock detecting processing system, wherein, described in pre-set module and specifically comprise:
Connecting and control module, for being connected by the first input end CIN of the counter be arranged in mobile terminal with the signal source crystal oscillator providing periodically test waveform signal, controlling the waveform that described crystal oscillator exports fixed frequency;
Reset unit, for the clear terminal pin CCLR of counter is connected baseband processor, reset for carrying out counting, counter output COUT is connected microcontroller and baseband processor;
Counting unit, count for the rising edge of control counter to first input end CIN waveform, when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter.
Described mobile terminal deadlock detecting processing system, wherein, described clearing and detection module specifically comprise:
Controlling and reset unit, every first schedule time, counter being reset for controlling mobile terminal baseband processor;
Detecting unit, for mobile terminal microcontroller periodic detection described in counter whether reset, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me;
Judging unit, detects described rising edge look-at-me for the interrupt request pin when microcontroller, judges that counter does not reset, and judges that mobile terminal crashes.
Described mobile terminal deadlock detecting processing system, wherein, described in copy and specifically comprise with reseting module:
Judging unit, after restarting for mobile terminal, first baseband processor judges whether counter output is high level, if high level, then judges that restarting mobile terminal deadlock caused;
Transmitting element, is sent to the terminal of specifying for baseband processor by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network;
Reset unit, for controlling baseband processor to counter O reset;
Described power down nonvolatile memory is FLASH memory, and described fixed frequency is set to F, and described predetermined threshold is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2.
A kind of mobile terminal, wherein, comprising: counter, crystal oscillator, microcontroller, baseband processor;
Counter, it comprises the first input pin CIN and clear terminal pin CCLR, an output terminal COUT; Its first input end CIN connects crystal oscillator, and clear terminal pin CCLR connects the counting dump block of baseband processor, and output terminal COUT connects microcontroller and baseband processor; The rising edge of counter to first input end CIN waveform counts, when there is a rising edge at first input end CIN place, counter adds 1, and when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter;
Crystal oscillator, for exporting the waveform of fixed frequency, its fixed frequency is set to FR;
Microcontroller, the interrupt pin IRQ of its linkage counter output terminal COUT, is configured to rising edge and interrupts by interrupt pin IRQ; When interrupt pin IRQ place detects that rising edge interrupts, microcontroller will be judged to be that mobile terminal crashes, then the data Replica in internal memory in power down nonvolatile memory, then send reset signal to the reset pin BRST of baseband controller and carry out reset movement terminal;
Baseband processor, comprises counting dump block, start detection module;
Counting dump block, for resetting every one first count value of the schedule time to counter;
Start detection module, for the output terminal COUT of linkage counter; When mobile terminal-opening, whether the output terminal COUT of start detection module detection counter is high level, if internal storage data when then the last time be kept in advance in power down nonvolatile memory crashes by baseband processor after powering sends to designated terminal; Baseband processor passes through clear terminal pin CCLR to counter O reset simultaneously.The invention provides a kind of mobile terminal deadlock check processing method, system and mobile terminal, method comprises: be connected with providing the signal source of cyclical signal by counter in advance, often sends one-period signal carry out counting and add 1 by counter to signal source; Control mobile terminal baseband processor to reset counter every first schedule time, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then mobile terminal crashes; When judgement mobile terminal crash, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, reset movement terminal; When after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.The present invention can enable mobile terminal deadlock be detected voluntarily and internal storage data when crashing be preserved be supplied to mobile terminal manufacturer to analyze, and provides users with the convenient.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the first preferred embodiment of a kind of mobile terminal deadlock check processing method of the present invention.
Fig. 2 is the functional block diagram of a kind of mobile terminal embody rule embodiment of the present invention.
Fig. 3 is the process flow diagram that the deadlock of the second embody rule embodiment of a kind of mobile terminal deadlock check processing method of the present invention detects.
The functional schematic block diagram of the first preferred embodiment of Fig. 4 a kind of mobile terminal deadlock detecting processing system of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, 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, be not intended to limit the present invention.
First preferred embodiment of a kind of mobile terminal deadlock check processing method of the present invention, as shown in Figure 1, comprises step:
Step S100, in advance counter to be connected with providing the signal source of cyclical signal, by counter, one-period signal often to be sent to signal source and carrying out counting and add 1.
During concrete enforcement, step S100 specifically comprises:
Step S10, the first input end CIN of the counter 100 be arranged in mobile terminal with the signal source crystal oscillator 200 providing periodically test waveform signal to be connected, shown in figure 2, to control the waveform of described crystal oscillator output fixed frequency;
Step S11, the clear terminal pin CCLR of counter is connected baseband processor (with reference to shown in figure 2), for carrying out counting clearing, by counter output COUT connection microcontroller and baseband processor;
Step S12, the control counter rising edge to first input end CIN waveform counts (shown in figure 2), when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter.
Step S200, control mobile terminal baseband processor reset counter every first schedule time, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes.
During concrete enforcement, baseband processor is a vitals of mobile terminal, is equivalent to a protocol processor, is responsible for data processing and the storage of mobile terminal.
During concrete enforcement, step S200 specifically comprises:
Step S201, control mobile terminal baseband processor reset counter every first schedule time;
During concrete enforcement, except running the program of mobile terminal, also run a counting dump block in baseband processor, counting dump block resets every the count value of the first schedule time T1 to counter; The clear terminal pin CCLR of counting dump block linkage counter, counting dump block is reset counter by the clear terminal pin CCLR of counter; The first input end CIN of counter connects crystal oscillator, and crystal oscillator output frequency F is fixed as the waveform of FR; The rising edge of counter to first input end CIN waveform counts, and when there is a rising edge at first input end CIN place, counter adds 1.
Described in the microcontroller periodic detection of step S202, mobile terminal, whether counter resets, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me;
During concrete enforcement, the interrupt pin IRQ linkage counter output terminal COUT of microcontroller, and interrupt pin IRQ is made into rising edge interruption by microcontroller; High level (it is low level that counter does not exceed predetermined threshold output terminal COUT) will be become when Counter Value exceedes predetermined threshold hour counter output terminal COUT.
Step S203, described rising edge look-at-me detected when the interrupt request pin of microcontroller, judge that counter does not reset, and judge that mobile terminal crashes.
During concrete enforcement, if the value of counter exceedes predetermined threshold L, the output terminal of counter changes to high level from low level, produces a rising edge.The interrupt pin IRQ of microcontroller detects this rising edge, learns that mobile terminal now crashes.
Described fixed frequency is set to F, and described predetermined threshold is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2.
Specific embodiment is as follows, if the fixed frequency FR of crystal oscillator is 10Hz, the predetermined threshold CTH of counter is 60, and schedule time T1 is 2 seconds; Then baseband processor can reset counter under normal circumstances to ensure that the count value of counter can not more than CTH(that is 60 every 2 seconds), but the task of 2 seconds clearing counters can not be performed when mobile terminal crashes, cause the value of counter to increase always, if continuous 6 seconds (CTH/FR=60/10Hz=6 second) does not perform the clearing to counter, illustrate that mobile terminal crashes, what deserves to be explained is and stayed the surplus of 4 seconds to be supplied to counting dump block time enough to reset counter here.
Step S300, to crash when judgement mobile terminal, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal.
Step S400, when after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.
During concrete enforcement, described step S400 specifically comprises:
After step S401, mobile terminal are restarted, first baseband processor judges whether counter output is high level, if high level, then judges to restart and caused because mobile terminal crashes;
Step S402, baseband processor are sent to the terminal of specifying by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network;
During concrete enforcement, mobile terminal is by forms such as WIFI or carrier data business, and the internal storage data preserved when crashing is sent to mobile terminal manufacturer, and for mobile terminal, manufacturer analyzes.
Step S403, control baseband processor are to counter O reset.
During concrete enforcement, baseband processor is reset counter by clear terminal pin CCLR.
During concrete enforcement, described power down nonvolatile memory is FLASH memory.
During concrete enforcement, the functional block diagram of a kind of mobile terminal embody rule embodiment of the present invention, as shown in Figure 2, mobile terminal provided by the present invention comprises:
Counter 100, it comprises two input pins CIN, CCLR, an output terminal COUT; Its first input end CIN connects crystal oscillator 200, and clear terminal pin CCLR connects the counting dump block 410 of baseband processor 400, and output terminal COUT connects microcontroller 300 and baseband processor 400; The rising edge of counter 100 pairs of first input end CIN waveforms counts, when there is a rising edge at first input end CIN place, counter 100 adds 1, and when counter 100 value exceedes threshold value CTH, output terminal COUT will become high level (when counter 100 does not exceed threshold value CTH, output terminal COUT is low level); Clear terminal pin CCLR makes the value vanishing of counter 100 for resetting counter 100.
Crystal oscillator 200, for exporting the waveform of fixed frequency, fixed frequency is herein set to FR;
Microcontroller 300, the interrupt pin IRQ of its linkage counter 100 output terminal COUT, is configured to rising edge and interrupts by interrupt pin IRQ; When interrupt pin IRQ place detects that rising edge interrupts, microcontroller 300 will think that mobile terminal crashes, it can the data Replica in internal memory to FLASH(or other power down nonvolatile memories) in, then send reset signal to the reset pin BRST of baseband controller 400 and carry out reset movement terminal;
Baseband processor 400, inside comprises counting dump block 410, start detection module 420;
Counting dump block 410, this module resets every the count value of a set time T1 to counter 100, if counting dump block 410 can normally perform, illustrates that mobile terminal is working properly;
Start detection module 420, the output terminal COUT of this model calling counter 100; When mobile terminal-opening, whether start detection module 420 will the output terminal COUT of detection counter 100 be high level, then illustrate that this start detects that mobile terminal crashes by microcontroller 300 triggered if yes, the internal storage data when last time be kept in advance in FLASH can crash by baseband processor 400 after powering sends to mobile terminal manufacturer by WIFI or carrier data business; Baseband processor 400 can be reset counter 100 by clear terminal pin CCLR simultaneously.
During concrete enforcement, the process flow diagram of the deadlock detection of the second preferred embodiment of a kind of mobile terminal deadlock check processing method of the present invention, as shown in Figure 3, mobile terminal operating procedure is after powering as follows:
Step S1, mobile terminal-opening, start detection module checks whether counter output COUT is high level, if be high level, performs step S2, otherwise performs step S3;
Step S2, illustrate this start be by microcontroller detect mobile terminal crash triggered, internal storage data when being crashed the last time be kept in advance in FLASH memory sends to mobile terminal manufacturer by WIFI or carrier data business; So that mobile terminal manufacturer analyzes; Perform step S3 afterwards;
Step S3, counting dump block reset counter; Perform step S4 afterwards;
Step S4, startup time-out time are the timer of T1 (preferably, T1 is 2 seconds); Perform step S5 afterwards
Step S5, judge that whether timer is overtime, then perform step S6 if yes, if otherwise perform step S5;
Step S6, counting dump block reset counter, and then reset timer performs step S5.
Be more than the execution flow process after mobile terminal-opening, when crashing appears in mobile terminal, when namely overtime CTH/FR counting dump block does not cause counter output pin to become high level from low level to counter O reset, will following steps be performed:
Step K 1, microcontroller will the data Replica in internal memory in FLASH memory (or other power down nonvolatile memories), then send reset signal to the reset pin BRST of baseband controller and carry out reset movement terminal; Perform step S1 afterwards.
As from the foregoing, a kind of mobile terminal deadlock check processing method provided by the invention, detected by mobile terminal self and crash and internal storage data during deadlock is stored on power down nonvolatile memory, and control mobile terminal reset, internal storage data after last time crashes after restarting by mobile terminal sends to mobile terminal manufacturer to analyze by network, provides users with the convenient.
Based on above-described embodiment, present invention also offers a kind of mobile terminal deadlock detecting processing system, as shown in Figure 4.Wherein, system comprises:
Pre-set module 500, in advance the counter be arranged in mobile terminal being connected with providing the signal source of periodically test waveform signal, by described counter, one-period test waveform signal often being sent to signal source and carrying out counting and add 1; As detailed above.
Reset and detection module 510, counter is reset every first schedule time for controlling mobile terminal baseband processor, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes; As detailed above.
Copy and reseting module 520, for when judging that mobile terminal crashes, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal; As detailed above.
Transmission with control module 530, for when judge mobile terminal crash, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, reset movement terminal; As detailed above.
Described mobile terminal deadlock detecting processing system, wherein, described in pre-set module 500 and specifically comprise:
Connecting and control module, for being connected by the first input end CIN of the counter be arranged in mobile terminal with the signal source crystal oscillator providing periodically test waveform signal, controlling the waveform that described crystal oscillator exports fixed frequency; As detailed above.
Reset unit, for the clear terminal pin CCLR of counter is connected baseband processor, reset for carrying out counting, counter output COUT is connected microcontroller and baseband processor; As detailed above.
Counting unit, count for the rising edge of control counter to first input end CIN waveform, when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter; As detailed above.
Described mobile terminal deadlock detecting processing system, wherein, described clearing and detection module 510 specifically comprise:
Controlling and reset unit, every first schedule time, counter being reset for controlling mobile terminal baseband processor; As detailed above.
Detecting unit, for mobile terminal microcontroller periodic detection described in counter whether reset, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me; As detailed above.
Judging unit, detects described rising edge look-at-me for the interrupt request pin when microcontroller, judges that counter does not reset, and judges that mobile terminal crashes; As detailed above.
Described mobile terminal deadlock detecting processing system, wherein, described in copy and specifically comprise with reseting module 530:
Judging unit, after restarting for mobile terminal, first baseband processor judges whether counter output is high level, if high level, then judges that restarting mobile terminal deadlock caused; As detailed above.
Transmitting element, is sent to the terminal of specifying for baseband processor by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network; As detailed above.
Reset unit, for controlling baseband processor to counter O reset; As detailed above.
Above-mentioned any one mobile terminal deadlock detecting processing system, wherein, described power down nonvolatile memory is FLASH memory, described fixed frequency is set to F, described threshold value is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2; As detailed above.
In sum, the invention provides a kind of mobile terminal deadlock check processing method, system and mobile terminal, method comprises: be connected with providing the signal source of cyclical signal by counter in advance, often sends one-period signal carry out counting and add 1 by counter to signal source; Control mobile terminal baseband processor to reset counter every first schedule time, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes; When judgement mobile terminal crashes, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal; When after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.The present invention can enable mobile terminal deadlock be detected voluntarily and internal storage data when crashing be preserved be supplied to mobile terminal manufacturer to analyze, and provides users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. a mobile terminal deadlock check processing method, is characterized in that, comprise step:
S, in advance the counter be arranged in mobile terminal to be connected with providing the signal source of periodically test waveform signal, by described counter, one-period test waveform signal often to be sent to signal source and carrying out counting and add 1;
A, control mobile terminal baseband processor reset counter every first schedule time, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes;
B, to crash when judgement mobile terminal, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal;
C, when after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.
2. mobile terminal deadlock check processing method according to claim 1, it is characterized in that, described step S specifically comprises:
S10, the first input end CIN of the counter be arranged in mobile terminal with the signal source crystal oscillator providing periodically test waveform signal to be connected, to control the waveform of described crystal oscillator output fixed frequency;
S11, the clear terminal pin CCLR of counter being connected baseband processor, resetting for carrying out counting, by counter output COUT connection microcontroller and baseband processor;
S12, the control counter rising edge to first input end CIN waveform counts, when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter.
3. mobile terminal deadlock check processing method according to claim 2, it is characterized in that, described steps A specifically comprises:
A1, control mobile terminal baseband processor reset counter every first schedule time;
Described in the microcontroller periodic detection of A2, mobile terminal, whether counter resets, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me;
A3, described rising edge look-at-me detected when the interrupt request pin of microcontroller, judge that counter does not reset, and judge that mobile terminal crashes.
4. mobile terminal deadlock check processing method according to claim 3, it is characterized in that, described step C specifically comprises:
After C1, mobile terminal are restarted, first baseband processor judges whether counter output is high level, if high level, then judges that restarting mobile terminal deadlock caused;
C2, baseband processor are sent to the terminal of specifying by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network;
C3, control baseband processor are to counter O reset.
5. mobile terminal deadlock check processing method according to claim 4, it is characterized in that, described power down nonvolatile memory is FLASH memory, described fixed frequency is set to F, described predetermined threshold is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2.
6. a mobile terminal deadlock detecting processing system, is characterized in that, system comprises:
Pre-set module, in advance the counter be arranged in mobile terminal being connected with providing the signal source of periodically test waveform signal, by described counter, one-period test waveform signal often being sent to signal source and carrying out counting and add 1;
Reset and detection module, counter is reset every first schedule time for controlling mobile terminal baseband processor, described in the microcontroller periodic detection of mobile terminal, whether counter resets, when detecting that the value of counter exceedes predetermined threshold within second schedule time, then judge that mobile terminal crashes;
Copy and reseting module, for when judging that mobile terminal crashes, then by described microcontroller by the data Replica in internal memory in power down nonvolatile memory, and reset movement terminal;
Transmission and control module, for when after mobile terminal is restarted, the internal storage data be kept in power down nonvolatile memory being sent to the terminal of specifying.
7. mobile terminal deadlock detecting processing system according to claim 6, is characterized in that, described in pre-set module and specifically comprise:
Connecting and control module, for being connected by the first input end CIN of the counter be arranged in mobile terminal with the signal source crystal oscillator providing periodically test waveform signal, controlling the waveform that described crystal oscillator exports fixed frequency;
Reset unit, for the clear terminal pin CCLR of counter is connected baseband processor, reset for carrying out counting, counter output COUT is connected microcontroller and baseband processor;
Counting unit, count for the rising edge of control counter to first input end CIN waveform, when there is a rising edge at first input end CIN place, counter adds 1, when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter.
8. mobile terminal deadlock detecting processing system according to claim 7, it is characterized in that, described clearing and detection module specifically comprise:
Controlling and reset unit, every first schedule time, counter being reset for controlling mobile terminal baseband processor;
Detecting unit, for mobile terminal microcontroller periodic detection described in counter whether reset, if when detecting that the value of counter exceedes predetermined threshold within second schedule time, the output terminal COUT of counter produces a rising edge look-at-me;
Judging unit, detects described rising edge look-at-me for the interrupt request pin when microcontroller, judges that counter does not reset, and judges that mobile terminal crashes.
9. mobile terminal deadlock detecting processing system according to claim 8, is characterized in that, described in copy and specifically comprise with reseting module:
Judging unit, after restarting for mobile terminal, first baseband processor judges whether counter output is high level, if high level, then judges that restarting mobile terminal deadlock caused;
Transmitting element, is sent to the terminal of specifying for baseband processor by restarting the internal storage data that front described microcontroller copies in described power down nonvolatile memory by network;
Reset unit, for controlling baseband processor to counter O reset;
Described power down nonvolatile memory is FLASH memory, and described fixed frequency is set to F, and described predetermined threshold is set to L, and described first schedule time is T1, and described second schedule time is T2, wherein: L/F>T1, L/F=T2.
10. a mobile terminal, is characterized in that, comprising: counter, crystal oscillator, microcontroller, baseband processor;
Counter, it comprises the first input pin CIN and clear terminal pin CCLR, an output terminal COUT; Its first input end CIN connects crystal oscillator, and clear terminal pin CCLR connects the counting dump block of baseband processor, and output terminal COUT connects microcontroller and baseband processor; The rising edge of counter to first input end CIN waveform counts, when there is a rising edge at first input end CIN place, counter adds 1, and when Counter Value exceedes predetermined threshold, output terminal COUT will become high level, and when counter does not exceed predetermined threshold, output terminal COUT is low level; Clear terminal pin CCLR makes the value vanishing of counter for resetting counter;
Crystal oscillator, for exporting the waveform of fixed frequency, its fixed frequency is set to FR;
Microcontroller, the interrupt pin IRQ of its linkage counter output terminal COUT, is configured to rising edge and interrupts by interrupt pin IRQ; When interrupt pin IRQ place detects that rising edge interrupts, microcontroller will be judged to be that mobile terminal crashes, then the data Replica in internal memory in power down nonvolatile memory, then send reset signal to the reset pin BRST of baseband controller and carry out reset movement terminal;
Baseband processor, comprises counting dump block, start detection module;
Counting dump block, for resetting every one first count value of the schedule time to counter;
Start detection module, for the output terminal COUT of linkage counter; When mobile terminal-opening, whether the output terminal COUT of start detection module detection counter is high level, if internal storage data when then the last time be kept in advance in power down nonvolatile memory crashes by baseband processor after powering sends to designated terminal; Baseband processor passes through clear terminal pin CCLR to counter O reset simultaneously.
CN201410667314.7A 2014-11-20 2014-11-20 A kind of mobile terminal deadlock detection process method, system and mobile terminal Active CN104331339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410667314.7A CN104331339B (en) 2014-11-20 2014-11-20 A kind of mobile terminal deadlock detection process method, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410667314.7A CN104331339B (en) 2014-11-20 2014-11-20 A kind of mobile terminal deadlock detection process method, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN104331339A true CN104331339A (en) 2015-02-04
CN104331339B CN104331339B (en) 2017-09-05

Family

ID=52406071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410667314.7A Active CN104331339B (en) 2014-11-20 2014-11-20 A kind of mobile terminal deadlock detection process method, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN104331339B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204954A (en) * 2015-09-17 2015-12-30 广东欧珀移动通信有限公司 Method and terminal for processing dead halt state
CN105225466A (en) * 2015-09-16 2016-01-06 安康鸿天科技开发有限公司 A kind of data transmission and fault detection system
CN105955838A (en) * 2016-05-24 2016-09-21 天脉聚源(北京)传媒科技有限公司 System halt reason check method and device
CN106528353A (en) * 2016-10-08 2017-03-22 惠州Tcl移动通信有限公司 Crash detection method and system based on touch screen and display screen
CN107122032A (en) * 2016-02-25 2017-09-01 西安中兴新软件有限责任公司 Terminal, crash reset control circuit and method
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
CN108089937A (en) * 2017-12-28 2018-05-29 努比亚技术有限公司 Localization method, mobile terminal and storage medium are restarted based on direct Memory Allocation
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium
US9996291B1 (en) * 2016-07-29 2018-06-12 EMC IP Holding Company LLC Storage system with solid-state storage device having enhanced write bandwidth operating mode
CN109582081A (en) * 2018-11-21 2019-04-05 Tcl移动通信科技(宁波)有限公司 Mobile terminal clock controls processing method, mobile terminal and storage medium
CN110083489A (en) * 2019-04-22 2019-08-02 惠州Tcl移动通信有限公司 Mobile terminal collapses processing method, mobile terminal and storage medium
CN112783690A (en) * 2019-11-08 2021-05-11 上海博泰悦臻电子设备制造有限公司 Crash processing method and device
CN114064132A (en) * 2021-09-30 2022-02-18 中科创达软件股份有限公司 System downtime recovery method, device, equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115499A1 (en) * 2001-12-17 2003-06-19 Inventec Corporation Electronic data exchange platform fault warning system and method and a file reception/sending record data structure therefor
CN2676319Y (en) * 2004-02-02 2005-02-02 傅海阳 Detection facility for automotive vehicle violation of jumping the red light
CN1855960A (en) * 2005-04-21 2006-11-01 中兴通讯股份有限公司 Automatic testing tool and method for MGCP mass traffic analog calling
CN101853196A (en) * 2010-04-21 2010-10-06 中兴通讯股份有限公司 Method and device recording exceptional data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115499A1 (en) * 2001-12-17 2003-06-19 Inventec Corporation Electronic data exchange platform fault warning system and method and a file reception/sending record data structure therefor
CN2676319Y (en) * 2004-02-02 2005-02-02 傅海阳 Detection facility for automotive vehicle violation of jumping the red light
CN1855960A (en) * 2005-04-21 2006-11-01 中兴通讯股份有限公司 Automatic testing tool and method for MGCP mass traffic analog calling
CN101853196A (en) * 2010-04-21 2010-10-06 中兴通讯股份有限公司 Method and device recording exceptional data

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225466A (en) * 2015-09-16 2016-01-06 安康鸿天科技开发有限公司 A kind of data transmission and fault detection system
CN105204954B (en) * 2015-09-17 2019-02-22 Oppo广东移动通信有限公司 A kind of method and terminal handling crash state
CN105204954A (en) * 2015-09-17 2015-12-30 广东欧珀移动通信有限公司 Method and terminal for processing dead halt state
CN107122032A (en) * 2016-02-25 2017-09-01 西安中兴新软件有限责任公司 Terminal, crash reset control circuit and method
CN105955838A (en) * 2016-05-24 2016-09-21 天脉聚源(北京)传媒科技有限公司 System halt reason check method and device
US9996291B1 (en) * 2016-07-29 2018-06-12 EMC IP Holding Company LLC Storage system with solid-state storage device having enhanced write bandwidth operating mode
CN106528353A (en) * 2016-10-08 2017-03-22 惠州Tcl移动通信有限公司 Crash detection method and system based on touch screen and display screen
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
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium
CN108089937A (en) * 2017-12-28 2018-05-29 努比亚技术有限公司 Localization method, mobile terminal and storage medium are restarted based on direct Memory Allocation
CN109582081A (en) * 2018-11-21 2019-04-05 Tcl移动通信科技(宁波)有限公司 Mobile terminal clock controls processing method, mobile terminal and storage medium
CN110083489A (en) * 2019-04-22 2019-08-02 惠州Tcl移动通信有限公司 Mobile terminal collapses processing method, mobile terminal and storage medium
CN112783690A (en) * 2019-11-08 2021-05-11 上海博泰悦臻电子设备制造有限公司 Crash processing method and device
CN114064132A (en) * 2021-09-30 2022-02-18 中科创达软件股份有限公司 System downtime recovery method, device, equipment and system

Also Published As

Publication number Publication date
CN104331339B (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN104331339A (en) Mobile terminal crash detecting method and system, and mobile terminal
CN108304275A (en) A kind of method and apparatus of detection Android system application layer exception
CN102306132A (en) Mobile terminal and method for waking up mobile terminal
CN103412636A (en) Power saving system and power saving method of intelligent terminal
CN103543344B (en) A kind of method solving capacitance plate inefficacy and capacitance plate abnormity detecting circuit
CN109738719B (en) Electrostatic discharge ESD detection method and related product
CN105898027A (en) Method and device for preventing overtemperature of mobile phone under dormant state
CN103744727A (en) Service starting method, device and intelligent equipment
CN109582506B (en) Touch screen failure recovery method and device, host equipment and touch system
CN105930229A (en) Method and system for monitoring system update based on mobile terminals
CN105610915A (en) Data reporting method and system
CN103106040A (en) Mobile terminal operation method and device using the same
CN104536680A (en) Mobile terminal operation trigger method and system based on touch screen operation time
CN105677141A (en) Application program management method and terminal
CN101923480B (en) Method and device for starting terminal equipment
CN108391261B (en) Bluetooth search detection method, detection device, storage medium and mobile terminal
CN103294583A (en) Terminal screen control method and mobile terminal
CN103870319B (en) Information processing method, device and electronic equipment
CN102968237A (en) Method and device for processing capacitive touch screen
CN104023147A (en) Method and system for facilitating stable dormancy of mobile terminal
CN104102534A (en) Mobile terminal and method for preventing false touch of touch screen
US9570922B2 (en) Charging method and electronic device
CN106941566B (en) Alarm clock setting method and device of mobile terminal
CN106101406B (en) Shutdown alarm triggering processing method based on mobile terminal and mobile terminal
KR20140003973A (en) Method for charging battery and an electronic device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211202

Address after: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee after: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221121

Address after: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong

Patentee after: Weihai Shenzhou Information Technology Research Institute Co.,Ltd.

Address before: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee before: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240111

Address after: 288-e5 Shanhai Road, chucun Town, torch hi tech Industrial Development Zone, Weihai City, Shandong Province, 264200

Patentee after: Shaobo medical technology (Shandong) Co.,Ltd.

Address before: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong

Patentee before: Weihai Shenzhou Information Technology Research Institute Co.,Ltd.