Process processing method and device

A process, processor technology, applied in the field of information processing

Active Publication Date: 2018-03-09
HUAWEI TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current operating system has only one watchdog driver, which can only delete all pro

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
  • Process processing method and device
  • Process processing method and device
  • Process processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part 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 shall fall within the protection scope of the present invention.

[0032] figure 1 is a schematic diagram of an application scenario of an embodiment of the present invention.

[0033] Such as figure 1 As shown, there is a watchdog driver in the Linux system. The watchdog driver is used to monitor the operation of the system. It is located in the kernel space, and the user program in the user space communicates with the watchdog driver through the device file dev. Specifically, once the user program opens the / dev / watch...

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 embodiment of the invention provides a method for processing processes in containers. The method is used for a physical machine. The multiple containers are deployed on the physical machine. The physical machine comprises a watchdog driver. The watchdog driver receives a first operation instruction of the first container through a device file dev, wherein the first operation instruction includes a first process identifier (PID), and the first PID represents that the first operation instruction is issued under the first process in the first container; a first namespace corresponding to thefirst container is determined according to the first PID; all the processes in the first container are deleted according to the first namespace. Thus, the watchdog driver can delete all the processesin the specific container through the determined namespace of the container without influencing the processes in the other containers, and the process processing of container granularity is realized.

Description

technical field [0001] The present invention relates to the field of information processing, and more specifically, to a method and device for processing processes in a container. Background technique [0002] Container (English: container) is a kernel virtualization technology that can provide lightweight virtualization to isolate processes and resources. Among them, Docker is currently the most popular container technology. [0003] The watchdog (English: watchdog) driver is used to ensure the normal operation of the system. The system will regularly feed the watchdog driver. When the system fails, it may not feed the dog for a long time. At this time, the watchdog driver can restart the system. [0004] The current operating system has only one watchdog driver, and the watchdog driver can only delete all processes of the entire system, so it can only guarantee the reliability of the entire system level. However, with the development of telecommunication services, contain...

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/07G06F9/48
CPCG06F9/485G06F11/0715G06F11/0757G06F11/0793G06F2209/483G06F2209/481G06F11/30G06F11/0712G06F3/0604G06F3/0644G06F3/0664G06F3/0673
Inventor 杜宇方江洋洋
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products