WO2015096149A1 - Tcp链路配置方法、装置及设备 - Google Patents

Tcp链路配置方法、装置及设备 Download PDF

Info

Publication number
WO2015096149A1
WO2015096149A1 PCT/CN2013/090737 CN2013090737W WO2015096149A1 WO 2015096149 A1 WO2015096149 A1 WO 2015096149A1 CN 2013090737 W CN2013090737 W CN 2013090737W WO 2015096149 A1 WO2015096149 A1 WO 2015096149A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
tcp
tcp link
configuration
network type
Prior art date
Application number
PCT/CN2013/090737
Other languages
English (en)
French (fr)
Inventor
閤先军
沃克尔斯盖⋅约翰
蒙泽超
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP13898892.8A priority Critical patent/EP2930899B1/en
Priority to PCT/CN2013/090737 priority patent/WO2015096149A1/zh
Priority to EP20170688.4A priority patent/EP3761591B1/en
Priority to CN201380010040.8A priority patent/CN104170353B/zh
Publication of WO2015096149A1 publication Critical patent/WO2015096149A1/zh
Priority to US14/983,891 priority patent/US10027781B2/en

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/127Avoiding congestion; Recovering from congestion by using congestion prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a TCP link configuration method, apparatus, and device. Background technique
  • TCP Transmitation Control Protocol
  • TCP Transmission Control Protocol
  • Congestion control is a core function of the TCP protocol.
  • the communication channel and buffer storage space of Internet-based switches are usually shared resources of all hosts on the network, and are also potential bottlenecks of network systems. As the number of hosts and the number of services continue to increase, there is a possibility of resource competition, resulting in network congestion.
  • An important part of TCP is the set of algorithms that perform congestion control and congestion recovery. The goal of the TCP congestion control algorithm is to maximize the use of network bandwidth while controlling the data transmission process without congestion.
  • TCP congestion control algorithms for example: FastTcp/Westwood+/NewReno, etc.
  • parameters for example: SACK/FACK/Limi ted Transmit, etc.
  • the invention provides a TCP link configuration method, device and device to improve the efficiency of TCP transmission.
  • the technical solution provided by the present invention is as follows:
  • the present invention discloses a transmission control protocol TCP link configuration method, including: acquiring a target
  • Data information in a data packet transmitted on the TCP link or transmission information generated by the data packet transmission process determining, according to the data information or the transmission information, a target network type of the network where the target TCP link is located; Configuring a target TCP configuration file corresponding to the target network type in the configuration repository, where the configuration library includes a correspondence between a network type and a TCP configuration file, and each network type corresponds to a TCP configuration file; The target TCP configuration file configures the target TCP link.
  • the data information includes: a destination IP address and a source IP address carried in a data packet transmitted on a target TCP link; Determining, by the data information, the target network type of the network where the target TCP link is located: determining whether the destination IP address or the source IP address is an IP address of a server running the TCP service; and when the destination IP address is a running TCP service When the IP address of the server is determined, the target network type is determined as a local area network; when the source IP address is an IP address of a server running the TCP service, determining that the target network type is a wide area network.
  • the transmitting information includes:
  • Determining a round-trip transmission time of the data packet on the TCP link determining the target network type corresponding to the target TCP link according to the transmission information, comprising: determining whether the round-trip transmission time is less than a first preset duration; When the round-trip transmission time is less than the first preset duration, the target network type is determined to be a local area network; when the round-trip transmission time is greater than or equal to the first preset duration, the target network type is determined to be a wide area network.
  • the determining, according to the data information or the transmission parameter, the target network type of the network where the target TCP link is located including: according to the data information Or a transmission parameter determining an initial network type of the network in which the target TCP link is located; finding an initial TCP configuration file corresponding to the initial network type in the configuration repository; using the initial TCP configuration file to target the network Performing initial configuration on the link; acquiring second transmission information generated by the process of transmitting a data packet on the target TCP link after the initial configuration; determining, according to the second transmission information, a target network type of the network where the target TCP link is located.
  • the second transmission information includes: a throughput, a round-trip transmission time change, a delay peak, a maximum round-trip transmission time, and a data. Determining a packet loss amount and/or a retransmission rate; determining, according to the second transmission information, a target network type of the network where the target TCP link is located, including: when the throughput is less than a first preset throughput, before congestion Determining that the target network type is a wireless network when a round-trip transmission time change occurs, a delay peak is not detected, and a round-trip transmission time is not less than a second preset duration; or, when the throughput is less than a second preset throughput, a maximum When the round-trip transmission time is less than the third preset duration, when multiple packet loss does not occur within one round-trip transmission time, and the retransmission rate is less than the preset retransmission rate, the target network type is determined
  • the method further includes: obtaining the connection of the target TCP link after the initial configuration Determining whether the connection type is an http short connection; and/or, determining whether the number of data packets transmitted after the target TCP link is congested after the initial configuration is less than a preset number; and/or, after determining the initial configuration Whether the propagation rate of the data packet transmitted after the congestion of the target TCP link is less than a preset propagation rate; and/or determining whether the connection type is a long connection and the number of times of congestion on the target TCP link is less than Preset value; when the connection type is http short connection, or the number of data packets transmitted after congestion occurs is less than a preset number, or the propagation rate is less than a preset propagation rate, or the connection type is
  • the method further includes: determining whether a fourth handshake phase for disconnecting the target TCP link is received a first packet, when the first packet of the four-way handshake phase for disconnecting the target TCP link is received, acquiring attribute information of the target TCP link, where the attribute information includes: Accessing a port or an IP address; establishing a correspondence between the attribute information and the target TCP configuration file, and storing a correspondence between the attribute information and the target TCP configuration file in the configuration database .
  • the method further includes: determining whether the third handshake phase for establishing the target TCP link is received Obtaining the attribute information of the target TCP link carried in the three packets when the three packets of the three-way handshake phase of the target TCP link are received;
  • the configuration library searches for a TCP configuration file corresponding to the attribute information; when there is a TCP configuration file corresponding to the attribute information, the target TCP link is configured by using a lookup TCP configuration file.
  • the present invention discloses a transmission control protocol TCP link configuration apparatus, which is applied to a communication network, and a user terminal and a server are respectively disposed on two sides of the communication network, and a TCP chain is established between the user terminal and the server through the communication network.
  • the device is disposed in a network device of the communication network or is disposed in the server, configured to configure the TCP link, and the device includes: an information acquiring unit, configured to acquire data transmitted on the target TCP link Data information in the packet or transmission information generated by the process of transmitting the packet; target network type determination list a unit, configured to determine, according to the data information or the transmission information, a target network type of a network where the target TCP link is located; a target TCP configuration file determining unit, configured to search for the target network type from a pre-created configuration repository Corresponding target TCP configuration file, wherein the configuration library includes a correspondence between a network type and a TCP configuration file, and each network type corresponds to a TCP configuration file; and a configuration unit, configured to utilize the target TCP configuration file The target TCP link is configured.
  • the data information includes:
  • the target network type determining unit includes: a first determining unit, configured to determine whether the destination IP address or the source IP address is a running TCP The IP address of the service server; the first determining unit, configured to: when the destination IP address is an IP address of a server running the TCP service, determine that the target network type is a local area network; and when the source IP address is a running TCP service When the IP address of the server is determined, the target network type is determined to be a wide area network.
  • the transmitting information includes:
  • the target network type determining unit includes: a round-trip transmission time determining unit, configured to determine whether the round-trip transmission time is less than a first preset duration; and a second determining unit, configured to: Determining that the target network type is a local area network when the round-trip transmission time is less than the first preset duration; determining that the target network type is a wide area network when the round-trip transmission time is greater than or equal to the first preset duration .
  • the target network type determining unit includes: an initial network type determining unit, configured to determine the target TCP link according to the data information or the transmission information An initial network type of the network; an initial TCP configuration file determining unit, configured to search for an initial TCP configuration file corresponding to the initial network type in the configuration library; and an initial configuration unit, configured to utilize the initial TCP configuration file Initializing the target TCP link;
  • the second transmission information acquiring unit is configured to obtain second transmission information generated by the process of transmitting a data packet on the target TCP link after the initial configuration; the target network type determining subunit, Determining, according to the second transmission information, a target network type of a network where the target TCP link is located.
  • the second transmission information includes: a throughput, a round-trip transmission time change, a delay peak, a maximum round-trip transmission time, and a data packet.
  • the target network type determining subunit comprising: a third determining unit, configured to: when the throughput is less than the first preset throughput, no round trip transmission time change occurs before congestion, When the delay peak is detected and the round-trip transmission time is not less than the second preset duration, the target network type is determined to be a wireless network, Or, when the throughput is less than the second preset throughput, the maximum round-trip transmission time is less than the third preset duration, multiple packet loss does not occur within one round-trip transmission time, and the retransmission rate is less than the preset retransmission rate And determining that the target network type is a wireless network.
  • the device further includes: a connection type acquiring unit, configured to acquire a connection type of the target TCP link after the initial configuration; and a second determining unit, configured to disconnect the connection Whether the type is a http short connection; and/or, determining whether the number of data packets transmitted after the target TCP link is congested after the initial configuration is less than a preset number; and/or determining the target TCP link after the initial configuration Whether the propagation rate of the data packet transmitted after the congestion is less than the preset propagation rate; and/or, determining whether the connection type is a long connection and the number of times of congestion on the target TCP link is less than a preset value;
  • the connection type is http short connection, or the number of data packets transmitted after congestion is less than a preset number, or
  • the device further includes: a broken link packet detecting unit, configured to determine whether the destination TCP is received a first message of the four-way handshake phase of the link disconnection; a first attribute information obtaining unit, configured to receive the first message of the four-way handshake phase for disconnecting the target TCP link Obtaining the attribute information of the target TCP link, where the attribute information includes: an access port or an IP address; a storage unit, configured to establish a correspondence between the attribute information and the target TCP configuration file, and And storing a correspondence between the attribute information and the target TCP configuration file in the configuration repository.
  • the device further includes: a link-building packet detecting unit, configured to determine whether the destination TCP is received Three packets of the three-way handshake phase of the link; the second attribute information acquiring unit, configured to acquire the three packets when receiving three messages for establishing a three-way handshake phase of the target TCP link The attribute information of the target TCP link carried in the text; a searching unit, configured to search, in the configuration library, whether a TCP configuration file corresponding to the attribute information exists; and a second configuration unit, when When the attribute information corresponds to the TCP configuration file, the target TCP link is configured by using the lookup TCP configuration file.
  • the present invention discloses a transmission control protocol TCP link control apparatus, comprising the TCP link configuration apparatus in any of the possible implementations of the second aspect or the second aspect. It can be seen from the above technical solution that the method and the device of the present invention can determine the target by detecting the data information in the data packet transmitted on the target TCP link or the transmission information generated by the data packet transmission process.
  • the target network type corresponding to the TCP link, and then the target TCP configuration file corresponding to the target network type can be searched in the pre-established configuration library, and finally the target TCP link is configured by using the target TCP configuration file. Therefore, the method can find and match the matching TCP configuration file according to the situation of transmitting the data packet on the target TCP link, so that the target TCP link can be more adapted to the type of the network in which it is deployed, and the method can be utilized to the utmost extent. Network bandwidth, improve TCP transmission efficiency.
  • Figure la is a network topology diagram of a TCP link configuration method according to an embodiment of the present disclosure
  • Figure lb is a schematic flowchart of a TCP link configuration method according to an embodiment of the present invention
  • FIG. 1 is a schematic diagram of a template of a TCP link configuration file according to an embodiment of the present invention
  • FIG. 1D is a schematic diagram of another template of a TCP link configuration file according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 5b is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a TCP link configuration apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a target network type determining unit according to an embodiment of the present invention
  • FIG. 10 is another schematic structural diagram of a target network type determining unit according to an embodiment of the present invention
  • a schematic structural diagram of a TCP link configuration apparatus provided;
  • FIG. 12 is a schematic structural diagram of a TCP link configuration apparatus according to another embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a TCP link control device according to an embodiment of the present invention.
  • FIG. 1A is a network topology diagram of a TCP link configuration method according to an embodiment of the present application.
  • 1 is a user terminal
  • 2 is a server
  • multiple servers 2 form a server cluster.
  • the user terminal 1 and the server cluster 2 are connected through the Internet.
  • the Internet can be a common wide area network or a local area network, and the wide area network includes wired transmission. Network and wireless transmission networks.
  • the TCP link configuration apparatus configured to configure a TCP link established between a user terminal and a server to provide a congestion control algorithm and parameters of a network environment where the user terminal is located.
  • the TCP link configuration device may be located in a network device, such as: a router, a switch, a modem, a communication server, etc.
  • the TCP link configuration device may also be located in a server. Or a server cluster consisting of multiple servers.
  • FIG. 1b is a schematic flowchart of a TCP link configuration method according to an embodiment of the present invention. As shown in Figure lb, the method can include the following steps:
  • S101 Acquire data information in a data packet transmitted on a target TCP link or transmission information generated by a data packet transmission process.
  • Both data information and transmission information are the basis for determining the type of network of the target TCP link.
  • the data information may include: a destination IP address or a source IP address carried in a data packet transmitted on the target TCP link
  • the transmission information refers to some network parameters of the data packet transmitted on the target TCP link, for example, : Throughput, round-trip transmission time variation, peak delay, maximum round-trip transmission time, packet loss, and/or retransmission rate.
  • S102 Determine, according to the data information or the transmission information, a target network type of a network where the target TCP link is located.
  • the data information or the transmission information may reflect the actual situation of the target TCP link when transmitting data, and the network information of the network where the target TCP link is located may be located through the data information or the transmission information to determine where the target TCP link is located.
  • the target network type of the network may reflect the actual situation of the target TCP link when transmitting data, and the network information of the network where the target TCP link is located may be located through the data information or the transmission information to determine where the target TCP link is located.
  • the destination IP address is the IP address of the server running the TCP service
  • S103 Search for a target TCP configuration file corresponding to the target network type from a pre-created configuration repository. Pieces.
  • a TCP configuration file with different network types may be obtained in advance through multiple experiments or theoretical analysis.
  • the TCP configuration file of one network type may be one or multiple, but for each network type.
  • the configuration file when the default TCP configuration file is found, will find the default TCP configuration file as the target TCP configuration file.
  • the TCP configuration file includes a congestion control algorithm and an optimization parameter template that match the corresponding network type.
  • FIG. 1C and FIG. 1D the following is a schematic diagram of two templates of a TCP configuration file according to an embodiment of the present invention. SACK is Selective Acknowledgment, Chinese translation is "optional confirmation".
  • the template shown in FIG. 1c and FIG. 1D is only an example of the present invention.
  • those skilled in the art may add or reduce profiles in the template of the TCP configuration file as needed. Content.
  • S104 Configure the target TCP link by using the target TCP configuration file.
  • the method provided by the embodiment of the present invention can determine the network where the target TCP link is located by detecting data information in a data packet transmitted on a target TCP link or transmission information generated by a data packet transmission process.
  • the target network type, and then the target TCP configuration file corresponding to the target network type may be searched in the pre-established configuration repository, and the target TCP link is configured by using the target TCP configuration file. Therefore, the method can find and configure a matching TCP configuration file according to the situation of transmitting data packets on the target TCP link.
  • the method can automatically select a target TCP configuration file that matches the target TCP link, so that the target TCP link is more adapted to the network type to which it belongs, can maximize the use of network bandwidth, and improve TCP transmission efficiency.
  • ADC Application Delivery Control
  • the ADC device is deployed in front of the server cluster, the server cluster is on the LAN side, and the user is on the WAN side.
  • the ADC device distributes the content to different servers in the cluster according to different requests from users.
  • FIG. 2 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • S201 Acquire a destination IP address carried in a data packet transmitted on the target TCP link.
  • S202 Obtain a configuration type of a virtual service configuration entity corresponding to the destination IP address, where the configuration type includes: a user-facing side and a server-facing side.
  • the configuration type includes: a user-facing side and a server-facing side.
  • the VS configuration entity when used externally, there is a VS (Virtual Server) configuration entity, which is used to provide the service IP address, and the VS configuration entity usually has two configuration types when used. One is a user-side configuration type for providing services to Internet users, and the other is a service-oriented configuration type for distributing requests to real server clusters (servers on the same LAN).
  • the corresponding VS configuration entity can be found according to the destination IP address, and then the configuration type of the virtual service configuration entity is determined.
  • S203 Determine that the configuration type is oriented to the user side or to the server side.
  • step S204 When the result of the determination is that the configuration type is the user-facing side, step S204 is performed; when the determination result is that the configuration type is the server-oriented side, step S205 is performed.
  • S205 Determine that the target network type is a local area network.
  • FIG. 3 is a schematic flowchart diagram of a TCP link configuration method according to another embodiment of the present invention. As shown in FIG. 3, the method may include the following steps:
  • S301 Obtain a destination IP address and a source IP address carried in the data packet transmitted on the target TCP link.
  • S302 Determine whether the destination IP address or the source IP address is an IP address of a server running the TCP service.
  • step S303 When the destination IP address is the IP address of the server running the TCP service, step S303 is performed.
  • step S304 is performed.
  • SS303 determining that the target network type is a local area network.
  • the destination IP address is the IP address of the server running the TCP service. At this time, the data transmitted on the TCP link is upstream.
  • S304 Determine that the target network type is a wide area network.
  • the source IP address is the IP address of the server running the TCP service. At this time, the data transmitted on the TCP link is the downstream stream.
  • FIG. 4 is a schematic flowchart diagram of a TCP link configuration method according to another embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
  • S401 Acquire a round-trip transmission time of the transport packet on the target TCP link.
  • S402 Determine whether the round-trip transmission time is less than a first preset duration.
  • the first preset duration may be 30 ms.
  • step S403 When the round-trip transmission time is less than the first preset duration, step S403 is performed; otherwise, step S404 is performed.
  • S403 Determine that the target network type is a local area network.
  • S405 Search for a target TCP configuration file corresponding to the target network type from a pre-created configuration repository.
  • FIG. 5 is a schematic flowchart of a TCP link configuration method according to another embodiment of the present invention. As shown in Figure 5a, the method can include the following steps:
  • S501 Acquire data information in a data packet transmitted by the target TCP link or transmission information generated by a data packet transmission process.
  • S502 Determine an initial network type of the network where the target TCP link is located according to the data information or the transmission information.
  • the initial network type includes the target network type.
  • the network environment corresponding to the target network type belongs to the network environment corresponding to the initial network type.
  • the WAN may include a wireless network
  • the initial network type may be a wide area network.
  • the target network type can be a wireless network.
  • S504 Perform initial configuration on the target TCP link by using the initial TCP configuration file.
  • the determined target TCP configuration file may not be the target TCP link at this time. Good matching results, such as the data packet transmitted after the target TCP link is established, cannot reflect the real transmission. In the case of the configuration, the configuration file of the target TCP link required after the configuration changes. Therefore, in the embodiment of the present invention, the network type determined according to the data information or the transmission information is used as the initial network type, and the TCP configuration file corresponding to the initial network type is used as the initial TCP configuration file to implement the target TCP link. Initial configuration.
  • S505 Acquire second transmission information generated by the process of transmitting a data packet on the target TCP link after the initial configuration.
  • S506 Determine, according to the second transmission information, a target network type of a network where the target TCP link is located.
  • the second transmission information includes: a throughput of a transmission packet on a target TCP link after initial configuration, a round-trip transmission time change, a delay peak, a maximum round-trip transmission time, a packet loss amount, and
  • step S506 may include:
  • step S506 may further include:
  • the second preset throughput may also be 20 Mbps
  • the third preset duration may also be 600 ms
  • the preset retransmission rate may be 10%.
  • steps 11), 12), 13), and 14) may be sequentially performed in the order of numbering, or may be arbitrarily performed in accordance with the number.
  • S507 Search for a target TCP configuration file corresponding to the target network type from a pre-created configuration repository.
  • S508 Configure the target TCP link by using the target TCP configuration file.
  • the method provided by the embodiment of the present invention when configuring the target TCP link, may first determine an initial network type by searching for data information or transmission information transmitted on the target TCP link, and searching and initializing The initial TCP configuration file corresponding to the network type, and the initial configuration of the target TCP link, and the data transmission after the initial configuration of the target TCP link, and then the process of transmitting the data packet on the target TCP link after the initial configuration is obtained.
  • the second information is transmitted, and the target network type of the network where the target TCP link is located is accurately determined according to the second transmission information.
  • the method may further include:
  • S510 Determine, according to the connection type and/or the second transmission information after the initial configuration, whether to adjust the initial TCP configuration file.
  • Step S510 can include:
  • connection type is a long connection and the number of congestions on the target TCP link is less than a preset value.
  • connection type is http short connection, or the number of data packets transmitted after congestion occurs is less than a preset number, or the propagation rate is less than a preset propagation rate, or the connection type is a long connection and congestion occurs If it is less than the preset value, proceed to 25). Otherwise, confirm that the selected initial TCP profile meets the needs of the target TCP link and no adjustment is needed.
  • S506 is performed when it is determined that the initial TCP configuration file is adjusted.
  • the method may further include:
  • S511 Determine the initial network type as the target network type, use the initial TCP configuration file as the target TCP configuration file, and perform S508.
  • FIG. 6 is a schematic flowchart diagram of a TCP configuration method according to still another embodiment of the present invention.
  • the method may further include:
  • S601 Determine whether a first message of a four-way handshake phase for disconnecting the target TCP link is received;
  • step S602 is performed, otherwise, it ends.
  • S602 Acquire attribute information of the target TCP link.
  • the attribute information of the TCP link refers to information for identifying a TCP link.
  • the attribute information includes: access port information or IP address information, the access port information refers to an access port value set by the user terminal, and the IP address information refers to an IP address of the user terminal.
  • the attribute information may also be an attribute field similar to cookie information.
  • S604 Store a correspondence between the attribute information and the target TCP configuration file in the configuration repository.
  • FIG. 7 is a schematic flowchart diagram of a TCP configuration method according to still another embodiment of the present invention.
  • the method may further include:
  • step S701 determining whether three packets for establishing a three-way handshake phase of the target TCP link are received; the packet received here to establish a three-way handshake phase of the target TCP link is as described in the foregoing embodiment. After the target TCP link is configured, the packet of the three-way handshake phase of the target TCP link is established again. When receiving the three messages, step S602 is performed, otherwise, it ends.
  • S702 Acquire attribute information of the target TCP link according to the three packets.
  • step S703 Find, in the configuration library, whether there is a TCP configuration file corresponding to the attribute information. When there is a TCP configuration file corresponding to the attribute information, step S704 is performed, otherwise, step S101 is performed.
  • S704 Search for the TCP configuration file as a target TCP configuration file, and configure the target TCP link.
  • the correspondence between the TCP attribute information and the TCP configuration file may be established in advance, so that the attribute carried in the packet of the third-link handshake can be found in the target TCP link establishment phase.
  • Information quickly determine the target TCP profile corresponding to the target TCP link.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a medium that can store program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the embodiments of the present invention further provide an apparatus and an apparatus for performing the foregoing method embodiments, which are described below by way of example.
  • the embodiment of the present invention further provides a TCP link configuration apparatus.
  • a TCP link configuration apparatus As shown in FIG. 8, 3 is a TCP link configuration apparatus, and the apparatus may include: an information acquisition unit 11 and a target network.
  • the information acquiring unit 11 is configured to acquire data information in a data packet transmitted on a target TCP link or transmission information generated by a data packet transmission process;
  • the target network type determining unit 12 is configured to determine, according to the data information or the transmission information, a target network type of the network where the target TCP link is located, where the data information includes: a packet carried in a data packet transmitted on the target TCP link a destination IP address and a source IP address; the second transmission information includes: throughput, round-trip transmission time variation, delay peak value, maximum round-trip transmission time, packet loss amount, and/or retransmission rate;
  • the target TCP configuration file determining unit 13 is configured to search for a target TCP configuration file corresponding to the target network type from a pre-created configuration library, where the configuration library includes a correspondence between a network type and a TCP configuration file, and each A network type corresponds to a TCP configuration file;
  • the configuration unit 14 is configured to configure the target TCP link by using the target TCP configuration file. It can be seen from the foregoing technical solution that the apparatus provided by the embodiment of the present invention can determine the target network type of the network where the target TCP link is located by detecting the data information or the transmission parameter transmitted on the target TCP link, and thus can be established in advance. The target TCP configuration file corresponding to the target network type is searched in the configuration repository, and finally the target TCP link is configured by using the target TCP configuration file. Therefore, the device can find and configure a matching TCP configuration file according to the transmission condition of the data packet on the target TCP link.
  • the target network type determining unit 12 may include: when the data information includes: a destination IP address and a source IP address carried in the data packet transmitted on the target TCP link, the target network type determining unit 12 may include:
  • a first determining unit configured to determine whether the destination IP address or the source IP address is an IP address of a server running the TCP service; and the first determining unit is configured to: when the destination IP address is an IP address of a server running the TCP service Determining that the target network type is a local area network; when the source IP address is an IP address of a server running a TCP service, determining that the target network type is a wide area network
  • the target network type determining unit including 12 may include:
  • a round-trip transmission time judging unit configured to determine whether the round-trip transmission time is less than a first preset duration
  • a second determining unit configured to: when the round-trip transmission time is less than the first preset duration, determine that the target network type is a local area network; when the round-trip transmission time is greater than or equal to the first preset duration, determine The target network type is a wide area network.
  • the target network type determining unit 12 may include: an initial network type determining unit 121, configured to determine the target according to the data information or the transmission information.
  • An initial network type corresponding to the TCP link where the initial network type includes the target network type
  • An initial TCP configuration file determining unit 122 configured to find an initial TCP configuration file corresponding to the initial network type
  • An initial configuration unit 123 configured to initially configure the target TCP link by using the initial TCP configuration file
  • the second transmission information acquiring unit 124 is configured to obtain second transmission information generated by the process of transmitting a data packet on the target TCP link after the initial configuration; the second transmission information includes: transmitting data on the target TCP link after initial configuration The second transmission information generated by the packet process.
  • the target network type determining sub-unit 125 is configured to determine, according to the second transmission information, a target network type of the network where the target TCP link is located.
  • the target network type determining sub-unit 124 may include: a determining unit, configured to determine the target network when the throughput is less than the first preset throughput, no round-trip transmission time change occurs before congestion, no delay peak is detected, and a round-trip transmission time is not less than a second preset duration
  • the type is a wireless network, or, when the throughput is less than the second preset throughput, the maximum round-trip transmission time is less than the third preset duration, multiple packet loss does not occur within one round-trip transmission time, and the retransmission rate is less than When the retransmission rate is set, it is determined that the target network type is a wireless
  • the device 3 may further include:
  • a connection type obtaining unit 15 is configured to obtain a connection type of the target TCP link after the initial configuration, and a second determining unit 16, configured to disconnect whether the connection type is a http short connection; and/or, after determining the initial configuration Whether the number of data packets transmitted after the target TCP link is congested is less than a preset number; and/or, determining whether the propagation rate of the data packet transmitted after the target TCP link is congested after the initial configuration is less than a preset propagation rate And/or, determining whether the connection type is a long connection and the number of times of congestion on the target TCP link is less than a preset value; When the connection type is http short connection, or the number of data packets transmitted after congestion occurs is less than a preset number, or the propagation rate is less than a preset propagation rate, or the connection type is a long connection and congestion occurs When less than the preset value, the target network type determining sub-unit 125 performs an operation of determining a target network type of the
  • the target network type determining sub-unit 125 is further configured to determine the initial network type as the target network type, the target TCP configuration file.
  • the determining unit 13 is further configured to use the initial TCP configuration file as a target TCP configuration file.
  • the final target network type can be made more accurate, which can make the target TCP link configuration more suitable for the network type to which it belongs, can maximize the use of network bandwidth, and improve TCP transmission efficiency.
  • the apparatus may further include:
  • the broken link message detecting unit 21 is configured to determine whether the first message of the four-way handshake phase for disconnecting the target TCP link is received;
  • the first attribute information acquiring unit 22 is configured to: when the first packet is received, acquire attribute information of the target TCP link, where the attribute information includes: access port information or IP address information;
  • a correspondence establishing unit 23 configured to establish a correspondence between the attribute information and the target TCP configuration file
  • the correspondence relationship storage unit 24 is configured to store a correspondence relationship between the attribute information and the target TCP configuration file into the configuration repository.
  • the apparatus may further include:
  • the link-building packet detecting unit 31 is configured to determine whether three packets for establishing a three-way handshake phase of the target TCP link are received;
  • the second attribute information obtaining unit 32 is configured to acquire attribute information of the target TCP link according to the three messages when the three messages are received, where the attribute information includes: access port information or IP address information;
  • the searching unit 33 is configured to search, in the configuration library, whether a TCP configuration file corresponding to the attribute information exists; a second configuration unit 34, configured to: when the TCP configuration file corresponding to the attribute information exists, find the TCP configuration file as a target TCP configuration file, and configure the target TCP link; When there is a TCP configuration file corresponding to the attribute information, the information acquisition unit 11 performs an operation.
  • the device provided by the embodiment of the present invention can establish a correspondence between the TCP attribute information and the TCP configuration file in advance, so that the target TCP link is built in the chain, and the packet can be carried in the packet of the three-way handshake.
  • the attribute information quickly determines the target TCP configuration file corresponding to the target TCP link.
  • the embodiment of the present invention further provides a TCP link control device, which may include the TCP link configuration device described in any of the embodiments of FIG. 8 to FIG.
  • FIG. 13 is a schematic structural diagram of a TCP link control device according to an embodiment of the present invention. As shown in FIG. 13, the device may include: a processor 100 and a memory 200 and, wherein
  • the processor 100 is configured to execute the following programs:
  • the target TCP link is configured with the target TCP configuration file.
  • processor 100 is further configured to execute the program corresponding to the steps shown in any one of the foregoing embodiments of FIG.
  • the memory 200 is for storing a configuration library, and stores judgment conditions for the processor 100 to perform various judgments. It will be appreciated that the present invention is applicable to a wide variety of general purpose or special purpose computing system environments or configurations. For example: personal computer, server computer, handheld or portable device, tablet device, multiprocessor system, microprocessor based system, set-top box, programmable consumer electronics device, network PC, small computer, mainframe computer, including A distributed computing environment of any of the above systems or devices, and the like.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the invention can also be practiced in distributed computing environments where these are distributed In a computing environment, tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

