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

Interprocess communication method and device thereof

A technology of inter-process communication and process, applied in the direction of inter-program communication, multi-program device, digital transmission system, etc., can solve the problem that the communication method cannot have both efficiency and flexibility, so as to improve the data exchange rate and flexible data interaction Effect

Inactive Publication Date: 2009-06-03
ZTE CORP
View PDF0 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention is proposed in consideration of the problem that the inter-process communication method in the related art cannot have both efficiency and flexibility. Therefore, the main purpose of the present invention is to provide an inter-process communication method and device to solve the above-mentioned problems

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 device thereof
  • Interprocess communication method and device thereof
  • Interprocess communication method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Functional Overview

[0027] As mentioned above, in order to solve the problem of inability to flexibly perform data interaction between processes existing in related technologies, the present invention provides an inter-process communication scheme, in which the current process stores the data sent to the target process in the memory block, and according to The corresponding relationship between the process ID and the message queue ID obtains the message queue ID of the target process; the current process determines the message queue of the target process through the message queue ID, and places the address information of the memory block in the message queue of the target process; the target process Read the address information in its message queue and read the data stored in the memory block, so as to improve the data exchange rate.

[0028] Additionally, as described below, the term "storage medium" may refer to one or more devices for storing data, including read-o...

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 device thereof; wherein, the method comprises that: the current process stores the data transmitted to the purpose process in a preset memory block; the current process obtains the information formation identification which is corresponding to the process identification of the purpose process according to the corresponding relation between the preset process identification and the information formation identification; the current process determines the information formation of the purpose process according to the information formation identification and puts the address information of the memory block in the information formation of the purpose process; the purpose process reads the data stored in the memory block by reading the information formation according to the address information. With the help of the technical proposal of the invention, the data switching rate is increased by using the interprocess communication method, and point to point data switching among mulit-process can be flexibly carried out.

Description

technical field [0001] The present invention relates to the communication field, in particular to an inter-process communication method and device. Background technique [0002] At present, there are various inter-process communication methods in Unix and Linux, and the communication methods involving data interaction include using message queues, files, and shared memory for communication. [0003] The message queue supports process-to-process point-to-point communication, but this method needs to copy data, which is inefficient; using data files for communication can realize the function of exchanging data flexibly between processes, but as the process requires data exchange rate Continuous improvement, this method has great limitations; at present, more applications use shared memory for communication, this technology is suitable for large data interaction, and does not need to copy data, but this method is not very flexible , when data interaction involving multiple pro...

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): H04L29/08H04L12/56G06F9/54
Inventor 洪坤
Owner ZTE CORP
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