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

Intra-node process communication method, apparatus, computer equipment and storage medium

A process communication, intra-node technology, applied in the field of communication, can solve the problems of slow communication between processes, high message overhead, etc.

Active Publication Date: 2021-04-23
NAT UNIV OF DEFENSE TECH
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The most commonly used IPC (Inter-Process Communication, cross-process communication) means are sockets and socket-based middleware, such as MPI (Message Passing Interface, message transmission interface), using sockets for data transmission is like in A third space is built between the two process spaces that need to communicate. First, the message sender copies the message to be sent to the socket space, and then the receiver copies the message from the socket space to its own space. The above process well isolates the space and data between processes, making the design and development of parallel programs more independent. The cost is that the message is copied many times, causing high overhead, and at the same time causing a problem between processes. The communication speed is reduced

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
  • Intra-node process communication method, apparatus, computer equipment and storage medium
  • Intra-node process communication method, apparatus, computer equipment and storage medium
  • Intra-node process communication method, apparatus, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0055] At present, processes on the same computing node can achieve fast data transmission through shared memory, specifically through mainstream MPI (Message Passing Interface, message transmission interface), such as MPICH, openMPI, intel MPI, etc., although they are located on the same Node processes use shared memory to transmit data, but the implementation mechanism is to use shared memory instead of sockets as the actual transmission medium. Copying messages during inter-process communication is still unavoidable. The main implementation process is: the message sendin...

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 present application relates to a process communication method, device, computer equipment and storage medium within a node. The method includes: the message sending process establishes a message storage path in the write index area of ​​the shared memory segment corresponding to the message receiving process; the message sending process writes a message to the message storage space pointed to by the message storage path; the message receiving process A message reading path of the read index area of ​​the shared memory segment is established according to the message storage path; the message receiving process reads a message from the message storage space according to the message reading path. The method realizes reliable, order-preserving and zero-duplication self-adaptive communication among processes, can avoid duplication of messages in the communication process, improves communication efficiency, and further improves the running speed of parallel computing.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a process communication method, device, computer equipment and storage medium within a node. Background technique [0002] With the development of computer communication technology, parallel computing technology has emerged. Parallel computing can jointly process the same computing task through multiple processes, which improves the efficiency of computing. For example, in parallel simulation operations, logical entities interact with messages to advance simulation operations during the process of processing messages. Therefore, there are a large number of message transmissions in the process of simulation operations, and parallel simulation operations require message transmission to be reliable and order-preserving. , so the message transmission efficiency is very important to the running speed of the simulation operation. [0003] A process is a container f...

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
Inventor 林忠伟李修和姚益平唐文杰姚锋沈阳李勇
Owner NAT UNIV OF DEFENSE TECH