Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-process communication registration method and device

A multi-process and process technology, applied in the computer field, can solve the problems of slow message transmission, unresolved, unfavorable unified management, etc., and achieve the effect of real-time efficient multi-process communication

Active Publication Date: 2020-03-27
北京君正集成电路股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The most direct multi-process message communication method is to establish one-to-one communication between the two processes that need to communicate, which wastes resources and is not conducive to unified management
The commonly used multi-process message communication is implemented using socket, but the message transmission speed is slow and the real-time performance is not good
[0005] There is no effective solution for how to efficiently and real-time multi-process message communication

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the embodiments and accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0041] In order to better illustrate the application, the following terms are explained as follows:

[0042] 1) IPCMessage: It is a message communication mechanism realized by share memory;

[0043] 2) Client: Each process that maps shared memory is called a client;

[0044] 3) ClientInterface: Provides methods for operating on the Client;

[0045] 4) ringbuffer: ring buffer, the messages are arranged backwards from the starting position of the buffer, and return to the starting position to continue storing when the buffer is full.

[0046] Considering that the existing multi-process message...

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 provides a multi-process communication registration method and device, and the method comprises the steps that a shared memory is built after a process is started; the process actively broadcasts a registration message and waits for receiving a server message, and after the server is started, the shared memory is mapped and a query message is broadcasted; the process receives the query message; wherein the process responds to the query message and broadcasts a registration message, and the server responds to the registration message and registers the process. According to the scheme, the process can actively broadcast the registration message to trigger registration, so that the process can be timely added into a multi-process communication system to perform message communication under the condition that a new process exists, and the technical effect of efficiently performing multi-process communication in real time is achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a multi-process communication registration method and device. Background technique [0002] Inter-process communication refers to the dissemination or exchange of information between different processes. Commonly used inter-process communication methods include: pipelines, message queues, semaphores, shared memory, and sockets. [0003] Among them, pipes are divided into: unnamed pipes and named pipes. Unnamed pipes can only be used for communication between processes with kinship relationships. Named pipes can exchange data between unrelated processes, but named pipes can only carry unformatted bytes. Stream, clear the data of the pipe when the data is read. The message queue can complete the work of passing messages between multiple processes, but its efficiency is low and its real-time performance is poor. The semaphore is used for inter-process synchronization. If you nee...

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/54
CPCG06F9/544G06F9/542
Inventor 赵冉
Owner 北京君正集成电路股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More