Interprocess communication method and system

An inter-process communication and server process technology, applied in transmission systems, multi-program devices, electrical components, etc., can solve the problem that inter-process communication cannot be established efficiently, the client process cannot obtain the server address in time, and the inter-process cannot be established in time. communication, etc.

Active Publication Date: 2009-11-04
NEW H3C TECH CO LTD
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the above-mentioned inter-process communication mode between the client process and the server process is applied to a distributed system, it will result in the inability to establish inter-process communication in a timely and efficient manner.
The specific reasons are as follows: First, when the DNS Server is a distributed device, due to the characteristics of the distributed device itself, the single board that DNS Server provides DNS services within a certain period of time is not fixed, and the single board may be reset at any time, causing customers The client process cannot obtain the address of the server in time, so it cannot establish inter-process communication in time; second, because the client process needs to search for the address of the server remotely before each time it initiates the establishment of an IPC connection, for a distributed system, it is very important for the system to find the address. is too expensive to efficiently establish interprocess 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
  • Interprocess communication method and system
  • Interprocess communication method and system
  • Interprocess communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiment of the present invention proposes an inter-process communication method, see image 3 , image 3 It is a model diagram of inter-process communication in the present invention. This method does not require the client process to obtain the address of the server from the DNS Server; it only needs the IPC module of the client to perform an inner lookup to obtain the address of the server, after which the client process establishes inter-process communication with the server process.

[0021] In order to realize the above-mentioned inter-process communication model, in the present invention, the IPC module of the server provides a release (publish) and cancel release (unpublish) mechanism, and the IPC module of the client provides a lookup (lookup) mechanism for realizing the IPC module of the client. Find the address of the server, thereby establishing interprocess communication between the client process and the server process. see Figure 4 , Figure 4 ...

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 an interprocess communication method and a system, wherein the method comprises: an interprocess communication (IPC) module of a client receives an instruction of initiating the connection sent by a client process, the corresponding relationship between an identifier of a pre-recorded server process and the address of a server is searched according to the identifier of the server process contained in the instruction of initiating the connection, and the address of the server is obtained; the IPC module of the client sends a connection message to the IPC module of the server according to the address of the server to request establishing the interprocess communication between the client process and the server process. The invention is adaptable to the demands of a distributed system and can timely and high-efficiently establish interprocess communication between the client process and the server process.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an inter-process communication method and system. Background technique [0002] Inter-process communication (IPC) originally refers to the communication between various processes within a device. With the continuous development of network technology, IPC is gradually developed and applied to distributed devices. A distributed device includes multiple service boards that are physically separated. Each service board has one or more independent CPUs. Each CPU is called a node, and programs running on the node are called processes. The client / server model is a typical IPC model. In this model, the processes of the communicating parties are the client process and the server process respectively. see figure 1 , figure 1 It is a schematic diagram of the structure and connection relationship between the client and the server in the prior art, the client process and the I...

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): H04L29/06H04L29/12G06F9/46
Inventor 盖建华乔会来杨其牟宣理杨荣虎
Owner NEW H3C 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