CN108306828A - A kind of method and device optimizing TCP connection using congestion control data list - Google Patents

A kind of method and device optimizing TCP connection using congestion control data list Download PDF

Info

Publication number
CN108306828A
CN108306828A CN201810067734.XA CN201810067734A CN108306828A CN 108306828 A CN108306828 A CN 108306828A CN 201810067734 A CN201810067734 A CN 201810067734A CN 108306828 A CN108306828 A CN 108306828A
Authority
CN
China
Prior art keywords
congestion control
control data
tcp connection
data list
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810067734.XA
Other languages
Chinese (zh)
Inventor
麦剑
史伟
闵宇
胡新勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ruijiang Cloud Computing Co Ltd
Guangdong Eflycloud Computing Co Ltd
Original Assignee
Guangdong Ruijiang Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ruijiang Cloud Computing Co Ltd filed Critical Guangdong Ruijiang Cloud Computing Co Ltd
Priority to CN201810067734.XA priority Critical patent/CN108306828A/en
Publication of CN108306828A publication Critical patent/CN108306828A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method and device for establishing congestion control data list optimization TCP connection is utilized the invention discloses a kind of, using the source IP address of TCP or source IP address and port numbers as the connection identifier of opposite end, congestion data is saved independently of TCP connection, when discovery, which has, comes from identical TCP connection, just from the corresponding value of previously stored congestion control data acquisition, congestion control data inside indirect assignment to TCP connection, the multiplicating for avoiding the TCP connection for coming from the same source calculates, it can be transmitted control with the congestion control data calculated when so that TCP connection is established at the beginning, promote TCP transmission efficiency, reduce the calculated load of the TCP congestion control data of repetition.

Description

