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

Pipeline-based inter-process message communication method

A technology of message communication and multi-process, applied in the field of multi-process message communication based on pipeline, can solve the problems of frequent code modification, uncontrollable processing, etc., to ensure normal message communication and achieve simple effects

Inactive Publication Date: 2012-02-15
北京思创银联科技股份有限公司
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] To sum up, in the prior art, to communicate directly between applications, it is necessary to know which process to communicate with, especially when the communication process cannot be determined, the processing becomes uncontrollable, and the code will be frequently modified

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
  • Pipeline-based inter-process message communication method
  • Pipeline-based inter-process message communication method
  • Pipeline-based inter-process message communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The specific implementation manners of the present invention will be described in further detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0021] like figure 1 , 2 As shown, the present invention provides a pipeline-based multi-process message communication method.

[0022] For the server side, that is, the message center, first perform the following initialization processing:

[0023] Initialize the client queue lock, and the information registered by the client (that is, the process) will be saved and maintained in the queue;

[0024] Initialize and delete the queue lock. After the client exits or closes, its registration information is moved to the queue;

[0025] The message center maintains the client queue and deletes the client queue in the form of a pointer queue. Each queue node stores the registere...

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 relates to the technical field of windows inter-process communication, and discloses a pipeline-based inter-process message communication method, which comprises the following steps that: 1, a process is registered in a message center and transmits process information, wherein the message center is used for processing a service program of the process, and the process information comprises a message identifier; and 2, the message center transmits a message corresponding to the message identifier to the process. In the communication process of the steps 1 and 2, the process and the message center communicate with each other by using a pipeline. By the method, the inter-process communication can be simply realized.

Description

technical field [0001] The invention relates to the technical field of windows inter-process communication, in particular to a pipeline-based multi-process inter-process message communication method. Background technique [0002] A process is a program loaded into memory and executed independently. Each process has its own private process space and is invisible to other processes. To exchange data between these independent processes, an inter-process communication mechanism is used. Through this inter-process communication mechanism, a process transmits control information to other processes, or exchanges data with other processes, but this communication is single and uncontrollable. For example, there is a communication requirement between process a and process b, and there is no communication requirement between process c and a and b, but process c needs to pay attention to the communication status of processes a and b in order to make corresponding processing. In this cas...

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): H04L12/58
Inventor 于晓军万雪松赵辰清
Owner 北京思创银联科技股份有限公司
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