Communication method of transmission control protocol (TCP) and server

A technology of transmission control protocol and communication method, applied in the field of communication method and server of transmission control protocol TCP, can solve problems such as system resource consumption and application program delay, and achieve the effects of improving communication efficiency, avoiding communication delay and saving resources.

Active Publication Date: 2012-05-16
ALIBABA GRP HLDG LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a transmission control protocol communication method and server, which are used to solve the problems caused by maintaining a large number of TCP connections in the existing transmission control protocol when there is a need for network communication between applications with a large number of communicating parties. system resource consumption and application delay

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
  • Communication method of transmission control protocol (TCP) and server
  • Communication method of transmission control protocol (TCP) and server
  • Communication method of transmission control protocol (TCP) and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] A transmission control protocol communication method and server provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0037] The embodiment of the present application provides a transmission control protocol (TCP) communication method, which improves the existing TCP communication method in which connections are established between application programs of the server one by one. Such as figure 2 As shown, in the embodiment of the present application, on the servers where the two ends of the communication (the first application program and the second application program) are located, that is, the first server and the second server, the first communication agent (in the first server on) and the second communication agent (on the second server). Both the first communication agent and the second communication agent are software function modules on the server that can realize specific function...

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 a communication method of a transmission control protocol (TCP) and a server. A first communication agent of a first server receives a data packet sent by a first application program, analyzes a destination address of the data packet and determines a second server in which a second application program is located, wherein the second application program receives the data packet. The data packet is put in a first queue and is sent to a second communication agent through the regular connection of data link of the first communication agent and the second communication agent of the second server. The first communication agent of the first server receives the data packet which is sent by the second application program and is forwarded by the second communication agent through the regular connection of data link, analyzes the destination address of the data packet, puts the data packet into a second queue and sends to the first application program which receives the data packet through inter-process communication connection. By using the method and the server of the invention, an actual connection quantity between the first application program and the second application program can be substantially reduced and resources needed by a system to maintain TCP connection can be effectively saved.

Description

technical field [0001] The present application relates to the field of network communication, in particular to a communication method and server of the transmission control protocol TCP. Background technique [0002] If the two parties in the communication need to communicate through the Transmission Control Protocol (TCP, Transmission Control Protocol), it is necessary to establish a TCP connection between the communication parties such as the client (client) application program and the server (server) application program, and then on this connection send data to each other. In the TCP protocol, an IP address and port are used to identify a communicating party, and the port identification is a 16-bit unsigned integer with a value between 1 and 65535. [0003] Take the process of establishing a TCP connection between a server application and a client application as an example. Before establishing a connection, the server application first opens a port and listens on the por...

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): H04L29/08H04L29/06H04L47/2475H04L47/52H04L47/6275
CPCG06F9/546H04L67/2814H04L12/00H04L67/2876H04L29/08738H04L69/16H04L69/163H04L47/266H04L29/08135H04L47/19H04L67/10H04L29/08873H04L29/06115H04L67/563
Inventor 胡建强肖阳升唐珂史峰任卿黄利董昊纪东方赵明华李广学
Owner ALIBABA GRP HLDG 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