Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for preventing loop circuit of progress inheritance relationship

A technology of inheritance relationship and process, which is applied in the field of switching process inheritance relationship, can solve problems such as operating system paralysis, achieve the effect of improving reliability, preventing the possibility of loops in process inheritance relationship, and improving work efficiency

Inactive Publication Date: 2011-09-21
孙玉峰
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

like figure 1 As shown, when process B terminates before process A, the operating system entrusts all residual resources in process B to process A; when process B terminates early, its residual resources are managed by process A; if process A terminates again , the resource is hosted by process C; when process C terminates again, the operating system tries to entrust the resource to the already terminated process B, which causes the entire operating system to be paralyzed

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 preventing loop circuit of progress inheritance relationship
  • Method for preventing loop circuit of progress inheritance relationship
  • Method for preventing loop circuit of progress inheritance relationship

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Various preferred embodiments of the present invention will be described in more detail below in conjunction with the accompanying drawings.

[0035] In the operating system for switching process inheritance relations of the present invention, a process inheritance relation table is established first, that is, the system establishes an inheritance relation table for all currently existing processes. This table records the relationship of each process to its child processes. As recorded in Table 1 as figure 1 The corresponding process continuation relationship shown.

[0036] process

A

B

C

D

child process

B.C

null

D

null

[0037] Table 1

[0038] In this embodiment, according to the process inheritance relationship table, it is judged whether there is a loop after the user switches the inheritance relationship, which includes the following steps:

[0039] SA, backup the process inheritance relationship table...

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 discloses a method stopping the progress inherited relation from producing a loop, which is used in a general-purpose computer operating system. The method includes the following steps: the system establish an inherited relation table for all the current existing progresses, for recording the inherited relation of each progress and the sub-process thereof; backing up the progress inherited relation table before the progress inherited relation switch, and modifying the progress inherited relation table according to the switch requirements; polling the process inherited relation table to judge whether loop exists in the progress and sub-process inherited relation. Since the invention adopts a method which executing progress inherited relation according to the progress inherited relation table and polling judge result, the invention effectively prevents the loop generated by the progress inherited relation caused by man-made operation mistakes, improves the reliability of the operating system, and simultaneously also increases the work efficiency of the entire operating system.

Description

technical field [0001] The invention relates to a method for switching process inheritance relationship in a computer operating system, in particular to a method for preventing the process inheritance relationship from generating a loop in the computer operating system. Background technique [0002] In the prior art, a process usually exists as the smallest unit of scheduling and resource control, and there is usually an inheritance relationship between processes. A newly generated process is generally assigned an existing process as its parent process by the operating system, and the new process is called a child process of its parent process. Some operating systems allow users to manually switch the parent-child relationship between processes through commands when the system is running normally. [0003] For ease of understanding, an example is given to illustrate the parent-child relationship between processes. Suppose there are the following four processes in the opera...

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/48G06F11/14
Inventor 杨凡
Owner 孙玉峰