A kind of method and device optimizing TCP connection using congestion control data list
Technical field
The present invention relates to network communication applications field, especially a kind of utilize to establish congestion control data list optimization TCP The method and device of connection.
Background technology
Congestion control is to be responsible for control data transmission mechanism inside Transmission Control Protocol, packet loss, overtime treatment mechanism etc., whole Congestion control plays the role of the service quality of TCP critical inside a Transmission Control Protocol.
TCP connection is established initial stage, the parameters of congestion control all can there are one default values, then in actual transmissions process In constantly adjust the process for generally requiring an adjustment so that transmission quality and stability are optimal effect here, so TCP The initial stage of foundation is connected to not best laser propagation effect can not reached at once, needs etc. just to reach most when being adjusted to optimal value Good transmission quality, and in view of the link-quality of different TCP connections is all different, so the parameter of congestion control can only be needle One connection cannot be shared, under default situations, each newly-established connection is required for being calculated according to actual transmissions situation, together When, when TCP connection interruption has been destroyed then congestion control data and can also be deleted, then after thering is the same Target IP to establish TCP connection, gather around Plug data will recalculate, and for the same Target IP, can not quickly establish high efficiency of transmission channel.
Invention content
To solve the above problems, it is an object of the invention to by establishing congestion control data list in server end, deposit The congestion control data for storing up the same Target IP directly invoke upper primary congestion control number when the IP resettles TCP connection According to.
Technical solution is used by the present invention solves the problems, such as it:
A method of optimizing TCP connection using congestion control data list, includes the following steps:
The corresponding congestion control number of the TCP connection newly received is searched in the congestion control data list at current service end According to;
If finding, the congestion control data indirect assignment of gained will be searched to the congestion control data of current TCP connection; Otherwise, the corresponding congestion control data of current TCP connection are calculated, and the congestion control data are saved in the congestion control of server-side Data list processed.
Further, when current service termination receives newly-established TCP connection, while the source IP of current TCP connection is obtained Address.
Further, the congestion control data list stores the TCP connection using the source IP address of TCP connection as key assignments Congestion control data.
Further, the key assignments of congestion data control list is searched using the source IP address of current TCP connection as keyword.
Further, IP address and its port numbers can also be used as key assignments, i.e., when current service termination receives new foundation TCP connection when, while obtaining the source IP address and port numbers of current TCP connection.
Further, using the source IP address of TCP connection and port numbers as key assignments, storage should for the congestion control data list The congestion control data of TCP connection.
Further, congestion data control list is searched as keyword using the source IP address of current TCP connection and port numbers Key assignments.
Further, in the memory at the congestion control data list storage and current service end.
Further, when the congestion control data variation of TCP connection, corresponding data in congestion control data list are updated Record, until TCP connection is closed.
A kind of device optimizing TCP connection using congestion control data list, including
Searching unit, for searching the TCP connection pair newly received in the congestion control data list at current service end The congestion control data answered;
Processing unit, the lookup result for handling the searching unit will search the congestion control of gained if finding Otherwise the congestion control data of data indirect assignment to current TCP connection calculate the corresponding congestion control number of current TCP connection According to, and the congestion control data are saved in the congestion control data list of server-side.
Further, the searching unit is when receiving newly-established TCP connection, while obtaining the source of current TCP connection IP address, or obtain the source IP address and port numbers of current TCP connection.
Further, the searching unit is using the source IP address of current TCP connection or source IP address and port numbers as keyword Search congestion data control list.
Further, the processing unit updates congestion control data list in the congestion control data variation of TCP connection In corresponding data record, until TCP connection close.
The beneficial effects of the invention are as follows:The above method and device are only congestion control data using congestion control data list It stands on TCP connection to save, when finding to have identical TCP connection, just be obtained from previously stored congestion control data Corresponding value is taken, the congestion control data inside indirect assignment to TCP connection avoid the TCP for coming from the same source The congestion control data of connection, which are repeated several times, to be calculated, and the congestion calculated can be used when so that TCP connection is established at the beginning Control data are transmitted control, promote TCP transmission efficiency, reduce the TCP congestion control calculated loads of repetition.
Description of the drawings
The invention will be further described with reference to the accompanying drawings and examples.
Fig. 1 is flow of the present invention using one embodiment of the method for congestion control data list optimization TCP connection Schematic diagram;
Fig. 2 is block diagram of the present invention using the device of congestion control data list optimization TCP connection;
Fig. 3 is flow of the present invention using second embodiment of the method for congestion control data list optimization TCP connection Schematic diagram;
Fig. 4 is congestion control data list of the present invention using the method for congestion control data list optimization TCP connection Structural schematic diagram;
Fig. 5 is Whole Work Flow schematic diagram of the present invention using the method for congestion control data list optimization TCP connection.
Specific implementation mode
Referring to Fig.1, a method of optimizing TCP connection using congestion control data list, first as the present invention Embodiment includes the following steps:
The corresponding congestion control number of the TCP connection newly received is searched in the congestion control data list at current service end According to;
If finding, the congestion control data indirect assignment of gained will be searched to the congestion control data of current TCP connection; Otherwise, the corresponding congestion control data of current TCP connection are calculated, and the congestion control data are saved in the congestion control of server-side Data list processed.
With reference to Fig. 2, a kind of device optimizing TCP connection using congestion control data list is based on above-mentioned first embodiment A kind of method optimizing TCP connection using congestion control data list, device includes with lower unit:
Searching unit, for searching the TCP connection pair newly received in the congestion control data list at current service end The congestion control data answered;
Processing unit, the lookup result for handling the searching unit will search the congestion control of gained if finding Otherwise the congestion control data of data indirect assignment to current TCP connection calculate the corresponding congestion control number of current TCP connection According to, and the congestion control data are saved in the congestion control data list of server-side.
The searching unit when receiving newly-established TCP connection, while obtain current TCP connection source IP address and Port numbers are searched the congestion control data list at current service end using source IP address and port numbers as keyword, then will looked into Result is looked for be sent to the processing unit processes.
After the processing unit completes assignment or newly-built preservation according to above-mentioned steps, periodic refreshing congestion control data are needed The congestion control data of corresponding TCP connection in list, specially:In the congestion control data variation of TCP connection, update is gathered around Corresponding data record in plug control data list, until TCP connection is closed.
With reference to Fig. 3 and Fig. 5, a method of optimizing TCP connection using congestion control data list, the as the present invention Two embodiments, include the following steps:
S1:When TCP server-sides receive newly-established TCP connection, the source IP address of current TCP connection is obtained;
S2:Using the source IP address of current TCP connection as keyword, the congestion control data list at current service end is searched, If being matched to identical IP address in congestion control data list, S3 is entered step, otherwise, enters step S4;
S3:The congestion control digital independent that will match to comes out, congestion control number of the indirect assignment to corresponding TCP connection According to using the congestion control data calculated, and entering step S5;
S4:Using source IP address as key assignments, a record is created in congestion control data list, is gathered around using existing TCP The computational methods for filling in control, calculate the congestion control data of suitable current TCP connection, and the congestion control data are saved in The congestion control data list of TCP server-sides, and enter step S5;
S5:When the congestion control data variation of the TCP connection, corresponding data note in congestion control data list is updated Record, until the TCP connection is closed, stopping updates.
In order to improve the efficiency of inquiry and modification, each source IP address and corresponding congestion control data are stored in TCP In the memory of server, the data structure of the congestion control data list is with reference to Fig. 4.
The above, only presently preferred embodiments of the present invention, the invention is not limited in the above embodiments, as long as It reaches the technique effect of the present invention with identical means, should all belong to the scope of protection of the present invention.

