Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for monitoring software running state

A technology of software running status and running status, which is applied in the direction of instruments, electrical digital data processing, calculation, etc., can solve the problem of not being able to effectively judge the process to which the thread belongs to hang, and achieve the effect of ensuring normal operation

Active Publication Date: 2011-03-30
NANJING ZNV SOFTWARE CO LTD
View PDF6 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method for monitoring the running state of the software in view of the defect that the existing method cannot effectively judge that the thread fails and the process to which it belongs is suspended

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
  • Method for monitoring software running state
  • Method for monitoring software running state
  • Method for monitoring software running state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with specific embodiments and accompanying drawings.

[0035] see figure 1 , the core idea of ​​the present invention is to create a watchdog monitoring program and a common dynamic library for thread monitoring; the watchdog monitoring program and the monitored application program realize inter-process communication by sharing threads to monitor the general dynamic library.

[0036] Among them, the monitored application is mainly responsible for registering with the general dynamic library for thread monitoring when starting, and regularly updating its own running status information, including the running status information of all its internal threads.

[0037] Thread monitoring general dynamic library, which provides a communication interface for the watchdog monitoring program and the monitored application program to save the registration information of each thread (including thread name, ...

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 method for monitoring software running state, which comprises the steps that: a watchdog monitoring program and a thread monitoring general dynamic bank are established; a monitored application program loads the thread monitoring general dynamic bank after starting, all threads are registered in the thread monitoring general dynamic bank respectively, and the thread monitoring general dynamic bank stores registration information; when the monitored application program runs, the thread monitoring general dynamic bank monitors the current running states of all the threads in real time and updates corresponding running state maintenance information accordingly; and the thread monitoring general dynamic bank queries the running state maintenance information of all the threads regularly and accordingly determines the threads with faults and notifies the watchdog monitoring program of process information to which the threads with faults belong, and the watchdog monitoring program re-starts the process. When the method is adopted, the problem of process suspension caused by the faults of the internal threads can be detected accurately, and the normal working of the monitored application program can be effectively guaranteed.

Description

technical field [0001] The invention belongs to the field of watchdog monitoring, and in particular relates to a method for real-time monitoring of the running state of software and automatically restoring it to a normal running state. Background technique [0002] With the development of computer software technology, some computer software must be required to run for a long time due to the particularity and importance of its own functions. If the software exits due to a defect in the software itself or other abnormal reasons, the software needs to be automatically restarted without manual intervention to ensure its continuous operation. At present, there is no effective method to monitor and restore the running status of the specified software. One method usually used is to add an automatic restart function to the specified software itself when an exception occurs, that is, the software itself captures the abnormality generated during operation, and then executes the syste...

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/00
Inventor 侯腾蛟李庆军蔡洪斌何恒攀黄巍
Owner NANJING ZNV SOFTWARE CO LTD
Features
  • Generate Ideas
  • 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