Abstract

本发明实施例公开了一种TCP链路配置方法、装置及设备,该方法包括:获取目标TCP链路上传输的数据包内的数据信息或传输数据包过程产生的传输信息;根据所述数据信息或传输信息确定所述目标TCP链路所处网络的目标网络类型;从预先创建的配置库内查找与所述目标网络类型对应的目标TCP配置文件,其中,所述配置库内包含网络类型与TCP配置文件的对应关系,每一种网络类型都对应有一个TCP配置文件;利用所述目标TCP配置文件对所述目标TCP链路进行配置。该方法可以使得目标TCP链路配置后更加适应其所处的网络,能够最大限度利用网络带宽,提高TCP传输效率。

Description

TCP链路配置方法、 装置及设备
技术领域 本发明涉及网络技术领域, 特别是涉及一种 TCP链路配置方法、 装置及设备。 背景技术
TCP ( Transmi ss ion Control Protocol , 传输控制协议)是目前 Internet 上 使用最广泛的一种传输层协议, 它可以解决 Internet 上各数据流之间享用带宽 的公平性、 使用效率及拥塞控制等问题, 从而为 Internet 提供可靠、 健壮 ( robust ) 的端到端通讯。
拥塞控制是 TCP协议的一个核心功能。 基于 Internet 的交换机的通信信道 及缓冲存储空间通常是网上所有主机共享的资源, 也是网络系统潜在的瓶颈。 随 着主机数以及业务数量的不断增多, 就有可能发生资源竞争, 从而导致网络出现 拥塞。 TCP 的一个重要组成部分是执行拥塞控制和拥塞恢复的算法集合, TCP拥 塞控制算法的目标是最大限度利用网络带宽, 同时控制数据传输过程中不产生拥 塞现象。
IETF ( Internet Engineering Task Force , 互联网工程任务组) 的拥塞控 制规范提出了一些通用的算法, 但在具体应用中, 由于网络环境复杂多变, 存在 众多问题, 目前虽然针对这些问题提出了很多改进的 TCP 拥塞控制算法(例如: FastTcp/Westwood+/NewReno 等)禾口参数(例如: SACK/FACK/Limi ted Transmit 等), 但每种拥塞控制算法仅是针对某一类具体网络环境而设计, 当网络环境变 化后, 之前配置的拥塞控制算法和参数可能不再适用新的网络环境, 导致网络带 宽的利用率和 TCP传输效率不高。 发明内容
本发明中提供了一种 TCP链路配置方法、 装置及设备, 以提高 TCP传输的效率。 为实现上述目的, 本发明提供的技术方案如下:
一方面, 本发明公开了一种传输控制协议 TCP 链路配置方法, 包括: 获取目标
TCP链路上传输的数据包内的数据信息或传输数据包过程产生的传输信息; 根据所述 数据信息或传输信息确定所述目标 TCP链路所处网络的目标网络类型;从预先创建的 配置库内查找与所述目标网络类型对应的目标 TCP配置文件,其中,所述配置库内包 含网络类型与 TCP配置文件的对应关系,每一种网络类型都对应有一个 TCP配置文件; 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 结合第一方面, 在第一方面第一种可能的实现方式中, 所述数据信息包括: 目标 TCP链路上传输的数据包内所携带的目的 IP地址和源 IP地址; 所述根据所述数据信 息确定所述目标 TCP链路所处网络的目标网络类型包括: 判断所述目的 IP地址或源 IP地址是否为运行 TCP服务的服务器的 IP地址; 当所述目的 IP地址为运行 TCP服 务的服务器的 IP地址时,确定所述目标网络类型为局域网; 当所述源 IP地址为运行 TCP服务的服务器的 IP地址时, 确定所述目标网络类型为广域网。 结合第一方面, 在第一方面第二种可能的实现方式中, 所述传输信息包括: 目标
TCP链路上传输数据包的往返传输时间; 所述根据所述传输信息确定所述目标 TCP链 路对应的目标网络类型, 包括: 判断所述往返传输时间是否小于第一预设时长; 当所 述往返传输时间小于所述第一预设时长时,确定所述目标网络类型为局域网; 当所述 往返传输时间大于等于所述第一预设时长时, 确定所述目标网络类型为广域网。 结合第一方面, 在第一方面第三种可能的实现方式中, 所述根据所述数据信息或 传输参数确定所述目标 TCP链路所处网络的目标网络类型,包括: 根据所述数据信息 或传输参数确定所述目标 TCP链路所处网络的初始网络类型;在所述配置库内查找与 所述初始网络类型对应的初始 TCP配置文件;利用所述初始 TCP配置文件对所述目标 TCP链路进行初始配置; 获取初始配置后所述目标 TCP链路上传输数据包过程产生的 第二传输信息;根据所述第二传输信息确定所述目标 TCP链路所处网络的目标网络类 型。 结合第一方面第三种可能的实现方式, 在第一方面第四种可能的实现方式中, 所 述第二传输信息包括: 吞吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和 /或重传率; 根据所述第二传输信息确定所述目标 TCP链路所处网络 的目标网络类型, 包括: 当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返传输 时间变化、未检测到延迟峰值且往返传输时间不小于第二预设时长时,确定所述目标 网络类型为无线网络; 或者, 当所述吞吐量小于第二预设吞吐量、最大往返传输时间 小于第三预设时长、在一个往返传输时间内未发生多个数据包丢失且重传率小于预设 重传率时, 确定所述目标网络类型为无线网络。 结合第一方面第三种可能的实现方式或第四种可能的实现方式,在第一方面第五 种可能的实现方式中,所述获取初始配置后所述目标 TCP链路上传输数据包过程产生 的第二传输信息之后,所述方法还包括: 获取初始配置后所述目标 TCP链路的连接类 型; 判断所述连接类型是否为 http 短连接; 和 /或, 判断初始配置后所述目标 TCP 链路出现拥塞后传输的数据包的数量是否小于预设数量; 和 /或, 判断初始配置后所 述目标 TCP链路出现拥塞后传输的数据包的传播率是否小于预设传播率; 和 /或, 判 断所述连接类型是否为长连接且所述目标 TCP 链路上出现拥塞的次数是否小于预设 值; 当所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于预设 数量, 或, 传播率小于预设传播率, 或, 所述连接类型为长连接且出现拥塞的次数小 于预设值时,执行根据所述第二传输信息确定所述目标 TCP链路所处网络的目标网络 类型的步骤。 结合第一方面、第一方面第一种可能的实现方式、第一方面第二种可能的实现方 式、第一方面第三种可能的实现方式、第一方面第四种可能的实现方式或第一方面第 五种可能的实现方式, 在第一方面第六种可能的实现方式中, 所述方法还包括: 判断 是否接收到用于将所述目标 TCP链路断链的四次握手阶段的第一个报文;当接收到用 于将所述目标 TCP链路断链的四次握手阶段的第一个报文时,获取所述目标 TCP链路 的属性信息, 所述属性信息包括: 接入端口或 IP地址; 建立所述属性信息与所述目 标 TCP配置文件之间的对应关系,并将所述属性信息与所述目标 TCP配置文件之间的 对应关系存储到所述配置库中。 结合第一方面第六种可能的实现方式, 在第一方面第七种可能的实现方式中, 所 述方法还包括:判断是否接收到用于建立所述目标 TCP链路的三次握手阶段的三个报 文; 当接收到用于建立所述目标 TCP链路的三次握手阶段的三个报文时, 获取所述三 个报文中携带的所述目标 TCP链路的属性信息;在所述配置库中查找是否存在与所述 属性信息相对应的 TCP配置文件; 当存在与所述属性信息相对应的 TCP配置文件时, 利用查找到 TCP配置文件对所述目标 TCP链路进行配置。
第二方面, 本发明公开了一种传输控制协议 TCP链路配置装置, 应用于通信网络 中,在通信网络两侧分别设置有用户终端和服务器,用户终端和服务器之间通过通信 网络建立 TCP链路,所述装置设置在通信网络的网络设备中或设置在服务器中,用于 对所述 TCP链路进行配置, 所述装置包括: 信息获取单元, 用于获取目标 TCP链路上 传输的数据包内的数据信息或传输数据包过程产生的传输信息; 目标网络类型确定单 元,用于根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的目标网络类 型; 目标 TCP配置文件确定单元,用于从预先创建的配置库内查找与所述目标网络类 型对应的目标 TCP配置文件,其中,所述配置库内包含网络类型与 TCP配置文件的对 应关系, 每一种网络类型都对应有一个 TCP配置文件; 配置单元, 用于利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 结合第二方面, 在第二方面第一种可能的实现方式中, 所述数据信息包括: 目标
TCP链路上传输的数据包内所携带的目的 IP地址和源 IP地址; 所述目标网络类型确 定单元包括: 第一判断单元, 用于判断所述目的 IP地址或源 IP地址是否为运行 TCP 服务的服务器的 IP地址; 第一确定单元,用于当所述目的 IP地址为运行 TCP服务的 服务器的 IP地址时, 确定所述目标网络类型为局域网; 当所述源 IP地址为运行 TCP 服务的服务器的 IP地址时, 确定所述目标网络类型为广域网。 结合第二方面, 在第二方面第二种可能的实现方式中, 所述传输信息包括: 目标
TCP链路上传输数据包的往返传输时间; 所述目标网络类型确定单元包括: 往返传输 时间判断单元, 用于判断所述往返传输时间是否小于第一预设时长; 第二确定单元, 用于当所述往返传输时间小于所述第一预设时长时, 确定所述目标网络类型为局域 网; 当所述往返传输时间大于等于所述第一预设时长时,确定所述目标网络类型为广 域网。 结合第二方面, 在第二方面第三种可能的实现方式中, 所述目标网络类型确定单 元包括: 初始网络类型确定单元, 用于根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的初始网络类型; 初始 TCP配置文件确定单元, 用于在所述配置库 内查找与所述初始网络类型对应的初始 TCP配置文件; 初始配置单元,用于利用所述 初始 TCP配置文件对所述目标 TCP链路进行初始配置; 第二传输信息获取单元,用于 获取初始配置后所述目标 TCP链路上传输数据包过程产生的第二传输信息; 目标网络 类型确定子单元,用于根据所述第二传输信息确定所述目标 TCP链路所处网络的目标 网络类型。 结合第二方面第三种可能的实现方式, 第二方面第四种可能的实现方式中, 所述 第二传输信息包括: 吞吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数 据包丢失量和 /或重传率; 所述目标网络类型确定子单元, 包括: 第三确定单元, 用 于当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返传输时间变化、未检测到延 迟峰值且往返传输时间不小于第二预设时长时, 确定所述目标网络类型为无线网络, 或者, 当所述吞吐量小于第二预设吞吐量、最大往返传输时间小于第三预设时长、在 一个往返传输时间内未发生多个数据包丢失且重传率小于预设重传率时,确定所述目 标网络类型为无线网络。 结合第二方面、第二方面第一种可能的实现方式、第二方面第二种可能的实现方 式、第二方面第三种可能的实现方式或第二方面第四种可能的实现方式,在第二方面 第五种可能的实现方式中, 所述装置还包括: 连接类型获取单元, 用于获取初始配置 后所述目标 TCP链路的连接类型; 第二判断单元, 用于断所述连接类型是否为 http 短连接; 和 /或, 判断初始配置后所述目标 TCP链路出现拥塞后传输的数据包的数量 是否小于预设数量; 和 /或, 判断初始配置后所述目标 TCP链路出现拥塞后传输的数 据包的传播率是否小于预设传播率; 和 /或, 判断所述连接类型是否为长连接且所述 目标 TCP链路上出现拥塞的次数是否小于预设值; 当所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于预设数量,或,传播率小于预设传播率,或, 所述连接类型为长连接且出现拥塞的次数小于预设值时,所述目标网络类型确定子单 元执行操作。 结合第二方面五种可能的实现方式, 在第二方面第六种可能的实现方式中, 所述 装置还包括: 断链报文检测单元,用于判断是否接收到用于将所述目标 TCP链路断链 的四次握手阶段的第一个报文; 第一属性信息获取单元,用于当接收到用于将所述目 标 TCP链路断链的四次握手阶段的第一个报文时,获取所述目标 TCP链路的属性信息, 所述属性信息包括: 接入端口或 IP地址; 存储单元, 用于建立所述属性信息与所述 目标 TCP配置文件之间的对应关系,并将所述属性信息与所述目标 TCP配置文件之间 的对应关系存储到所述配置库中。 结合第二方面六种可能的实现方式, 在第二方面第七种可能的实现方式中, 所述 装置还包括: 建链报文检测单元,用于判断是否接收到用于建立所述目标 TCP链路的 三次握手阶段的三个报文; 第二属性信息获取单元,用于当接收到用于建立所述目标 TCP链路的三次握手阶段的三个报文时, 获取所述三个报文中携带的所述目标 TCP链 路的属性信息; 查找单元,用于在所述配置库中查找是否存在与所述属性信息相对应 的 TCP配置文件; 第二配置单元,用于当存在与所述属性信息相对应的 TCP配置文件 时, 利用查找到 TCP配置文件对所述目标 TCP链路进行配置。 第三方面, 本发明公开了一种传输控制协议 TCP链路控制设备, 包括如上述第二 方面或第二方面任意一个可能实现方式中的 TCP链路配置装置。 由以上技术方案可以看出, 采用本发明的方法和装置, 通过检测目标 TCP链路 上传输的数据包内的数据信息或传输数据包过程产生的传输信息, 可以确定与目标
TCP链路对应的目标网络类型, 进而可以在预先建立的配置库内查找与目标网络类型 对应的目标 TCP配置文件, 最后利用该目标 TCP配置文件对目标 TCP链路进行配置。 因此, 该方法可以根据目标 TCP链路上传输数据包的情况, 查找相匹配的 TCP配置文 件并进行配置, 从而可以使得目标 TCP链路配置后更加适应其所处的网络类型, 能够 最大限度利用网络带宽, 提高 TCP传输效率。 附图说明 为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附 图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获 得其他的附图。
图 la为本申请实施例提供的 TCP链路配置方法应用的一种网络拓扑图; 图 lb为本发明一个实施例提供的 TCP链路配置方法的流程示意图;
图 lc为本发明实施例提供的一种 TCP链路配置文件的一种模板示意图; 图 Id为本发明实施例提供的一种 TCP链路配置文件的另一种模板示意图; 图 2为本发明另一实施例提供的 TCP链路配置方法的流程示意图;
图 3为本发明又一实施例提供的 TCP链路配置方法的流程示意图;
图 4为本发明又一实施例提供的 TCP链路配置方法的流程示意图;
图 5a为本发明又一实施例提供的 TCP链路配置方法的流程示意图;
图 5b为本发明又一实施例提供的 TCP链路配置方法的流程示意图;
图 6为本发明又一个实施例提供的 TCP链路配置方法的流程示意图;
图 7为本发明又一个实施例提供的 TCP链路配置方法的流程示意图;
图 8为本发明一个实施例提供的 TCP链路配置装置的结构示意图;
图 9为本发明实施例提供的目标网络类型确定单元的一种结构示意图; 图 10为本发明实施例提供的目标网络类型确定单元的另一种结构示意图; 图 11为本发明另一实施例提供的 TCP链路配置装置的结构示意图;
图 12为本发明又一实施例提供的 TCP链路配置装置的结构示意图;
图 13为本发明实施例提供的一种 TCP链路控制设备的结构示意图。 具体实施方式 为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实 施例的上述目的、特征和优点能够更加明显易懂, 下面结合附图对本发明实施例中技 术方案作进一步详细的说明。 图 la为本申请实施例提供的 TCP链路配置方法应用的一种网络拓扑图。如图 la 所示, 图中 1为用户终端, 2为服务器, 多个服务器 2形成服务器集群, 用户终端 1 与服务器集群 2通过互联网相连接, 互联网可以为常见的广域网或局域网,广域网包 括有线传输网络和无线传输网络。本申请实施例提供的该 TCP链路配置装置用于对用 户终端与服务器之间建立的 TCP链路进行配置,以提供服务用户终端所在网络环境的 拥塞控制算法和参数。 可选地, TCP链路配置装置可以位于网络设备中, 例如: 路由 器、 交换机、 调整解调器或通讯服务器等等, 另外, 在其它实施例中, 该 TCP链路配 置装置还可以位于一个服务器或有多个服务器组成的服务器集群中。 图 lb为本发明一个实施例提供的 TCP链路配置方法的流程示意图。如图 lb所示, 该方法可以包括以下步骤:
S101 :获取目标 TCP链路上传输的数据包内的数据信息或传输数据包过程产生的 传输信息。
数据信息和传输信息都是确定目标 TCP 链路的网络类型的依据。 本发明实施例 中, 数据信息可以包括: 目标 TCP链路上传输的数据包内携带的目的 IP地址或源 IP 地址等, 传输信息是指目标 TCP链路上传输数据包的一些网络参数, 例如: 吞吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和 /或重传率等。
S102:根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的目标网络 类型。
数据信息或传输信息可以反映出目标 TCP链路在传输数据时的实际情况,通过数 据信息或传输信息可以对目标 TCP链路所处网络的网络类型进行定位,以确定出目标 TCP链路所处网络的目标网络类型。
例如, 当目的 IP地址为运行 TCP服务的服务器的 IP地址时, 就可以确定目标 TCP链路的目标网络类型为局域网, 或, 当往返传输时间大于等于所述第一预设时长 时, 第一预设时长可以为 30ms, 就可以确定目标网络类型为广域网。
S103: 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文 件。
在本发明实施例中,可以通过多次实验或理论分析, 预先获取与不同网络类型的 TCP配置文件, 一个网络类型的 TCP配置文件可能为一个, 也可能为多个, 但对于每 一个网络类型均可以设置一个默认 TCP配置文件,并且预先建立包含网络类型和默认 配置 TCP配置文件对应关系的配置库, 以便在获取到目标网络类型后,可以从配置库 内查找与目标网络类型对应的默认 TCP配置文件, 当查找到默认 TCP配置文件后,将 查找到默认 TCP配置文件作为目标 TCP配置文件。
TCP配置文件中包含有与对应网络类型相匹配的拥塞控制算法和优化参数模板, 如图 lc和图 Id所示, 为本发明实施例提供的一种 TCP配置文件的两种模板示意图, 图中 SACK为 Selective Acknowledgment,中文翻译为 "选择性确认"。 图 lc和图 Id 所示的模板仅仅是本发明的一种实例, 可选地, 在本发明其它实施例中, 本领域技术 人员可以根据需要在 TCP配置文件的模板中增加或减少配置文件中的内容。
S104: 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。
由以上技术方案可见,本发明实施例提供的该方法,通过检测目标 TCP链路上传 输的数据包内的数据信息或传输数据包过程产生的传输信息,可以确定目标 TCP链路 所处网络的目标网络类型,进而可以在预先建立的配置库内查找与目标网络类型对应 的目标 TCP配置文件, 并利用该目标 TCP配置文件对目标 TCP链路进行配置。 因此, 该方法可以根据目标 TCP链路上传输数据包的情况,查找相匹配的 TCP配置文件并进 行配置。
与现有技术相比,该方法可以自动选择与目标 TCP链路匹配的目标 TCP配置文件, 使得目标 TCP链路配置后更加适应其所属的网络类型, 能够最大限度利用网络带宽, 提高 TCP传输效率。 下面以 ADC (Application Delivery Control ler, 应用分发控制) 服务器为例 进行说明。 在 ADC场景中, ADC 设备部署在服务器集群前端, 服务器集群处于 LAN 侧, 用户处于 WAN侧, ADC设备根据用户不同请求内容分发到集群不同的服务器上。
图 2为本发明另一实施例提供的 TCP链路配置方法的流程示意图。 如图 2所示, 该方法可以包括以下步骤:
S201: 获取目标 TCP链路上传输的数据包内携带的目的 IP地址。
S202 : 获取与所述目的 IP地址对应的虚拟服务配置实体的配置类型, 配置类型 包括: 面向用户侧和面向服务器侧。 在 ADC场景中, 在 ADC设备在对外提供服务时会有一个 VS (Virtual Server, 虚拟服务)配置实体, 用来对外提供服务 IP地址, 并且 VS配置实体在使用时通常有 两个配置类型, 其中, 一个是面向用户侧的配置类型, 用于向 Internet用户提供服 务, 另一个是面向服务侧的配置类型, 用于向真实的服务器集群(处于同一局域网内 的服务器) 分发请求。
所以, 当获取到目标 TCP链路上传输的数据包内携带的目的 IP地址后, 可以根 据该目的 IP地址,查找到对应 VS配置实体,进而确定虚拟服务配置实体的配置类型。
S203: 判断所述配置类型为面向用户侧或面向服务器侧。
当判断结果为配置类型为面向用户侧时, 进行步骤 S204; 当判断结果为配置类 型为面向服务器侧时, 进行步骤 S205。
S204: 确定所述目标网络类型为广域网。
S205: 确定所述目标网络类型为局域网。
S206: 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文 件。
S207: 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 图 3为本发明又一实施例提供的 TCP链路配置方法的流程示意图。 如图 3所示, 该方法可以包括以下步骤:
S301 :获取所述目标 TCP链路上传输的数据包内携带的目的 IP地址和源 IP地址; S302: 判断所述目的 IP地址或源 IP地址是否为运行 TCP服务的服务器的 IP地 址;
当所述目的 IP地址为运行 TCP服务的服务器的 IP地址时, 进行步骤 S303, 当 所述源 IP地址为运行 TCP服务的服务器的 IP地址时, 进行步骤 S304。
SS303: , 确定所述目标网络类型为局域网。
目的 IP地址为运行 TCP服务的服务器的 IP地址,此时 TCP链接上传输的数据为 上行流。
S304: 确定所述目标网络类型为广域网。
源 IP地址为运行 TCP服务的服务器的 IP地址,此时 TCP链接上传输的数据为下 行流。
S305: 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文 件。 S306 : 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 图 4为本发明又一实施例提供的 TCP链路配置方法的流程示意图。 如图 4所示, 该方法可以包括以下步骤:
S401 : 获取目标 TCP链路上传输数据包的往返传输时间。
S402 : 判断所述往返传输时间是否小于第一预设时长。
在本发明实施例中, 第一预设时长可以为 30ms。
当所述往返传输时间小于所述第一预设时长时, 进行步骤 S403, 否则, 进行步 骤 S404。
S403 : 确定所述目标网络类型为局域网。
S404: 确定所述目标网络类型为广域网。
S405 : 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文 件。
S406 : 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 图 5a为本发明又一实施例提供的 TCP链路配置方法的流程示意图。如图 5a所示, 该方法可以包括以下步骤:
S501 :获取目标 TCP链路传输的数据包内的数据信息或传输数据包过程产生的传 输信息。
S502 :根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的初始网络 类型。
这里初始网络类型包含所述目标网络类型,具体是指目标网络类型所对应的网络 环境属于初始网络类型所对应的网络环境中, 例如: 广域网下可以包含有无线网络, 那么初始网络类型可以为广域网, 目标网络类型可以为无线网络。
S503 : 查找与所述初始网络类型对应的初始 TCP配置文件。
初始 TCP配置文件的查找过程可以参见上述步骤 S102中关于目的 TCP配置文件 的查找过程。
S504: 利用所述初始 TCP配置文件对所述目标 TCP链路进行初始配置。
在上述图 lb-图 4所示实施例, 当利用数据信息或传输信息确定目标网络类型, 并对目标网络类型进行配置后, 此时, 确定的目标 TCP配置文件有可能不是目标 TCP 链路最佳的匹配结果,例如目标 TCP链路刚建立后传输的数据包无法反应真实的传输 情况, 或者, 当配置后网络环境出现变化后, 配置后的目标 TCP链路需求的配置文件 会产生变化。所以, 在本发明实施例中, 将根据数据信息或传输信息确定的网络类型 作为初始网络类型,并且将与初始网络类型对应的 TCP配置文件作为初始 TCP配置文 件, 以实现对目标 TCP链路进行初始配置。
S505: 获取初始配置后所述目标 TCP 链路上传输数据包过程产生的第二传输信 息。
S506: 根据所述第二传输信息确定与所述目标 TCP 链路所在网络的目标网络类 型。
在本发明实施例中,所述第二传输信息包括: 初始配置后目标 TCP链路上传输数 据包的吞吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和
/或重传率等等。
其中, 当第二传输信息包括: 吞吐量、 往返传输时间变化、 延迟峰值和最大往返 传输时间时, 步骤 S506可以包括:
01 ) 判断吞吐量是否小于第一预设吞吐量;
02 ) 判断在拥塞发生前是否出现往返传输时间变化;
03 ) 判断是否检测到延迟峰值;
04) 判断往返传输时间是否小于第二预设时长;
05 )当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返传输时间变化、 未检 测到延迟峰值且往返传输时间不小于第二预设时长时,确定所述目标网络类型为无线 网络。 在本申请实施例中,第一预设吞吐量可以为 20Mbps,第二预设时长可以为 600ms, 另外, 上述步骤 01)、 02)、 03 ) 和 04) 可以按照编号顺序依次执行, 也可以不按照 编号任意执行。 另外, 当第二传输信息包括: 吞吐量、 最大往返传输时间、 数据包丢失量和重传 率时, 步骤 S506还可以包括:。
11 ) 判断吞吐量是否小于第二预设吞吐量;
12 ) 判断最大往返传输时间是否小于第三预设时长;
13 ) 判断是否在一个往返传输时间内未发生多个数据包丢失;
14) 判断重传率是否小于预设重传率;
15 ) 当所述吞吐量小于第二预设吞吐量、 最大往返传输时间小于第三预设时长、 在一个往返传输时间内未发生多个数据包丢失且重传率小于预设重传率时,确定所述 目标网络类型为无线网络。 在本申请实施例中, 第二预设吞吐量也可以为 20Mbps, 第三预设时长也可以为 600ms , 预设重传率可以为 10%。 另外, 述步骤 11)、 12)、 13 ) 和 14 ) 可以按照编号 顺序依次执行, 也可以不按照编号任意执行。
S507 : 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文 件。
S508 : 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。
由以上技术方案可见,本发明实施例提供的该方法,在对目标 TCP链路进行配置 时,可以先通过获取目标 TCP链路上传输的数据信息或传输信息确定一个初始网络类 型, 查找与初始网络类型相对应的初始 TCP配置文件, 并对目标 TCP链路进行初始配 置, 目标 TCP链路初始配置后进行传输数据, 此时再获取初始配置后目标 TCP链路上 传输数据包过程产生的第二传输信息,并根据第二传输信息精确确定目标 TCP链路所 处网络的目标网络类型。
通过两步确定的方式, 能够使得最终确定的目标网络类型更加准确,进而可以使 得目标 TCP链路配置后更加适应其所属的网络类型, 能够最大限度利用网络带宽,提 高 TCP传输效率。 在图 5a的基础上, 参见图 5b, 在本发明实施例中, 在步骤 S505之后该方法还 可以包括:
S509 : 获取初始配置后所述目标 TCP链路的连接类型。
S510 : 根据所述连接类型和 /或初始配置后的第二传输信息判断是否对所述初始 TCP配置文件进行调整。
其中: 步骤 S510可以包括:
21 ): 判断所述连接类型是否为 http短连接。
22): 判断初始配置后所述目标 TCP链路出现拥塞后传输的数据包的数量小于预 设数量。
23 ): 判断初始配置后所述目标 TCP链路出现拥塞后传输的数据包的传播率小于 预设传播率。
24 ): 判断所述连接类型是否为长连接且所述目标 TCP链路上出现拥塞的次数小 于预设值。
上述 21 )、 22)、 23 ) 和 24 ) 多个判断步骤, 可以依次执行, 也可以按照其它顺 序执行, 可选地, 在本发明其它实施例中, 还可以执行上述任意一个或多个步骤。 当 所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于预设数量, 或, 传播率小于预设传播率, 或, 所述连接类型为长连接且出现拥塞的次数小于预设 值时, 进行 25), 否则, 确认选择的初始 TCP配置文件满足目标 TCP链路的需要, 无 需进行调整。
25): 确定对所述初始 TCP配置文件进行调整。
当确定对所述初始 TCP配置文件进行调整时, 才执行 S506。
而当确定不对所述初始 TCP配置文件进行调整时, 如图 5b所示, 该方法还可以 包括:
S511 : 将所述初始网络类型确定为目标网络类型,将所述初始 TCP配置文件作为 目标 TCP配置文件,并进行 S508。
对于一次确定网络类型就能够准确找到与目标 TCP链路网络类型,此时可以直接 利用初始配置结果, 而不再对目标 TCP链路的配置情况进行调整。 图 6为本发明又一个实施例提供的 TCP配置方法的流程示意图。在上述图 lb-图 lb、 图 2、 图 3、 图 4、 图 5a和图 5b所示实施例的基础上, 当利用所述目标 TCP配 置文件对所述目标 TCP链路进行配置后, 如图 6所示, 该方法还可以包括:
S601 :判断是否接收到用于将所述目标 TCP链路断链的四次握手阶段的第一个报 文;
当接收到所述第一报文时, 进行步骤 S602, 否则, 结束。
S602: 获取所述目标 TCP链路的属性信息。
TCP链路的属性信息是指用于识别 TCP链路的信息。 在本发明实施例中, 所述属 性信息包括: 接入端口信息或 IP地址信息, 接入端口信息是指用户终端设置的接入 端口值, IP地址信息是指用户终端的 IP地址。 可选地, 在本发明其它实施例中, 属 性信息还可以为类似 Cookie信息的属性字段。
S603: 建立所述属性信息与所述目标 TCP配置文件之间的对应关系。
S604:将所述属性信息与所述目标 TCP配置文件之间的对应关系存储到所述配置 库中。
本发明实施例中, 通过获取目标 TCP链路的属性信息, 可以在每次配置完成后, 目标 TCP链路断链阶段时,都将目标 TCP链路的属性信息与目标 TCP配置文件的对应 关系存储到配置库中, 以便后续相同属性信息的 TCP链路再次建立时使用,可以直接 利用之前记录的目标 TCP配置文件对相同属性信息再次建立的 TCP链路进行配置。 图 7为本发明又一个实施例提供的 TCP配置方法的流程示意图。在上述图 6所示 实施例的基础上,当配置库内存储有目标 TCP链路的属性信息与目标 TCP配置文件的 对应关系时, 如图 7所示, 该方法还可以包括:
S701 : 判断是否接收到用于建立所述目标 TCP链路的三次握手阶段的三个报文; 这里收到的建立目标 TCP 链路的三次握手阶段的报文是指在已经通过上面实施 例记载的方案对目标 TCP链路进行过配置后,再次建立目标 TCP链路时三次握手阶段 的报文。 当接收到这三个报文时, 进行步骤 S602 , 否则, 结束。
S702 : 根据所述三个报文获取所述目标 TCP链路的属性信息。
S703 : 在所述配置库中查找是否存在与所述属性信息相对应的 TCP配置文件。 当存在与所述属性信息相对应的 TCP配置文件时, 进行步骤 S704, 否则, 执行 步骤 S101。
S704: 利用查找到所述 TCP配置文件作为目标 TCP配置文件, 并对所述目标 TCP 链路进行配置。
本发明实施例提供的该方法,可以预先建立 TCP属性信息与 TCP配置文件之间的 对应关系,这样在目标 TCP链路建链阶段, 就可以通过查找建链三次握手的报文内携 带的属性信息, 快速确定目标 TCP链路对应的目标 TCP配置文件。 上述图 lb、 图 2、 图 3、 图 4、 图 5a、 图 5b、 图 6和图 7所示多个方法实施例, 不同方法实施例之间的相同步骤可以相互参考借鉴,不同方法实施例之间的不同的步 骤也可以相互组合, 组合后形成的技术方案, 也属于本发明实施例的保护范围。
通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本发明可 借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,但很多情况下 前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技 术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存 储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或 者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介 质包括: 只读存储器(R0M)、 随机存取存储器(RAM)、 磁碟或者光盘等各种可以存储 程序代码的介质。
本发明实施例还提供用于执行上述方法实施例的装置和设备, 以下做举例介绍。 在上述方法实施例的基础上,本发明实施例还提供了一种 TCP链路配置装置, 如 图 8所示, 3为 TCP链路配置装置, 该装置可以包括: 信息获取单元 11、 目标网络类 型确定单元 12、 目标 TCP配置文件确定单元 13和配置单元 14, 其中:
信息获取单元 11用于获取目标 TCP链路上传输的数据包内的数据信息或传输数 据包过程产生的传输信息;
目标网络类型确定单元 12用于根据所述数据信息或传输信息确定所述目标 TCP 链路所处网络的目标网络类型,所述数据信息包括: 目标 TCP链路上传输的数据包内 所携带的目的 IP地址和源 IP地址; 所述第二传输信息包括: 吞吐量、往返传输时间 变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和 /或重传率;
目标 TCP配置文件确定单元 13用于从预先创建的配置库内查找与所述目标网络 类型对应的目标 TCP配置文件,其中,所述配置库内包含网络类型与 TCP配置文件的 对应关系, 每一种网络类型都对应有一个 TCP配置文件;
配置单元 14用于利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。 由以上技术方案可见,本发明实施例提供的该装置,通过检测目标 TCP链路上传 输的数据信息或传输参数,可以确定目标 TCP链路所处网络的目标网络类型,进而可 以在预先建立的配置库内查找与目标网络类型对应的目标 TCP配置文件,最后利用该 目标 TCP配置文件对目标 TCP链路进行配置。 因此, 该装置可以根据目标 TCP链路上 数据包的传输情况, 查找相匹配的 TCP配置文件并进行配置。
与现有技术相比,该装置可以使得目标 TCP链路配置后更加适应其所属的网络类 型, 能够最大限度利用网络带宽, 提高 TCP传输效率。 其中, 当数据信息包括: 目标 TCP链路上传输的数据包内所携带的目的 IP地址 和源 IP地址时, 目标网络类型确定单元 12可以包括:
第一判断单元,用于判断所述目的 IP地址或源 IP地址是否为运行 TCP服务的服 务器的 IP地址; 第一确定单元, 用于当所述目的 IP地址为运行 TCP服务的服务器的 IP地址时, 确定所述目标网络类型为局域网; 当所述源 IP地址为运行 TCP服务的服务器的 IP 地址时, 确定所述目标网络类型为广域网
其中, 当传输信息包括: 目标 TCP链路上传输数据包的往返传输时间时, 目标网 络类型确定单元包括 12可以包括:
往返传输时间判断单元, 用于判断所述往返传输时间是否小于第一预设时长; 第二确定单元, 用于当所述往返传输时间小于所述第一预设时长时, 确定所述目 标网络类型为局域网; 当所述往返传输时间大于等于所述第一预设时长时,确定所述 目标网络类型为广域网。
在本发明另一实施例中, 如图 9所示, 目标网络类型确定单元 12可以包括: 初始网络类型确定单元 121, 用于根据所述数据信息或传输信息确定所述目标
TCP链路对应的初始网络类型, 所述初始网络类型包含所述目标网络类型;
初始 TCP配置文件确定单元 122, 用于查找与所述初始网络类型对应的初始 TCP 配置文件;
初始配置单元 123, 用于利用所述初始 TCP配置文件对所述目标 TCP链路进行初 始配置;
第二传输信息获取单元 124, 用于获取初始配置后所述目标 TCP链路上传输数据 包过程产生的第二传输信息; 所述第二传输信息包括: 初始配置后目标 TCP链路上传 输数据包过程产生的第二传输信息。
目标网络类型确定子单元 125, 用于根据所述第二传输信息确定所述目标 TCP链 路所处网络的目标网络类型。 其中, 当所述第二传输信息包括吞吐量、 往返传输时间变化、 延迟峰值、 最大往 返传输时间、数据包丢失量和 /或重传率时, 目标网络类型确定子单元 124可以包括: 第三确定单元,用于当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返传输 时间变化、未检测到延迟峰值且往返传输时间不小于第二预设时长时,确定所述目标 网络类型为无线网络, 或者, 当所述吞吐量小于第二预设吞吐量、最大往返传输时间 小于第三预设时长、在一个往返传输时间内未发生多个数据包丢失且重传率小于预设 重传率时, 确定所述目标网络类型为无线网络。
在本发明又一个实施例中, 如图 10所示, 该装置 3还可以包括:
连接类型获取单元 15, 用于获取初始配置后所述目标 TCP链路的连接类型; 第二判断单元 16, 用于断所述连接类型是否为 http短连接; 和 /或, 判断初始 配置后所述目标 TCP链路出现拥塞后传输的数据包的数量是否小于预设数量;和 /或, 判断初始配置后所述目标 TCP 链路出现拥塞后传输的数据包的传播率是否小于预设 传播率; 和 /或, 判断所述连接类型是否为长连接且所述目标 TCP链路上出现拥塞的 次数是否小于预设值; 当所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于预设 数量, 或, 传播率小于预设传播率, 或, 所述连接类型为长连接且出现拥塞的次数小 于预设值时,所述目标网络类型确定子单元 125执行根据所述第二传输信息确定所述 目标 TCP链路所处网络的目标网络类型的操作。
此外, 在本发明实施例中, 当第二判断单元 16的任意一个判断结果为否时, 目 标网络类型确定子单元 125 还用于将所述初始网络类型确定为目标网络类型, 目标 TCP配置文件确定单元 13还用于将所述初始 TCP配置文件作为目标 TCP配置文件。
通过两步确定的方式, 能够使得最终确定的目标网络类型更加准确,进而可以使 得目标 TCP链路配置后更加适应其所属的网络类型, 能够最大限度利用网络带宽,提 高 TCP传输效率。
在本发明又一个实施例中, 如图 11所示, 该装置还可以包括:
断链报文检测单元 21, 用于判断是否接收到用于将所述目标 TCP链路断链的四 次握手阶段的第一个报文;
第一属性信息获取单元 22, 用于当接收到所述第一报文时, 获取所述目标 TCP 链路的属性信息, 所述属性信息包括: 接入端口信息或 IP地址信息;
对应关系建立单元 23, 用于建立所述属性信息与所述目标 TCP配置文件之间的 对应关系;
对应关系存储单元 24, 用于将所述属性信息与所述目标 TCP配置文件之间的对 应关系存储到所述配置库中。
本发明实施例中,在每次目标 TCP链路断链阶段, 都将目标 TCP链路的属性信息 与目标 TCP配置文件的对应关系存储到配置库内,以便后续可以直接利用 TCP链路的 配置信息配置 TCP链路。 在本发明又一个实施例中, 如图 12所示, 该装置还可以包括:
建链报文检测单元 31, 用于判断是否接收到用于建立所述目标 TCP链路的三次 握手阶段的三个报文;
第二属性信息获取单元 32, 用于当接收到所述三个报文时, 根据所述三个报文 获取所述目标 TCP链路的属性信息, 所述属性信息包括: 接入端口信息或 IP地址信 息;
查找单元 33, 用于在所述配置库中查找是否存在与所述属性信息相对应的 TCP 配置文件; 第二配置单元 34, 用于当存在与所述属性信息相对应的 TCP配置文件时, 利用 查找到所述 TCP配置文件作为目标 TCP配置文件, 并对所述目标 TCP链路进行配置; 当不存在所述属性信息相对应的 TCP配置文件时, 所述信息获取单元 11执行操 作。
本发明实施例提供的该装置,可以根据预先建立 TCP属性信息与 TCP配置文件之 间的对应关系,这样在目标 TCP链路建链阶段, 就可以通过查找建链三次握手的报文 内携带的属性信息, 快速确定目标 TCP链路对应的目标 TCP配置文件。 本发明实施例还提供了一种 TCP链路控制设备, 该设备可以包括如上图 8-图 12 任意一个实施例所描述的 TCP链路配置装置。
图 13为本发明实施例提供的 TCP链路控制设备的结构示意图。如图 13所示, 该 设备可以包括: 处理器 100和存储器 200和, 其中,
处理器 100用于执行以下程序:
获取目标 TCP 链路上传输的数据包内的数据信息或传输数据包过程产生的传输 信息;
根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的目标网络类型; 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP 配置文件, 其 中,所述配置库内包含网络类型与 TCP配置文件的对应关系, 每一种网络类型都对应 有一个 TCP配置文件;
利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。
此外, 处理器 100还用于执行上述图 lb〜图 7任意一个实施例所示步骤对应的 程序。
存储器 200用于存储配置库, 并且存储有处理器 100执行各种判断的判断条件。 可以理解的是, 本发明可用于众多通用或专用的计算系统环境或配置中。 例如: 个人计算机、 服务器计算机、 手持设备或便携式设备、 平板型设备、 多处理器系统、 基于微处理器的系统、 置顶盒、 可编程的消费电子设备、 网络 PC、 小型计算机、 大 型计算机、 包括以上任何系统或设备的分布式计算环境等等。
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序 模块。 一般地, 程序模块包括执行特定任务或实现特定抽象数据类型的例程、 程序、 对象、 组件、 数据结构等等。 也可以在分布式计算环境中实践本发明, 在这些分布式 计算环境中, 由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环 境中, 程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实 体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之 间存在任何这种实际的关系或者顺序。 而且, 术语 "包括" 、 "包含"或者其任何其 他变体意在涵盖非排他性的包含, 从而使得包括一系列要素的过程、 方法、物品或者 设备不仅包括那些要素, 而且还包括没有明确列出的其他要素, 或者是还包括为这种 过程、 方法、 物品或者设备所固有的要素。 在没有更多限制的情况下, 由语句 "包括 一个…… " 限定的要素, 并不排除在包括所述要素的过程、 方法、物品或者设备中还 存在另外的相同要素。
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人 员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润 饰也应视为本发明的保护范围。