Claims (10)

1. a kind of method optimizing TCP connection using congestion control data list, which is characterized in that
Include the following steps:
The corresponding congestion control data of the TCP connection newly received are searched in the congestion control data list at current service end;
If finding, the congestion control data indirect assignment of gained will be searched to the congestion control data of current TCP connection;It is no Then, the corresponding congestion control data of current TCP connection are calculated, and the congestion control data are saved in the congestion control of server-side Data list.
2. a kind of method being optimized TCP connection using congestion control data list according to claim 1, feature are existed In:When current service termination receives newly-established TCP connection, while obtaining the source IP address of current TCP connection.
3. a kind of method being optimized TCP connection using congestion control data list according to claim 2, feature are existed In:The congestion control data list stores the congestion control number of the TCP connection using the source IP address of TCP connection as key assignments According to.
4. a kind of method being optimized TCP connection using congestion control data list according to claim 3, feature are existed In:The key assignments of congestion data control list is searched using the source IP address of current TCP connection as keyword.
5. a kind of method being optimized TCP connection using congestion control data list according to claim 1, feature are existed In:When current service termination receives newly-established TCP connection, while obtaining the source IP address and port numbers of current TCP connection.
6. a kind of method being optimized TCP connection using congestion control data list according to claim 5, feature are existed In:The congestion control data list stores gathering around for the TCP connection using the source IP address of TCP connection and port numbers as key assignments Plug control data.
7. a kind of method being optimized TCP connection using congestion control data list according to claim 6, feature are existed In:The key assignments of congestion data control list is searched using the source IP address of current TCP connection and port numbers as keyword.
8. a kind of method being optimized TCP connection using congestion control data list according to claim 1, feature are existed In:In the memory at the congestion control data list storage and current service end.
9. a kind of method being optimized TCP connection using congestion control data list according to claim 1, feature are existed In:When the congestion control data variation of TCP connection, corresponding data record in congestion control data list is updated, until TCP Connection closed.
10. a kind of device optimizing TCP connection using congestion control data list, which is characterized in that including:
Searching unit, it is corresponding for searching the TCP connection newly received in the congestion control data list at current service end Congestion control data;
Processing unit, the lookup result for handling the searching unit will search the congestion control data of gained if finding Otherwise the congestion control data of indirect assignment to current TCP connection calculate the corresponding congestion control data of current TCP connection, and The congestion control data are saved in the congestion control data list of server-side.
CN201810067734.XA 2018-01-24 2018-01-24 A kind of method and device optimizing TCP connection using congestion control data list Pending CN108306828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810067734.XA CN108306828A (en) 2018-01-24 2018-01-24 A kind of method and device optimizing TCP connection using congestion control data list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810067734.XA CN108306828A (en) 2018-01-24 2018-01-24 A kind of method and device optimizing TCP connection using congestion control data list

Publications (1)

Publication Number Publication Date
CN108306828A true CN108306828A (en) 2018-07-20

Family

ID=62865909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810067734.XA Pending CN108306828A (en) 2018-01-24 2018-01-24 A kind of method and device optimizing TCP connection using congestion control data list

Country Status (1)

