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

Inter-process communication method and device

A technology of inter-process communication and communication channel, which is applied in the field of inter-process communication and can solve problems such as inflexible programming and cache disturbance at the receiving end.

Active Publication Date: 2015-05-27
HUAWEI TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art based on the Barrelfish operating system's zero-copy scheme within the kernel and between kernels, in order to map the message memory into its own address space, the receiving end needs to enter and exit the kernel space, which will cause corresponding time overhead; at the same time, the receiving end needs to enter and exit the kernel space Kernel space can cause perturbation of the receiver cache
The zero-copy scheme in the kernel in the L4 system of the second-generation microkernel system, due to the use of synchronous IPC, makes programming not flexible enough; at the same time, the receiving end still needs to enter and exit the kernel space, and it is only applicable to single-kernel systems

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
  • Inter-process communication method and device
  • Inter-process communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0114] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0115]The method for inter-process communication provided by the embodiments of the present invention can be applied to the zero-copy solution for inter-process communication. The existing zero-copy solutions for single-kernel and multi-kernel operating systems are mainly based on the use of the Barrefish system in the kernel, kernel The zero-copy scheme of the second-generation microkernel system and the zero-copy scheme of the L4 system in the second-generati...

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 an inter-process communication method and device, relates to the technical field of computers, and aims to realize reading of a message in the case that a receiving end does not need to enter or exit a kernel space, avoid the time expenditure for the receiving end to enter or exit the kernel space, save the response time of the message and meanwhile reduce the disturbance of cache of the receiving end. The method specifically comprises the following steps: establishing a communication channel between the transmitting end and the receiving end; entering the kernel space and writing a channel number and a first parameter of the communication channel into the kernel space; acquiring a shared page table of the receiving end according to the channel number of the communication channel; mapping the physical address of a memory page of the message to a continuous idle page table entry of the shared page table of the receiving end to obtain a new virtual address of the message; storing the new virtual address of the message and the first parameter in a message notification region of the receiving end so as to read the message by the receiving end according to the new virtual address. The method and the device are applied to inter-process communication.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for inter-process communication. Background technique [0002] A process is an instance of a program that is running on a computer, and there are corresponding communication requirements between different processes due to mutual cooperation. In operating system research, Interprocess Communication (IPC) is an important research topic, and improving the efficiency of IPC is particularly important to the performance of the entire operating system. Commonly used IPC methods include message transmission, shared memory, and zero copy. The traditional operating system is divided into macro-kernel and micro-kernel. In recent years, with the rapid development of semiconductor manufacturing technology, the main frequency of a single processor chip has gradually approached the limit. It is no longer possible to continue the calculation speed of the processor ...

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): G06F9/54
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