Method for improving data transmission efficiency on basis of TCP (Transmission Control Protocol) long connection

A technology of data transmission and long connection, applied in the field of data transmission in network communication, can solve problems such as system bottlenecks and take a long time, and achieve the effect of improving processing efficiency, improving parallelism, and improving parallel transmission efficiency.

Active Publication Date: 2013-03-06
重庆浪潮政务云管理运营有限公司
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, for the analysis, the processing process takes a long time, which will undoubtedly cause a system bottleneck

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
  • Method for improving data transmission efficiency on basis of TCP (Transmission Control Protocol) long connection
  • Method for improving data transmission efficiency on basis of TCP (Transmission Control Protocol) long connection
  • Method for improving data transmission efficiency on basis of TCP (Transmission Control Protocol) long connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0078] figure 1 It is a structural diagram of the present invention. In the present invention, the client and the server can create multiple connections to form a connection pool. The client and the server communicate through their respective sending threads and receiving threads, perform task processing through the processing thread, and perform heartbeat detection and failure resetting through the connection thread. Even, the client performs timeout resend of the task through the timeout scanning thread.

[0079] figure 2 It is a flow chart of the client processing flow in the present invention. The client completes asynchronous operations through the sending thread, receiving thread, and processing thread on the new task queue, pending packet queue, pending task queue, and received packet queue

[0080] image 3 It is a flow chart of the processing flow of the server in the present invention. The server completes the asynchronous operations of the received packet queu...

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 method for improving data transmission efficiency on the basis of TCP (Transmission Control Protocol) long connection. Data communication is carried out between a client and a server by adopting TCP long connection; the receiving and processing of the client and the server are subjected to parallel processing by adopting an asynchronous mode; a communication data packet adopts a numbering mechanism to ensure the data reliability and the processing consistency; the communication reliability is ensured by a heartbeat detection and failure reconnection mechanism; the parallel transmission efficiency is improved by using a connection pool; and the client and the server process a plurality of queues and a plurality of threads, the parallelism of data processing is improved and the processing efficiency is improved.

Description

technical field [0001] The invention relates to the transmission, analysis and processing of data in network communication, especially the transmission, analysis and processing of data packets in a dedicated network or a similar network, specifically a method for improving data transmission efficiency based on TCP long connections. Background technique [0002] There are two types of data transmission in computer networks, one is connectionless unreliable transmission, using UDP protocol, and the other is connection-oriented TCP protocol that ensures reliable data. For connectionless UDP connections, transaction-oriented simple and unreliable information transmission services are provided. Therefore, communication designs that have certain requirements for communication reliability generally do not use UDP connections. TCP is a connection-oriented (connection-oriented), reliable, and byte-stream-based transport layer communication protocol. In view of communication reliabili...

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/861H04L1/18H04L29/06
Inventor 王倩张在理
Owner 重庆浪潮政务云管理运营有限公司
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