Claims

权 利 要 求
1、 一种传输控制协议 TCP链路配置方法, 其特征在于, 包括: 获取目标 TCP 链路上传输的数据包内的数据信息或传输数据包过程产生的 传输信息;
根据所述数据信息或传输信息确定所述目标 TCP 链路所处网络的目标网络 类型; 从预先创建的配置库内查找与所述目标网络类型对应的目标 TCP配置文件, 其中, 所述配置库内包含网络类型与 TCP配置文件的对应关系, 每一种网络类型 都对应有一个 TCP配置文件; 利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。
2、根据权利要求 1所述的方法, 其特征在于, 所述数据信息包括: 目标 TCP 链路上传输的数据包内所携带的目的 IP地址和源 IP地址;
所述根据所述数据信息确定所述目标 TCP 链路所处网络的目标网络类型包 括:
判断所述目的 IP地址或源 IP地址是否为运行 TCP服务的服务器的 IP地址; 当所述目的 IP地址为运行 TCP服务的服务器的 IP地址时,确定所述目标网 络类型为局域网; 当所述源 IP地址为运行 TCP服务的服务器的 IP地址时,确定所述目标网络 类型为广域网。
3、根据权利要求 1所述的方法, 其特征在于, 所述传输信息包括: 目标 TCP 链路上传输数据包的往返传输时间; 所述根据所述传输信息确定所述目标 TCP链路对应的目标网络类型, 包括: 判断所述往返传输时间是否小于第一预设时长; 当所述往返传输时间小于所述第一预设时长时,确定所述目标网络类型为局 域网; 当所述往返传输时间大于等于所述第一预设时长时,确定所述目标网络类型 为广域网。
4、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述数据信息或传 输参数确定所述目标 TCP链路所处网络的目标网络类型, 包括: 根据所述数据信息或传输参数确定所述目标 TCP 链路所处网络的初始网络 类型; 在所述配置库内查找与所述初始网络类型对应的初始 TCP配置文件; 利用所述初始 TCP配置文件对所述目标 TCP链路进行初始配置; 获取初始配置后所述目标 TCP链路上传输数据包过程产生的第二传输信息; 根据所述第二传输信息确定所述目标 TCP链路所处网络的目标网络类型。
5、 根据权利要求 4所述的方法, 其特征在于, 所述第二传输信息包括: 吞 吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和 /或 重传率; 根据所述第二传输信息确定所述目标 TCP链路所处网络的目标网络类型,包 括: 当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返传输时间变化、未检 测到延迟峰值且往返传输时间不小于第二预设时长时,确定所述目标网络类型为 无线网络; 或者, 当所述吞吐量小于第二预设吞吐量、 最大往返传输时间小于第三预设时长、 在一个往返传输时间内未发生多个数据包丢失且重传率小于预设重传率时,确定 所述目标网络类型为无线网络。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述获取初始配置后所 述目标 TCP链路上传输数据包过程产生的第二传输信息之后, 所述方法还包括: 获取初始配置后所述目标 TCP链路的连接类型; 判断所述连接类型是否为 http 短连接; 和 /或, 判断初始配置后所述目标 TCP 链路出现拥塞后传输的数据包的数量是否小于预设数量; 和 /或, 判断初始 配置后所述目标 TCP 链路出现拥塞后传输的数据包的传播率是否小于预设传播 率; 和 /或, 判断所述连接类型是否为长连接且所述目标 TCP链路上出现拥塞的 次数是否小于预设值; 当所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于 预设数量, 或, 传播率小于预设传播率, 或, 所述连接类型为长连接且出现拥塞 的次数小于预设值时,执行根据所述第二传输信息确定所述目标 TCP链路所处网 络的目标网络类型的步骤。
7、 根据权利要求 1-6任一项所述的方法, 其特征在于, 所述方法还包括: 判断是否接收到用于将所述目标 TCP 链路断链的四次握手阶段的第一个报 文;
当接收到用于将所述目标 TCP链路断链的四次握手阶段的第一个报文时,获 取所述目标 TCP链路的属性信息, 所述属性信息包括: 接入端口或 IP地址; 建立所述属性信息与所述目标 TCP配置文件之间的对应关系,并将所述属性 信息与所述目标 TCP配置文件之间的对应关系存储到所述配置库中。
8、 根据权利要求 7所述的方法, 其特征在于, 所述方法还包括: 判断是否接收到用于建立所述目标 TCP链路的三次握手阶段的三个报文; 当接收到用于建立所述目标 TCP链路的三次握手阶段的三个报文时,获取所 述三个报文中携带的所述目标 TCP链路的属性信息; 在所述配置库中查找是否存在与所述属性信息相对应的 TCP配置文件; 当存在与所述属性信息相对应的 TCP配置文件时,利用查找到 TCP配置文件 对所述目标 TCP链路进行配置。
9、 一种传输控制协议 TCP链路配置装置, 其特征在于, 应用于通信网络中, 在通信网络两侧分别设置有用户终端和服务器,用户终端和服务器之间通过通信 网络建立 TCP链路, 所述装置设置在通信网络的网络设备中或设置在服务器中, 用于对所述 TCP链路进行配置, 所述装置包括: 信息获取单元,用于获取目标 TCP链路上传输的数据包内的数据信息或传输 数据包过程产生的传输信息; 目标网络类型确定单元, 用于根据所述数据信息或传输信息确定所述目标
TCP链路所处网络的目标网络类型; 目标 TCP配置文件确定单元,用于从预先创建的配置库内查找与所述目标网 络类型对应的目标 TCP配置文件, 其中, 所述配置库内包含网络类型与 TCP配置 文件的对应关系, 每一种网络类型都对应有一个 TCP配置文件; 配置单元, 用于利用所述目标 TCP配置文件对所述目标 TCP链路进行配置。
10、 根据权利要求 9 所述的装置, 其特征在于, 所述数据信息包括: 目标 TCP链路上传输的数据包内所携带的目的 IP地址和源 IP地址; 所述目标网络类型确定单元包括: 第一判断单元,用于判断所述目的 IP地址或源 IP地址是否为运行 TCP服务 的服务器的 IP地址; 第一确定单元,用于当所述目的 IP地址为运行 TCP服务的服务器的 IP地址 时, 确定所述目标网络类型为局域网; 当所述源 IP地址为运行 TCP服务的服务 器的 IP地址时, 确定所述目标网络类型为广域网。
11、 根据权利要求 9 所述的装置, 其特征在于, 所述传输信息包括: 目标 TCP链路上传输数据包的往返传输时间; 所述目标网络类型确定单元包括: 往返传输时间判断单元, 用于判断所述往返传输时间是否小于第一预设时 长; 第二确定单元, 用于当所述往返传输时间小于所述第一预设时长时, 确定所 述目标网络类型为局域网; 当所述往返传输时间大于等于所述第一预设时长时, 确定所述目标网络类型为广域网。
12、 根据权利要求 9所述的装置, 其特征在于, 所述目标网络类型确定单元 包括: 初始网络类型确定单元, 用于根据所述数据信息或传输信息确定所述目标 TCP链路所处网络的初始网络类型; 初始 TCP配置文件确定单元,用于在所述配置库内查找与所述初始网络类型 对应的初始 TCP配置文件; 初始配置单元,用于利用所述初始 TCP配置文件对所述目标 TCP链路进行初 始配置; 第二传输信息获取单元,用于获取初始配置后所述目标 TCP链路上传输数据 包过程产生的第二传输信息; 目标网络类型确定子单元,用于根据所述第二传输信息确定所述目标 TCP链 路所处网络的目标网络类型。
13、 根据权利要求 12所述的装置, 其特征在于, 所述第二传输信息包括: 吞吐量、 往返传输时间变化、 延迟峰值、 最大往返传输时间、 数据包丢失量和 / 或重传率; 所述目标网络类型确定子单元, 包括: 第三确定单元, 用于当所述吞吐量小于第一预设吞吐量、拥塞前未出现往返 传输时间变化、未检测到延迟峰值且往返传输时间不小于第二预设时长时, 确定 所述目标网络类型为无线网络, 或者, 当所述吞吐量小于第二预设吞吐量、最大 往返传输时间小于第三预设时长、在一个往返传输时间内未发生多个数据包丢失 且重传率小于预设重传率时, 确定所述目标网络类型为无线网络。
14、 根据权利要求 9-12任一项所述的装置, 其特征在于, 所述装置还包括: 连接类型获取单元, 用于获取初始配置后所述目标 TCP链路的连接类型; 第二判断单元, 用于断所述连接类型是否为 http短连接; 和 /或, 判断初始 配置后所述目标 TCP链路出现拥塞后传输的数据包的数量是否小于预设数量;和 /或, 判断初始配置后所述目标 TCP链路出现拥塞后传输的数据包的传播率是否 小于预设传播率; 和 /或, 判断所述连接类型是否为长连接且所述目标 TCP链路 上出现拥塞的次数是否小于预设值;
当所述连接类型为 http短连接, 或, 出现拥塞后传输的数据包的数量小于 预设数量, 或, 传播率小于预设传播率, 或, 所述连接类型为长连接且出现拥塞 的次数小于预设值时, 所述目标网络类型确定子单元执行操作。
15、 根据权利要求 14所述的装置, 其特征在于, 所述装置还包括: 断链报文检测单元,用于判断是否接收到用于将所述目标 TCP链路断链的四 次握手阶段的第一个报文; 第一属性信息获取单元,用于当接收到用于将所述目标 TCP链路断链的四次 握手阶段的第一个报文时, 获取所述目标 TCP链路的属性信息, 所述属性信息包 括: 接入端口或 IP地址; 存储单元, 用于建立所述属性信息与所述目标 TCP 配置文件之间的对应关 系,并将所述属性信息与所述目标 TCP配置文件之间的对应关系存储到所述配置 库中。
16、 根据权利要求 15所述的装置, 其特征在于, 所述装置还包括: 建链报文检测单元,用于判断是否接收到用于建立所述目标 TCP链路的三次 握手阶段的三个报文; 第二属性信息获取单元,用于当接收到用于建立所述目标 TCP链路的三次握 手阶段的三个报文时, 获取所述三个报文中携带的所述目标 TCP 链路的属性信 息; 查找单元, 用于在所述配置库中查找是否存在与所述属性信息相对应的 TCP 配置文件; 第二配置单元, 用于当存在与所述属性信息相对应的 TCP配置文件时, 利用 查找到 TCP配置文件对所述目标 TCP链路进行配置。
17、 一种传输控制协议 TCP链路控制设备, 其特征在于, 包括如上述权利要 求 9-16任一项所述的 TCP链路配置装置。
PCT/CN2013/090737 2013-12-27 2013-12-27 Tcp链路配置方法、装置及设备 WO2015096149A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP13898892.8A EP2930899B1 (en) 2013-12-27 2013-12-27 Tcp link configuration method and apparatus
PCT/CN2013/090737 WO2015096149A1 (zh) 2013-12-27 2013-12-27 Tcp链路配置方法、装置及设备
EP20170688.4A EP3761591B1 (en) 2013-12-27 2013-12-27 Tcp link configuration method, apparatus, and computer program product
CN201380010040.8A CN104170353B (zh) 2013-12-27 2013-12-27 Tcp链路配置方法、装置及设备
US14/983,891 US10027781B2 (en) 2013-12-27 2015-12-30 TCP link configuration method, apparatus, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/090737 WO2015096149A1 (zh) 2013-12-27 2013-12-27 Tcp链路配置方法、装置及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/983,891 Continuation US10027781B2 (en) 2013-12-27 2015-12-30 TCP link configuration method, apparatus, and device

