Watchdog fault-tolerant processing method and mobile terminal

A mobile terminal and watchdog technology, applied in the field of communication, can solve the problems of high cost of system reset and restart, inability to execute the dog feeding task, and time-consuming problems, so as to simplify the fault-tolerant recovery process, shorten the time, and avoid reset and restart Effect

Active Publication Date: 2019-07-12
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in some cases, it is usually because a single abnormal process occupies the CPU for a long time that the dog feeding task cannot be executed. At this time, the cost of resetting and restarting the entire system is high and time-consuming

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Watchdog fault-tolerant processing method and mobile terminal
  • Watchdog fault-tolerant processing method and mobile terminal
  • Watchdog fault-tolerant processing method and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] The embodiment of the present invention pre-sets the blacklist of the process, and the blacklist includes one or more specified abnormal processes; when the counter of the watchdog is detected to be overtime, the timeout is closed according to the blacklist abnormal process, and reset the counter; thereby realizing the fault-tolerant processing of a single abnormal process, trying to recover the system by closing a single abnormal process, avoiding the costly reset and restart of the whole machine, and effectively simplifying the watchdog to The fault-tolerant recovery process of abnormal pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable to the technical field of communication and provides a watchdog fault-tolerant processing method and a mobile terminal. The method comprises the following steps of: setting a blacklist of a process, wherein the blacklist comprises one or more appointed abnormal processes; and when detecting that a counter of a watchdog is timed out, closing the abnormal processes, which cause timeout, according to the blacklist, and resetting the counter. According to the watchdog fault-tolerant processing method and the mobile terminal, provided by the invention, fault-tolerant processing of the single abnormal process is realized, and whole machine resetting and restart with relatively high cost are avoided; and a fault-tolerant recovering process of the abnormal processes by the watchdog is effectively simplified and fault-tolerant recovering time is shortened.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a watchdog fault-tolerant processing method and a mobile terminal. Background technique [0002] At present, the watchdog is an abnormal detection method commonly used in embedded systems and mobile terminals, and is used to detect the situation that software or hardware does not work for a long time. The existing watchdog usually consists of an external counter, reset circuit and a dog feeding task. The dog feeding task means that the CPU periodically sends a reset instruction to the counter according to the count value of the timer, so as to reset the counter. When the counter has not been reset for a long time, it will reach the preset threshold, and the watchdog will generate a timeout interrupt, record the abnormal process and reset and restart the entire system during the terminal processing. [0003] However, in some cases, it is usually because a singl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/07
CPCG06F11/0757G06F11/0793
Inventor 范辉
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products