Method and device for realizing inter-process communication ipc

A technology for inter-process communication and communication targets, applied in the field of inter-process communication IPC, which can solve problems such as low efficiency and large memory usage, and achieve the effect of solving low efficiency, improving efficiency, and communicating without interfering with each other

Active Publication Date: 2021-07-13
BEIJING QIHOO TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The IPC implementation method in the prior art is not efficient and requires a large amount of memory, which needs to be improved

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 and device for realizing inter-process communication ipc
  • Method and device for realizing inter-process communication ipc
  • Method and device for realizing inter-process communication ipc

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0062] figure 1 A schematic flowchart of a method for implementing inter-process communication (IPC) according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes:

[0063] Step S110, register the IPC object corresponding to itself in the shared memory for inter-process communication.

[0064] Among them, many application programs will use a static library to realize the IPC functio...

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 invention discloses a method and a device for realizing inter-process communication IPC. The method includes: registering an IPC object corresponding to itself in a shared memory used for inter-process communication; sending a message to the IPC object corresponding to the communication target, and / or receiving the message sent by the communication target through the IPC object corresponding to itself information. The beneficial effect of this technical solution is that all the IPCs of the application can be performed in a shared memory, and there is no need to apply for a new shared memory every time IPC is performed as in the prior art, which can solve the problem of low efficiency and easy memory management. The problem of increased complexity; and multiple threads of a process can instantiate their own IPC objects in this shared memory, so that the communication does not interfere with each other and the efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an implementation method and device for inter-process communication IPC. Background technique [0002] IPC (Inter-Process Communication) is widely used in current applications. A simple example is that many programs have a process corresponding to the main window and a process corresponding to the tray in the taskbar. interactions are very frequent. The IPC implementation method in the prior art is not efficient and needs to occupy a large amount of memory, which needs to be improved. Contents of the invention [0003] In view of the above problems, the present invention is proposed to provide an IPC implementation method and device for overcoming the above problems or at least partially solving the above problems. [0004] According to one aspect of the present invention, a method for implementing inter-process communication IPC is provided, including: [0005] Register t...

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/54
CPCG06F9/544G06F9/546
Inventor 赵肖勇康高杰
Owner BEIJING QIHOO 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