Duplex communication method based on FIFO (first in first out) named pipes and related equipment

A named pipe, duplex communication technology, applied in the field of information processing

Active Publication Date: 2018-11-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and related equipment for duplex communication based on FIFO named pipes, which ar

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
  • Duplex communication method based on FIFO (first in first out) named pipes and related equipment
  • Duplex communication method based on FIFO (first in first out) named pipes and related equipment
  • Duplex communication method based on FIFO (first in first out) named pipes and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention provide a method for performing duplex communication based on FIFO named pipes and related equipment, which are used to solve the problem in the prior art that using FIFO pipes in a Linux system can only realize half-duplex communication between processes.

[0024]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0025] see figure 1 , which is a flow chart of a possible duplex communication method based on a FIFO named pipe provided by an embodiment of the present invention, specifica...

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 embodiment of the invention discloses a duplex communication method based on FIFO (first in first out) named pipes and related equipment, so as to solve the problem that only half-duplex communication between processes can be realized when FIFO pipes are used in a Linux system in the prior art. The method in the embodiment of the invention comprises steps: an FIFO server receives a connectionestablishment request message sent by an FIFO client, wherein the connection establishment request message comprises the identity information of a first local named pipe of the FIFO client; the FIFO server establishes an FIFO session corresponding to the FIFO client based on the connection establishment request message; and in response to the connection establishment request message, the FIFO server sends the connection establishment request response message to the FIFO client through a second remote named pipe of the FIFO session, the connection establishment request response message comprises the identity information of a second local named pipe, the FIFO client can thus send information to the FIFO session through the first remote named pipe, and the first remote named pipe is a pipe corresponding to the second local named pipe in the FIFO client.

Description

technical field [0001] The invention relates to the technical field of information processing, in particular to a method for performing duplex communication based on a FIFO named pipe and related equipment. Background technique [0002] In the Linux system, data communication between processes can be realized by using a first-in-first-out (FIFO) pipeline. However, in the prior art, FIFO can only perform one-way data transmission, that is, only half-duplex can be realized. Duplex communication, the so-called half-duplex communication, can be understood as only sending or receiving data at the same time, but not sending and receiving at the same time. [0003] Therefore, how to use the FIFO to enable both ends of data communication to perform full-duplex communication, that is, to simultaneously transmit and receive data, has become an urgent problem to be solved. Contents of the invention [0004] Embodiments of the present invention provide a method for performing duplex ...

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/08H04L29/06H04L5/14
CPCH04L5/14H04L67/141H04L67/01
Inventor 杨亮陈少杰张文明
Owner WUHAN DOUYU NETWORK 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