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

Method and system for monitoring process

A technology for processes and processes, applied in the direction of multi-programming devices, etc., can solve the problems that the monitoring process cannot diagnose abnormal exit, the analysis and positioning work is difficult to carry out, and the reason for abnormal exit cannot be diagnosed, so as to facilitate positioning and analysis and avoid abnormal spread. , use flexible effects

Active Publication Date: 2009-09-23
HUAWEI TECH CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2. If a process is forced to exit abnormally due to illegal address access (illegal address access), it is too late to record the abnormal reason to the shared resource area, so that the monitoring process cannot diagnose the specific reason for its abnormal exit
[0014] 2. The parent process can only detect part of the abnormal exit reasons of the child process, but cannot diagnose all abnormal exit reasons (address access illegal, etc.), which will make subsequent analysis and positioning work difficult to carry out
[0023] 2. Binding the abnormal exit detection method of the process with the specific handshake communication platform and shared memory makes the method inflexible;
[0024] 3. This method is difficult to monitor the abnormal exit of the process due to access to illegal addresses, because when an ordinary process tries to modify the content of the write-protected address space and an exception occurs, the ordinary process will immediately write the corresponding abnormal information to the shared memory area in the future. Abnormal exit, since the shared memory area does not have relevant information about the abnormal exit of the ordinary process, the monitoring process will not know exactly the reason for the abnormal exit of the ordinary process

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 and system for monitoring process
  • Method and system for monitoring process
  • Method and system for monitoring process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention provides a method and system for monitoring a process. In this embodiment of the present invention, when a child process exits, the system kernel sends a designated signal carrying information such as a process identification to the parent process of the child process, and the parent process identifies the exited child process and exits according to the received designated signal. Therefore, the parent process can monitor and detect the abnormal exit of the child process in real time, and carry out corresponding exception processing.

[0048] The method of the present invention requires the operating system of the computer on the product or system to support the following mechanism: when the child process exits, a designated signal is actively sent to the parent process to notify the parent process that a child process exits at present. The current LINUX operating system supports this mechanism.

[0049]The processing flow of Embodiment 1 of the m...

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 method and system for monitoring a process. The method mainly includes: A. monitoring the heartbeat of the process in the system, and the process regularly reports the heartbeat message; B. according to the heartbeat message reported by the process The condition identifies an abnormal process. The system mainly includes: a unit for monitoring the heartbeat of the processes in the system, and the process regularly reports heartbeat messages to the unit for monitoring the heartbeat of the processes in the system; The condition of the message identifies the abnormal unit of process. By using the method and system of the present invention, the abnormal exit of the process can be monitored in real time, and various forms of sub-process exit conditions and corresponding abnormal exit reasons can be monitored.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and system for monitoring a process. Background technique [0002] During the development and operation of various computer or communication products and systems, it is often encountered that the process exits abnormally, or the process falls into an infinite loop. If there is no corresponding abnormality detection mechanism and method in the product or system, it will be impossible to judge. If any process exits abnormally or if the process falls into an infinite loop, corresponding measures cannot be taken to handle the corresponding exception and recovery. Therefore, the high reliability and self-recovery of products and systems cannot be guaranteed. [0003] In the current computer operating system, the monitoring of the process and the communication between the monitored processes are generally realized by sharing resources between processes (such as semaphore c...

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): G06F9/46
Inventor 饶俊严海峰汤智龙
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products