Unlock instant, AI-driven research and patent intelligence for your innovation.
Software watchdog, electronic equipment and computer storage medium
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A software watchdog, electronic equipment technology, applied in the field of communication
Inactive Publication Date: 2019-05-03
北京东土军悦科技有限公司
View PDF7 Cites 7 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0006] The invention provides a software watchdog, an electronic device and a computer storage medium, which are used to solve the problem in the prior art that after the application program in the device fails, the fault program cannot be restored in time without affecting the overall use of the device technical problems with the normal operation of the
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0068] Example 1, please refer to figure 1 An embodiment of the present invention provides a software watchdog, which is applied to an electronic device, and multiple application programs run in the electronic device. The working process of the software watchdog is as follows.
[0069] Step 101: Periodically send a feeding message to the hardware watchdog according to the period required by the hardware watchdog circuit.
[0070] Step 102: In the current polling cycle, determine whether each application has executed dog feeding in its corresponding dog feeding cycle.
[0071] See figure 2 , is the system model block diagram of the electronic equipment, which is composed of configuration files, software watchdog, hardware watchdog, application program 1-application program n and network communication module (each module feeds dog communication).
[0072] The configuration file is used to save the name of each application program that the software watchdog needs to monitor, t...
Embodiment 2
[0096] Embodiment two, see image 3 , based on the same inventive concept, an embodiment of the present invention provides a software watchdog for monitoring multiple application programs in an electronic device. The specific implementation of the software watchdog can refer to the description of a part of the embodiment, repeat The place will not be repeated.
[0097] The sending unit 301 is configured to periodically send a feeding message to the hardware watchdog according to the period required by the hardware watchdog circuit;
[0098] A judging unit 302, configured to judge, in the current polling cycle, whether each application has executed dog feeding in its corresponding dog feeding cycle;
[0099] The processing unit 303 is configured to, for any application program, if the any application program does not feed the dog within its corresponding dog feeding period, then determine that the any application program fails, and execute the any application program. A speci...
Embodiment 3
[0118] Embodiment 3. Based on the same inventive concept, an electronic device is provided in an embodiment of the present invention, including: at least one processor, and
[0119] a memory connected to the at least one processor;
[0120] Wherein, the memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the method in Embodiment 1 above by executing the instructions stored in the memory.
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
Login to View More
Abstract
The invention discloses a software watchdog, electronic equipment and a computer storage medium, which are used for solving the technical problem that normal operation of a faulted program cannot be timely recovered under the condition that the overall use of the equipment is not influenced after an application program in the equipment fails in the prior art. The software watchdog comprises the following steps: periodically sending a dog feeding message to the hardware watchdog according to a period required by a hardware watchdog circuit; in the current polling period, judging whether each application program executes dog feeding or not in the corresponding dog feeding period; For any application program, if the application program does not feed the dog in the dog feeding period corresponding to the application program, it is determined that the application program breaks down, the designated action generated when the application program breaks down is executed, and the designated action generated when the application program breaks down is electronic device restarting or any application program restarting.
Description
technical field [0001] The invention relates to the communication field, in particular to a software watchdog, electronic equipment and a computer storage medium. Background technique [0002] During the operation of the device, in order to ensure the normal execution of the device functions, a hardware watchdog is usually used in the device. When the application in the device cannot work normally for some reason, the application will stop feeding the watchdog, resulting in watchdog The reset chip in the watchdog is reset to restart the device, so as to re-run the application program in the device and restore the function of the device. [0003] Because the hardware watchdog method needs to restart the entire device, and for large devices or even ordinary switches, their restart time is relatively long. And with the modularization of software programs, the failure of a certain module often does not trigger the watchdog to kill the action, but at this time the device can no ...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.