Supercharge Your Innovation With Domain-Expert AI Agents!

Software running state monitoring method and device

A technology of software running state and counter, which is applied in the field of computer security, can solve problems such as lack of versatility, and achieve more versatility and save hardware costs

Active Publication Date: 2015-01-07
SHENZHEN SKYWORTH DIGITAL TECH CO LTD +1
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional hardware watchdog requires a certain hardware cost, and different hardware products need to debug different hardware watchdog circuits, which is not universal

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
  • Software running state monitoring method and device
  • Software running state monitoring method and device
  • Software running state monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] The software running state monitoring method mentioned in the embodiment of the present invention is usually called a watchdog, which is used to monitor the running state of the system. When the system running state does not meet the normal conditions, such as: the program runs into an infinite loop or hardware failure When the system enters a stagnant state, the watchdog will trigger preset actions (such as alarm pop-up windows, system reset, etc...

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 discloses a software running state monitoring method and device. The method comprises the following steps: giving an initial value for a counter; starting the counter to count from the initial value; receiving a counter initialization request submitted by a tested program and initializing the counter initial value to obtain the initial value; periodically detecting whether a counting value of the counter meets a preset threshold requirement; if the counting value of the counter meets the preset threshold requirement, executing a preset processing strategy. By using the method and the device, the running state of a system can be monitored by using a software analog hardware watchdog counter circuit; compared with the conventional method and device for monitoring the running state of the system by using a hardware analog hardware watchdog counter circuit, the method and the device have the advantages that the universality is higher and the hardware cost is saved.

Description

technical field [0001] The invention relates to the technical field of computer security, in particular to a method and device for monitoring the running state of software. Background technique [0002] In a microcomputer system, its work is often interfered by an external electromagnetic field, causing the program to run away and fall into an endless loop. At this time, the system cannot operate normally and affects the reliability of the product. The watchdog is a method of monitoring the running status of the system. The traditional watchdog monitors the operation of the main program by designing a hardware timer circuit, for example, a watchdog chip and an I / O (Input / Output, Input and output interface) pins are connected, and the pin is regularly input high level to this pin through program control to clear the watchdog timer. When the program enters an endless loop state, the watchdog circuit cannot get the signal sent by the microcontroller. When the signal is set, th...

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
IPC IPC(8): G06F11/36
Inventor 姚小伟
Owner SHENZHEN SKYWORTH DIGITAL TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More