Inter-process communication method and device, and computer storage medium

An inter-process communication and process technology, which is applied in the field of computer storage media and inter-process communication, can solve the problems of poor performance of microkernel architecture, performance loss of microkernel architecture, and system programs cannot directly access the application program address space, etc. effect of size, improved performance, reduced attack surface

Pending Publication Date: 2022-02-25
HUAWEI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the microkernel architecture also comes with a huge performance penalty
Since the application program running in user mode is isolated from the system program, the system program cannot directly access the address space of the application program, resulting in poor performance of the microkernel architecture.

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
  • Inter-process communication method and device, and computer storage medium
  • Inter-process communication method and device, and computer storage medium
  • Inter-process communication method and device, and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The embodiment of the present application provides a method for inter-process communication, which is used to improve the system performance of the operating system.

[0056] First, the kernel mode and user mode are described. Kernel mode and user mode are two working states of the central processing unit CPU. If a process executes a system call to execute kernel code, the process is said to be in the kernel state; if a process executes user code, the process is said to be in the user state. Among them, the kernel state can also be called the privileged state, and the user state can also be called the unprivileged state. The following will uniformly use the kernel state and the user state for description.

[0057] Specifically, in the ARM architecture, EL0 is used to represent the user state, and EL1 is used to represent the kernel state; while in the X86 architecture, ring3 is used to represent the user state, and ring0 is used to represent the kernel state.

[0058]...

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 discloses an inter-process communication method and device, and a computer storage medium. The method and the device are used for improving the performance of an operating system. The method comprises the steps that a first instruction is executed, wherein the first instruction is used for indicating a first process to call a second process; in response to the first instruction, the kernel switches the context of the first process to the context of the second process according to the first instruction; and a second process is executed. The first process can be an application program in a user mode and can also be a system program in the user mode, and the second process is a first system program in a kernel mode.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method, device and computer storage medium for inter-process communication. Background technique [0002] Microkernel-based operating system architecture (referred to as microkernel architecture) is widely used in cloud platforms, embedded devices, mobile devices, driverless and other scenarios. The microkernel architecture reduces its real core functions to very few, and puts many components in the traditional operating system kernel (such as macrokernel architecture Linux), such as system programs, to run in user-mode processes. [0003] Compared with the traditional operating system kernel, the microkernel architecture can ensure that any module that undertakes complex functions can be placed in a user-mode process, and can make different processes run in isolation. This approach can greatly enhance the isolation and reliability of the operating system. For...

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/54G06F12/10
CPCG06F9/545G06F12/10G06F2209/543G06F9/54G06F12/1009
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