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-program devices, etc., can solve the problems that the monitoring process cannot diagnose abnormal exits, analysis and positioning work is difficult to carry out, and the cause of abnormal exits cannot be diagnosed, so as to facilitate positioning and analysis and avoid abnormal spread , using flexible effects

Active Publication Date: 2007-07-11
HUAWEI TECH CO LTD
View PDF0 Cites 43 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

[0041] The invention provides a process monitoring method and system. In the embodiment of the present invention, when a child process exits, the system kernel sends a specified signal carrying process identification and other information to the parent process of the child process, and the parent process recognizes the exiting child process and exits according to the specified signal received. Therefore, the parent process can monitor and detect the abnormal exit of the child process in real time, and perform corresponding exception handling.

[0042] 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, actively send a specified signal to the parent process to notify the parent process that there is currently a child process exiting. Currently, the LINUX operating system supports this mechanism.

[0043] The processing flow of embodiment 1 of the method of t...

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

A monitoring method and system for process comprises sending designated signal to the father process of the said son process when the son process retracts, with the designated signal composed of process marker that corresponds to a son process, with the said father process identifying the retracted son process based on the received signal. The system comprises son process handling unit and father process handling unit. Using this said method and system, it can make timely monitoring to the process abnormal retracting, with all kinds of son process retracting circumstances and corresponding abnormal retracting reasons.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a process monitoring method and system. Background technique [0002] In 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 not be possible to judge If any process exits abnormally or any 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 the product and system cannot be guaranteed. [0003] In current computer operating systems, process monitoring and communication between monitored processes are generally realized by sharing resources between processes (such as semaphore public modules, shared memory, et...

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): 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