Inter-process communication method and system

A technology of inter-process communication and threads, applied in the field of network communication, can solve problems such as system crashes, data processing timeouts, delays, etc., and achieve the effect of reasonable utilization and improved communication efficiency

Inactive Publication Date: 2012-10-17
SUZHOU CODYY NETWORK SCI & TECH
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a large amount of business is concurrent, the communication between processes b

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
  • Inter-process communication method and system
  • Inter-process communication method and system
  • Inter-process communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0013] figure 1 Shown is a flow chart of the inter-process communication method provided according to the preferred embodiment of the present invention. Such as figure 1 As shown, the inter-process communication method provided by the preferred embodiment of the present invention includes steps 101-103.

[0014] Step 101: The sending end creates multiple threads and named pipes with different priorities, and the receiving end creates multiple threads and named pipes with different priorities. The named pipes of the same priority at the sending end or the receiving end include one or more A pipe is named, and the sender establishes a connection with the receiver.

[0015] Specifically, the sending...

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 an inter-process communication method and system. The method comprises the following steps of: creating a plurality of threads and named pipes of different priorities at a sending terminal, creating a plurality of threads and named pipes of different priorities at a receiving terminal, the named pipe of the same priority at the sending terminal or the receiving terminal comprising one or a plurality of named pipes, and the sending terminal being connected with the receiving terminal. The sending terminal obtains a pipe in an idle pool according to the specified policy and distributes the threads of the sending terminal, and the threads of the sending terminal send data blocks to the receiving terminal through the pipe. The receiving terminal obtains a pipe in an idle pool of the receiving terminal according to the specified policy and distributes the threads of the receiving terminal, and the threads of the receiving terminal read the data blocks in the pipe.

Description

technical field [0001] The invention belongs to the field of network communication, in particular to an inter-process communication method and system. Background technique [0002] With the continuous progress of the networked society, more and more network communication tools are applied to work and life, such as Fetion, MSN and some enterprise version application software. The above communication methods all depend on different architectural modes. In the application of distributed communication architecture, frequent communication is often required between processes, which requires very high efficiency, smoothness, and real-time performance of the network. When a large amount of business is concurrent, the communication between processes becomes slow, delayed, data processing times out, and even causes the system to crash. Contents of the invention [0003] The present invention provides an inter-process communication method and system to solve the above problems. [...

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): H04L12/58
Inventor 胡加明
Owner SUZHOU CODYY NETWORK SCI & TECH
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