Device resetting method based on watchdog

A reset method and watchdog technology, applied to data reset devices, response error generation, etc., can solve problems such as unreasonable reset and service interruption, and achieve the effect of avoiding huge losses and improving user experience

Inactive Publication Date: 2015-11-18
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a watchdog-based device reset method, which solves the problem of unreasonable reset when the device has a "crash" fault in the prior art
Specifically solve the problem that only resetting the CPU does not fundamentally solve the "crash" fault, and only adopting a full-page reset causes business interruption

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
  • Device resetting method based on watchdog
  • Device resetting method based on watchdog

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0025] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...

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 present invention provides a device resetting method based on a watchdog, comprising: periodically sending, by a CPU unit, a feeding-dog signal to a watchdog unit according to a running situation of a CPU peripheral service unit, wherein the watchdog unit comprises a reset counter; receiving, by the watchdog unit, the feeding-dog signal; checking the reset counter when the feeding-dog signal is received in a preset time; determining whether a value of the reset counter is less than 1, if yes, sending a reset signal to the CPU unit, resetting the CPU unit, turning off a watchdog function, and adding 1 to the value of the reset counter; and if no, sending a reset signal separately to the CPU unit and the CPU peripheral service unit, resetting the CPU unit and the CPU peripheral service unit, turning off a watchdog function, and performing zero clearing on the reset counter. A reliable watchdog reset mechanism is provided, to implement proper recovery for various "system halted" situations of an electronic device, thereby preferably avoiding loss caused by direct service interruption of the device.

Description

technical field [0001] The invention relates to the field of electronic device reset, in particular to a watchdog-based device reset method. Background technique [0002] In the field of telecommunications and industry, the reliability of the equipment is highly required. When a "crash" failure occurs, the equipment must be able to automatically find the source of the failure and reset it. [0003] Generally speaking, in order to ensure that the peripheral business is not interrupted to the greatest extent when a device "crashes" occurs, the method of only resetting the CPU is adopted. However, when the "crash" fault is caused by the peripheral service module of the CPU, only resetting the CPU cannot fundamentally solve the problem. If the CPU and CPU peripheral service modules are both reset when the device "crashes", the interruption of peripheral services for a period of time will seriously affect customer experience, and even cause serious losses to carrier-grade equipm...

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 Applications(China)
IPC IPC(8): G06F11/07G06F1/24
Inventor 李建锋
Owner PHICOMM (SHANGHAI) CO 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