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

Duplex communication method and communication server

A technology of communication server and duplex communication, which is applied in the field of duplex communication, method and communication server, which can solve problems such as inability to receive and send data at the same time, reduce communication efficiency, and communication server crashes, so as to prevent memory fragmentation and improve addressing speed, and the effect of improving communication efficiency

Inactive Publication Date: 2012-07-04
SUZHOU CODYY NETWORK SCI & TECH
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current instant messaging application, a certain connection established between the client and the communication server can only send or receive data alone at the same time point, and cannot receive and send data at the same time, which greatly reduces the communication efficiency
In addition, when a large number of clients connect to the communication server at the same time, the communication server will generate a large number of connections. If the data buffers of these connections are not managed uniformly, a large amount of memory fragments will be generated, which will reduce the access speed of the connection data buffers. It can even cause the communication server to crash

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 and communication server
  • Duplex communication method and communication server
  • Duplex communication method and communication server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] 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.

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

[0012] Step 101: The communication server allocates the buffer memory size according to the set maximum number of client connections.

[0013] Specifically, each communication server has a maximum number of client connections, and a buffer memory size is allocated according to the maximum number of client connections.

[0014] Step 102: The communication server creates a duplex connection and allocates a data...

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 a duplex communication method and a communication server. The method comprises the following steps that: buffer memory is distributed by the communication server according to the set biggest client connection number; and duplex connections are created and data buffer areas are distributed for the duplex connections by the communication server, wherein each duplex connection comprises data receiving connection and data sending connection. When the communication server receives messages from a client, the communication server acquires received data from the data buffer area corresponding to the data receiving connection of the duplex connection matched with the client, and when the communication server sends the messages to the client, the communication server writes the sent data into the data buffer area corresponding to the data sending connection of the duplex connection matched with the client and sends the data of the data buffer area to the client.

Description

technical field [0001] The invention belongs to the communication field, and in particular relates to a duplex communication method and a communication server. 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. In the current instant messaging application, a certain connection established between the client and the communication server can only send or receive data alone at the same time point, and cannot receive and send data at the same time, which greatly reduces communication efficiency. In addition, when a large number of clients connect to the communication server at the same time, the communication server will generate a large number of connections. If the data buffers of these connections are not managed uniformly, a large amount of memory fragments will be generated, which will reduce the acce...

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): H04L5/14H04L12/58
CPCH04L47/30H04L47/19H04L67/32H04L49/90H04L12/58H04L67/60
Inventor 胡加明
Owner SUZHOU CODYY NETWORK SCI & TECH
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