Publications (1)

Publication Number Publication Date
WO2015096149A1 true WO2015096149A1 (zh) 2015-07-02

Family

ID=51912370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/090737 WO2015096149A1 (zh) 2013-12-27 2013-12-27 Tcp链路配置方法、装置及设备

Country Status (4)

Country Link
US (1) US10027781B2 (zh)
EP (2) EP2930899B1 (zh)
CN (1) CN104170353B (zh)
WO (1) WO2015096149A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650546A (zh) * 2019-09-29 2020-01-03 Tcl移动通信科技(宁波)有限公司 文件传输的方法、装置、存储介质以及终端

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468382A (zh) * 2014-12-10 2015-03-25 中国科学院声学研究所 一种拥塞控制算法模块的自适应选择方法及其系统
CN105677397B (zh) * 2015-12-30 2018-09-25 南京途牛科技有限公司 通过本地网关程序优化php远程调用的方法
US10536338B2 (en) * 2016-07-07 2020-01-14 International Business Machines Corporation Networking connection resolution assistant
CN106453356B (zh) * 2016-10-25 2019-08-02 网宿科技股份有限公司 无线网络双边加速传输方法和系统
CN107070752B (zh) * 2017-04-25 2020-07-24 深圳市世纪福科技有限公司 一种长连接容量的测试方法及测试系统
US10505817B2 (en) * 2017-06-19 2019-12-10 Cisco Technology, Inc. Automatically determining an optimal amount of time for analyzing a distributed network environment
US10972358B2 (en) 2017-08-30 2021-04-06 Citrix Systems, Inc. Inferring congestion and signal quality
CN108965400B (zh) * 2018-06-25 2020-03-31 阿里巴巴集团控股有限公司 一种信息的处理方法、装置、设备及系统
CN109327286A (zh) * 2018-12-08 2019-02-12 森大(深圳)技术有限公司 基于光纤的通信方法及系统
CN111245578B (zh) * 2020-01-03 2022-11-08 北京字节跳动网络技术有限公司 数据包传输方法、装置、电子设备和存储介质
CN111314489B (zh) * 2020-03-19 2022-04-01 腾讯科技(深圳)有限公司 识别接入网络类型方法、服务器及装置
CN112054966B (zh) * 2020-09-01 2023-11-07 首都师范大学 多路传输数据调度方法、装置及设备
CN112217605B (zh) * 2020-09-07 2023-10-20 网宿科技股份有限公司 传输策略的选择方法、设备及存储介质
CN112367264A (zh) * 2020-10-27 2021-02-12 百果园技术(新加坡)有限公司 初始拥塞窗口值确定方法、装置、电子设备和存储介质
CN112765666A (zh) * 2021-01-29 2021-05-07 树根互联股份有限公司 一种服务账户数据推送系统及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6657999B1 (en) * 1997-03-31 2003-12-02 Texas Instruments Incorporated Link layer gateway computer for interconnecting ethernet and 1394 networks
CN1773504A (zh) * 2004-11-08 2006-05-17 国际商业机器公司 用于管理信息存储和检索系统的配置信息的方法和系统
CN101527968A (zh) * 2009-04-09 2009-09-09 北京航空航天大学 空间网络与地面网络间的交互方法及通信协议网关
CN101808009A (zh) * 2010-03-08 2010-08-18 中兴通讯股份有限公司 一种网络设备升级的方法和系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001288589A1 (en) * 2000-08-31 2002-03-13 The Regents Of The University Of California Method for improving tcp performance over wireless links
GB2394095A (en) * 2001-05-31 2004-04-14 Espeed Inc Securities trading system with multiple levels-of-interest
US20040255008A1 (en) * 2003-04-21 2004-12-16 International Business Machines Corporation System for low power operation of wireless LAN
US7664857B2 (en) * 2007-01-26 2010-02-16 Citrix Systems, Inc. Systems and methods of using an IP ID field for automatic WAN/LAN detection
JP5263169B2 (ja) * 2007-10-25 2013-08-14 富士通株式会社 情報提供方法、中継方法、情報保持装置、中継器
US20100172343A1 (en) * 2009-01-02 2010-07-08 Microsoft Corporation Dynamic Network Classification
US8219606B2 (en) * 2010-02-27 2012-07-10 Robert Paul Morris Methods, systems, and computer program products for sharing information for detecting an idle TCP connection
US20120163167A1 (en) * 2010-12-27 2012-06-28 Symbol Technologies, Inc. Transmission control protocol optimization systems and methods for wireless networks
US20150124966A1 (en) * 2012-04-13 2015-05-07 Anyfi Networks Ab End-to-end security in an ieee 802.11 communication system
US20140281018A1 (en) * 2013-03-13 2014-09-18 Futurewei Technologies, Inc. Dynamic Optimization of TCP Connections
US9288128B1 (en) * 2013-03-15 2016-03-15 Google Inc. Embedding network measurements within multiplexing session layers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6657999B1 (en) * 1997-03-31 2003-12-02 Texas Instruments Incorporated Link layer gateway computer for interconnecting ethernet and 1394 networks
CN1773504A (zh) * 2004-11-08 2006-05-17 国际商业机器公司 用于管理信息存储和检索系统的配置信息的方法和系统
CN101527968A (zh) * 2009-04-09 2009-09-09 北京航空航天大学 空间网络与地面网络间的交互方法及通信协议网关
CN101808009A (zh) * 2010-03-08 2010-08-18 中兴通讯股份有限公司 一种网络设备升级的方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2930899A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650546A (zh) * 2019-09-29 2020-01-03 Tcl移动通信科技(宁波)有限公司 文件传输的方法、装置、存储介质以及终端
CN110650546B (zh) * 2019-09-29 2023-08-15 Tcl移动通信科技(宁波)有限公司 文件传输的方法、装置、存储介质以及终端