Country Link
CN (1) CN108306828A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235322A (en) * 2020-12-11 2021-01-15 广东睿江云计算股份有限公司 Tcp transmission method and system thereof
CN113992731A (en) * 2021-11-02 2022-01-28 四川安迪科技实业有限公司 STOMP protocol-based exception control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574720A (en) * 2003-05-29 2005-02-02 三星电子株式会社 Method and system for controlling packet transmission using bind update message
US20050135248A1 (en) * 2003-12-19 2005-06-23 Nokia Corporation Methods and applications for avoiding slow-start restart in transmission control protocol network communications
CN101827111A (en) * 2010-05-12 2010-09-08 中兴通讯股份有限公司 TCP (Transfer Control Protocol) linking method, network system, client end and server
CN103428240A (en) * 2012-05-18 2013-12-04 深圳市腾讯计算机系统有限公司 Data transmission method and data transmission terminal
CN103607311A (en) * 2013-11-29 2014-02-26 厦门市美亚柏科信息股份有限公司 System and method for reestablishing TCP connection seamlessly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574720A (en) * 2003-05-29 2005-02-02 三星电子株式会社 Method and system for controlling packet transmission using bind update message
US20050135248A1 (en) * 2003-12-19 2005-06-23 Nokia Corporation Methods and applications for avoiding slow-start restart in transmission control protocol network communications
CN101827111A (en) * 2010-05-12 2010-09-08 中兴通讯股份有限公司 TCP (Transfer Control Protocol) linking method, network system, client end and server
CN103428240A (en) * 2012-05-18 2013-12-04 深圳市腾讯计算机系统有限公司 Data transmission method and data transmission terminal
CN103607311A (en) * 2013-11-29 2014-02-26 厦门市美亚柏科信息股份有限公司 System and method for reestablishing TCP connection seamlessly

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235322A (en) * 2020-12-11 2021-01-15 广东睿江云计算股份有限公司 Tcp transmission method and system thereof
CN113992731A (en) * 2021-11-02 2022-01-28 四川安迪科技实业有限公司 STOMP protocol-based exception control method and device
CN113992731B (en) * 2021-11-02 2024-04-30 四川安迪科技实业有限公司 Abnormal control method and device based on STOMP protocol

Similar Documents

Publication Publication Date Title
CN104486743B (en) A method of user information correlation is carried out to each interface XDR data of core net
CN108306828A (en) A kind of method and device optimizing TCP connection using congestion control data list
CN106656800A (en) Path selection method and system, network acceleration node and network acceleration system
CN104301451A (en) Cross-network-segment host communication method, device and system
US10103986B2 (en) Method, apparatus and system for determining content acquisition path and processing request
US20070201481A1 (en) Multistage Prioritization of Packets Within a Session Over Internet Protocol (SOIP) Network
US20070201473A1 (en) Quality of Service Prioritization of Internet Protocol Packets Using Session-Aware Components
CN102664938A (en) Method and device for controlling downloading of resources
CN106533845A (en) Long-connection state monitoring method and device
MX2023001125A (en) Service request handling.
CN104967651A (en) Data push, storage and downloading methods and devices based on CDN architecture
CN106790556A (en) A kind of NAT conversation managing methods based on distributed system
US20210227034A1 (en) A method and system for transmitting streaming media resources
JP4670043B2 (en) Information distribution system, distribution request program, transfer program, distribution program, etc.
CN106059917B (en) Routing information processing method and device
JP2008541675A (en) Method and system for translating network address translation or firewall equipment
WO2016180188A1 (en) Distributed link establishment method, apparatus and system
KR20110000770A (en) Method and apparatus for controlling voice over internet protocol spam in home media gateway system
CN104954448A (en) Picture processing method, picture processing system and picture processing server
CN110049058A (en) A kind of Transmission system bottom method for selecting transmission protocol
CN106685829A (en) Method and apparatus of forwarding real time transport protocol RTP user plane data
CN107784009A (en) Data query, data query processing method and processing device
US6870843B1 (en) Self implementing multicast level escalation
US12041078B2 (en) Methods, systems, and computer readable media for reducing the likelihood of successful denial of service (DoS) attacks by validating overload control information (OCI) scope against network function (NF) profile information obtained using target resource identification information
CN115914074A (en) Point-to-point network message transmission method, routing equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720