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

Process processing method and device thereof

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

Active Publication Date: 2021-08-20
HUAWEI TECH CO LTD
View PDF4 Cites 0 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 processes of the entire system, so it can only guarantee the reliability of the entire system level

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

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

[0033] like 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 th...

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

An embodiment of the present invention provides a method for processing a process in a container, the method is used on a physical machine, and multiple containers are deployed on the physical machine, and the physical machine includes a watchdog driver, including: the watchdog driver The first operation instruction of the first container is received through the device file dev, the first operation instruction includes a first process identifier PID, and the first PID indicates that the first operation instruction is the first in the first container. issued by the process; according to the first PID, determine the first namespace namespace corresponding to the first container; according to the first namespace, delete all processes in the first container. Therefore, by determining the namespace of the container, the watchdog driver can delete all the processes in a specific container without affecting the processes in other containers, and realize the process processing at the container granularity.

Description

technical field [0001] The present invention relates to the field of information processing, and more particularly, to a method and apparatus for processing a process 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 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 dog to 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. However, with the development of telecommunication services, container...

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): 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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products