Also Published As

Publication number Publication date
CN104170353A (zh) 2014-11-26
EP3761591A1 (en) 2021-01-06
CN104170353B (zh) 2018-06-19
EP2930899A1 (en) 2015-10-14
EP3761591B1 (en) 2024-02-14
US10027781B2 (en) 2018-07-17
EP2930899B1 (en) 2020-04-22
US20160112545A1 (en) 2016-04-21
EP2930899A4 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
WO2015096149A1 (zh) Tcp链路配置方法、装置及设备
WO2017124985A1 (zh) 一种数据传输的方法以及相关设备
CN108322401B (zh) 网络传输拥塞的控制方法及装置
WO2018085765A1 (en) Application characterization using transport protocol analysis
EP2741463B1 (en) Data packet transmission method
JP4377326B2 (ja) 送信ウィンドウサイズの計算方法
WO2018112877A1 (zh) 路径计算和访问请求分发方法、装置及系统
WO2020103855A1 (zh) 一种信息中心网络中转发端口的确定方法及装置
WO2016197727A1 (zh) 一种数据传输方法及装置
WO2014161421A1 (zh) 数据传输方法、设备及系统
EP3136684B1 (en) Multicast transmission using programmable network
CN104580171B (zh) Tcp协议的传输方法、装置和系统
WO2018082518A1 (zh) 一种隧道调整方法和装置和计算机存储介质
US10992702B2 (en) Detecting malware on SPDY connections
Potys et al. NetInf TP: A receiver-driven protocol for ICN data transport
Rajput et al. NS-2-based analysis of stream control and datagram congestion control with traditional transmission control protocol
Nikitinskiy et al. A stateless transport protocol in software defined networks
Imaduddin et al. Multipath TCP Scheduling Performance Analysis and Congestion Control on Video Streaming on the MPTCP Network
Rajput et al. Comparing stream control and datagram congestion control with traditional transmission control protocol
Wang et al. CloudJet4BigData: Streamlining Big Data via an accelerated socket interface
Juslenius WebSocket vs WebRTC in the stream overlays of the Streamr Network
CN110417679A (zh) 规避旁路阻断的方法、装置和系统
Nithya et al. Performance analysis of pluggable congestion control in QUIC protocol
Khurshid et al. Protocols for transferring bulk data over internet: Current solutions and future challenges
Kortas et al. Energy consumption TCP, TCP-Reno and SCTP within cloud computing

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2013898892

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13898892

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE