WO2014019528A1 - Method, device and system for multipath tcp congestion control - Google Patents

Method, device and system for multipath tcp congestion control Download PDF

Info

Publication number
WO2014019528A1
WO2014019528A1 PCT/CN2013/080581 CN2013080581W WO2014019528A1 WO 2014019528 A1 WO2014019528 A1 WO 2014019528A1 CN 2013080581 W CN2013080581 W CN 2013080581W WO 2014019528 A1 WO2014019528 A1 WO 2014019528A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
flag
data packet
identified
syn
Prior art date
Application number
PCT/CN2013/080581
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2014019528A1 publication Critical patent/WO2014019528A1/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]
    • 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/31Flow control; Congestion control by tagging of packets, e.g. using discard eligibility [DE] bits
    • 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/33Flow control; Congestion control using forward notification

Definitions

  • MPTCP Multipath Transport Control Protocol
  • TCP Transmission Control Protocol
  • MPTCP is transparent to the application layer.
  • the MPTCP distributes the data of the sender application layer to each substream transmission, and delivers the data transmitted by each substream received by the receiver to the application layer in order.
  • MPTCP improves the utilization of resources by providing multi-path implementation, thereby increasing the capacity of the network.
  • MPTCP relies on substreams to send and receive data. When a substream is congested, MPTCP needs to perform congestion control on the substream. In the prior art, MPTCP realizes the substream by adjusting the size of the congestion window.
  • MPTCP adjusts the congestion window size by the formula min ( ⁇ ⁇ ⁇ , cwnd _ total bytes _ acked * MSS _ ! ) .
  • cwn d_i represents the cwnd _ i of the i-th sub-stream
  • Cwnd_total represents the sum of the congestion windows of all substreams
  • MSS_i represents the maximum segmentation value of the i-th substream
  • bytes_acked represents the size of the bytes that have been acknowledged by the receiver within a round-trip delay
  • the transmitting end of the data can only perform congestion control after congestion occurs, and the network node may have discarded some data packets and reduced the data.
  • the efficiency of the transmission Embodiments of the present invention provide a method, apparatus, and system for multipath TCP congestion control, which are used to perform congestion control before congestion occurs, thereby improving data transmission efficiency.
  • the embodiment of the present invention provides a method for multipath TCP congestion control, including: receiving, by a receiving end, at least one multipath transmission control protocol TCP substream that has been established by the first access network, a data packet sent by a network node of the access network;
  • the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control;
  • the ECN feedback ECE flag bit of the data packet is identified by a third identifier; the congestion window is halved and the CWR flag bit is identified by a fourth identifier.
  • the performing congestion control includes: if the sending end accesses the receiving end by using a second access network, if the sending end and the receiving end are not in the first The second access network establishes a multipath TCP substream, and in the second access network, the receiving end sends a first synchronization sequence number SYN data packet to the sending end, where the first SYN data packet is The ECE flag is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet further carries a multipath to add MPJOIN information.
  • the MPJOIN indicates that a multipath TCP substream is added; the receiving end receives the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end; and the foregoing in the first SYN-ACK data packet.
  • the ECE flag is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag; the SYN-ACK packet carries MPJOIN information; Send to the sender Acknowledge ACK packet; the ACK packet carries MP_JOIN information.
  • the performing congestion control includes: the receiving end sending a first response data packet to the sending end, so that the sending end performs congestion control;
  • the ECT flag of the first response packet is identified by a first identifier
  • the CE flag is identified by a seventh identifier
  • the ECE flag is identified by a fifth identifier
  • the C WR flag is identified by a fourth identifier Symbol.
  • the performing congestion control includes: performing congestion control on the established multipath TCP substream, and sending a second response data packet to the sending end;
  • the ECT flag of the response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the identifier is identified by a third identifier
  • the C WR flag is identified by a sixth identifier.
  • the embodiment of the present invention provides a method for multipath TCP congestion control, including: sending, by a sending end, a data packet to a receiving end in at least one multipath transmission control protocol TCP substream that has been established in the first access network.
  • the data packet supports the explicit congestion notification ECN transmission ECT flag is identified by the first identifier, the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; the congestion window
  • the halving CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the identifier of the CE flag when detecting that the network is about to be congested, so that the receiving end is congested. Control; if the receiving end performs congestion control, the transmitting end performs corresponding congestion control.
  • the transmitting end performing corresponding congestion control includes: if the sending end accesses the receiving end by using a second access network, if the sending end and the receiving end In the second access network, the transmitting end receives the first synchronization sequence number SYN data packet sent by the receiving end, where the first SYN is not established in the second access network.
  • the ECE flag of the data packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet is also carried Adding MPJOIN information to the multipath; the MPJOIN indicates adding a multipath TCP substream; the transmitting end sends a first synchronization sequence number and an acknowledge SYN-ACK packet to the receiving end; the first SYN-ACK packet
  • the ECE flag bit is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag bit; the SYN-ACK packet carries MPJOIN information
  • the transmitting terminal The reception confirmation ACK packet transmission end; the ACK packet carries MP_JOIN information.
  • the transmitting end performing corresponding congestion control includes: the sending end receiving the first response data packet sent by the receiving end; the first response data packet
  • the ECT flag is identified by a first identifier
  • the CE flag is identified by a seventh identifier
  • the ECE flag is identified by a fifth identifier
  • the C WR flag is identified by a fourth identifier.
  • the method further includes: If the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, then the second access network Medium, the transmitting end Transmitting, by the receiving end, the first SYN data packet; the sending end receiving the first SYN-ACK data packet sent by the receiving end; and sending, by the sending end, the ACK data packet to the receiving end .
  • the method further includes: The sender performs congestion control on the established multipath TCP substream.
  • the transmitting end performing corresponding congestion control includes: receiving, by the sending end, a second response data packet sent by the receiving end;
  • the ECT flag is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the CWR flag is identified by a sixth identifier.
  • the embodiment of the present invention provides an apparatus for multipath TCP congestion control, including: a receiving unit, configured to receive, in a TCP substream of at least one multipath transmission control protocol that the transmitting end has established in the first access network. a data packet sent by the network node of the first access network; a processing unit, configured to identify, by the first identifier, a transmission ECT flag bit that supports the explicit congestion notification ECN of the data packet; a congestion warning CE flag When the bit is identified by the second identifier, the receiving end performs congestion control; wherein, the ECN feedback ECE flag of the data packet is identified by the third identifier; the congestion window is halved, and the CWR flag is used with the fourth identifier Logo.
  • the processing unit includes: a first sending module, a first receiving module, and the first sending module, configured to access, by using the second access network, the sending end In the case of the device, if the transmitting end and the device do not establish a multipath TCP substream in the second access network, in the second access network, send the first synchronization sequence number to the transmitting end.
  • the first SYN data packet further carries the multipath addition MP_JOIN information; the MPJOIN information indicates that a multipath TCP substream is added; the first receiving module is configured to receive the first synchronization sequence number sent by the sending end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the C WR is identified by a fourth identifier; and the ECT flag bit is The CE mark is different; It said SYN-ACK packet carries information MP_J0IN; the first sending module is further configured to transmit an acknowledgment ACK packet to the sending end; the ACK packet carries MP_J0IN information.
  • the processing unit is specifically configured to Transmitting, by the sending end, the first response data packet, so that the sending end performs congestion control;
  • the ECT flag bit of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier
  • the ECE flag bit is identified by a fifth identifier;
  • the C WR flag bit is identified by a fourth identifier.
  • the processing unit is specifically configured to: perform congestion control on the established multipath TCP substream, and send a second response data packet to the sending end;
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is identified by a sixth identifier .
  • the embodiment of the present invention provides an apparatus for multipath TCP congestion control, including: a sending unit, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in a first access network, to a receiving end Transmitting a data packet; the transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by a first identifier, and the congestion warning CE flag is identified by a seventh identifier; the ECN feedback ECE flag is identified by a third identifier The congestion window is halved and the CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the identifier of the CE flag when detecting that the network is about to be congested, so that the receiving Congestion control is performed at the end; and the processing unit is configured to perform corresponding congestion control when the receiving end performs congestion control.
  • the processing unit includes: a receiving module and a sending module, where the receiving module is configured to: when the sending end accesses the receiving end by using a second access network, The device and the receiving end do not establish a multipath TCP substream in the second access network, and in the second access network, receive the first synchronization sequence number SYN data packet sent by the receiving end;
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the first SYN packet is And carrying the multipath to add the MPJOIN information; the MPJOIN is to add a multipath TCP substream;
  • the sending module is configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end;
  • the ECE flag in a SYN-ACK packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the
  • the processing unit is specifically configured to: receive a first response data packet sent by the receiving end; and use an ECT flag of the first response data packet An identifier identifier, the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; and the CWR flag bit is identified by a fourth identifier.
  • the sending unit is further configured to access, by using the second access network, the sending end In the case of the receiving end, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, in the second access network, send the first SYN to the receiving end.
  • the device further includes: a receiving unit, configured to receive the first SYN-ACK data packet sent by the receiving end, where the sending unit is further configured to send the ACK data to the receiving end package.
  • the processing unit is further configured to perform congestion control on the established multipath TCP substream.
  • the processing unit is configured to: receive a second response data packet that is sent by the receiving end; and use the first ECT flag of the second response data packet An identifier identifier, the CE flag bit is identified by a seven identifier; the ECE flag bit is identified by a third identifier; and the CWR flag bit is identified by a sixth identifier.
  • an embodiment of the present invention provides a device for multipath TCP congestion control, including: a receiver, configured to receive, by a receiving end, at least one multipath transmission established by a network node of a first access network; Controlling the data packet sent in the TCP substream; the data packet supports the explicit congestion notification ECN transmission ECT flag is identified by the first identifier, and the congestion warning CE flag is identified by the second identifier; ECN feedback ECE flag The bit is identified by the third identifier; the congestion window is halved, and the CWR flag is identified by the fourth identifier; the processor is configured to: when detecting that the CE flag of the data packet is the second identifier, Congestion control.
  • an embodiment of the present invention provides a device for multipath TCP congestion control, including: a transmitter, configured to send, by a sending end, at least one multipath transmission control protocol TCP substream established in a first access network
  • the receiving end sends a data packet; the data packet supports the explicit congestion notification ECN.
  • the transmission ECT flag is identified by the first identifier
  • the congestion warning CE flag is identified by the seventh identifier
  • the ECN feedback ECE flag is identified by the third identifier.
  • the congestion flag is halved.
  • the CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the CE flag when detecting that the network is about to be congested, so that the receiving The terminal performs congestion control; and the processor is configured to perform corresponding congestion control in the case of congestion control at the receiving end.
  • an embodiment of the present invention provides a system for multipath TCP congestion control, including: a transmitting end, a network node, and a receiving end; the transmitting end is a device for multipath TCP congestion control according to the above third aspect; the receiving end is a multipath TCP congestion control according to the fourth aspect s installation.
  • the eighth aspect of the present invention provides a system for multipath TCP congestion control, including: a transmitting end, a network node, and a receiving end; and the transmitting end is a multipath TCP congestion control according to the fifth aspect.
  • the device is a device for multipath TCP congestion control according to the sixth aspect.
  • the embodiment of the present invention provides a method, device, and system for multipath TCP congestion control, where a sender sends a data packet in an established at least one multipath TCP substream of a first access network, if the first access network
  • the network node detects that the network is about to be congested, and then identifies the ECT flag in the data packet with the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the CWR flag is used.
  • the four identifier identifier is sent to the receiving end, and after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved.
  • FIG. 1 is a schematic diagram of a method for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 5 is another multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an apparatus for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a processing unit of a device for multipath TCP congestion control according to FIG. 7
  • FIG. 9 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention
  • Figure 1 is a schematic diagram of a method for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a processing unit of a multipath TCP congestion control apparatus shown in FIG. 12;
  • FIG. 14 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a system for multipath TCP congestion control according to an embodiment of the present invention
  • FIG. 20 is a schematic structural diagram of another system for multipath TCP congestion control according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of them. Example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • An embodiment of the present invention provides a method for multipath TCP congestion control, as shown in FIG. 1 , including: 101.
  • the receiving end receives, by the sending end, a data packet sent by the network node of the first access network in the at least one multipath transmission control protocol TCP substream that has been established by the first access network.
  • the sending end accesses the receiving end by using the first access network and the second access network, and in the first access network, at least one multipath TCP (Transport Control Protocol) is established between the transmitting end and the receiving end. a control flow), the transmitting end sends a data packet to the receiving end by using the at least one multipath TCP substream, and the receiving end receives the first access network in the at least one multipath TCP substream of the first access network A packet transmitted by a network node.
  • TCP Transmission Control Protocol
  • the network node is sent by an eNB (E-UTRAN Node B, an evolved UMTS terrestrial radio access network node) or an SGW (Serving Gateway), or a router in the network.
  • the terminal establishes at least one multipath TCP substream with the receiving end through the 3Gpp network.
  • the transmitting end sends the data packet to the receiving end through the at least one multipath TCP substream of the 3Gpp network, and the data packet is forwarded to the receiving end by the network node eNB and the SGW, and the receiving end receives the data packet.
  • the network node when the network is about to be congested, the network node changes the CE flag bit in the data packet to the second identifier identifier; or when the access network link quality deteriorates, the eNB changes the CE flag bit in the data packet. Identifies the second identifier.
  • the first access network may also be a non-3Gpp network, such as a WLAN, where the network node is an AGW (Access Gateway) or a PDG (packet data gateway) or an ePDG (evolved packet data gateway). Packet data gateway), or a router in the network.
  • the transmitting end establishes at least one multipath TCP substream with the receiving end through the non-3Gpp network.
  • the transmitting end sends a data packet to the receiving end through at least one multipath TCP substream of the non-3Gpp network, and the data packet is forwarded to the receiving end by the network node, and the receiving end receives the data packet.
  • the network node changes the CE flag bit in the packet to the second identifier.
  • the transmission of the ECN is marked by the first identifier; the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control.
  • the ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved.
  • the CWR flag is identified by a fourth identifier.
  • the ECT ECN-Capable Transport
  • ECN Exlicit Congestion Notification
  • the CE Congestion Experienced flag is used to indicate if the network is about to become congested.
  • ECE ECN-Echo, ECN feedback
  • C WR Congestion Window Reduced is used to indicate if the congestion window has been halved.
  • the first identifier and the second identifier are represented by 1, and the third identifier and the fourth identifier are represented by 0.
  • the first identifier is used to indicate that the ECT flag is selected, that is, the ECN is supported; the second identifier is used to indicate that the CE flag is selected, that is, the network is about to be congested; the third identifier is used to indicate The ECE flag is not selected, indicating that a CE packet has not been received. The fourth identifier is used to indicate that the CWR is not selected, indicating that the congestion window has not been halved.
  • first identifier the second identifier
  • third identifier the fourth identifier
  • fourth identifier may also be represented by other characters, as long as the respective roles can be expressed, and the present invention does not limit this.
  • the receiving end detects each flag bit of the data packet to know whether congestion is to occur. If it is detected that the ECT flag is identified by the first identifier, it is known that the sender supports the ECN, and the CE uses the second identifier to identify that the network is about to be congested. At this time, the receiver needs to perform congestion control.
  • the receiving end in the network where the transmitting end accesses the receiving end, in the network where the multipath TCP substream is not established, the receiving end creates a new multipath TCP substream, as shown in FIG. 2, which is specifically as follows.
  • the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, then In the two access networks, the receiving end sends a first synchronization sequence number SYN data packet to the sending end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN packet also carries multipath added MPJOIN information.
  • the MPJOIN indicates that a multipath TCP substream is added.
  • the ECN mechanism needs to be negotiated with the sending end, and the receiving end identifies the ECE flag of the first SYN packet by using the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the sender.
  • the first SYN data packet also carries MP_JOIN information, which is used to indicate that a multipath TCP substream is added to the second access network. Since the receiving end and the transmitting end are already built in the first access network The multipath TCP substream is established. Therefore, when the multipath TCP substream is established in the second access network, the MPJOIN information needs to be carried, indicating that the multipath TCP substream is established.
  • the fifth identifier is used to indicate that the ECE flag is selected; the sixth identifier is used to indicate that the CWR is selected.
  • the fifth identifier and the sixth identifier are represented by 1.
  • the difference between the ECT flag and the CE flag means that the value of the ECT flag is different from the identifier of the CE flag. For example, the ECT flag is identified by 1. Then, the CE flag is marked with 0; or, the ECT flag is marked with 0, and the CE flag is identified by 1.
  • the receiving end receives the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit.
  • the SYN-ACK packet carries MPJOIN information.
  • the ECE flag in the first SYN-ACK packet is identified by the fifth identifier, and the CWR is identified by the fourth identifier, and the ECT flag and the CE flag are different, indicating that the sender supports the ECN mechanism.
  • the SYN-ACK packet carries the MP_JOIN information, indicating that the sender agrees to add the multipath TCP substream.
  • the first SYN-ACK packet is a response packet of the first SYN packet.
  • the receiving end sends an acknowledgement ACK packet to the sending end.
  • the ACK packet carries MP_JOIN information.
  • the receiving end After receiving the first SYN-ACK data packet, the receiving end sends an ACK data packet to the transmitting end, and responds to the first SYN-ACK data packet.
  • the establishment of a multipath TCP substream for performing a three-way handshake process in the second access network is completed.
  • the second access network is a different network than the first access network.
  • the first access network is a 3Gpp network and the second access network is a non-3Gpp network.
  • the receiving end notifies the transmitting end that a CE packet is received, and the transmitting end performs congestion control, as follows.
  • the receiving end sends a first response data packet to the sending end, so that the sending end performs congestion control.
  • the ECT flag of the first response data packet is identified by a first identifier, and the CE label The ambition is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier.
  • the CE flag indicates that the CE flag is not selected by the seventh identifier
  • the ECE flag indicates that the ECE is selected by the fifth identifier, that is, a CE packet is received.
  • the receiving end notifies the sending end that the network is about to be congested by identifying each flag bit of the first response data packet, so that the transmitting end performs congestion control.
  • the sender initiates the process of establishing a multipath TCP substream in the network where the multipath TCP substream is not established.
  • the corresponding processing at the receiving end is as follows.
  • the receiving end receives the first SYN data packet sent by the sending end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN packet also carries multipath added MPJOIN information.
  • the MPJOIN indicates that a multipath TCP substream is added.
  • the receiving end sends the first SYN-ACK data packet to the sending end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit.
  • the SYN-ACK packet carries the MP_JOIN information, indicating that the receiving end agrees to add the multipath TCP substream.
  • the receiving end receives an ACK data packet sent by the sending end; the ACK data packet carries MPJOIN information.
  • the receiving end receives the response packet ACK packet of the first SYN-ACK packet sent by the sending end, indicating that the multipath TCP substream is established in the second access network, and the sending end can use the new The multipath TCP substream transmits data, thereby slowing down network congestion.
  • the second way is that the sender performs congestion control on the established multipath TCP substream, thereby slowing network congestion.
  • the receiving end performs congestion control on the established multipath TCP substream, as follows.
  • the receiving end performs congestion control on the established multipath TCP substream, and sends a second response data packet to the transmitting end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the receiving end performs congestion control on the multipath TCP substream that has been established in the first access network, for example, halving the congestion window of the multipath TCP substream, and identifying the CWR flag by the sixth identifier. , indicating that the CWR flag is selected, that is, the congestion window has been halved.
  • the sender identifies that the established multipath TCP subflow has congestion control by identifying each flag of the second response packet.
  • the method for the receiving end to perform congestion control may be the second notification sending end network. Congestion is imminent, causing the sender to perform congestion control. Or the third type, the receiving end performs congestion control on the established multipath TCP substream.
  • the embodiment of the present invention provides a method for multipath TCP congestion control. After receiving a data packet, if the ECT flag of the data packet is detected by the first identifier, the CE flag is identified by the second identifier. Then perform congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved.
  • the embodiment of the present invention provides a method for multipath TCP congestion control. As shown in FIG. 3, the method includes: 301: A sending end receives in a TCP substream of at least one multipath transmission control protocol that has been established in a first access network. The end sends a packet.
  • the transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier, so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, and the network node passes the CE flag of the data packet.
  • the bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control.
  • the ECT ECN-Capable Transport flag is used to indicate whether ECN (Explicit Congestion Notification) is supported.
  • CE Congestion Experienced flag is used to indicate if the network is about to become congested.
  • ECE ECN-Echo, ECN feedback
  • C WR Congestion Window Reduced is used to indicate if the congestion window has been halved.
  • the first identifier and the second identifier are represented by 1, and the seventh identifier, the third identifier, and the fourth identifier are represented by 0.
  • the first identifier is used to indicate that the ECT flag is selected, that is, the ECN is supported; the seventh identifier is used to indicate that the CE flag is not selected, that is, the network is not about to be congested; It is used to indicate that the ECE flag is not selected, that is, it does not receive a CE packet; the fourth identifier is used to indicate that the CWR is not selected, that is, the congestion window is not halved.
  • first identifier, the second identifier, the seventh identifier, the third identifier, and the fourth identifier may also be represented by other characters, as long as they can express their respective roles, the present invention No restrictions.
  • the sending end sends, by the network node of the first access network, the data packet to the receiving end in the at least one multipath transmission control protocol TCP substream that has been established by the first access network.
  • the sending end sends the data packet to the network node of the first access network, if the network node detects that the network is about to be congested, the CE flag bit in the data packet is modified from the seventh identifier identifier to the second identifier identifier.
  • the data packet with the modified CE flag is sent to the receiving end to notify the receiving end that the network is about to be congested, so that the receiving end performs congestion control.
  • the CE flag indicates that the CE flag is selected by the second identifier, that is, the network is about to be congested.
  • the sending end performs corresponding congestion control.
  • the transmitting end performs congestion control according to congestion control performed by the receiving end. Since the receiving end performs congestion control in three ways, the method of performing congestion control on the transmitting end can be classified into three types. .
  • the multipath TCP substream is newly established by the receiving end, as follows.
  • the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, the second connection is performed.
  • the sending end receives the first synchronization sequence number SYN data packet sent by the receiving end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that one is added. Multipath TCP subflow.
  • the ECN mechanism needs to be negotiated with the sending end, and the receiving end identifies the ECE flag of the first SYN packet by using the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the sender.
  • the first SYN data packet also carries MPJOIN information, which is used to indicate that a multipath TCP substream is added to the second access network.
  • the fifth identifier is used to indicate that the ECE flag is selected; the sixth identifier is used to indicate that the CWR is selected.
  • the fifth identifier and the sixth identifier are represented by 1.
  • the transmitting end sends the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the SYN-ACK packet carries the MPJOIN information.
  • the sending end supports the ECN mechanism
  • the response packet of the first SYN that is, the ECE flag of the first SYN-ACK packet is identified by the fifth identifier
  • the CWR is identified by the fourth identifier
  • the ECT flag is used.
  • the bit is different from the CE flag.
  • the SYN-ACK packet carries the MPJOIN information indicating that the multipath TCP substream is established in the second access network.
  • the transmitting end receives an acknowledgement ACK packet sent by the receiving end; the ACK packet carries MPJOIN information.
  • the sending end receives the response packet ACK packet of the first SYN-ACK packet sent by the receiving end, indicating that the multipath TCP substream is established in the second access network, and the newly created multipath can be utilized.
  • the TCP substream transmits data, thereby reducing network congestion.
  • the receiving end notifies the transmitting end that a CE data packet is received, and the transmitting end performs congestion control, as follows.
  • the transmitting end receives the first response data packet sent by the receiving end.
  • the ECT flag of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the C WR flag bit Identified with the fourth identifier.
  • the ECE flag bit indicates that the ECE is selected by using the fifth identifier, that is, a CE packet is received.
  • the sender receives the first response packet, and detects that the ECE is identified by the fifth identifier, indicating that the network is about to be congested, and the sender performs congestion control.
  • the fifth identifier is represented by 1.
  • the receiving end notifies the sending end that the network is about to be congested, and the sending end performs congestion control in two ways.
  • One way is that the sending end initiates a process of establishing a multipath TCP substream in a network in which a multipath TCP substream is not established. The following is a detailed description, as shown in Figure 4, including:
  • the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end do not establish a multipath TCP substream in the second access network, In the second access network, the sending end sends the first SYN data packet to the receiving end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
  • the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the first SYN packet with the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the receiving end.
  • the first SYN data packet also carries MPJOIN information, which is used to indicate that a multipath TCP substream is added to the second access network.
  • the MPJOIN information needs to be carried, indicating that the multipath TCP is established. Subflow.
  • the sending end receives the first SYN-ACK data packet sent by the receiving end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier, and the ECT flag bit is different from the CE flag bit.
  • the SYN-ACK packet carries MPJOIN information.
  • the ECE flag bit in the first SYN-ACK data packet is identified by the fifth identifier, and the CWR is identified by the fourth identifier, and the ECT flag bit and the CE flag bit are different, indicating that the receiving end supports the ECN mechanism.
  • the SYN-ACK packet carries the MP_JOIN message, indicating that the receiving end agrees to add multipath.
  • the first SYN-ACK packet is a response packet of the first SYN packet.
  • the sending end sends the ACK data packet to the receiving end.
  • the ACK packet carries MP_JOIN information.
  • the sending end After receiving the first SYN-ACK data packet, the sending end sends an ACK data packet to the receiving end, Response to the first SYN-ACK packet.
  • the establishment of a multipath TCP substream that performs a three-way handshake process in the second access network is completed.
  • the transmitting end performs congestion control on the established multipath TCP substream, as follows. Specifically, the sending end performs congestion control on the multipath TCP substream that has been established in the first access network, for example, halving the congestion window of the multipath TCP substream, and the sending end is more according to the congestion window after the halving The data packet is transmitted in the TCP substream, thereby reducing the number of transmitted data packets and effectively alleviating network congestion.
  • the receiving end when the receiving end notifies the transmitting end that a CE data packet is received, and the transmitting end performs congestion control, if the transmitting end accesses the receiving end only through the first access network, it does not connect through other networks.
  • the sending end may first send a second access network connection message to the receiving end, so that the sending end accesses the receiving end through the second access network, and then performs corresponding congestion control, for example, the second congestion control method.
  • the sender can also directly perform congestion control on the established multipath TCP substream, for example, the second mode of the second congestion control method.
  • the transmitting end knows that the receiving end has halved the congestion window, as follows.
  • the transmitting end receives the second response data packet sent by the receiving end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the CWR is identified by the sixth identifier, indicating that the CWR is selected, that is, the receiving end has halved the congestion window of the established multipath TCP substream.
  • the transmitting end transmits the data packet in the established multipath TCP substream according to the size of the congestion window of the established multipath TCP substream, thereby reducing the number of transmitting data packets, and effectively reducing network congestion.
  • An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is identified by the fourth identifier.
  • the identifier is sent to the receiving end, so that after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved.
  • the embodiment of the invention provides a method for multipath TCP congestion control. As shown in FIG. 5, the method includes:
  • the sending end sends a second SYN data packet to the receiving end, and the receiving end receives the second SYN data packet sent by the sending end in the first access network, and records related information of the MP_CAPABLE of the sending end. a port number, and an IP address; and forwarding the second SYN packet to the server of the communication peer.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, the CWR flag bit is identified by a six identifier; and the ECT flag bit is different from the CE flag bit;
  • the second SYN packet carries the multipath capability MP_CAPABLE information; the MP_CAPABLE is used to identify that the sender supports multipath TCP.
  • the fifth identifier and the sixth identifier are represented by 1.
  • the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the second SYN packet by using the fifth identifier.
  • the CWR is identified by a sixth identifier, and the ECT flag is different from the CE flag, and the ECN mechanism is negotiated with the receiving end.
  • the first SYN packet also carries MP_CAPABLE information, which is used to indicate that the sender supports multipath TCP, and establishes a multipath TCP substream in the first access network.
  • the receiving end receives a second SYN-ACK data packet sent by a server of the communication peer end.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier
  • the CWR flag is identified by a fourth identifier
  • the ECT flag is different from the CE flag.
  • the receiving end detects that the second SYN-ACK data packet does not carry the MP_CAPABLE information, add the MP_CAPABLE to the second SYN-ACK data packet, and identify the The P flag bit of the second SYN-ACK packet.
  • the receiving end detects that the second SYN-ACK packet does not carry the MP_CAPABLE information, indicating that the server of the communication peer does not support the multipath TCP, and the receiving end adds the MP_CAPABLE to the second SYN-ACK packet. And identifying, by the eighth identifier, the P flag of the second SYN-ACK packet, so that the sending end learns, by using the P flag, that the server of the communication peer does not support multipath TCP, and the multipath TCP is established by the receiving end and the transmitting end. flow.
  • the receiving end records the port number, IP address, and MP_CAPABLE information of the sending end to facilitate the establishment of the multipath TCP substream.
  • the eighth identifier is represented by 1. It should be noted that the eighth identifier is used to indicate that the P flag is selected, and the eighth identifier can also be represented by other characters, as long as the respective roles can be expressed, and the present invention does not limit this.
  • the receiving end sends the second SYN-ACK data packet to the sending end, where the sending end receives the second SYN-ACK data packet sent by the receiving end.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag;
  • the second SYN-ACK packet also carries MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by an eighth identifier.
  • the sending end sends an ACK data packet to the receiving end, where the receiving end receives the ACK data packet sent by the sending end, and sends the ACK data packet to a server of the communication peer end.
  • the sending end after receiving the second SYN-ACK packet, the sending end sends the response packet ACK packet to the receiving end, and the receiving end sends the ACK packet to the server of the communication peer, so that the sending end and the receiving end A multipath TCP substream is established in the first access network, and the receiving end establishes a TCP connection with the server of the communication peer.
  • step 301 The same as step 301, and details are not described herein again.
  • step 101 The same as step 101, and details are not described herein again.
  • step 102 The same as step 102, and details are not described herein again.
  • step 509 The same as step 302, and details are not described herein again.
  • the receiving end is a proxy server supporting multipath TCP, and the server of the transmitting end of the transmitting end does not support multipath TCP.
  • congestion control of the server at the receiving end and the communication peer is the same as the method for performing congestion control on the TCP connection in the prior art, and will not be described in detail herein.
  • An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag. The bit is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is sent to the receiving end by the fourth identifier. After receiving the data packet, the receiving end detects the CE flag of the data packet.
  • congestion control is performed, that is, a new multipath TCP substream is established in the second access network where the TCP substream is not established, or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
  • the embodiment of the invention provides a method for multipath TCP congestion control. As shown in FIG. 6, the method includes:
  • the sending end sends a second SYN data packet to the receiving end, where the receiving end receives the second SYN data packet sent by the sending end in the first access network.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
  • the CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
  • the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the second SYN packet by using the fifth identifier.
  • the CWR is identified by a sixth identifier, and the ECT flag is different from the CE flag, and the ECN mechanism is negotiated with the receiving end.
  • the first SYN data packet also carries MP_CAPABLE information, which is used to indicate that a multipath TCP substream is established in the first access network.
  • the fifth identifier and the sixth identifier are represented by 1.
  • the receiving end sends a third SYN-ACK data packet to the sending end, where the sending end receives the third SYN-ACK data packet sent by the receiving end.
  • the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, and the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the third SYN-ACK packet also carries MP_CAPABLE.
  • the sending end sends an ACK data packet to the receiving end, and the receiving end receives an ACK data packet sent by the sending end.
  • the sending end after receiving the second SYN-ACK data packet, the sending end sends the response packet ACK data packet to the receiving end, so that the multipath TCP substream is established in the first access network between the transmitting end and the receiving end.
  • the sending end sends, to the receiving end, an address letter that includes the added address ADD_ADDR information.
  • the receiving end is configured to obtain, according to the address information, an internet protocol IP address of the sending end in the second access network.
  • the ADD_ADDR information has an Internet Protocol IP address of the transmitting end in the second access network.
  • the receiving end receives the address information that is sent by the sending end and includes the information about the added address ADD_ADDR, and obtains an Internet Protocol IP address of the sending end in the second access network according to the address information.
  • the receiving end acquires an Internet Protocol IP address of the sending end in the second access network by using the ADD_ADDR information of the address information.
  • step 301 The same as step 301, and details are not described herein again.
  • step 101 The same as step 101, and details are not described herein again.
  • step 102 The same as step 102, and details are not described herein again.
  • the receiving end is the server of the communication peer end, that is, the server of the communication peer end supports multipath TCP.
  • step 605 before step 608 and the steps 606 and 607 are not limited.
  • An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is identified by the fourth identifier. The identifier is sent to the receiving end. After receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control, that is, newly established in the second access network where the TCP substream is not established.
  • Multipath TCP subflow or congestion control of an established TCP subflow In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by newly building a multipath TCP substream in the second access network.
  • the embodiment of the present invention provides a device for multipath TCP congestion control.
  • the method includes: a receiving unit 701, configured to receive at least one multipath transmission control protocol TCP that the transmitting end has established in the first access network.
  • TCP multipath transmission control protocol
  • the processing unit 702 is configured to: when the transmission ECT flag of the ECN that supports the explicit congestion notification is detected by the first identifier, where the congestion warning CE flag is identified by the second identifier, the receiving The end performs congestion control.
  • the ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved.
  • the CWR flag is identified by a fourth identifier.
  • the processing unit 702 specifically includes: a first sending module 7021, and a first receiving module 7022.
  • the first sending module 7021 is configured to: when the sending end accesses the device by using the second access network, if the sending end and the device do not establish multipath in the second access network
  • the TCP substream, in the second access network sends a first synchronization sequence number SYN data packet to the transmitting end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN information indicates that a multipath TCP substream is added.
  • the first receiving module 7022 is configured to receive the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the SYN-ACK packet carries the MPJOIN information.
  • the first sending module 7021 is further configured to send an acknowledgement ACK packet to the sending end.
  • the ACK packet carries MP_JOIN information.
  • the receiving unit 701 is further configured to receive the address information that is sent by the sending end and includes the added address ADD_ADDR information.
  • the device as shown in FIG. 9, further includes:
  • the obtaining unit 703 is configured to obtain, according to the address information received by the receiving unit 701, an Internet Protocol IP address of the sending end in the second access network.
  • the processing unit 702 is specifically configured to: send, to the sending end, a first response data packet, so that the sending end performs congestion control.
  • the ECT flag of the first response data packet is identified by a first identifier, and the CE label The ambition is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier.
  • the receiving unit 701 is further configured to receive, in the second access network, the first SYN data packet sent by the sending end.
  • the device as shown in FIG. 10, further includes:
  • the first sending unit 704 is configured to send the first SYN-ACK data packet to the sending end.
  • the receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
  • the processing unit 702 is specifically configured to perform congestion control on the established multipath TCP substream, and send a second response data packet to the sending end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the receiving unit 701 is further configured to receive the second sent by the sending end in the first access network.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
  • the CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
  • the device as shown in FIG. 11, further includes:
  • the recording unit 707 is configured to record information about the MP_CAPABLE of the sender, a port number, and an IP address.
  • the second sending unit 705 is configured to send the second SYN data packet to the server of the communication peer end.
  • the receiving unit 701 is further configured to receive a second SYN-ACK data packet sent by the server of the communication peer end.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier
  • the CWR flag is a fourth identifier identifier; and the ECT flag is different from the CE flag.
  • the device as shown in FIG. 11, further includes:
  • the detecting unit 706 is configured to detect whether the second SYN-ACK packet carries the MP_CAPABLE information.
  • the processing unit 702 is further configured to detect the second SYN-ACK data at the detecting unit 706.
  • the MP_CAPABLE is added to the second SYN-ACK packet, and the P flag of the second SYN-ACK packet is identified by the eighth identifier.
  • the first sending unit 704 is further configured to send the second SYN-ACK data packet to the sending end.
  • the receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
  • the second sending unit 705 is further configured to send the ACK data packet to a server of the communication peer end.
  • the receiving unit 701 is further configured to receive the second SYN data packet that is sent by the sending end in the first access network.
  • the first sending unit 704 is further configured to send a third SYN-ACK data packet to the sending end. among them.
  • the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the three SYN-ACK packets also carry MP_CAPABLE.
  • the receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
  • An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
  • An embodiment of the present invention provides a device for multipath TCP congestion control.
  • the method includes: a sending unit 111, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in the first access network. Send a packet to the receiver.
  • the transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier; so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, the network node passes the CE flag of the data packet
  • the bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control.
  • the processing unit 112 is configured to perform corresponding congestion control when the receiving end performs congestion control. Specifically, the processing unit 112, as shown in FIG. 13, includes: a receiving module 1121 and a sending module 1122.
  • the receiving module 1121 is configured to: when the sending end accesses the receiving end by using the second access network, if the device and the receiving end do not establish multipath in the second access network
  • the TCP substream receives the first synchronization sequence number SYN data packet sent by the receiving end in the second access network.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
  • the sending module 1122 is configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the SYN-ACK packet carries the MPJOIN information.
  • the receiving module 1121 is further configured to receive an acknowledgement ACK packet sent by the receiving end.
  • the ACK packet carries MP_JOIN information.
  • the sending unit 111 is further configured to send the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet of the sending end in the second access network according to the address information. Protocol IP address.
  • the processing unit 112 is specifically configured to receive the first response data packet sent by the receiving end.
  • the ECT flag of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the C WR flag bit Identified with the fourth identifier.
  • the sending unit 111 is further configured to: if the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end are not in the second access network Establish multipath
  • the TCP substream in the second access network, sends the first SYN data packet to the receiving end.
  • the device as shown in FIG. 14, further includes:
  • the receiving unit 113 is configured to receive the first SYN-ACK data packet sent by the receiving end.
  • the sending unit 111 is further configured to send the ACK packet to the receiving end.
  • the processing unit 112 is further configured to perform congestion control on the established multipath TCP substream.
  • the processing unit 112 is specifically configured to receive the second response data packet sent by the receiving end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the sending unit 111 is further configured to send the second SYN data packet to the receiving end.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
  • the CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
  • the receiving unit 113 is further configured to receive a second SYN-ACK data packet or a third SYN-ACK data packet sent by the receiving end.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag;
  • the second SYN-ACK packet carries the MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by a ground eight identifier; and the ECE flag in the third SYN-ACK packet is used by And the CWR is identified by the fourth identifier; and the ECT flag is different from the CE flag; the third SYN-ACK packet further carries the MP_CAPABLE information.
  • the sending unit 111 is further configured to send an ACK packet to the receiving end.
  • An embodiment of the present invention provides a multipath TCP congestion control apparatus, where a transmitting end sends a data packet in an established at least one multipath TCP substream of a first access network, if the network node of the first access network detects
  • the ECT flag in the data packet is identified by the first identifier
  • the CE flag is identified by the second identifier
  • the ECE flag is identified by the third identifier
  • the C WR flag is identified by the fourth identifier.
  • the identifier is sent to the receiving end, so that after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control. In this way, it is achieved before the congestion occurs. Congestion control improves the efficiency of data transmission.
  • An embodiment of the present invention provides a device for multipath TCP congestion control, as shown in FIG. 15, including: a receiver 121, configured to receive, by a receiving end, at least one multipath transmission control established by a transmitting end in a first access network.
  • a receiver 121 configured to receive, by a receiving end, at least one multipath transmission control established by a transmitting end in a first access network.
  • the protocol TCP substream the data packet sent by the network node of the first access network.
  • the processor 122 is configured to: if the packet is detected, support an explicit congestion notification to transmit the ECN
  • the ECT flag is identified by the first identifier; the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control.
  • the ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved.
  • the CWR flag is identified by a fourth identifier.
  • the processor is specifically configured to: if the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end are not established in the second access network, In the multipath TCP substream, in the second access network, the first synchronization sequence number SYN data packet is sent to the transmitting end.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
  • the receiver 121 is further configured to receive the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the SYN-ACK packet carries the MPJOIN information.
  • the processor 122 is further configured to send an acknowledgement ACK packet to the sending end.
  • the ACK packet carries MP_JOIN information.
  • the receiver 121 is further configured to receive address information that is sent by the sending end and includes the added address ADD_ADDR information.
  • the processor 122 is further configured to obtain an Internet Protocol IP address of the sending end in the second access network according to the address information received by the receiver 121.
  • the processor 122 is specifically configured to send, by the receiving end, the first response data packet to the sending end, so that the sending end performs congestion control.
  • the ECT flag of the first response data packet is identified by a first identifier
  • the CE flag bit is identified by a seventh identifier
  • the ECE flag bit is identified by a fifth identifier
  • the C WR flag bit Identified with the fourth identifier.
  • the receiver 121 is further configured to: in the second access network, receive the first SYN data packet sent by the sending end.
  • the processor 122 is further configured to send the first SYN-ACK data packet to the sending end.
  • the receiver 121 is further configured to receive an ACK packet sent by the sending end.
  • the processor 122 is specifically configured to perform congestion control on the established multipath TCP substream, and send a second response data packet to the transmitting end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the receiver 121 is further configured to receive the second SYN data packet sent by the sending end in the first access network.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
  • the CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
  • the processor 122 is further configured to: record related information, a port number, and an IP address of the MP_CAPABLE of the sending end.
  • the above device as shown in FIG. 16, further includes:
  • the sender 123 is configured to send the second SYN data packet to a server of the communication peer.
  • the receiver 121 is further configured to receive a second SYN-ACK packet sent by the server of the communication peer.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier
  • the CWR flag is a fourth identifier identifier; and the ECT flag is different from the CE flag.
  • the processor 122 is further configured to detect whether the second SYN-ACK packet carries MP_CAPABLE information.
  • the processor 122 is further configured to: when the second SYN-ACK packet is detected, not carried In the MP_CAPABLE message, the MP_CAPABLE is added to the second SYN-ACK packet, and the P flag of the second SYN-ACK packet is identified by the eighth identifier.
  • the transmitter 123 is further configured to send the second SYN-ACK data packet to the sending end.
  • the receiver 122 is further configured to receive an ACK packet sent by the sending end.
  • the transmitter 123 is further configured to send the ACK packet to a server of the communication peer.
  • the receiver 122 is further configured to receive the second SYN data packet sent by the sending end in the first access network.
  • the transmitter 122 is further configured to send a third SYN-ACK packet to the sending end.
  • the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, and the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the third SYN-ACK packet also carries MP_CAPABLE.
  • the receiver 122 is further configured to receive an ACK packet sent by the sending end.
  • An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
  • the embodiment of the present invention provides a device for multipath TCP congestion control.
  • the method includes: a transmitter 141, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in the first access network. Send a packet to the receiver.
  • the transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier; so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, the network node passes the CE flag of the data packet The bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control.
  • the processor 142 is configured to perform corresponding congestion control when the receiving end performs congestion control. Specifically, the processor 142 is configured to: if the sending end accesses the receiving end by using the second access network, if the device and the receiving end are not established in the second access network, The path TCP substream receives the first synchronization sequence number SYN data packet sent by the receiving end in the second access network.
  • the ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag;
  • the SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
  • the processor 142 is further configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end.
  • the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the SYN-ACK packet carries the MPJOIN information.
  • the processor 142 is further configured to receive an acknowledgement ACK packet sent by the receiving end.
  • the ACK packet carries MP_JOIN information.
  • the transmitter 141 is further configured to send the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet Protocol IP address of the sending end in the second access network according to the address information.
  • the processor 142 is specifically configured to receive the first response data packet sent by the receiving end.
  • the ECT flag bit of the first response data packet is identified by a first identifier
  • the CE flag bit is identified by a seventh identifier
  • the ECE flag bit is identified by a fifth identifier
  • the fourth identifier is identified.
  • the transmitter 141 is further configured to: when the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end do not establish multipath TCP in the second access network The substream, in the second access network, sends the first SYN data packet to the receiving end.
  • the device as shown in FIG. 18, further includes:
  • the receiver 143 is configured to receive the first SYN-ACK data packet sent by the receiving end.
  • the transmitter 141 is further configured to send the ACK packet to the receiving end.
  • the processor 142 is further configured to perform congestion control on the established multipath TCP substream.
  • the processor 142 is specifically configured to receive the second response data packet sent by the receiving end.
  • the ECT flag of the second response packet is identified by a first identifier
  • the CE flag is identified by a seven identifier
  • the ECE flag is identified by a third identifier
  • the C WR flag is used by The sixth identifier is identified.
  • the transmitter 141 is further configured to send the second SYN data packet to the receiving end.
  • the ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
  • the CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP
  • the receiver 143 is further configured to receive a second SYN-ACK data packet or a third SYN-ACK data packet sent by the receiving end.
  • the ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag;
  • the second SYN-ACK packet also carries MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by a ground eight identifier.
  • the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit;
  • the three SYN-ACK packets also carry MP_CAPABLE information.
  • the transmitter 141 is further configured to send an ACK packet to the receiving end.
  • An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
  • the embodiment of the present invention provides a system for multipath TCP congestion control. As shown in FIG. 19, the method includes: a transmitting end 161, a network node 162, and a receiving end 163.
  • the transmitting end 161 is configured to receive, by the receiving end 163, a device for multipath TCP congestion control provided by the foregoing embodiment, in a device for multipath TCP congestion control according to the foregoing embodiment.
  • An embodiment of the present invention provides another system for multipath TCP congestion control. As shown in FIG. 20, the method includes: a transmitting end 201, a network node 202, and a receiving end 203.
  • the transmitting end 201 is another multipath TCP congestion control device according to the above embodiment.
  • the receiving end 203 is another multipath TCP congestion control device according to the above embodiment.
  • the embodiment of the invention provides a method, a device and a system for multipath TCP congestion control, where a sender sends a data packet in at least one multipath TCP substream of the first access network, if the first access network.
  • the network node detects that the network is about to be congested, and identifies the ECT flag in the data packet with the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is used.
  • the fourth identifier is sent to the receiving end.
  • the receiving end After receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the second connection of the TCP substream is not established. Add a new multipath TCP subflow to the network or perform congestion control on the established TCP subflow. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
  • the above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the claims.

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

Embodiment of the present invention provides a method, device and system for multipath TCP congestion control, and belongs to the technical field of communication, in order to control congestion before congestion occurs and to improve data transmission efficiency. Said method includes: a receiver receives packets sent by the first access network node in at least one of multipath transport control protocol TCP sub-flows which have been established by a sender in the first access network. If it is detected that the said packet has ECT tag marked by a first flag which supports for explicit congestion notification ECN and has congestion alarm CE tag marked by a second flag, then the receiver does congestion control. Wherein, ECN echo ECE tag of the said packet is marked by a third flag and congestion window reduced CWR tag is marked by a fourth flag. The invention is used for congestion control.

Description

一种多径 TCP拥塞控制的方法、 装置及系统  Method, device and system for multipath TCP congestion control
本申请要求于 2012年 8月 1日提交中国专利局、 申请号 CN 201210271599. 3、 发明 名称为 "一种多径 TCP拥塞控制的方法、 装置及系统"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及一种多径 TCP拥塞控制的方法、 装置及系统。 背景技术  This application claims the priority of the Chinese Patent Application entitled "Method, Apparatus and System for Multipath TCP Congestion Control", filed on August 1, 2012 by the Chinese Patent Office, Application No. CN 201210271599. The content is incorporated herein by reference. TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for multipath TCP congestion control. Background technique
MPTCP ( Multipath Transport Control Protocol, 多径传输控制协议) 建立在 TCP ( Transport Control Protocol, 传输控制协议) 基础上, 其主要有两个功能: 包调度和路径管理。 MPTCP对应用层是透明的。 MPTCP将发送方应用层的数 据分发到各个子流传输, 将接收方接收的各个子流传输的数据按序递交给应用 层。 MPTCP通过提供多路径实现提高资源的利用率, 从而提升网络的容量。 MPTCP (Multipath Transport Control Protocol) is based on TCP (Transport Control Protocol). It has two main functions: packet scheduling and path management. MPTCP is transparent to the application layer. The MPTCP distributes the data of the sender application layer to each substream transmission, and delivers the data transmitted by each substream received by the receiver to the application layer in order. MPTCP improves the utilization of resources by providing multi-path implementation, thereby increasing the capacity of the network.
MPTCP依靠子流发送及接收数据, 在子流发生拥塞时, MPTCP需对子流 进行拥塞控制。 在现有技术中, MPTCP通过调整拥塞窗口大小, 实现对子流进  MPTCP relies on substreams to send and receive data. When a substream is congested, MPTCP needs to perform congestion control on the substream. In the prior art, MPTCP realizes the substream by adjusting the size of the congestion window.
. / alpha * bytes a eked * MSS i 行拥塞控制。 具体的, MPTCP 通过公式 min (― ~ ―, cwnd _ total bytes _ acked * MSS _ ! ) 调整拥塞窗口大小。 其中, cwnd_i表示第 i个子流的拥 cwnd _ i / alpha * bytes a eked * MSS i line congestion control. Specifically, MPTCP adjusts the congestion window size by the formula min (― ~ ―, cwnd _ total bytes _ acked * MSS _ ! ) . Where cwn d_i represents the cwnd _ i of the i-th sub-stream
塞窗口; cwnd_total表示所有子流的拥塞窗口之和, MSS_i表示第 i个子流的最 大分段值; bytes—acked表示在一个往返时延内已被接收端确认的字节的大小; alpha为系数,通过公式 alpha=c wnd_total* 丽 d—i d2 ) 计算得到; rttJ Cwnd_total represents the sum of the congestion windows of all substreams, MSS_i represents the maximum segmentation value of the i-th substream; bytes_acked represents the size of the bytes that have been acknowledged by the receiver within a round-trip delay; alpha is the coefficient , calculated by the formula alpha=c wnd_total* 丽d — id 2 ); rttJ
(SUM (cwnd _ i / rtt _ i)) 2 (SUM (cwnd _ i / rtt _ i)) 2
表示往返时延。  Indicates round trip delay.
在实现上述拥塞控制的过程中, 发明人发现现有技术中至少存在如下问题: 数据的发送端只有在发生拥塞之后才能进行拥塞控制, 这时网络节点可能已经丢 弃了一些数据包, 降低了数据传输的效率。 发明内容 本发明的实施例提供一种多径 TCP拥塞控制的方法、 装置及系统, 用以在 拥塞发生之前, 进行拥塞控制, 提高数据传输的效率。 In the process of implementing the above congestion control, the inventor finds that at least the following problems exist in the prior art: The transmitting end of the data can only perform congestion control after congestion occurs, and the network node may have discarded some data packets and reduced the data. The efficiency of the transmission. Summary of the invention Embodiments of the present invention provide a method, apparatus, and system for multipath TCP congestion control, which are used to perform congestion control before congestion occurs, thereby improving data transmission efficiency.
为达到上述目的, 本发明的实施例采用如下技术方案:  In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
第一方面, 本发明实施例提供了一种多径 TCP拥塞控制的方法, 包括: 接 收端接收发送端在第一接入网已建立的至少一个多径传输控制协议 TCP 子流 中, 经第一接入网的网络节点发送的数据包;  In a first aspect, the embodiment of the present invention provides a method for multipath TCP congestion control, including: receiving, by a receiving end, at least one multipath transmission control protocol TCP substream that has been established by the first access network, a data packet sent by a network node of the access network;
若检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一 标识符标识; 拥塞预警 CE 标志位用第二标识符标识, 则所述接收端进行拥塞 控制; 其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗 口减半 CWR标志位用第四标识符标识。  If the transmission ECT flag of the ECN is detected by the first identifier, the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control; The ECN feedback ECE flag bit of the data packet is identified by a third identifier; the congestion window is halved and the CWR flag bit is identified by a fourth identifier.
在第一种可能的实现方式中, 所述进行拥塞控制包括: 在所述发送端通过 第二接入网接入所述接收端的情况下, 若所述发送端与所述接收端没有在第二 接入网中建立多径 TCP子流, 则在第二接入网中, 所述接收端向所述发送端发 送第一同步序列编号 SYN数据包; 所述第一 SYN数据包的所述 ECE标志位用 第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE 标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流;所述接收端接收所述发送端发送的第一 同步序列编号及确认 SYN-ACK数据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标 志位与所述 CE标志位不同; 所述 SYN-ACK数据包中携带 MPJOIN信息; 所 述接收端向所述发送端发送确认 ACK 数据包; 所述 ACK 数据包中携带有 MP_JOIN信息。  In a first possible implementation manner, the performing congestion control includes: if the sending end accesses the receiving end by using a second access network, if the sending end and the receiving end are not in the first The second access network establishes a multipath TCP substream, and in the second access network, the receiving end sends a first synchronization sequence number SYN data packet to the sending end, where the first SYN data packet is The ECE flag is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet further carries a multipath to add MPJOIN information. The MPJOIN indicates that a multipath TCP substream is added; the receiving end receives the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end; and the foregoing in the first SYN-ACK data packet. The ECE flag is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag; the SYN-ACK packet carries MPJOIN information; Send to the sender Acknowledge ACK packet; the ACK packet carries MP_JOIN information.
结合第一方面, 在第二种可能的实现方式中, 所述进行拥塞控制包括: 所 述接收端向所述发送端发送第一响应数据包,以使得所述发送端进行拥塞控制; 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用第七 标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志位用第四标 识符标识。  With reference to the first aspect, in a second possible implementation, the performing congestion control includes: the receiving end sending a first response data packet to the sending end, so that the sending end performs congestion control; The ECT flag of the first response packet is identified by a first identifier, the CE flag is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier Symbol.
结合第一方面, 在第三种可能的实现方式中, 所述进行拥塞控制包括: 对 已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应数据包; 所述 第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识符 标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位用第六标识符标 识。 With reference to the first aspect, in a third possible implementation manner, the performing congestion control includes: performing congestion control on the established multipath TCP substream, and sending a second response data packet to the sending end; The ECT flag of the response packet is identified by a first identifier, and the CE flag is identified by a seven identifier The identifier is identified by a third identifier; the C WR flag is identified by a sixth identifier.
第二方面, 本发明实施例提供了一种多径 TCP拥塞控制的方法, 包括: 发 送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中向接收端发 送数据包; 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标 识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志位用第 三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识; 以便第一接入 网的网络节点在检测到网络即将拥塞时, 通过改变 CE 标志位的标识通知所述 接收端, 以使得所述接收端进行拥塞控制; 若接收端进行拥塞控制, 则所述发 送端进行相应的拥塞控制。  In a second aspect, the embodiment of the present invention provides a method for multipath TCP congestion control, including: sending, by a sending end, a data packet to a receiving end in at least one multipath transmission control protocol TCP substream that has been established in the first access network. The data packet supports the explicit congestion notification ECN transmission ECT flag is identified by the first identifier, the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; the congestion window The halving CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the identifier of the CE flag when detecting that the network is about to be congested, so that the receiving end is congested. Control; if the receiving end performs congestion control, the transmitting end performs corresponding congestion control.
在第一种可能的实现方式中, 所述发送端进行相应的拥塞控制包括: 在所 述发送端通过第二接入网接入所述接收端的情况下, 若所述发送端与所述接收 端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述发送端接 收所述接收端发送的第一同步序列编号 SYN数据包; 所述第一 SYN数据包的 所述 ECE标志位用第五标识符标识;所述 CWR用第六标识符标识;且所述 ECT 标志位与所述 CE 标志位不同; 所述第一 SYN 数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流; 所述发送端向所 述接收端发送第一同步序列编号及确认 SYN-ACK数据包;所述第一 SYN-ACK 数据包中的所述 ECE标志位用第五标识符标识;所述 CWR用第四标识符标识; 且所述 ECT 标志位与所述 CE 标志位不同; 所述 SYN-ACK数据包中携带有 MPJOIN信息;所述发送端接收所述接收端发送的确认 ACK数据包;所述 ACK 数据包中携带有 MP_JOIN信息。  In a first possible implementation manner, the transmitting end performing corresponding congestion control includes: if the sending end accesses the receiving end by using a second access network, if the sending end and the receiving end In the second access network, the transmitting end receives the first synchronization sequence number SYN data packet sent by the receiving end, where the first SYN is not established in the second access network. The ECE flag of the data packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet is also carried Adding MPJOIN information to the multipath; the MPJOIN indicates adding a multipath TCP substream; the transmitting end sends a first synchronization sequence number and an acknowledge SYN-ACK packet to the receiving end; the first SYN-ACK packet The ECE flag bit is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag bit; the SYN-ACK packet carries MPJOIN information The transmitting terminal The reception confirmation ACK packet transmission end; the ACK packet carries MP_JOIN information.
结合第二方面, 在第二种可能的实现方式中, 所述发送端进行相应的拥塞 控制包括: 所述发送端接收所述接收端发送的第一响应数据包; 所述第一响应 数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志位用第四标识符标识。  With reference to the second aspect, in a second possible implementation manner, the transmitting end performing corresponding congestion control includes: the sending end receiving the first response data packet sent by the receiving end; the first response data packet The ECT flag is identified by a first identifier, the CE flag is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier.
结合第二方面或第二方面的第二种可能的实现方式, 在第三种可能的实现 方式中, 在所述发送端接收所述接收端发送的第一响应数据之后, 还包括: 在 所述发送端通过第二接入网接入所述接收端的情况下, 若所述发送端与所述接 收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述发送端 向所述接收端发送所述第一 SYN数据包;所述发送端接收所述接收端发送的所 述第一 SYN-ACK数据包; 所述发送端向所述接收端发送所述 ACK数据包。 With the second aspect or the second possible implementation of the second aspect, in a third possible implementation, after the sending end receives the first response data sent by the receiving end, the method further includes: If the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, then the second access network Medium, the transmitting end Transmitting, by the receiving end, the first SYN data packet; the sending end receiving the first SYN-ACK data packet sent by the receiving end; and sending, by the sending end, the ACK data packet to the receiving end .
结合第二方面或第二方面的第二种可能的实现方式, 在第四种可能的实现 方式中, 在所述发送端接收所述接收端发送的第一响应数据之后, 还包括: 所 述发送端对已建立的多径 TCP子流进行拥塞控制。  With the second aspect or the second possible implementation of the second aspect, in a fourth possible implementation, after the sending end receives the first response data sent by the receiving end, the method further includes: The sender performs congestion control on the established multipath TCP substream.
结合第二方面, 第五种可能的实现方式中, 所述发送端进行相应的拥塞控 制包括: 所述发送端接收所述接收端发送的第二响应数据包; 所述第二响应数 据包的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 CWR标志位用第六标识符标识。  With reference to the second aspect, in a fifth possible implementation manner, the transmitting end performing corresponding congestion control includes: receiving, by the sending end, a second response data packet sent by the receiving end; The ECT flag is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the CWR flag is identified by a sixth identifier.
第三方面, 本发明实施例提供了一种多径 TCP拥塞控制的装置, 包括: 接收单元, 用于接收发送端在第一接入网已建立的至少一个多径传输控制 协议 TCP子流中, 经第一接入网的网络节点发送的数据包; 处理单元, 用于在 检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标识符 标识; 拥塞预警 CE 标志位用第二标识符标识的情况下, 所述接收端进行拥塞 控制; 其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗 口减半 CWR标志位用第四标识符标识。  In a third aspect, the embodiment of the present invention provides an apparatus for multipath TCP congestion control, including: a receiving unit, configured to receive, in a TCP substream of at least one multipath transmission control protocol that the transmitting end has established in the first access network. a data packet sent by the network node of the first access network; a processing unit, configured to identify, by the first identifier, a transmission ECT flag bit that supports the explicit congestion notification ECN of the data packet; a congestion warning CE flag When the bit is identified by the second identifier, the receiving end performs congestion control; wherein, the ECN feedback ECE flag of the data packet is identified by the third identifier; the congestion window is halved, and the CWR flag is used with the fourth identifier Logo.
在第一种可能的实现方式中, 所述处理单元具体包括: 第一发送模块, 第 一接收模块; 所述第一发送模块, 用于在所述发送端通过第二接入网接入所述 装置的情况下, 若所述发送端与所述装置没有在第二接入网中建立多径 TCP子 流, 则在第二接入网中, 向所述发送端发送第一同步序列编号 SYN数据包; 所 述第一 SYN数据包的所述 ECE标志位用第五标识符标识;所述 CWR用第六标 识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中 还携带有多径添加 MP_ JOIN信息; 所述 MPJOIN信息表示添加一条多径 TCP 子流; 所述第一接收模块, 用于接收所述发送端发送的第一同步序列编号及确 认 SYN-ACK数据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五 标识符标识; 所述 C WR用第四标识符标识; 且所述 ECT标志位与所述 CE标 志位不同; 所述 SYN-ACK数据包中携带 MP_J0IN信息; 所述第一发送模块, 还用于向所述发送端发送确认 ACK 数据包; 所述 ACK 数据包中携带有 MP_J0IN信息。  In a first possible implementation manner, the processing unit includes: a first sending module, a first receiving module, and the first sending module, configured to access, by using the second access network, the sending end In the case of the device, if the transmitting end and the device do not establish a multipath TCP substream in the second access network, in the second access network, send the first synchronization sequence number to the transmitting end. a SYN data packet; the ECE flag bit of the first SYN data packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag bit is different from the CE flag bit; The first SYN data packet further carries the multipath addition MP_JOIN information; the MPJOIN information indicates that a multipath TCP substream is added; the first receiving module is configured to receive the first synchronization sequence number sent by the sending end. And confirming the SYN-ACK data packet; the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the C WR is identified by a fourth identifier; and the ECT flag bit is The CE mark is different; It said SYN-ACK packet carries information MP_J0IN; the first sending module is further configured to transmit an acknowledgment ACK packet to the sending end; the ACK packet carries MP_J0IN information.
结合第三方面, 在第二种可能的实现方式中, 所述处理单元具体用于, 向 所述发送端发送第一响应数据包, 以使得所述发送端进行拥塞控制; 所述第一 响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用第七标识符标 识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志位用第四标识符标识。 With reference to the third aspect, in a second possible implementation, the processing unit is specifically configured to Transmitting, by the sending end, the first response data packet, so that the sending end performs congestion control; the ECT flag bit of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier The ECE flag bit is identified by a fifth identifier; the C WR flag bit is identified by a fourth identifier.
结合第三方面, 在第三种可能的实现方式中, 所述处理单元具体用于, 对 已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应数据包; 所述 第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识符 标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位用第六标识符标 识。  With reference to the third aspect, in a third possible implementation, the processing unit is specifically configured to: perform congestion control on the established multipath TCP substream, and send a second response data packet to the sending end; The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; the C WR flag is identified by a sixth identifier .
第四方面, 本发明实施例提供了一种多径 TCP拥塞控制的装置, 包括: 发 送单元, 用于在第一接入网已建立的至少一个多径传输控制协议 TCP子流中向 接收端发送数据包; 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位 用第一标识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标 志位用第三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识; 以便 第一接入网的网络节点在检测到网络即将拥塞时, 通过改变 CE 标志位的标识 通知所述接收端, 以使得所述接收端进行拥塞控制; 处理单元, 用于接收端进 行拥塞控制的情况下, 进行相应的拥塞控制。  In a fourth aspect, the embodiment of the present invention provides an apparatus for multipath TCP congestion control, including: a sending unit, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in a first access network, to a receiving end Transmitting a data packet; the transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by a first identifier, and the congestion warning CE flag is identified by a seventh identifier; the ECN feedback ECE flag is identified by a third identifier The congestion window is halved and the CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the identifier of the CE flag when detecting that the network is about to be congested, so that the receiving Congestion control is performed at the end; and the processing unit is configured to perform corresponding congestion control when the receiving end performs congestion control.
在第一种可能的实现方式中, 所述处理单元包括: 接收模块和发送模块; 所述接收模块, 用于在所述发送端通过第二接入网接入所述接收端的情况下, 若所述装置与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接 入网中,接收所述接收端发送的第一同步序列编号 SYN数据包;所述第一 SYN 数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同;所述第一 SYN数据包中还携带有多 径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流; 所述发送 模块, 用于向所述接收端发送第一同步序列编号及确认 SYN-ACK数据包; 所 述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR 用第四标识符标识;且所述 ECT标志位与所述 CE标志位不同;所述 SYN-ACK 数据包中携带有 MPJOIN信息; 所述接收模块, 还用于接收所述接收端发送的 确认 ACK数据包; 所述 ACK数据包中携带有 MP_JOIN信息。  In a first possible implementation manner, the processing unit includes: a receiving module and a sending module, where the receiving module is configured to: when the sending end accesses the receiving end by using a second access network, The device and the receiving end do not establish a multipath TCP substream in the second access network, and in the second access network, receive the first synchronization sequence number SYN data packet sent by the receiving end; The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet is And carrying the multipath to add the MPJOIN information; the MPJOIN is to add a multipath TCP substream; the sending module is configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end; The ECE flag in a SYN-ACK packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag; the SYN-ACK data The bag carries the MPJOIN letter The receiving module is further configured to receive an acknowledgement ACK packet sent by the receiving end, where the ACK packet carries MP_JOIN information.
结合第四方面, 在第二种可能的实现方式中, 所述处理单元具体用于, 接 收所述接收端发送的第一响应数据包; 所述第一响应数据包的 ECT标志位用第 一标识符标识, 所述 CE标志位用第七标识符标识; 所述 ECE标志位用第五标 识符标识; 所述 CWR标志位用第四标识符标识。 With reference to the fourth aspect, in a second possible implementation, the processing unit is specifically configured to: receive a first response data packet sent by the receiving end; and use an ECT flag of the first response data packet An identifier identifier, the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; and the CWR flag bit is identified by a fourth identifier.
结合第四方面或第四方面的第二种可能的实现方式, 在第三种可能的实现 方式中, 所述发送单元, 还用于在所述发送端通过第二接入网接入所述接收端 的情况下,若所述发送端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 向所述接收端发送所述第一 SYN数据包; 所述装置, 还包 括: 接收单元, 用于接收所述接收端发送的所述第一 SYN-ACK数据包; 所述 发送单元, 还用于向所述接收端发送所述 ACK数据包。  With the fourth aspect or the second possible implementation manner of the fourth aspect, in a third possible implementation, the sending unit is further configured to access, by using the second access network, the sending end In the case of the receiving end, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, in the second access network, send the first SYN to the receiving end. The device, the device further includes: a receiving unit, configured to receive the first SYN-ACK data packet sent by the receiving end, where the sending unit is further configured to send the ACK data to the receiving end package.
结合第四方面或第四方面的第二种可能的实现方式, 在第四种可能的实现 方式中, 所述处理单元, 还用于对已建立的多径 TCP子流进行拥塞控制。  With reference to the fourth aspect, or the second possible implementation manner of the fourth aspect, in a fourth possible implementation manner, the processing unit is further configured to perform congestion control on the established multipath TCP substream.
结合第四方面, 在第五种可能的实现方式中, 所述处理单元具体用于, 接 收所述接收端发送的第二响应数据包; 所述第二响应数据包的 ECT标志位用第 一标识符标识, 所述 CE标志位用七标识符标识; 所述 ECE标志位用第三标识 符标识; 所述 CWR标志位用第六标识符标识。  With reference to the fourth aspect, in a fifth possible implementation, the processing unit is configured to: receive a second response data packet that is sent by the receiving end; and use the first ECT flag of the second response data packet An identifier identifier, the CE flag bit is identified by a seven identifier; the ECE flag bit is identified by a third identifier; and the CWR flag bit is identified by a sixth identifier.
第五方面, 本发明实施例提供了一种多径 TCP拥塞控制的装置, 包括: 接 收器, 用于接收端接收发送端经第一接入网的网络节点在已建立的至少一个多 径传输控制协议 TCP 子流中发送的数据包; 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标识符标识, 拥塞预警 CE标志位用第二标识符 标识; ECN反馈 ECE标志位用第三标识符标识; 拥塞窗口减半 CWR标志位用 第四标识符标识; 处理器, 用于在检测到所述数据包的所述 CE 标志位为第二 标识符的情况下, 进行拥塞控制。  According to a fifth aspect, an embodiment of the present invention provides a device for multipath TCP congestion control, including: a receiver, configured to receive, by a receiving end, at least one multipath transmission established by a network node of a first access network; Controlling the data packet sent in the TCP substream; the data packet supports the explicit congestion notification ECN transmission ECT flag is identified by the first identifier, and the congestion warning CE flag is identified by the second identifier; ECN feedback ECE flag The bit is identified by the third identifier; the congestion window is halved, and the CWR flag is identified by the fourth identifier; the processor is configured to: when detecting that the CE flag of the data packet is the second identifier, Congestion control.
第六方面, 本发明实施例提供了一种多径 TCP拥塞控制的装置, 包括: 发 送器, 用于发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流 中向接收端发送数据包; 所述数据包的支持显式拥塞通知 ECN的传输 ECT标 志位用第一标识符标识,拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE 标志位用第三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识; 以 便第一接入网的网络节点在检测到网络即将拥塞时, 通过改变 CE 标志位通知 所述接收端, 以使得所述接收端进行拥塞控制; 处理器, 用于在接收端进行拥 塞控制的情况下, 进行相应的拥塞控制。  In a sixth aspect, an embodiment of the present invention provides a device for multipath TCP congestion control, including: a transmitter, configured to send, by a sending end, at least one multipath transmission control protocol TCP substream established in a first access network The receiving end sends a data packet; the data packet supports the explicit congestion notification ECN. The transmission ECT flag is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier. The congestion flag is halved. The CWR flag is identified by the fourth identifier; so that the network node of the first access network notifies the receiving end by changing the CE flag when detecting that the network is about to be congested, so that the receiving The terminal performs congestion control; and the processor is configured to perform corresponding congestion control in the case of congestion control at the receiving end.
第七方面, 本发明实施例提供了一种多径 TCP拥塞控制的系统, 包括: 发 送端, 网络节点, 接收端; 所述发送端为上述第三方面所述的一种多径 TCP拥 塞控制的装置; 所述接收端为上述第四方面所述的一种多径 TCP拥塞控制的装 置。 In a seventh aspect, an embodiment of the present invention provides a system for multipath TCP congestion control, including: a transmitting end, a network node, and a receiving end; the transmitting end is a device for multipath TCP congestion control according to the above third aspect; the receiving end is a multipath TCP congestion control according to the fourth aspect s installation.
第八方面, 本发明实施例提供了一种多径 TCP拥塞控制的系统, 包括: 发 送端, 网络节点, 接收端; 所述发送端为上述第五方面所述的一种多径 TCP拥 塞控制的装置; 所述接收端为第六方面所述的一种多径 TCP拥塞控制的装置。  The eighth aspect of the present invention provides a system for multipath TCP congestion control, including: a transmitting end, a network node, and a receiving end; and the transmitting end is a multipath TCP congestion control according to the fifth aspect. The device is a device for multipath TCP congestion control according to the sixth aspect.
本方面实施例提供了一种多径 TCP拥塞控制的方法、 装置及系统, 发送端在 第一接入网的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网的网 络节点检测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标识, CE 标志位用第二标识符标识, ECE标志位用第三标识符标识, CWR标志位用第四标 识符标识发送至接收端, 接收端接收到数据包后, 检测到数据包的 CE标志位用第 二标识符标识, 则进行拥塞控制。 这样, 实现了在拥塞发生之前, 进行拥塞控制, 提高了数据传输的效率。  The embodiment of the present invention provides a method, device, and system for multipath TCP congestion control, where a sender sends a data packet in an established at least one multipath TCP substream of a first access network, if the first access network The network node detects that the network is about to be congested, and then identifies the ECT flag in the data packet with the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the CWR flag is used. The four identifier identifier is sent to the receiving end, and after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved.
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提 下, 还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图 1为本发明实施例提供的一种多径 TCP拥塞控制的方法示意图; 图 2为本发明实施例提供的另一种多径 TCP拥塞控制的方法示意图; 图 3为本发明实施例提供的另一种多径 TCP拥塞控制的方法示意图; 图 4为本发明实施例提供的另一种多径 TCP拥塞控制的方法示意图; 图 5为本发明实施例提供的另一种多径 TCP拥塞控制的方法示意图; 图 6为本发明实施例提供的另一种多径 TCP拥塞控制的方法示意图; 图 7为本发明实施例提供的一种多径 TCP拥塞控制的装置的结构示意图; 图 8为图 7所示的一种多径 TCP拥塞控制的装置的处理单元的结构示意图; 图 9 为本发明实施例提供的另一种多径 TCP 拥塞控制的装置的结构示意 图; FIG. 1 is a schematic diagram of a method for multipath TCP congestion control according to an embodiment of the present invention; FIG. 2 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention; FIG. 4 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention; FIG. 5 is another multipath TCP congestion control according to an embodiment of the present invention; FIG. 6 is a schematic diagram of another method for multipath TCP congestion control according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of an apparatus for multipath TCP congestion control according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a processing unit of a device for multipath TCP congestion control according to FIG. 7; FIG. 9 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention; Figure
图 10为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 10 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present disclosure;
图 11 为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 11 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 12为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 12 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 13为图 12所示的一种多径 TCP拥塞控制的装置的处理单元的结构示意 图;  13 is a schematic structural diagram of a processing unit of a multipath TCP congestion control apparatus shown in FIG. 12;
图 14为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 14 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 15为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 15 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 16为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 16 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 17为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 17 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 18为本发明实施例提供的另一种多径 TCP拥塞控制的装置的结构示意 图;  FIG. 18 is a schematic structural diagram of another apparatus for multipath TCP congestion control according to an embodiment of the present invention;
图 19为本发明实施例提供的一种多径 TCP拥塞控制的系统的结构示意图; 图 20为本发明实施例提供的另一种多径 TCP拥塞控制的系统的结构示意图。 具体实》式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。  FIG. 19 is a schematic structural diagram of a system for multipath TCP congestion control according to an embodiment of the present invention; FIG. 20 is a schematic structural diagram of another system for multipath TCP congestion control according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of them. Example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 如图 1所示, 包括: 101、接收端接收发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中, 经第一接入网的网络节点发送的数据包。 An embodiment of the present invention provides a method for multipath TCP congestion control, as shown in FIG. 1 , including: 101. The receiving end receives, by the sending end, a data packet sent by the network node of the first access network in the at least one multipath transmission control protocol TCP substream that has been established by the first access network.
具体的, 发送端通过第一接入网和第二接入网接入接收端, 在第一接入网 中, 发送端与接收端之间建立了至少一个多径 TCP ( Transport Control Protocol, 传输控制协议) 子流, 发送端通过所述至少一个多径 TCP子流向接收端发送数 据包, 则接收端在第一接入网的至少一个多径 TCP子流中接收经第一接入网的 网络节点传输的数据包。  Specifically, the sending end accesses the receiving end by using the first access network and the second access network, and in the first access network, at least one multipath TCP (Transport Control Protocol) is established between the transmitting end and the receiving end. a control flow), the transmitting end sends a data packet to the receiving end by using the at least one multipath TCP substream, and the receiving end receives the first access network in the at least one multipath TCP substream of the first access network A packet transmitted by a network node.
例如, 第一接入网为 3Gpp网络, 则网络节点为 eNB ( E-UTRAN Node B, 演进的 UMTS陆地无线接入网节点) 或 SGW ( Serving Gateway, 服务网关) , 或网络中的路由器, 发送端通过 3Gpp 网络与接收端建立了至少一个多径 TCP 子流。 发送端通过 3Gpp网络的至少一个多径 TCP子流向接收端发送数据包, 数据包经网络节点 eNB 、 SGW转发至接收端, 接收端接收数据包。 其中, 当 网络即将拥塞时, 网络节点会将数据包中 CE 标志位更改为第二标识符标识; 或者当接入网链路质量变差的情况下, eNB会将数据包中 CE标志位更改为第 二标识符标识。  For example, if the first access network is a 3Gpp network, the network node is sent by an eNB (E-UTRAN Node B, an evolved UMTS terrestrial radio access network node) or an SGW (Serving Gateway), or a router in the network. The terminal establishes at least one multipath TCP substream with the receiving end through the 3Gpp network. The transmitting end sends the data packet to the receiving end through the at least one multipath TCP substream of the 3Gpp network, and the data packet is forwarded to the receiving end by the network node eNB and the SGW, and the receiving end receives the data packet. Wherein, when the network is about to be congested, the network node changes the CE flag bit in the data packet to the second identifier identifier; or when the access network link quality deteriorates, the eNB changes the CE flag bit in the data packet. Identifies the second identifier.
另外, 第一接入网也可以是非 3Gpp 网络, 例如 WLAN, 则网络节点为 AGW( Access Gateway, 接入网关)或 PDG ( packet data gateway, 分组数据网关) 或 ePDG ( evolved packet data gateway, 演进的分组数据网关) , 或网络中的路 由器。 发送端通过非 3Gpp网络与接收端建立了至少一个多径 TCP子流。 发送 端通过非 3Gpp网络的至少一个多径 TCP子流向接收端发送数据包, 数据包经 网络节点转发至接收端, 接收端接收数据包。 当网络即将拥塞或者当接入网链 路质量变差的情况下, 网络节点会将数据包中 CE 标志位更改为第二标识符标 识。  In addition, the first access network may also be a non-3Gpp network, such as a WLAN, where the network node is an AGW (Access Gateway) or a PDG (packet data gateway) or an ePDG (evolved packet data gateway). Packet data gateway), or a router in the network. The transmitting end establishes at least one multipath TCP substream with the receiving end through the non-3Gpp network. The transmitting end sends a data packet to the receiving end through at least one multipath TCP substream of the non-3Gpp network, and the data packet is forwarded to the receiving end by the network node, and the receiving end receives the data packet. When the network is about to become congested or when the access network link quality is degraded, the network node changes the CE flag bit in the packet to the second identifier.
102、若检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用 第一标识符标识; 拥塞预警 CE 标志位用第二标识符标识, 则所述接收端进行 拥塞控制。  102. If the detection of the data packet supports explicit congestion notification, the transmission of the ECN is marked by the first identifier; the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control.
其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗口 减半 CWR标志位用第四标识符标识。  The ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved. The CWR flag is identified by a fourth identifier.
进一步的, ECT ( ECN-Capable Transport, 支持显式拥塞通知 ECN的传输) 标志位用于表明是否支持 ECN ( Explicit Congestion Notification, 显式拥塞通 知) 。 CE ( Congestion Experienced, 拥塞预警) 标志位用于表明网络是否即将 拥塞。 ECE ( ECN-Echo, ECN反馈)用于表明是否接收到一个 CE数据包。 C WR ( Congestion Window Reduced, 拥塞窗口减半)用于表明是否拥塞窗口已减半。 Further, the ECT (ECN-Capable Transport) supports the ECN (Explicit Congestion Notification). Know). The CE (Congestion Experienced) flag is used to indicate if the network is about to become congested. ECE (ECN-Echo, ECN feedback) is used to indicate whether a CE packet has been received. C WR (Congestion Window Reduced) is used to indicate if the congestion window has been halved.
可选的, 第一标识符与第二标识符用 1表示, 第三标识符与第四标识符用 0表示。  Optionally, the first identifier and the second identifier are represented by 1, and the third identifier and the fourth identifier are represented by 0.
需要说明的是,第一标识符用于表示 ECT标志位被选中,即表示支持 ECN; 第二标识符用于表示 CE 标志位被选中, 即表示网络即将发生拥塞; 第三标识 符用于表示 ECE标志位未被选中, 即表示未接收到一个 CE数据包; 第四标识 符用于表示 CWR未被选中, 即表示拥塞窗口未减半。  It should be noted that the first identifier is used to indicate that the ECT flag is selected, that is, the ECN is supported; the second identifier is used to indicate that the CE flag is selected, that is, the network is about to be congested; the third identifier is used to indicate The ECE flag is not selected, indicating that a CE packet has not been received. The fourth identifier is used to indicate that the CWR is not selected, indicating that the congestion window has not been halved.
需要说明的是, 第一标识符、 第二标识符、 第三标识符与第四标识符也可 用其他字符表示, 只要能表示出其各自的作用即可, 本发明对此不做限制。  It should be noted that the first identifier, the second identifier, the third identifier, and the fourth identifier may also be represented by other characters, as long as the respective roles can be expressed, and the present invention does not limit this.
具体的, 接收端接收到数据包后, 检测数据包的各标志位, 以获知是否要 发生拥塞。 若检测到 ECT标志位用第一标识符标识, 则获知发送端支持 ECN, CE用第二标识符标识, 则获知网络中即将发生拥塞, 此时接收端需进行拥塞控 制。  Specifically, after receiving the data packet, the receiving end detects each flag bit of the data packet to know whether congestion is to occur. If it is detected that the ECT flag is identified by the first identifier, it is known that the sender supports the ECN, and the CE uses the second identifier to identify that the network is about to be congested. At this time, the receiver needs to perform congestion control.
进行拥塞控制的方法有三种, 下面对三种方法分别进行详述。  There are three methods for performing congestion control. The following three methods are described in detail.
第一种方法, 在发送端接入接收端的至少两个网络中, 在未建立多径 TCP 子流的网络中, 接收端新建多径 TCP子流, 如图 2所示, 具体如下所述。  In the first method, in the network where the transmitting end accesses the receiving end, in the network where the multipath TCP substream is not established, the receiving end creates a new multipath TCP substream, as shown in FIG. 2, which is specifically as follows.
201、在所述发送端通过第二接入网接入所述接收端的情况下, 若所述发送 端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述接收端向所述发送端发送第一同步序列编号 SYN数据包。  In the case that the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, then In the two access networks, the receiving end sends a first synchronization sequence number SYN data packet to the sending end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息。所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN packet also carries multipath added MPJOIN information. The MPJOIN indicates that a multipath TCP substream is added.
具体的, 接收端在第二接入网中建立多径 TCP子流时, 需先与发送端协商 ECN机制, 接收端通过将第一 SYN数据包的 ECE标志位用第五标识符标识和 CWR用第六标识符标识, 且 ECT标志位与所述 CE标志位不同的方法, 向发送 端协商 ECN机制。第一 SYN数据包中还携带有 MP_JOIN信息, 用于表明在第 二接入网中添加一条多径 TCP子流。 由于接收端与发送端已在第一接入网中建 立了多径 TCP子流,所以在第二接入网建立多径 TCP子流时,需携带 MPJOIN 信息, 表示建立的为一条多径 TCP子流。 Specifically, when the receiving end establishes the multipath TCP substream in the second access network, the ECN mechanism needs to be negotiated with the sending end, and the receiving end identifies the ECE flag of the first SYN packet by using the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the sender. The first SYN data packet also carries MP_JOIN information, which is used to indicate that a multipath TCP substream is added to the second access network. Since the receiving end and the transmitting end are already built in the first access network The multipath TCP substream is established. Therefore, when the multipath TCP substream is established in the second access network, the MPJOIN information needs to be carried, indicating that the multipath TCP substream is established.
需要说的是, 第五标识符用于表示 ECE标志位被选中; 第六标识符用于表 示 CWR被选中。 可选的, 第五标识符与第六标识符用 1表示。  It should be noted that the fifth identifier is used to indicate that the ECE flag is selected; the sixth identifier is used to indicate that the CWR is selected. Optionally, the fifth identifier and the sixth identifier are represented by 1.
需要说明的是, 在本发明所有实施例中, 所述 ECT标志位与所述 CE标志 位不同是指 ECT标志位与 CE标志位的标识符的值不同, 例如, ECT标志位用 1标识, 则 CE标志位用 0标识; 或者, ECT标志位用 0标识, 则 CE标志位用 1标识。  It should be noted that, in all embodiments of the present invention, the difference between the ECT flag and the CE flag means that the value of the ECT flag is different from the identifier of the CE flag. For example, the ECT flag is identified by 1. Then, the CE flag is marked with 0; or, the ECT flag is marked with 0, and the CE flag is identified by 1.
202、 所述接收端接收所述发送端发送的第一同步序列编号及确认 SYN-ACK数据包。  202. The receiving end receives the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同。 所 述 SYN-ACK数据包中携带 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit. The SYN-ACK packet carries MPJOIN information.
具体的, 第一 SYN-ACK数据包中的 ECE标志位用第五标识符标识, CWR 用第四标识符标识, 且所述 ECT标志位与所述 CE标志位不同表示发送端支持 ECN机制。 SYN-ACK数据包中携带 MP_JOIN信息, 表示发送端同意添加多径 TCP子流。 第一 SYN-ACK数据包为第一 SYN数据包的响应数据包。  Specifically, the ECE flag in the first SYN-ACK packet is identified by the fifth identifier, and the CWR is identified by the fourth identifier, and the ECT flag and the CE flag are different, indicating that the sender supports the ECN mechanism. The SYN-ACK packet carries the MP_JOIN information, indicating that the sender agrees to add the multipath TCP substream. The first SYN-ACK packet is a response packet of the first SYN packet.
203、 所述接收端向所述发送端发送确认 ACK数据包。  203. The receiving end sends an acknowledgement ACK packet to the sending end.
其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The ACK packet carries MP_JOIN information.
具体的,接收端接收到第一 SYN-ACK数据包后向发送端发送 ACK数据包, 对第一 SYN-ACK数据包的响应。 完成在第二接入网中进行三次握手过程的多 径 TCP子流的建立。  Specifically, after receiving the first SYN-ACK data packet, the receiving end sends an ACK data packet to the transmitting end, and responds to the first SYN-ACK data packet. The establishment of a multipath TCP substream for performing a three-way handshake process in the second access network is completed.
需要说的是, 在本发明所有实施例中, 第二接入网是与第一接入网不同的 网络。 例如, 第一接入网为 3Gpp网络, 第二接入网为非 3Gpp网络。  It should be noted that in all embodiments of the invention, the second access network is a different network than the first access network. For example, the first access network is a 3Gpp network and the second access network is a non-3Gpp network.
第二种方法, 接收端通知发送端接收到一个 CE 数据包, 让发送端进行拥 塞控制, 具体如下。  In the second method, the receiving end notifies the transmitting end that a CE packet is received, and the transmitting end performs congestion control, as follows.
所述接收端向所述发送端发送第一响应数据包, 以使得所述发送端进行拥 塞控制。  The receiving end sends a first response data packet to the sending end, so that the sending end performs congestion control.
其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志 位用第四标识符标识。 The ECT flag of the first response data packet is identified by a first identifier, and the CE label The ambition is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier.
具体的, CE标志位用第七标识符标识表示 CE标志位未被选中, ECE标志 位用第五标识符标识表示 ECE被选中, 即接收到一个 CE数据包。 接收端通过 标识第一响应数据包的各个标志位通知发送端网络即将发生拥塞, 使得发送端 进行拥塞控制。  Specifically, the CE flag indicates that the CE flag is not selected by the seventh identifier, and the ECE flag indicates that the ECE is selected by the fifth identifier, that is, a CE packet is received. The receiving end notifies the sending end that the network is about to be congested by identifying each flag bit of the first response data packet, so that the transmitting end performs congestion control.
其中,发送端进行拥塞控制的方式有两种,一种是发送端在未建立多径 TCP 子流的网络中,发起建立多径 TCP子流的流程,则接收端相应的处理具体如下。  There are two ways for the sender to perform congestion control. One is that the sender initiates the process of establishing a multipath TCP substream in the network where the multipath TCP substream is not established. The corresponding processing at the receiving end is as follows.
在第二接入网中, 所述接收端接收所述发送端发送的所述第一 SYN 数据 包。  In the second access network, the receiving end receives the first SYN data packet sent by the sending end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息。所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN packet also carries multipath added MPJOIN information. The MPJOIN indicates that a multipath TCP substream is added.
所述接收端向所述发送端发送所述第一 SYN-ACK数据包。  The receiving end sends the first SYN-ACK data packet to the sending end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同。 所 述 SYN-ACK数据包中携带 MP_JOIN信息, 表示接收端同意添加多径 TCP子 流。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit. The SYN-ACK packet carries the MP_JOIN information, indicating that the receiving end agrees to add the multipath TCP substream.
所述接收端接收所述发送端发送的 ACK数据包; 所述 ACK数据包中携带 有 MPJOIN信息。  The receiving end receives an ACK data packet sent by the sending end; the ACK data packet carries MPJOIN information.
具体的, 接收端接收到发送端发送的第一 SYN-ACK数据包的响应数据包 ACK数据包, 则表明在第二接入网中完成了建立多径 TCP子流, 发送端可利用 此新建的多径 TCP子流进行数据的传输, 从而减缓网络的拥塞。  Specifically, the receiving end receives the response packet ACK packet of the first SYN-ACK packet sent by the sending end, indicating that the multipath TCP substream is established in the second access network, and the sending end can use the new The multipath TCP substream transmits data, thereby slowing down network congestion.
第二种方式是, 发送端对已建立的多径 TCP子流进行拥塞控制, 从而减缓 网络的拥塞。  The second way is that the sender performs congestion control on the established multipath TCP substream, thereby slowing network congestion.
第三种方法, 接收端对已建立的多径 TCP子流进行拥塞控制, 具体如下。 接收端对已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应 数据包。 其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。 In the third method, the receiving end performs congestion control on the established multipath TCP substream, as follows. The receiving end performs congestion control on the established multipath TCP substream, and sends a second response data packet to the transmitting end. The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
具体的, 接收端对在第一接入网中已建立的多径 TCP子流进行拥塞控制, 例如, 将多径 TCP子流的拥塞窗口减半, 并将 CWR标志位用第六标识符标识, 表示 CWR 标志位被选中, 即表示拥塞窗口已经减半, 通过标识第二响应数据 包的各个标志位通知发送端已对已建立的多径 TCP子流进行了拥塞控制。  Specifically, the receiving end performs congestion control on the multipath TCP substream that has been established in the first access network, for example, halving the congestion window of the multipath TCP substream, and identifying the CWR flag by the sixth identifier. , indicating that the CWR flag is selected, that is, the congestion window has been halved. The sender identifies that the established multipath TCP subflow has congestion control by identifying each flag of the second response packet.
需要说明的是, 在发送端只通过第一接入网接入到接收端, 并没有通过其 他网络接入到接收端的情况下, 接收端进行拥塞控制的方法可以是第二种通知 发送端网络即将发生拥塞, 使发送端进行拥塞控制。 也可是第三种, 接收端对 已建立的多径 TCP子流进行拥塞控制。  It should be noted that, in the case that the transmitting end accesses only the first access network to the receiving end, and does not access the receiving end through other networks, the method for the receiving end to perform congestion control may be the second notification sending end network. Congestion is imminent, causing the sender to perform congestion control. Or the third type, the receiving end performs congestion control on the established multipath TCP substream.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 接收端接收到数据包 后, 若检测到数据包的 ECT标志位用第一标识符标识, CE标志位用第二标识 符标识, 则进行拥塞控制。 这样, 实现了在拥塞发生之前, 进行拥塞控制, 提 高了数据传输的效率。  The embodiment of the present invention provides a method for multipath TCP congestion control. After receiving a data packet, if the ECT flag of the data packet is detected by the first identifier, the CE flag is identified by the second identifier. Then perform congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 如图 3所示, 包括: 301、 发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流 中向接收端发送数据包。  The embodiment of the present invention provides a method for multipath TCP congestion control. As shown in FIG. 3, the method includes: 301: A sending end receives in a TCP substream of at least one multipath transmission control protocol that has been established in a first access network. The end sends a packet.
其中, 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标 识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志位用第 三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识, 以便第一接入 网的网络节点在检测到网络即将拥塞或第一接入网链路质量变差时, 网络节点 通过将数据包的 CE 标志位由第七标识符标识更改为第二标识符标识通知所述 接收端网络即将拥塞或第一接入网链路质量变差, 以使得所述接收端进行拥塞 控制。  The transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier, so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, and the network node passes the CE flag of the data packet. The bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control.
进一步的, ECT ( ECN-Capable Transport, 支持显式拥塞通知 ECN的传输) 标志位用于表明是否支持 ECN ( Explicit Congestion Notification, 显式拥塞通 知) 。 CE ( Congestion Experienced, 拥塞预警) 标志位用于表明网络是否即将 拥塞。 ECE ( ECN-Echo, ECN反馈)用于表明是否接收到一个 CE数据包。 C WR ( Congestion Window Reduced, 拥塞窗口减半)用于表明是否拥塞窗口已减半。 可选的, 第一标识符和第二标识符用 1表示, 第七标识符、 第三标识符与 第四标识符用 0表示。 Further, the ECT (ECN-Capable Transport) flag is used to indicate whether ECN (Explicit Congestion Notification) is supported. The CE (Congestion Experienced) flag is used to indicate if the network is about to become congested. ECE (ECN-Echo, ECN feedback) is used to indicate whether a CE packet has been received. C WR (Congestion Window Reduced) is used to indicate if the congestion window has been halved. Optionally, the first identifier and the second identifier are represented by 1, and the seventh identifier, the third identifier, and the fourth identifier are represented by 0.
需要说明的是,第一标识符用于表示 ECT标志位被选中,即表示支持 ECN; 第七标识符用于表示 CE 标志位未被选中, 即表示网络不会即将发生拥塞; 第 三标识符用于表示 ECE标志位未被选中, 即表示未接收到一个 CE数据包; 第 四标识符用于表示 CWR未被选中, 即表示拥塞窗口未减半。  It should be noted that the first identifier is used to indicate that the ECT flag is selected, that is, the ECN is supported; the seventh identifier is used to indicate that the CE flag is not selected, that is, the network is not about to be congested; It is used to indicate that the ECE flag is not selected, that is, it does not receive a CE packet; the fourth identifier is used to indicate that the CWR is not selected, that is, the congestion window is not halved.
需要说明的是, 第一标识符、 第二标识符、 第七标识符、 第三标识符与第 四标识符也可用其他字符表示, 只要能表示出其各自的作用即可, 本发明对此 不做限制。  It should be noted that the first identifier, the second identifier, the seventh identifier, the third identifier, and the fourth identifier may also be represented by other characters, as long as they can express their respective roles, the present invention No restrictions.
具体的, 发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子 流中, 经第一接入网的网络节点向接收端发送数据包。 发送端将数据包发送至 第一接入网的网络节点时, 若网络节点检测到网络即将发生拥塞, 则将数据包 中的 CE标志位由第七标识符标识修改为第二标识符标识,并将修改了 CE标志 位的数据包发送至接收端, 以通知接收端网络即将发生拥塞, 使得接收端进行 拥塞控制。  Specifically, the sending end sends, by the network node of the first access network, the data packet to the receiving end in the at least one multipath transmission control protocol TCP substream that has been established by the first access network. When the sending end sends the data packet to the network node of the first access network, if the network node detects that the network is about to be congested, the CE flag bit in the data packet is modified from the seventh identifier identifier to the second identifier identifier. The data packet with the modified CE flag is sent to the receiving end to notify the receiving end that the network is about to be congested, so that the receiving end performs congestion control.
需要说明的是, CE标志位用第二标识符标识表示 CE标志位被选中, 即网 络即将发生拥塞。  It should be noted that the CE flag indicates that the CE flag is selected by the second identifier, that is, the network is about to be congested.
302、 若接收端进行拥塞控制, 则所述发送端进行相应的拥塞控制。  302. If the receiving end performs congestion control, the sending end performs corresponding congestion control.
具体的, 在接收端进行拥塞控制的情况下, 发送端根据接收端进行的拥塞 控制, 进行拥塞控制, 由于接收端进行拥塞控制有三种方法, 则发送端进行拥 塞控制的方法可以分为三种。  Specifically, in the case that the receiving end performs congestion control, the transmitting end performs congestion control according to congestion control performed by the receiving end. Since the receiving end performs congestion control in three ways, the method of performing congestion control on the transmitting end can be classified into three types. .
第一种方法, 在发送端接入接收端的至少两个网络中, 在未建立多径 TCP 子流的网络中, 由接收端新建多径 TCP子流, 具体如下所述。  In the first method, in the network where the transmitting end accesses the receiving end, in the network where the multipath TCP substream is not established, the multipath TCP substream is newly established by the receiving end, as follows.
在所述发送端通过第二接入网接入所述接收端的情况下, 若所述发送端与 所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述 发送端接收所述接收端发送的第一同步序列编号 SYN数据包。  If the transmitting end accesses the receiving end through the second access network, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, the second connection is performed. In the network access, the sending end receives the first synchronization sequence number SYN data packet sent by the receiving end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条 多径 TCP子流。 The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that one is added. Multipath TCP subflow.
具体的, 接收端在第二接入网中建立多径 TCP子流时, 需先与发送端协商 ECN机制, 接收端通过将第一 SYN数据包的 ECE标志位用第五标识符标识和 CWR用第六标识符标识, 且所述 ECT标志位与所述 CE标志位不同的方法, 向 发送端协商 ECN机制。第一 SYN数据包中还携带有 MPJOIN信息, 用于表明 在第二接入网中添加一条多径 TCP子流。  Specifically, when the receiving end establishes the multipath TCP substream in the second access network, the ECN mechanism needs to be negotiated with the sending end, and the receiving end identifies the ECE flag of the first SYN packet by using the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the sender. The first SYN data packet also carries MPJOIN information, which is used to indicate that a multipath TCP substream is added to the second access network.
需要说的是, 第五标识符用于表示 ECE标志位被选中; 第六标识符用于表 示 CWR被选中。 可选的, 第五标识符与第六标识符用 1表示。  It should be noted that the fifth identifier is used to indicate that the ECE flag is selected; the sixth identifier is used to indicate that the CWR is selected. Optionally, the fifth identifier and the sixth identifier are represented by 1.
所述发送端向所述接收端发送第一同步序列编号及确认 SYN-ACK数据包。 其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带有 MPJOIN信息。  The transmitting end sends the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end. The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The SYN-ACK packet carries the MPJOIN information.
具体的, 发送端支持 ECN 机制, 则将第一 SYN 的响应数据包即第一 SYN-ACK数据包的 ECE标志位用第五标识符标识, CWR用第四标识符标识, 且所述 ECT标志位与所述 CE标志位不同。 SYN-ACK数据包中携带有 MPJOIN 信息表明同意在第二接入网中建立多径 TCP子流。  Specifically, if the sending end supports the ECN mechanism, the response packet of the first SYN, that is, the ECE flag of the first SYN-ACK packet is identified by the fifth identifier, the CWR is identified by the fourth identifier, and the ECT flag is used. The bit is different from the CE flag. The SYN-ACK packet carries the MPJOIN information indicating that the multipath TCP substream is established in the second access network.
所述发送端接收所述接收端发送的确认 ACK数据包; 所述 ACK数据包中 携带有 MPJOIN信息。  The transmitting end receives an acknowledgement ACK packet sent by the receiving end; the ACK packet carries MPJOIN information.
具体的, 发送端接收到接收端发送的第一 SYN-ACK数据包的响应数据包 ACK数据包, 则表明在第二接入网中完成建立多径 TCP子流, 可利用此新建的 多径 TCP子流进行数据的传输, 从而降低网络的拥塞。  Specifically, the sending end receives the response packet ACK packet of the first SYN-ACK packet sent by the receiving end, indicating that the multipath TCP substream is established in the second access network, and the newly created multipath can be utilized. The TCP substream transmits data, thereby reducing network congestion.
第二种方法, 由接收端通知发送端接收到一个 CE 数据包, 由发送端进行 拥塞控制, 具体如下。  In the second method, the receiving end notifies the transmitting end that a CE data packet is received, and the transmitting end performs congestion control, as follows.
所述发送端接收所述接收端发送的第一响应数据包。  The transmitting end receives the first response data packet sent by the receiving end.
其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志 位用第四标识符标识。  The ECT flag of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the C WR flag bit Identified with the fourth identifier.
具体的, ECE 标志位用第五标识符标识表示 ECE 被选中, 即接收到一个 CE数据包。 发送端接收到第一响应数据包, 检测到 ECE用第五标识符标识, 则说明网络即将拥塞, 发送端进行拥塞控制。 可选的, 第五标识符用 1表示。 Specifically, the ECE flag bit indicates that the ECE is selected by using the fifth identifier, that is, a CE packet is received. The sender receives the first response packet, and detects that the ECE is identified by the fifth identifier, indicating that the network is about to be congested, and the sender performs congestion control. Optionally, the fifth identifier is represented by 1.
进一步的, 接收端通知发送端网络即将发生拥塞, 发送端进行拥塞控制的 方式有两种。 一种方式是, 发送端在未建立多径 TCP子流的网络中, 发起建立 多径 TCP子流的流程。 下面做具体说明, 如图 4所示, 包括:  Further, the receiving end notifies the sending end that the network is about to be congested, and the sending end performs congestion control in two ways. One way is that the sending end initiates a process of establishing a multipath TCP substream in a network in which a multipath TCP substream is not established. The following is a detailed description, as shown in Figure 4, including:
401、在所述发送端通过第二接入网接入所述接收端的情况下, 若所述发送 端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述发送端向所述接收端发送所述第一 SYN数据包。  401. If the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end do not establish a multipath TCP substream in the second access network, In the second access network, the sending end sends the first SYN data packet to the receiving end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
具体的, 发送端在第二接入网中建立多径 TCP子流时, 需先与接收端协商 ECN机制, 发送端通过将第一 SYN数据包的 ECE标志位用第五标识符标识和 CWR用第六标识符标识, 且所述 ECT标志位与所述 CE标志位不同的方法, 向 接收端协商 ECN机制。第一 SYN数据包中还携带有 MPJOIN信息, 用于表明 在第二接入网中添加一条多径 TCP子流。 由于发送端与接收端已在第一接入网 中建立了多径 TCP 子流, 所以在第二接入网建立多径 TCP 子流时, 需携带 MPJOIN信息, 表示建立的为一条多径 TCP子流。  Specifically, when the sending end establishes the multipath TCP substream in the second access network, the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the first SYN packet with the fifth identifier and the CWR. Using the sixth identifier, and the ECT flag is different from the CE flag, the ECN mechanism is negotiated with the receiving end. The first SYN data packet also carries MPJOIN information, which is used to indicate that a multipath TCP substream is added to the second access network. Since the multipath TCP substream is established in the first access network by the transmitting end and the receiving end, when the multipath TCP substream is established in the second access network, the MPJOIN information needs to be carried, indicating that the multipath TCP is established. Subflow.
402、 所述发送端接收所述接收端发送的所述第一 SYN-ACK数据包。  402. The sending end receives the first SYN-ACK data packet sent by the receiving end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识, 且所述 ECT标志位与所述 CE标志位不同。 所 述 SYN-ACK数据包中携带 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier, and the ECT flag bit is different from the CE flag bit. The SYN-ACK packet carries MPJOIN information.
具体的, 第一 SYN-ACK数据包中的 ECE标志位用第五标识符标识, CWR 用第四标识符标识, 且所述 ECT标志位与所述 CE标志位不同表示接收端支持 ECN机制。 SYN-ACK数据包中携带 MP_JOIN信息, 表示接收端同意添加多径 Specifically, the ECE flag bit in the first SYN-ACK data packet is identified by the fifth identifier, and the CWR is identified by the fourth identifier, and the ECT flag bit and the CE flag bit are different, indicating that the receiving end supports the ECN mechanism. The SYN-ACK packet carries the MP_JOIN message, indicating that the receiving end agrees to add multipath.
TCP子流。 第一 SYN-ACK数据包为第一 SYN数据包的响应数据包。 TCP subflow. The first SYN-ACK packet is a response packet of the first SYN packet.
403、 所述发送端向所述接收端发送所述 ACK数据包。  403. The sending end sends the ACK data packet to the receiving end.
其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The ACK packet carries MP_JOIN information.
具体的,发送端接收到第一 SYN-ACK数据包后向接收端发送 ACK数据包, 对第一 SYN-ACK数据包的响应。 完成在第二接入网中进行三次握手过程的多 径 TCP子流的建立。 Specifically, after receiving the first SYN-ACK data packet, the sending end sends an ACK data packet to the receiving end, Response to the first SYN-ACK packet. The establishment of a multipath TCP substream that performs a three-way handshake process in the second access network is completed.
另一种方式是,发送端对已建立的多径 TCP子流进行拥塞控制,具体如下。 具体的, 发送端对在第一接入网中已建立的多径 TCP子流进行拥塞控制, 例如, 将多径 TCP子流的拥塞窗口减半, 发送端根据减半后的拥塞窗口在多径 TCP子流中传输数据包, 从而减少了发送数据包的个数, 能够有效的减缓网络 拥塞。  Alternatively, the transmitting end performs congestion control on the established multipath TCP substream, as follows. Specifically, the sending end performs congestion control on the multipath TCP substream that has been established in the first access network, for example, halving the congestion window of the multipath TCP substream, and the sending end is more according to the congestion window after the halving The data packet is transmitted in the TCP substream, thereby reducing the number of transmitted data packets and effectively alleviating network congestion.
需要说明的是, 在由接收端通知发送端接收到一个 CE 数据包, 由发送端 进行拥塞控制的情况下, 若发送端只通过第一接入网接入接收端, 并没有通过 其他网络接入接收端时, 发送端可以先向接收端发送第二接入网连接消息, 使 得发送端通过第二接入网接入接收端, 再进行相应的拥塞控制, 例如, 第二种 拥塞控制方法的第一种方式。发送端也可直接对已建立的多径 TCP子流进行拥 塞控制, 例如, 第二种拥塞控制方法的第二种方式。  It should be noted that, when the receiving end notifies the transmitting end that a CE data packet is received, and the transmitting end performs congestion control, if the transmitting end accesses the receiving end only through the first access network, it does not connect through other networks. When entering the receiving end, the sending end may first send a second access network connection message to the receiving end, so that the sending end accesses the receiving end through the second access network, and then performs corresponding congestion control, for example, the second congestion control method. The first way. The sender can also directly perform congestion control on the established multipath TCP substream, for example, the second mode of the second congestion control method.
第三种方法, 发送端获知接收端已将拥塞窗口减半, 具体如下。  In the third method, the transmitting end knows that the receiving end has halved the congestion window, as follows.
所述发送端接收所述接收端发送的第二响应数据包。  The transmitting end receives the second response data packet sent by the receiving end.
其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。  The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
具体的, CWR用第六标识符标识, 表示 CWR被选中, 即表示接收端已经 将已建立的多径 TCP子流的拥塞窗口减半。发送端根据已建立的多径 TCP子流 的拥塞窗口的大小, 在已建立的多径 TCP子流传输数据包, 从而减少了发送数 据包的个数, 能够有效的减缓网络拥塞。  Specifically, the CWR is identified by the sixth identifier, indicating that the CWR is selected, that is, the receiving end has halved the congestion window of the established multipath TCP substream. The transmitting end transmits the data packet in the established multipath TCP substream according to the size of the congestion window of the established multipath TCP substream, thereby reducing the number of transmitting data packets, and effectively reducing network congestion.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 发送端在第一接入网 的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网的网络节点检 测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标识, CE标志 位用第二标识符标识, ECE标志位用第三标识符标识, C WR标志位用第四标识 符标识发送至接收端, 以使得接收端接收到数据包后, 检测到数据包的 CE 标 志位用第二标识符标识, 则进行拥塞控制。 这样, 实现了在拥塞发生之前, 进 行拥塞控制, 提高了数据传输的效率。 本发明实施例提供了一种多径 TCP拥塞控制的方法, 如图 5所示, 包括:An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is identified by the fourth identifier. The identifier is sent to the receiving end, so that after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control. In this way, congestion control is implemented before congestion occurs, and the efficiency of data transmission is improved. The embodiment of the invention provides a method for multipath TCP congestion control. As shown in FIG. 5, the method includes:
501、 所述发送端向所述接收端发送第二 SYN数据包, 接收端接收所述发 送端在第一接入网中发送的第二 SYN 数据包, 记录所述发送端的 MP_CAPABLE的相关信息, 端口号, 及 IP地址; 并转发所述第二 SYN数据包 至通信对端的服务器。 501. The sending end sends a second SYN data packet to the receiving end, and the receiving end receives the second SYN data packet sent by the sending end in the first access network, and records related information of the MP_CAPABLE of the sending end. a port number, and an IP address; and forwarding the second SYN packet to the server of the communication peer.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP。  The ECE flag bit in the second SYN data packet is identified by a fifth identifier, the CWR flag bit is identified by a six identifier; and the ECT flag bit is different from the CE flag bit; The second SYN packet carries the multipath capability MP_CAPABLE information; the MP_CAPABLE is used to identify that the sender supports multipath TCP.
可选的, 第五标识符与第六标识符用 1表示。  Optionally, the fifth identifier and the sixth identifier are represented by 1.
具体的, 发送端在第一接入网中初始建立多径 TCP子流时, 需先与接收端 协商 ECN机制, 发送端通过将第二 SYN数据包的 ECE标志位用第五标识符标 识和 CWR用第六标识符标识, 且所述 ECT标志位与所述 CE标志位不同的方 法, 向接收端协商 ECN机制。 第一 SYN数据包中还携带有 MP_CAPABLE信 息,用于表明发送端支持多径 TCP,并在第一接入网中建立一条多径 TCP子流。  Specifically, when the sending end initially establishes the multipath TCP substream in the first access network, the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the second SYN packet by using the fifth identifier. The CWR is identified by a sixth identifier, and the ECT flag is different from the CE flag, and the ECN mechanism is negotiated with the receiving end. The first SYN packet also carries MP_CAPABLE information, which is used to indicate that the sender supports multipath TCP, and establishes a multipath TCP substream in the first access network.
502、所述接收端接收所述通信对端的服务器发送的第二 SYN-ACK数据包。 具体的,所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同。  502. The receiving end receives a second SYN-ACK data packet sent by a server of the communication peer end. Specifically, the ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag.
503、 若所述接收端检测到所述第二 SYN-ACK 数据包中未携带 MP_CAPABLE信息, 则将所述 MP_CAPABLE添加至所述第二 SYN-ACK数据 包中, 用第八标识符标识所述第二 SYN-ACK数据包的 P标志位。  503. If the receiving end detects that the second SYN-ACK data packet does not carry the MP_CAPABLE information, add the MP_CAPABLE to the second SYN-ACK data packet, and identify the The P flag bit of the second SYN-ACK packet.
具体的, 接收端检测到第二 SYN-ACK数据包中未携带 MP_CAPABLE信 息, 则说明通信对端的服务器不支持多径 TCP, 则接收端将 MP_CAPABLE添 加至所述第二 SYN-ACK数据包中, 并用第八标识符标识此第二 SYN-ACK数 据包的 P标志位, 以使得发送端通过此 P标志位获知通信对端的服务器不支持 多径 TCP, 由接收端与发送端建立多径 TCP子流。  Specifically, the receiving end detects that the second SYN-ACK packet does not carry the MP_CAPABLE information, indicating that the server of the communication peer does not support the multipath TCP, and the receiving end adds the MP_CAPABLE to the second SYN-ACK packet. And identifying, by the eighth identifier, the P flag of the second SYN-ACK packet, so that the sending end learns, by using the P flag, that the server of the communication peer does not support multipath TCP, and the multipath TCP is established by the receiving end and the transmitting end. flow.
接收端记录发送端的端口号, IP地址, 及发送端的 MP_CAPABLE的相关 信息, 以便于多径 TCP子流的建立。  The receiving end records the port number, IP address, and MP_CAPABLE information of the sending end to facilitate the establishment of the multipath TCP substream.
可选的, 第八标识符用 1表示。 需要说明的是, 第八标识符用于表示 P标志位被选中, 第八标识符也可用 其他字符表示, 只要能表示出其各自的作用即可, 本发明对此不做限制。 Optionally, the eighth identifier is represented by 1. It should be noted that the eighth identifier is used to indicate that the P flag is selected, and the eighth identifier can also be represented by other characters, as long as the respective roles can be expressed, and the present invention does not limit this.
504、 接收端将所述第二 SYN-ACK数据包发送至所述发送端, 所述发送端 接收所述接收端发送的第二 SYN-ACK数据包。  504. The receiving end sends the second SYN-ACK data packet to the sending end, where the sending end receives the second SYN-ACK data packet sent by the receiving end.
其中, 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN-ACK数据包中还携带有 MP_CAPABLE信息; 所述第二 SYN-ACK 数据包的 P标志位用第八标识符标识。  The ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag; The second SYN-ACK packet also carries MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by an eighth identifier.
505、 所述发送端向所述接收端发送 ACK数据包, 所述接收端接收所述发 送端发送的 ACK数据包, 并将所述 ACK数据包发送至通信对端的服务器。  505. The sending end sends an ACK data packet to the receiving end, where the receiving end receives the ACK data packet sent by the sending end, and sends the ACK data packet to a server of the communication peer end.
具体的, 发送端接收到第二 SYN-ACK数据包后, 发送响应数据包 ACK数 据包至接收端, 接收端并将此 ACK数据包发送至通信对端的服务器, 这样, 发 送端与接收端间在第一接入网中建立了多径 TCP子流, 接收端与通信对端的服 务器建立了 TCP连接。  Specifically, after receiving the second SYN-ACK packet, the sending end sends the response packet ACK packet to the receiving end, and the receiving end sends the ACK packet to the server of the communication peer, so that the sending end and the receiving end A multipath TCP substream is established in the first access network, and the receiving end establishes a TCP connection with the server of the communication peer.
506、 与步骤 301相同, 在此不再赘述。  506. The same as step 301, and details are not described herein again.
507、 与步骤 101相同, 在此不再赘述。  507. The same as step 101, and details are not described herein again.
508、 与步骤 102相同, 在此不再赘述。  508. The same as step 102, and details are not described herein again.
509、 与步骤 302相同, 在此不再赘述。  509. The same as step 302, and details are not described herein again.
需要说明的是, 接收端为支持多径 TCP的代理服务器, 发送端的通信对端 的服务器不支持多径 TCP。  It should be noted that the receiving end is a proxy server supporting multipath TCP, and the server of the transmitting end of the transmitting end does not support multipath TCP.
需要说明的是, 接收端与通信对端的服务器进行拥塞控制与现有技术中 TCP连接进行拥塞控制的方法相同, 在此不作详述。  It should be noted that the congestion control of the server at the receiving end and the communication peer is the same as the method for performing congestion control on the TCP connection in the prior art, and will not be described in detail herein.
需要说明的是, 在本发明所有实施例中, 在第一接入网已建立了多径 TCP 子流的情况下, 若在第一接入网中新建多径 TCP子流时, 新建多径 TCP子流的 方法与上述实施例中在第二接入网中新建多径 TCP子流的步骤相同, 在此不作 赘述。  It should be noted that, in all embodiments of the present invention, when a multipath TCP substream has been established in the first access network, if a multipath TCP substream is created in the first access network, a new multipath is created. The method of the TCP substream is the same as the step of creating a multipath TCP substream in the second access network in the foregoing embodiment, and details are not described herein.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 发送端在第一接入网 的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网的网络节点检 测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标识, CE标志 位用第二标识符标识, ECE标志位用第三标识符标识, C WR标志位用第四标识 符标识发送至接收端, 接收端接收到数据包后, 检测到数据包的 CE 标志位用 第二标识符标识, 则进行拥塞控制, 即为在未建立 TCP子流的第二接入网中新 建多径 TCP子流或对已建立的 TCP子流进行拥塞控制。这样, 实现了在拥塞发 生之前, 进行拥塞控制, 提高了数据传输的效率, 并且通过在第二接入网中新 建多径 TCP子流, 减缓第一接入网中的网络拥塞。 An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag. The bit is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is sent to the receiving end by the fourth identifier. After receiving the data packet, the receiving end detects the CE flag of the data packet. If the second identifier is identified, congestion control is performed, that is, a new multipath TCP substream is established in the second access network where the TCP substream is not established, or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 如图 6所示, 包括: The embodiment of the invention provides a method for multipath TCP congestion control. As shown in FIG. 6, the method includes:
601、 所述发送端向所述接收端发送第二 SYN数据包, 所述接收端接收所 述发送端在第一接入网中发送的所述第二 SYN数据包。 601. The sending end sends a second SYN data packet to the receiving end, where the receiving end receives the second SYN data packet sent by the sending end in the first access network.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 The ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP。 The CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
具体的, 发送端在第一接入网中初始建立多径 TCP子流时, 需先与接收端 协商 ECN机制, 发送端通过将第二 SYN数据包的 ECE标志位用第五标识符标 识和 CWR用第六标识符标识, 且所述 ECT标志位与所述 CE标志位不同的方 法, 向接收端协商 ECN机制。 第一 SYN数据包中还携带有 MP_CAPABLE信 息, 用于表明在第一接入网中建立一条多径 TCP子流。  Specifically, when the sending end initially establishes the multipath TCP substream in the first access network, the ECN mechanism needs to be negotiated with the receiving end, and the sending end identifies the ECE flag of the second SYN packet by using the fifth identifier. The CWR is identified by a sixth identifier, and the ECT flag is different from the CE flag, and the ECN mechanism is negotiated with the receiving end. The first SYN data packet also carries MP_CAPABLE information, which is used to indicate that a multipath TCP substream is established in the first access network.
可选的, 第五标识符与第六标识符用 1表示。  Optionally, the fifth identifier and the sixth identifier are represented by 1.
602、 所述接收端发送第三 SYN-ACK数据包至所述发送端, 所述发送端接 收所述接收端发送的第三 SYN-ACK数据包。  602. The receiving end sends a third SYN-ACK data packet to the sending end, where the sending end receives the third SYN-ACK data packet sent by the receiving end.
其中,所述第三 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述第三 SYN-ACK数据包中还携带有 MP_CAPABLE。  The ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, and the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The third SYN-ACK packet also carries MP_CAPABLE.
603、 所述发送端向所述接收端发送 ACK数据包, 所述接收端接收所述发 送端发送的 ACK数据包。  603. The sending end sends an ACK data packet to the receiving end, and the receiving end receives an ACK data packet sent by the sending end.
具体的, 发送端接收到第二 SYN-ACK数据包后, 发送响应数据包 ACK数 据包至接收端,这样,发送端与接收端间在第一接入网中建立了多径 TCP子流。  Specifically, after receiving the second SYN-ACK data packet, the sending end sends the response packet ACK data packet to the receiving end, so that the multipath TCP substream is established in the first access network between the transmitting end and the receiving end.
604、 所述发送端向接收端发送包含添加地址 ADD_ADDR 信息的地址信 息, 以使得所述接收端根据所述地址信息获取所述发送端在第二接入网中的互 联网协议 IP地址。 604. The sending end sends, to the receiving end, an address letter that includes the added address ADD_ADDR information. And the receiving end is configured to obtain, according to the address information, an internet protocol IP address of the sending end in the second access network.
具体的, ADD_ADDR信息中有发送端在第二接入网中的互联网协议 IP地 址。  Specifically, the ADD_ADDR information has an Internet Protocol IP address of the transmitting end in the second access network.
605、所述接收端接收所述发送端发送的包含添加地址 ADD_ADDR信息的 地址信息, 并根据所述地址信息获取所述发送端在第二接入网中的互联网协议 IP地址。  605. The receiving end receives the address information that is sent by the sending end and includes the information about the added address ADD_ADDR, and obtains an Internet Protocol IP address of the sending end in the second access network according to the address information.
具体的, 接收端通过地址信息的 ADD_ADDR信息获取所述发送端在第二 接入网中的互联网协议 IP地址。  Specifically, the receiving end acquires an Internet Protocol IP address of the sending end in the second access network by using the ADD_ADDR information of the address information.
606、 与步骤 301相同, 在此不再赘述。  606. The same as step 301, and details are not described herein again.
607、 与步骤 101相同, 在此不再赘述。  607. The same as step 101, and details are not described herein again.
608、 与步骤 102相同, 在此不再赘述。  608. The same as step 102, and details are not described herein again.
609、 与步骤 302相同, 在此不再赘述。  609. The same as step 302, and details are not described herein again.
需要说明的是, 接收端为通信对端的服务器, 即为通信对端的服务器支持 多径 TCP。  It should be noted that the receiving end is the server of the communication peer end, that is, the server of the communication peer end supports multipath TCP.
需要说明的是, 步骤 605在步骤 608之前, 与步骤 606、 607间的顺序不做 限制。  It should be noted that the order of step 605 before step 608 and the steps 606 and 607 are not limited.
本发明实施例提供了一种多径 TCP拥塞控制的方法, 发送端在第一接入网 的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网的网络节点检 测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标识, CE标志 位用第二标识符标识, ECE标志位用第三标识符标识, C WR标志位用第四标识 符标识发送至接收端, 接收端接收到数据包后, 检测到数据包的 CE 标志位用 第二标识符标识, 则进行拥塞控制, 即为在未建立 TCP子流的第二接入网中新 建多径 TCP子流或对已建立的 TCP子流进行拥塞控制。这样, 实现了在拥塞发 生之前, 进行拥塞控制, 提高了数据传输的效率, 并且通过在第二接入网中新 建多径 TCP子流, 减缓第一接入网中的网络拥塞。  An embodiment of the present invention provides a method for multipath TCP congestion control, where a sending end sends a data packet in at least one multipath TCP substream of the first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is identified by the fourth identifier. The identifier is sent to the receiving end. After receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control, that is, newly established in the second access network where the TCP substream is not established. Multipath TCP subflow or congestion control of an established TCP subflow. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by newly building a multipath TCP substream in the second access network.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 如图 7所示, 包括: 接收单元 701, 用于接收发送端在第一接入网已建立的至少一个多径传输 控制协议 TCP子流中, 经第一接入网的网络节点发送的数据包。 处理单元 702, 用于在检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标识符标识; 拥塞预警 CE标志位用第二标识符标识的情况 下, 所述接收端进行拥塞控制。 The embodiment of the present invention provides a device for multipath TCP congestion control. As shown in FIG. 7, the method includes: a receiving unit 701, configured to receive at least one multipath transmission control protocol TCP that the transmitting end has established in the first access network. In the substream, the data packet sent by the network node of the first access network. The processing unit 702 is configured to: when the transmission ECT flag of the ECN that supports the explicit congestion notification is detected by the first identifier, where the congestion warning CE flag is identified by the second identifier, the receiving The end performs congestion control.
其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗口 减半 CWR标志位用第四标识符标识。  The ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved. The CWR flag is identified by a fourth identifier.
具体的, 处理单元 702, 如图 8所示, 具体包括: 第一发送模块 7021, 第 一接收模块 7022。  Specifically, the processing unit 702, as shown in FIG. 8, specifically includes: a first sending module 7021, and a first receiving module 7022.
所述第一发送模块 7021, 用于在所述发送端通过第二接入网接入所述装置 的情况下, 若所述发送端与所述装置没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 向所述发送端发送第一同步序列编号 SYN数据包。  The first sending module 7021 is configured to: when the sending end accesses the device by using the second access network, if the sending end and the device do not establish multipath in the second access network The TCP substream, in the second access network, sends a first synchronization sequence number SYN data packet to the transmitting end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN信息表示添加 一条多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN information indicates that a multipath TCP substream is added.
所述第一接收模块 7022, 用于接收所述发送端发送的第一同步序列编号及 确认 SYN-ACK数据包。  The first receiving module 7022 is configured to receive the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The SYN-ACK packet carries the MPJOIN information.
所述第一发送模块 7021, 还用于向所述发送端发送确认 ACK数据包。 其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The first sending module 7021 is further configured to send an acknowledgement ACK packet to the sending end. The ACK packet carries MP_JOIN information.
上述接收单元 701, 还用于接收所述发送端发送的包含添加地址 ADD_ADDR信息的地址信息。  The receiving unit 701 is further configured to receive the address information that is sent by the sending end and includes the added address ADD_ADDR information.
所述装置, 如图 9所示, 还包括:  The device, as shown in FIG. 9, further includes:
获取单元 703, 用于根据所述接收单元 701 接收的所述地址信息获取所述 发送端在第二接入网中的互联网协议 IP地址。  The obtaining unit 703 is configured to obtain, according to the address information received by the receiving unit 701, an Internet Protocol IP address of the sending end in the second access network.
或者, 所述处理单元 702具体用于, 向所述发送端发送第一响应数据包, 以使得所述发送端进行拥塞控制。  Alternatively, the processing unit 702 is specifically configured to: send, to the sending end, a first response data packet, so that the sending end performs congestion control.
其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志 位用第四标识符标识。 The ECT flag of the first response data packet is identified by a first identifier, and the CE label The ambition is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier.
此时, 所述接收单元 701, 还用于在第二接入网中, 接收所述发送端发送 的所述第一 SYN数据包。  At this time, the receiving unit 701 is further configured to receive, in the second access network, the first SYN data packet sent by the sending end.
所述装置, 如图 10所示, 还包括:  The device, as shown in FIG. 10, further includes:
第一发送单元 704, 用于向所述发送端发送所述第一 SYN-ACK数据包。 所述接收单元 701, 还用于接收所述发送端发送的 ACK数据包。  The first sending unit 704 is configured to send the first SYN-ACK data packet to the sending end. The receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
或者, 所述处理单元 702具体用于, 对已建立的多径 TCP子流进行拥塞控 制, 并向发送端发送第二响应数据包。  Alternatively, the processing unit 702 is specifically configured to perform congestion control on the established multipath TCP substream, and send a second response data packet to the sending end.
其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。  The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
上述接收单元 701, 还用于接收所述发送端在第一接入网中发送的第二 The receiving unit 701 is further configured to receive the second sent by the sending end in the first access network.
SYN数据包。 SYN packet.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 The ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP。 The CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
所述装置, 如图 11所示, 还包括:  The device, as shown in FIG. 11, further includes:
记录单元 707, 用于记录所述发送端的 MP_CAPABLE 的相关信息, 端口 号, 及 IP地址。  The recording unit 707 is configured to record information about the MP_CAPABLE of the sender, a port number, and an IP address.
第二发送单元 705, 用于发送所述第二 SYN数据包至通信对端的服务器。 所述接收单元 701, 还用于接收所述通信对端的服务器发送的第二 SYN-ACK数据包。  The second sending unit 705 is configured to send the second SYN data packet to the server of the communication peer end. The receiving unit 701 is further configured to receive a second SYN-ACK data packet sent by the server of the communication peer end.
其中, 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; The ECE flag of the second SYN-ACK packet is identified by a fifth identifier;
CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同。 The CWR flag is a fourth identifier identifier; and the ECT flag is different from the CE flag.
所述装置, 参考图 11所示, 还包括:  The device, as shown in FIG. 11, further includes:
检测单元 706, 用于检测所述第二 SYN-ACK 数据包中是否携带有 MP_CAPABLE信息。  The detecting unit 706 is configured to detect whether the second SYN-ACK packet carries the MP_CAPABLE information.
所述处理单元 702,还用于在检测单元 706检测到所述第二 SYN-ACK数据 包中未携带有 MP_CAPABLE信息时, 将所述 MP_CAPABLE添加至所述第二 S YN- ACK数据包中,用第八标识符标识所述第二 S YN- ACK数据包的 P标志位。 The processing unit 702 is further configured to detect the second SYN-ACK data at the detecting unit 706. When the MP_CAPABLE information is not carried in the packet, the MP_CAPABLE is added to the second SYN-ACK packet, and the P flag of the second SYN-ACK packet is identified by the eighth identifier.
所述第一发送单元 704,还用于将所述第二 SYN-ACK数据包发送至所述发 送端。  The first sending unit 704 is further configured to send the second SYN-ACK data packet to the sending end.
所述接收单元 701, 还用于接收所述发送端发送的 ACK数据包。  The receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
所述第二发送单元 705, 还用于将所述 ACK数据包发送至通信对端的服务 器。  The second sending unit 705 is further configured to send the ACK data packet to a server of the communication peer end.
上述接收单元 701, 还用于接收所述发送端在第一接入网中发送的所述第 二 SYN数据包。  The receiving unit 701 is further configured to receive the second SYN data packet that is sent by the sending end in the first access network.
所述第一发送单元 704, 还用于发送第三 SYN-ACK数据包至所述发送端。 其中。所述第三 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述第三 SYN-ACK数据包中还携带有 MP_CAPABLE。  The first sending unit 704 is further configured to send a third SYN-ACK data packet to the sending end. among them. The ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The three SYN-ACK packets also carry MP_CAPABLE.
所述接收单元 701, 还用于接收所述发送端发送的 ACK数据包。  The receiving unit 701 is further configured to receive an ACK packet sent by the sending end.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 接收端接收到数据包 后, 检测到数据包的 CE 标志位用第二标识符标识, 则进行拥塞控制, 即为在 未建立 TCP子流的第二接入网中新建多径 TCP子流或对已建立的 TCP子流进 行拥塞控制。 这样, 实现了在拥塞发生之前, 进行拥塞控制, 提高了数据传输 的效率, 并且通过在第二接入网中新建多径 TCP子流, 减缓第一接入网中的网 络拥塞。  An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 如图 12所示, 包括: 发送单元 111,用于在第一接入网已建立的至少一个多径传输控制协议 TCP 子流中向接收端发送数据包。  An embodiment of the present invention provides a device for multipath TCP congestion control. As shown in FIG. 12, the method includes: a sending unit 111, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in the first access network. Send a packet to the receiver.
其中, 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标 识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志位用第 三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识; 以便第一接入 网的网络节点在检测到网络即将拥塞或第一接入网链路质量变差时, 网络节点 通过将数据包的 CE 标志位由第七标识符标识更改为第二标识符标识通知所述 接收端网络即将拥塞或第一接入网链路质量变差, 以使得所述接收端进行拥塞 控制。 处理单元 112, 用于接收端进行拥塞控制的情况下, 进行相应的拥塞控制。 具体的, 所述处理单元 112, 如图 13所示, 包括: 接收模块 1121和发送 模块 1122。 The transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier; so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, the network node passes the CE flag of the data packet The bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control. The processing unit 112 is configured to perform corresponding congestion control when the receiving end performs congestion control. Specifically, the processing unit 112, as shown in FIG. 13, includes: a receiving module 1121 and a sending module 1122.
其中, 所述接收模块 1121, 用于在所述发送端通过第二接入网接入所述接 收端的情况下, 若所述装置与所述接收端没有在第二接入网中建立多径 TCP子 流,则在第二接入网中,接收所述接收端发送的第一同步序列编号 SYN数据包。  The receiving module 1121 is configured to: when the sending end accesses the receiving end by using the second access network, if the device and the receiving end do not establish multipath in the second access network The TCP substream receives the first synchronization sequence number SYN data packet sent by the receiving end in the second access network.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
所述发送模块 1122, 用于向所述接收端发送第一同步序列编号及确认 SYN-ACK数据包。  The sending module 1122 is configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带有 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The SYN-ACK packet carries the MPJOIN information.
所述接收模块 1121, 还用于接收所述接收端发送的确认 ACK数据包。 其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The receiving module 1121 is further configured to receive an acknowledgement ACK packet sent by the receiving end. The ACK packet carries MP_JOIN information.
此时, 所述发送单元 111, 还用于向接收端发送包含添加地址 ADD_ADDR 信息的地址信息, 以使得所述接收端根据所述地址信息获取所述发送端在第二 接入网中的互联网协议 IP地址。  At this time, the sending unit 111 is further configured to send the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet of the sending end in the second access network according to the address information. Protocol IP address.
或者, 所述处理单元 112具体用于, 接收所述接收端发送的第一响应数据 包。  Alternatively, the processing unit 112 is specifically configured to receive the first response data packet sent by the receiving end.
其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志 位用第四标识符标识。  The ECT flag of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the C WR flag bit Identified with the fourth identifier.
此时, 所述发送单元 111, 还用于在所述发送端通过第二接入网接入所述 接收端的情况下, 若所述发送端与所述接收端没有在第二接入网中建立多径 In this case, the sending unit 111 is further configured to: if the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end are not in the second access network Establish multipath
TCP子流, 则在第二接入网中, 向所述接收端发送所述第一 SYN数据包。 The TCP substream, in the second access network, sends the first SYN data packet to the receiving end.
所述装置, 如图 14所示, 还包括: 接收单元 113, 用于接收所述接收端发送的所述第一 SYN-ACK数据包。 所述发送单元 111, 还用于向所述接收端发送所述 ACK数据包。 The device, as shown in FIG. 14, further includes: The receiving unit 113 is configured to receive the first SYN-ACK data packet sent by the receiving end. The sending unit 111 is further configured to send the ACK packet to the receiving end.
所述处理单元 112, 还用于对已建立的多径 TCP子流进行拥塞控制。  The processing unit 112 is further configured to perform congestion control on the established multipath TCP substream.
或者, 所述处理单元 112具体用于, 接收所述接收端发送的第二响应数据 包。  Alternatively, the processing unit 112 is specifically configured to receive the second response data packet sent by the receiving end.
其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。  The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
上述发送单元 111, 还用于向所述接收端发送第二 SYN数据包。  The sending unit 111 is further configured to send the second SYN data packet to the receiving end.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 The ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP。 The CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
所述接收单元 113,还用于接收所述接收端发送的第二 SYN-ACK数据包或 第三 SYN-ACK数据包。  The receiving unit 113 is further configured to receive a second SYN-ACK data packet or a third SYN-ACK data packet sent by the receiving end.
其中, 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN-ACK数据包中还携带有 MP_CAPABLE信息; 所述第二 SYN-ACK 数据包的 P标志位用地八标识符标识;所述第三 SYN-ACK数据包中的所述 ECE 标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位 与所述 CE标志位不同; 所述第三 SYN-ACK数据包中还携带有 MP_CAPABLE 信息。  The ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag; The second SYN-ACK packet carries the MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by a ground eight identifier; and the ECE flag in the third SYN-ACK packet is used by And the CWR is identified by the fourth identifier; and the ECT flag is different from the CE flag; the third SYN-ACK packet further carries the MP_CAPABLE information.
所述发送单元 111, 还用于向所述接收端发送 ACK数据包。  The sending unit 111 is further configured to send an ACK packet to the receiving end.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 发送端在第一接入网 的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网的网络节点检 测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标识, CE标志 位用第二标识符标识, ECE标志位用第三标识符标识, C WR标志位用第四标识 符标识发送至接收端, 以使得接收端接收到数据包后, 检测到数据包的 CE 标 志位用第二标识符标识, 则进行拥塞控制。 这样, 实现了在拥塞发生之前, 进 行拥塞控制, 提高了数据传输的效率。 An embodiment of the present invention provides a multipath TCP congestion control apparatus, where a transmitting end sends a data packet in an established at least one multipath TCP substream of a first access network, if the network node of the first access network detects When the network is about to be congested, the ECT flag in the data packet is identified by the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is identified by the fourth identifier. The identifier is sent to the receiving end, so that after receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and then performs congestion control. In this way, it is achieved before the congestion occurs. Congestion control improves the efficiency of data transmission.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 如图 15所示, 包括: 接收器 121, 用于接收端接收发送端在第一接入网已建立的至少一个多径 传输控制协议 TCP子流中, 经第一接入网的网络节点发送的数据包。  An embodiment of the present invention provides a device for multipath TCP congestion control, as shown in FIG. 15, including: a receiver 121, configured to receive, by a receiving end, at least one multipath transmission control established by a transmitting end in a first access network. In the protocol TCP substream, the data packet sent by the network node of the first access network.
处理器 122, 用于若检测到所述数据包的支持显式拥塞通知 ECN 的传输 The processor 122 is configured to: if the packet is detected, support an explicit congestion notification to transmit the ECN
ECT标志位用第一标识符标识; 拥塞预警 CE标志位用第二标识符标识, 则所 述接收端进行拥塞控制。 The ECT flag is identified by the first identifier; the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control.
其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗口 减半 CWR标志位用第四标识符标识。  The ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved. The CWR flag is identified by a fourth identifier.
具体的, 所述处理器具体用于, 在所述发送端通过第二接入网接入所述接 收端的情况下, 若所述发送端与所述接收端没有在第二接入网中建立多径 TCP 子流, 则在第二接入网中, 向所述发送端发送第一同步序列编号 SYN数据包。  Specifically, the processor is specifically configured to: if the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end are not established in the second access network, In the multipath TCP substream, in the second access network, the first synchronization sequence number SYN data packet is sent to the transmitting end.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
所述接收器 121, 还用于接收所述发送端发送的第一同步序列编号及确认 SYN-ACK数据包。  The receiver 121 is further configured to receive the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The SYN-ACK packet carries the MPJOIN information.
所述处理器 122还用于, 向所述发送端发送确认 ACK数据包。  The processor 122 is further configured to send an acknowledgement ACK packet to the sending end.
其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The ACK packet carries MP_JOIN information.
所述接收器 121还用于,接收所述发送端发送的包含添加地址 ADD_ADDR 信息的地址信息。  The receiver 121 is further configured to receive address information that is sent by the sending end and includes the added address ADD_ADDR information.
所述处理器 122还用于, 根据接收器 121接收的所述地址信息获取所述发 送端在第二接入网中的互联网协议 IP地址。  The processor 122 is further configured to obtain an Internet Protocol IP address of the sending end in the second access network according to the address information received by the receiver 121.
或者, 上述处理器 122, 具体用于所述接收端向所述发送端发送第一响应 数据包, 以使得所述发送端进行拥塞控制。 其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志 位用第四标识符标识。 Alternatively, the processor 122 is specifically configured to send, by the receiving end, the first response data packet to the sending end, so that the sending end performs congestion control. The ECT flag of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the C WR flag bit Identified with the fourth identifier.
上述接收器 121还用于, 在第二接入网中, 接收所述发送端发送的所述第 一 SYN数据包。  The receiver 121 is further configured to: in the second access network, receive the first SYN data packet sent by the sending end.
所述处理器 122还用于, 向所述发送端发送所述第一 SYN-ACK数据包。 上述接收器 121还用于, 接收所述发送端发送的 ACK数据包。  The processor 122 is further configured to send the first SYN-ACK data packet to the sending end. The receiver 121 is further configured to receive an ACK packet sent by the sending end.
或者, 上述处理器 122, 具体用于对已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应数据包。  Alternatively, the processor 122 is specifically configured to perform congestion control on the established multipath TCP substream, and send a second response data packet to the transmitting end.
其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。  The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
上述接收器 121, 还用于接收所述发送端在第一接入网中发送的第二 SYN 数据包。  The receiver 121 is further configured to receive the second SYN data packet sent by the sending end in the first access network.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 The ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP。 The CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP.
所述处理器 122, 还用于; 记录所述发送端的 MP_CAPABLE的相关信息, 端口号, 及 IP地址。  The processor 122 is further configured to: record related information, a port number, and an IP address of the MP_CAPABLE of the sending end.
上述装置, 如图 16所示, 还包括:  The above device, as shown in FIG. 16, further includes:
发送器 123, 用于发送所述第二 SYN数据包至通信对端的服务器。  The sender 123 is configured to send the second SYN data packet to a server of the communication peer.
上述接收器 121还用于,接收所述通信对端的服务器发送的第二 SYN-ACK 数据包。  The receiver 121 is further configured to receive a second SYN-ACK packet sent by the server of the communication peer.
其中, 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; The ECE flag of the second SYN-ACK packet is identified by a fifth identifier;
CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同。 The CWR flag is a fourth identifier identifier; and the ECT flag is different from the CE flag.
所述处理器 122 还用于, 检测所述第二 SYN-ACK 数据包中是否携带有 MP_CAPABLE信息。  The processor 122 is further configured to detect whether the second SYN-ACK packet carries MP_CAPABLE information.
所述处理器 122还用于, 在检测到所述第二 SYN-ACK数据包中未携带有 MP_CAPABLE信息时,将所述 MP_CAPABLE添加至所述第二 SYN-ACK数据 包中, 用第八标识符标识所述第二 SYN-ACK数据包的 P标志位。 The processor 122 is further configured to: when the second SYN-ACK packet is detected, not carried In the MP_CAPABLE message, the MP_CAPABLE is added to the second SYN-ACK packet, and the P flag of the second SYN-ACK packet is identified by the eighth identifier.
所述发送器 123还用于, 将所述第二 SYN-ACK数据包发送至所述发送端。 所述接收器 122还用于, 接收所述发送端发送的 ACK数据包。  The transmitter 123 is further configured to send the second SYN-ACK data packet to the sending end. The receiver 122 is further configured to receive an ACK packet sent by the sending end.
所述发送器 123还用于,用于将所述 ACK数据包发送至通信对端的服务器。 上述接收器 122还用于, 接收所述发送端在第一接入网中发送的所述第二 SYN数据包。  The transmitter 123 is further configured to send the ACK packet to a server of the communication peer. The receiver 122 is further configured to receive the second SYN data packet sent by the sending end in the first access network.
上述发送器 122还用于, 发送第三 SYN-ACK数据包至所述发送端。  The transmitter 122 is further configured to send a third SYN-ACK packet to the sending end.
其中,所述第三 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述第三 SYN-ACK数据包中还携带有 MP_CAPABLE。  The ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, and the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The third SYN-ACK packet also carries MP_CAPABLE.
上述接收器 122还用于, 接收所述发送端发送的 ACK数据包。  The receiver 122 is further configured to receive an ACK packet sent by the sending end.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 接收端接收到数据包 后, 检测到数据包的 CE 标志位用第二标识符标识, 则进行拥塞控制, 即为在 未建立 TCP子流的第二接入网中新建多径 TCP子流或对已建立的 TCP子流进 行拥塞控制。 这样, 实现了在拥塞发生之前, 进行拥塞控制, 提高了数据传输 的效率, 并且通过在第二接入网中新建多径 TCP子流, 减缓第一接入网中的网 络拥塞。  An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 如图 17所示, 包括: 发送器 141, 用于在第一接入网已建立的至少一个多径传输控制协议 TCP 子流中向接收端发送数据包。  The embodiment of the present invention provides a device for multipath TCP congestion control. As shown in FIG. 17, the method includes: a transmitter 141, configured to: in a TCP substream of at least one multipath transmission control protocol that has been established in the first access network. Send a packet to the receiver.
其中, 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标 识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志位用第 三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识; 以便第一接入 网的网络节点在检测到网络即将拥塞或第一接入网链路质量变差时, 网络节点 通过将数据包的 CE 标志位由第七标识符标识更改为第二标识符标识通知所述 接收端网络即将拥塞或第一接入网链路质量变差, 以使得所述接收端进行拥塞 控制。  The transmission ECT flag of the data packet supporting the explicit congestion notification ECN is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; The window halving CWR flag is identified by the fourth identifier; so that the network node of the first access network detects the network to be congested or the quality of the first access network link deteriorates, the network node passes the CE flag of the data packet The bit is changed from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the first access network link quality is deteriorated, so that the receiving end performs congestion control.
处理器 142, 用于接收端进行拥塞控制的情况下, 进行相应的拥塞控制。 具体的, 所述处理器 142, 用于在所述发送端通过第二接入网接入所述接 收端的情况下, 若所述装置与所述接收端没有在第二接入网中建立多径 TCP子 流,则在第二接入网中,接收所述接收端发送的第一同步序列编号 SYN数据包。 The processor 142 is configured to perform corresponding congestion control when the receiving end performs congestion control. Specifically, the processor 142 is configured to: if the sending end accesses the receiving end by using the second access network, if the device and the receiving end are not established in the second access network, The path TCP substream receives the first synchronization sequence number SYN data packet sent by the receiving end in the second access network.
其中, 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条 多径 TCP子流。  The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; The SYN data packet also carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added.
所述处理器 142, 还用于向所述接收端发送第一同步序列编号及确认 SYN-ACK数据包。  The processor 142 is further configured to send the first synchronization sequence number and the acknowledge SYN-ACK data packet to the receiving end.
其中,所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带有 MPJOIN信息。  The ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The SYN-ACK packet carries the MPJOIN information.
所述处理器 142, 还用于接收所述接收端发送的确认 ACK数据包。  The processor 142 is further configured to receive an acknowledgement ACK packet sent by the receiving end.
其中, 所述 ACK数据包中携带有 MP_JOIN信息。  The ACK packet carries MP_JOIN information.
上述发送器 141还用于, 向接收端发送包含添加地址 ADD_ADDR信息的 地址信息, 以使得所述接收端根据所述地址信息获取所述发送端在第二接入网 中的互联网协议 IP地址。  The transmitter 141 is further configured to send the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet Protocol IP address of the sending end in the second access network according to the address information.
或者, 所述处理器 142具体用于, 接收所述接收端发送的第一响应数据包。 其中, 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用第七标识符标识; 所述 ECE标志位用第五标识符标识; 所述 CWR标志 位用第四标识符标识。  Alternatively, the processor 142 is specifically configured to receive the first response data packet sent by the receiving end. The ECT flag bit of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; The fourth identifier is identified.
上述发送器 141还用于, 在所述发送端通过第二接入网接入所述接收端的 情况下, 若所述发送端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 向所述接收端发送所述第一 SYN数据包。  The transmitter 141 is further configured to: when the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end do not establish multipath TCP in the second access network The substream, in the second access network, sends the first SYN data packet to the receiving end.
所述装置, 如图 18所示, 还包括:  The device, as shown in FIG. 18, further includes:
接收器 143, 用于接收所述接收端发送的所述第一 SYN-ACK数据包。 上述发送器 141还用于, 向所述接收端发送所述 ACK数据包。  The receiver 143 is configured to receive the first SYN-ACK data packet sent by the receiving end. The transmitter 141 is further configured to send the ACK packet to the receiving end.
所述处理器 142还用于, 对已建立的多径 TCP子流进行拥塞控制。  The processor 142 is further configured to perform congestion control on the established multipath TCP substream.
或者, 所述处理器 142具体用于, 接收所述接收端发送的第二响应数据包。 其中, 所述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标 志位用七标识符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位 用第六标识符标识。 Alternatively, the processor 142 is specifically configured to receive the second response data packet sent by the receiving end. The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; and the C WR flag is used by The sixth identifier is identified.
上述发送器 141还用于, 向所述接收端发送第二 SYN数据包。  The transmitter 141 is further configured to send the second SYN data packet to the receiving end.
其中, 所述第二 SYN数据包中的 ECE标志位用第五标识符标识, 所述的 The ECE flag bit in the second SYN data packet is identified by a fifth identifier, where
CWR标志位用六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE 用于标识发送端支持多径 TCP The CWR flag is identified by a six identifier; and the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; and the MP_CAPABLE is used to identify that the transmitter supports multipath TCP
所述接收器 143还用于, 接收所述接收端发送的第二 SYN-ACK数据包或 第三 SYN-ACK数据包。  The receiver 143 is further configured to receive a second SYN-ACK data packet or a third SYN-ACK data packet sent by the receiving end.
其中, 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 第二 SYN-ACK数据包中还携带有 MP_CAPABLE信息; 所述第二 SYN-ACK 数据包的 P标志位用地八标识符标识。所述第三 SYN-ACK数据包中的所述 ECE 标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位 与所述 CE标志位不同; 所述第三 SYN-ACK数据包中还携带有 MP_CAPABLE 信息。  The ECE flag of the second SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag; The second SYN-ACK packet also carries MP_CAPABLE information; the P flag of the second SYN-ACK packet is identified by a ground eight identifier. The ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; The three SYN-ACK packets also carry MP_CAPABLE information.
上述发送器 141还用于, 向所述接收端发送 ACK数据包。  The transmitter 141 is further configured to send an ACK packet to the receiving end.
本发明实施例提供了一种多径 TCP拥塞控制的装置, 接收端接收到数据包 后, 检测到数据包的 CE 标志位用第二标识符标识, 则进行拥塞控制, 即为在 未建立 TCP子流的第二接入网中新建多径 TCP子流或对已建立的 TCP子流进 行拥塞控制。 这样, 实现了在拥塞发生之前, 进行拥塞控制, 提高了数据传输 的效率, 并且通过在第二接入网中新建多径 TCP子流, 减缓第一接入网中的网 络拥塞。  An embodiment of the present invention provides a multipath TCP congestion control apparatus. After receiving a data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the TCP is not established. A new multipath TCP substream is established in the second access network of the substream or congestion control is performed on the established TCP substream. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network.
本发明实施例提供了一种多径 TCP拥塞控制的系统, 如图 19所示, 包括: 发送端 161, 网络节点 162, 接收端 163  The embodiment of the present invention provides a system for multipath TCP congestion control. As shown in FIG. 19, the method includes: a transmitting end 161, a network node 162, and a receiving end 163.
所述发送端 161为上述实施例所述的一种多径 TCP拥塞控制的装置的发送 所述接收端 163为上述实施例提供的一种多径 TCP拥塞控制的装置的接收 本发明实施例提供了另一种多径 TCP拥塞控制的系统, 如图 20所示, 包 括: 发送端 201, 网络节点 202, 接收端 203 The transmitting end 161 is configured to receive, by the receiving end 163, a device for multipath TCP congestion control provided by the foregoing embodiment, in a device for multipath TCP congestion control according to the foregoing embodiment. An embodiment of the present invention provides another system for multipath TCP congestion control. As shown in FIG. 20, the method includes: a transmitting end 201, a network node 202, and a receiving end 203.
所述发送端 201为上述实施例所述的另一种多径 TCP拥塞控制的装置。 所述接收端 203为上述实施例所述的另一种多径 TCP拥塞控制的装置。 本发明实施例提供了一种多径 TCP拥塞控制的方法、 装置及系统, 发送端 在第一接入网的已建立的至少一个多径 TCP子流中发送数据包, 若第一接入网 的网络节点检测到网络即将拥塞, 则将数据包中的 ECT标志位用第一标识符标 识, CE标志位用第二标识符标识, ECE标志位用第三标识符标识, C WR标志 位用第四标识符标识发送至接收端, 接收端接收到数据包后, 检测到数据包的 CE标志位用第二标识符标识, 则进行拥塞控制, 即为在未建立 TCP子流的第 二接入网中新建多径 TCP子流或对已建立的 TCP子流进行拥塞控制。这样, 实 现了在拥塞发生之前, 进行拥塞控制, 提高了数据传输的效率, 并且通过在第 二接入网中新建多径 TCP子流, 减缓第一接入网中的网络拥塞。 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或 替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权 利要求的保护范围为准。  The transmitting end 201 is another multipath TCP congestion control device according to the above embodiment. The receiving end 203 is another multipath TCP congestion control device according to the above embodiment. The embodiment of the invention provides a method, a device and a system for multipath TCP congestion control, where a sender sends a data packet in at least one multipath TCP substream of the first access network, if the first access network The network node detects that the network is about to be congested, and identifies the ECT flag in the data packet with the first identifier, the CE flag is identified by the second identifier, the ECE flag is identified by the third identifier, and the C WR flag is used. The fourth identifier is sent to the receiving end. After receiving the data packet, the receiving end detects that the CE flag of the data packet is identified by the second identifier, and performs congestion control, that is, the second connection of the TCP substream is not established. Add a new multipath TCP subflow to the network or perform congestion control on the established TCP subflow. In this way, congestion control is implemented before congestion occurs, data transmission efficiency is improved, and network congestion in the first access network is slowed down by creating a multipath TCP substream in the second access network. The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the claims.

Claims

权利要求 Rights request
1、 一种多径 TCP拥塞控制的方法, 其特征在于, 包括:  A method for multipath TCP congestion control, comprising:
接收端接收发送端在第一接入网已建立的至少一个多径传输控制协议 TCP 子流中, 经第一接入网的网络节点发送的数据包;  Receiving, by the receiving end, a data packet sent by the network node of the first access network in the TCP substream of the at least one multipath transmission control protocol that the transmitting end has established in the first access network;
若检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一 标识符标识; 拥塞预警 CE 标志位用第二标识符标识, 则所述接收端进行拥塞 控制; 其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符标识; 拥塞窗 口减半 CWR标志位用第四标识符标识。  If the transmission ECT flag of the ECN is detected by the first identifier, the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion control; The ECN feedback ECE flag bit of the data packet is identified by a third identifier; the congestion window is halved and the CWR flag bit is identified by a fourth identifier.
2、 根据权利要求 1所述的方法, 其特征在于, 所述进行拥塞控制包括: 在 所述发送端通过第二接入网接入所述接收端的情况下, 若所述发送端与所述接 收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述接收端 向所述发送端发送第一同步序列编号 SYN数据包; 所述第一 SYN数据包的所 述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标识; 且所述 ECT 标志位与所述 CE 标志位不同; 所述第一 SYN 数据包中还携带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流;  The method according to claim 1, wherein the performing congestion control comprises: if the transmitting end accesses the receiving end by using a second access network, if the sending end is The receiving end does not establish a multipath TCP substream in the second access network, and in the second access network, the receiving end sends a first synchronization sequence number SYN data packet to the sending end; the first SYN The ECE flag of the data packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet is also carried Adding MPJOIN information to the multipath; the MPJOIN means adding a multipath TCP substream;
所述接收端接收所述发送端发送的第一同步序列编号及确认 SYN-ACK数 据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所 述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述 SYN-ACK数据包中携带 MPJOIN信息;  Receiving, by the receiving end, the first synchronization sequence number and the acknowledge SYN-ACK data packet sent by the sending end; the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; Identifying with a fourth identifier; and the ECT flag is different from the CE flag; the SYN-ACK packet carries MPJOIN information;
所述接收端向所述发送端发送确认 ACK数据包; 所述 ACK数据包中携带 有 MPJOIN信息。  The receiving end sends an acknowledgement ACK packet to the sending end; the ACK packet carries MPJOIN information.
3、 根据权利要求 2所述的方法, 其特征在于, 在所述接收端向所述发送端 发送建立多径 TCP子流的消息之前, 还包括:  The method according to claim 2, wherein before the receiving end sends the message for establishing the multipath TCP substream to the sending end, the method further includes:
所述接收端接收所述发送端发送的包含添加地址 ADD_ADDR信息的地址 信息, 并根据所述地址信息获取所述发送端在第二接入网中的互联网协议 IP地 址。  The receiving end receives the address information that is sent by the sending end and includes the added address ADD_ADDR information, and obtains the Internet Protocol IP address of the sending end in the second access network according to the address information.
4、 根据权利要求 1所述的方法, 其特征在于, 所述进行拥塞控制包括: 所 述接收端向所述发送端发送第一响应数据包,以使得所述发送端进行拥塞控制; 所述第一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用第七 标识符标识; 所述 ECE标志位用第五标识符标识; 所述 C WR标志位用第四标 识符标识。 The method according to claim 1, wherein the performing congestion control comprises: the receiving end sending a first response data packet to the sending end, so that the sending end performs congestion control; The ECT flag of the first response packet is identified by a first identifier, the CE flag is identified by a seventh identifier; the ECE flag is identified by a fifth identifier; and the C WR flag is identified by a fourth identifier Identification mark.
5、 根据权利要求 4所述的方法, 其特征在于, 在所述接收端向所述发送端 发送第一响应数据包之后, 还包括:  The method according to claim 4, after the receiving end sends the first response data packet to the sending end, the method further includes:
在第二接入网中, 所述接收端接收所述发送端发送的所述第一 SYN 数据 包;  In the second access network, the receiving end receives the first SYN data packet sent by the sending end;
所述接收端向所述发送端发送所述第一 SYN-ACK数据包;  Sending, by the receiving end, the first SYN-ACK data packet to the sending end;
所述接收端接收所述发送端发送的 ACK数据包。  The receiving end receives an ACK data packet sent by the sending end.
6、 根据权利要求 1所述的方法, 其特征在于, 所述进行拥塞控制包括: 对 已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应数据包; 所述 第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识符 标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位用第六标识符标 识。  The method according to claim 1, wherein the performing congestion control comprises: performing congestion control on the established multipath TCP substream, and sending a second response data packet to the transmitting end; The ECT flag bit of the response data packet is identified by a first identifier, the CE flag bit is identified by a seven identifier; the ECE flag bit is identified by a third identifier; the C WR flag bit is identified by a sixth identifier.
7、 根据权利要求 1、 2、 4-5任一项所述的方法, 其特征在于, 在所述接收 端接收发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中, 经第一接入网的网络节点发送的数据包之前, 还包括:  The method according to any one of claims 1, 2, and 4-5, wherein at the receiving end, at least one multipath transmission control protocol TCP sub-network that the transmitting end has established in the first access network is received. In the stream, before the data packet sent by the network node of the first access network, the method further includes:
所述接收端接收所述发送端在第一接入网中发送的第二 SYN数据包,记录 所述发送端的 MP_CAPABLE的相关信息, 端口号, 及 IP地址; 并转发所述第 二 SYN数据包至通信对端的服务器; 所述第二 SYN数据包中的 ECE标志位用 第五标识符标识, 所述的 C WR标志位用六标识符标识; 且所述 ECT标志位与 所述 CE标志位不同; 所述第二 SYN数据包中携带有多径能力 MP_CAPABLE 信息; 所述 MP_CAPABLE用于标识发送端支持多径 TCP ;  Receiving, by the receiving end, the second SYN data packet sent by the sending end in the first access network, recording related information, port number, and IP address of the MP_CAPABLE of the sending end; and forwarding the second SYN data packet a server to the opposite end of the communication; the ECE flag bit in the second SYN data packet is identified by a fifth identifier, the C WR flag bit is identified by a six identifier; and the ECT flag bit and the CE flag bit are Different; the second SYN data packet carries multipath capability MP_CAPABLE information; the MP_CAPABLE is used to identify that the sender supports multipath TCP;
所述接收端接收所述通信对端的服务器发送的第二 SYN-ACK数据包; 所 述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR标志位 第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同;  Receiving, by the receiving end, a second SYN-ACK data packet sent by the server of the communication peer; the ECE flag bit of the second SYN-ACK data packet is identified by a fifth identifier; a fourth identifier of the CWR flag bit Identifying; and the ECT flag is different from the CE flag;
若所述接收端检测到所述第二 SYN-ACK 数据包中未携带 MP_CAPABLE 信息, 则将所述 MP_CAP ABLE添加至所述第二 SYN-ACK数据包中, 用第八 标识符标识所述第二 SYN-ACK数据包的 P标志位;  And if the receiving end detects that the second SYN-ACK data packet does not carry the MP_CAPABLE information, adding the MP_CAP ABLE to the second SYN-ACK data packet, and identifying the first The P flag of the second SYN-ACK packet;
所述接收端将所述第二 SYN-ACK数据包发送至所述发送端;  The receiving end sends the second SYN-ACK data packet to the sending end;
所述接收端接收所述发送端发送的 ACK数据包, 并将所述 ACK数据包发 送至通信对端的服务器。 The receiving end receives the ACK data packet sent by the sending end, and sends the ACK data packet to the server of the communication peer end.
8、 根据权利要求 1-6任一项所述的方法, 其特征在于, 在所述接收端接收 发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中, 经第一 接入网的网络节点发送的数据包之前, 还包括: The method according to any one of claims 1-6, wherein the receiving end receives at least one multipath transmission control protocol TCP substream that has been established by the transmitting end in the first access network, Before the data packet sent by the network node of the first access network, the method further includes:
所述接收端接收所述发送端在第一接入网中发送的所述第二 SYN数据包; 所述接收端发送第三 SYN-ACK数据包至所述发送端;所述第三 SYN-ACK 数据包中的所述 ECE标志位用第五标识符标识,所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第三 SYN-ACK数据包中还携 带有 MP_CAPABLE;  Receiving, by the receiving end, the second SYN data packet sent by the sending end in the first access network; the receiving end sending a third SYN-ACK data packet to the sending end; the third SYN- The ECE flag bit in the ACK packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; the third SYN-ACK packet Also carries MP_CAPABLE;
所述接收端接收所述发送端发送的 ACK数据包。  The receiving end receives an ACK data packet sent by the sending end.
9、 一种多径 TCP拥塞控制的方法, 其特征在于, 包括: A method for multipath TCP congestion control, comprising:
发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中向接 收端发送数据包; 所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用 第一标识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志 位用第三标识符标识; 拥塞窗口减半 CWR 标志位用第四标识符标识, 以便第 一接入网的网络节点在检测到网络即将拥塞或第一接入网链路质量变差时, 网 络节点通过将数据包的 CE 标志位由第七标识符标识更改为第二标识符标识通 知所述接收端网络即将拥塞或第一接入网链路质量变差, 以使得所述接收端进 行拥塞控制;  The transmitting end sends a data packet to the receiving end in the at least one multipath transmission control protocol TCP substream that has been established in the first access network; the data packet supports the explicit identifier of the transmission ECT flag of the ECN by using the first identifier The identifier, the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; the congestion window is halved, and the CWR flag is identified by the fourth identifier, so that the network node of the first access network is When detecting that the network is about to be congested or the quality of the first access network link is deteriorated, the network node notifies the receiving end network that the network is about to be congested by changing the CE flag of the data packet from the seventh identifier identifier to the second identifier identifier. The quality of the first access network link is deteriorated, so that the receiving end performs congestion control;
若接收端进行拥塞控制, 则所述发送端进行相应的拥塞控制。  If the receiving end performs congestion control, the transmitting end performs corresponding congestion control.
10、 根据权利要求 9所述的方法, 其特征在于, 所述发送端进行相应的拥 塞控制包括: 在所述发送端通过第二接入网接入所述接收端的情况下, 若所述 发送端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网 中, 所述发送端接收所述接收端发送的第一同步序列编号 SYN数据包; 所述第 一 SYN数据包的所述 ECE标志位用第五标识符标识;所述 CWR用第六标识符 标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携 带有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流; 所述发送端向所述接收端发送第一同步序列编号及确认 SYN-ACK数据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识;所述 CWR 用第四标识符标识;且所述 ECT标志位与所述 CE标志位不同;所述 SYN-ACK 数据包中携带有 MP_JOIN信息; The method according to claim 9, wherein the transmitting end performing corresponding congestion control includes: if the sending end accesses the receiving end through the second access network, if the sending And the receiving end does not establish a multipath TCP substream in the second access network, and in the second access network, the sending end receives the first synchronization sequence number SYN data packet sent by the receiving end; The ECE flag of the first SYN packet is identified by a fifth identifier; the CWR is identified by a sixth identifier; and the ECT flag is different from the CE flag; the first SYN data The packet further carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added; the sending end sends a first synchronization sequence number and an acknowledge SYN-ACK data packet to the receiving end; The ECE flag bit in the SYN-ACK data packet is identified by a fifth identifier; the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; the SYN-ACK The data packet carries MP_JOIN information;
所述发送端接收所述接收端发送的确认 ACK数据包; 所述 ACK数据包中 携带有 MPJOIN信息。  The transmitting end receives an acknowledgement ACK packet sent by the receiving end; the ACK packet carries MPJOIN information.
1 1、 根据权利要求 10所述的方法, 其特征在于, 在所述发送端接收所述接 收端发送的多径 TCP子流的消息之前, 还包括:  The method according to claim 10, further comprising: before the sending end receives the message of the multipath TCP substream sent by the receiving end, the method further includes:
所述发送端向接收端发送包含添加地址 ADD_ADDR信息的地址信息, 以 使得所述接收端根据所述地址信息获取所述发送端在第二接入网中的互联网协 议 IP地址。  The sending end sends the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet protocol IP address of the sending end in the second access network according to the address information.
12、 根据权利要求 9所述的方法, 其特征在于, 所述发送端进行相应的拥 塞控制包括:  The method according to claim 9, wherein the transmitting end performs corresponding congestion control, including:
所述发送端接收所述接收端发送的第一响应数据包; 所述第一响应数据包 的 ECT标志位用第一标识符标识,所述 CE标志位用第七标识符标识;所述 ECE 标志位用第五标识符标识; 所述 CWR标志位用第四标识符标识。  Receiving, by the sending end, the first response data packet sent by the receiving end; the ECT flag bit of the first response data packet is identified by a first identifier, and the CE flag bit is identified by a seventh identifier; the ECE The flag bit is identified by a fifth identifier; the CWR flag bit is identified by a fourth identifier.
13、 根据权利要求 12所述的方法, 其特征在于, 在所述发送端接收所述接 收端发送的第一响应数据之后, 还包括: 在所述发送端通过第二接入网接入所 述接收端的情况下, 若所述发送端与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第二接入网中, 所述发送端向所述接收端发送所述第一 SYN数 据包;  The method according to claim 12, after the receiving end receives the first response data sent by the receiving end, the method further includes: accessing, by the second access network, the sending end In the case of the receiving end, if the transmitting end and the receiving end do not establish a multipath TCP substream in the second access network, in the second access network, the transmitting end sends the receiving end to the receiving end. The first SYN data packet;
所述发送端接收所述接收端发送的所述第一 SYN-ACK数据包;  Receiving, by the sending end, the first SYN-ACK data packet sent by the receiving end;
所述发送端向所述接收端发送所述 ACK数据包。  The transmitting end sends the ACK data packet to the receiving end.
14、 根据权利要求 12所述的方法, 其特征在于, 在所述发送端接收所述接 收端发送的第一响应数据之后, 还包括:  The method according to claim 12, after the receiving end receives the first response data sent by the receiving end, the method further includes:
所述发送端对已建立的多径 TCP子流进行拥塞控制。  The transmitting end performs congestion control on the established multipath TCP substream.
15、 根据权利要求 9所述的方法, 其特征在于, 所述发送端进行相应的拥 塞控制包括:  The method according to claim 9, wherein the transmitting end performs corresponding congestion control, including:
所述发送端接收所述接收端发送的第二响应数据包; 所述第二响应数据包 的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识符标识; 所述 ECE 标志位用第三标识符标识; 所述 CWR标志位用第六标识符标识。  The transmitting end receives the second response data packet sent by the receiving end; the ECT flag bit of the second response data packet is identified by a first identifier, and the CE flag bit is identified by a seven identifier; the ECE flag The bit is identified by a third identifier; the CWR flag bit is identified by a sixth identifier.
16、 根据权利要求 9- 15任一项所述的方法, 其特征在于, 在所述发送端在 第一接入网已建立的多径传输控制协议 TCP子流中向接收端发送数据包之前, 还包括: The method according to any one of claims 9 to 15, wherein before the transmitting end sends a data packet to the receiving end in the TCP substream of the multipath transmission control protocol established by the first access network , Also includes:
所述发送端向所述接收端发送第二 SYN数据包; 所述第二 SYN数据包中 的 ECE标志位用第五标识符标识, 所述的 C WR标志位用六标识符标识; 且所 述 ECT标志位与所述 CE标志位不同;所述第二 SYN数据包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAP ABLE用于标识发送端支持多径 TCP; 所述发送端接收所述接收端发送的第二 SYN-ACK数据包或第三 SYN-ACK 数据包;所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR 标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第二 SYN-ACK数据包中还携带有 MP_CAPABLE信息; 所述第二 SYN-ACK数据包 的 P标志位用地八标识符标识; 所述第三 SYN-ACK数据包中的所述 ECE标志 位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT标志位与所 述 CE标志位不同;所述第三 SYN-ACK数据包中还携带有 MP_C AP ABLE信息; 所述发送端向所述接收端发送 ACK数据包。  The sending end sends a second SYN data packet to the receiving end; the ECE flag bit in the second SYN data packet is identified by a fifth identifier, and the C WR flag bit is identified by a six identifier; The ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; the MP_CAP ABLE is used to identify that the sender supports multipath TCP; and the sender receives the reception. a second SYN-ACK packet or a third SYN-ACK packet sent by the terminal; the ECE flag of the second SYN-ACK packet is identified by a fifth identifier; and the CWR flag is identified by a fourth identifier; And the ECT flag bit is different from the CE flag bit; the second SYN-ACK data packet further carries MP_CAPABLE information; and the P flag bit of the second SYN-ACK data packet is identified by a ground eight identifier; The ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag bit is different from the CE flag bit; SYN-ACK packet also carries MP_C AP ABLE Information; the sending end to the receiving end sends ACK packet.
17、 一种多径 TCP拥塞控制的装置, 其特征在于, 包括: 17. A device for multipath TCP congestion control, comprising:
接收单元, 用于接收发送端在第一接入网已建立的至少一个多径传输控制 协议 TCP子流中, 经第一接入网的网络节点发送的数据包;  a receiving unit, configured to receive, by the sending end, a data packet sent by the network node of the first access network in the at least one multipath transmission control protocol TCP substream that has been established by the first access network;
处理单元,用于在检测到所述数据包的支持显式拥塞通知 ECN的传输 ECT 标志位用第一标识符标识; 拥塞预警 CE 标志位用第二标识符标识的情况下, 所述接收端进行拥塞控制; 其中, 所述数据包的 ECN反馈 ECE标志位用第三 标识符标识; 拥塞窗口减半 CWR标志位用第四标识符标识。  a processing unit, configured to identify, by using a first identifier, a transmission ECT flag of the ECN that supports the explicit congestion notification of the data packet; where the congestion warning CE flag is identified by a second identifier, the receiving end Congestion control is performed; wherein the ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved and the CWR flag is identified by a fourth identifier.
18、 根据权利要求 17所述的装置, 其特征在于, 所述处理单元具体包括: 第一发送模块, 第一接收模块;  The device according to claim 17, wherein the processing unit specifically includes: a first sending module, a first receiving module;
所述第一发送模块, 用于在所述发送端通过第二接入网接入所述装置的情 况下, 若所述发送端与所述装置没有在第二接入网中建立多径 TCP子流, 则在 第二接入网中, 向所述发送端发送第一同步序列编号 SYN 数据包; 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标 识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带 有多径添加 MPJOIN信息; 所述 MPJOIN信息表示添加一条多径 TCP子流; 所述第一接收模块, 用于接收所述发送端发送的第一同步序列编号及确认 SYN-ACK数据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标 识符标识; 所述 C WR用第四标识符标识; 且所述 ECT标志位与所述 CE标志 位不同; 所述 SYN-ACK数据包中携带 MPJOIN信息; The first sending module is configured to: when the sending end accesses the device by using the second access network, if the sending end and the device do not establish multipath TCP in the second access network a substream, in the second access network, sending a first synchronization sequence number SYN data packet to the transmitting end; the ECE flag bit of the first SYN data packet is identified by a fifth identifier; Identifying with the sixth identifier; and the ECT flag is different from the CE flag; the first SYN packet further carries multipath added MPJOIN information; the MPJOIN information indicates adding a multipath TCP substream The first receiving module is configured to receive the first synchronization sequence number and the acknowledgement sent by the sending end a SYN-ACK data packet; the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; the C WR is identified by a fourth identifier; and the ECT flag bit and the CE The flag bits are different; the SYN-ACK data packet carries the MPJOIN information;
所述第一发送模块,还用于向所述发送端发送确认 ACK数据包;所述 ACK 数据包中携带有 MP_JOIN信息。  The first sending module is further configured to send an acknowledgement ACK packet to the sending end, where the ACK packet carries MP_JOIN information.
19、 根据权利要求 18所述的装置, 其特征在于,  19. Apparatus according to claim 18 wherein:
所述接收单元, 还用于接收所述发送端发送的包含添加地址 ADD_ADDR 信息的地址信息;  The receiving unit is further configured to receive address information that is sent by the sending end and includes the added address ADD_ADDR information;
所述装置, 还包括:  The device further includes:
获取单元, 用于根据所述接收单元接收的所述地址信息获取所述发送端在 第二接入网中的互联网协议 IP地址。  And an obtaining unit, configured to acquire, according to the address information received by the receiving unit, an Internet Protocol IP address of the sending end in the second access network.
20、 根据权利要求 17所述的装置, 其特征在于, 所述处理单元具体用于, 向所述发送端发送第一响应数据包, 以使得所述发送端进行拥塞控制; 所述第 一响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用第七标识符 标识; 所述 ECE标志位用第五标识符标识; 所述 CWR标志位用第四标识符标 识。  The device according to claim 17, wherein the processing unit is configured to: send, to the sending end, a first response data packet, so that the sending end performs congestion control; The ECT flag of the data packet is identified by a first identifier, the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; the CWR flag bit is identified by a fourth identifier.
21、 根据权利要求 20所述的装置, 其特征在于, 所述接收单元, 还用于在 第二接入网中, 接收所述发送端发送的所述第一 SYN数据包;  The device according to claim 20, wherein the receiving unit is further configured to receive, in the second access network, the first SYN data packet sent by the sending end;
所述装置, 还包括:  The device further includes:
第一发送单元, 用于向所述发送端发送所述第一 SYN-ACK数据包; 所述接收单元, 还用于接收所述发送端发送的 ACK数据包。  a first sending unit, configured to send the first SYN-ACK data packet to the sending end, where the receiving unit is further configured to receive an ACK data packet sent by the sending end.
22、 根据权利要求 17所述的装置, 其特征在于, 所述处理单元具体用于, 对已建立的多径 TCP子流进行拥塞控制, 并向发送端发送第二响应数据包; 所 述第二响应数据包的 ECT标志位用第一标识符标识, 所述 CE标志位用七标识 符标识; 所述 ECE标志位用第三标识符标识; 所述 C WR标志位用第六标识符 标识。  The device according to claim 17, wherein the processing unit is configured to: perform congestion control on the established multipath TCP substream, and send a second response data packet to the sending end; The ECT flag of the second response packet is identified by a first identifier, the CE flag is identified by a seven identifier; the ECE flag is identified by a third identifier; the C WR flag is identified by a sixth identifier .
23、 根据权利要求 17、 18、 20-22任一项所述的装置, 其特征在于, 所述 接收单元, 还用于接收所述发送端在第一接入网中发送的第二 SYN数据包; 所 述第二 SYN数据包中的 ECE标志位用第五标识符标识,所述的 CWR标志位用 六标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所述第二 SYN数据 包中携带有多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE用于标识发送 端支持多径 TCP; The device according to any one of claims 17, 18, and 20-22, wherein the receiving unit is further configured to receive the second SYN data that is sent by the sending end in the first access network. a packet; the ECE flag bit in the second SYN data packet is identified by a fifth identifier, the CWR flag bit is identified by a six identifier; and the ECT flag bit is different from the CE flag bit; Two SYN data The packet carries the multipath capability MP_CAPABLE information; the MP_CAPABLE is used to identify that the sender supports multipath TCP;
所述装置, 还包括:  The device further includes:
记录单元, 用于记录所述发送端的 MP_CAPABLE 的相关信息, 端口号, 及 IP地址;  a recording unit, configured to record information about the MP_CAPABLE of the sender, a port number, and an IP address;
第二发送单元, 用于发送所述第二 SYN数据包至通信对端的服务器; 所述接收单元, 还用于接收所述通信对端的服务器发送的第二 SYN-ACK 数据包;所述第二 SYN-ACK数据包的所述 ECE标志位用第五标识符标识; CWR 标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同;  a second sending unit, configured to send the second SYN data packet to a server of the communication peer end; the receiving unit is further configured to receive a second SYN-ACK data packet sent by the server of the communication peer end; The ECE flag of the SYN-ACK packet is identified by a fifth identifier; the CWR flag is identified by a fourth identifier; and the ECT flag is different from the CE flag;
所述装置, 还包括:  The device further includes:
检测单元, 用于检测所述第二 SYN-ACK 数据包中是否携带有 MP_CAPABLE信息;  a detecting unit, configured to detect whether the second SYN-ACK packet carries MP_CAPABLE information;
所述处理单元, 还用于在检测单元检测到所述第二 SYN-ACK数据包中未 携带有 MP_CAPABLE 信息时, 将所述 MP_CAPABLE 添加至所述第二 SYN-ACK数据包中,用第八标识符标识所述第二 SYN-ACK数据包的 P标志位; 所述第一发送单元, 还用于将所述第二 SYN-ACK数据包发送至所述发送 所述接收单元, 还用于接收所述发送端发送的 ACK数据包;  The processing unit is further configured to: when the detecting unit detects that the second SYN-ACK data packet does not carry the MP_CAPABLE information, add the MP_CAPABLE to the second SYN-ACK data packet, and use the eighth The identifier identifies a P flag of the second SYN-ACK packet; the first sending unit is further configured to send the second SYN-ACK data packet to the sending the receiving unit, and further Receiving an ACK packet sent by the sending end;
所述第二发送单元, 还用于将所述 ACK数据包发送至通信对端的服务器。  The second sending unit is further configured to send the ACK data packet to a server of the communication peer end.
24、 根据权利要求 17-22任一项所述的装置, 其特征在于, 还包括: 所述接收单元, 还用于接收所述发送端在第一接入网中发送的所述第二 SYN数据包; The device according to any one of claims 17 to 22, further comprising: the receiving unit, further configured to receive the second SYN sent by the sending end in the first access network data pack;
所述第一发送单元, 还用于发送第三 SYN-ACK数据包至所述发送端; 所 述第三 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识, 所述 CWR 用第四标识符标识; 且所述 ECT 标志位与所述 CE 标志位不同; 所述第三 SYN-ACK数据包中还携带有 MP_CAPABLE;  The first sending unit is further configured to send a third SYN-ACK data packet to the sending end; the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, where the CWR is Identifying by the fourth identifier; and the ECT flag is different from the CE flag; the third SYN-ACK packet further carries MP_CAPABLE;
所述接收单元, 还用于接收所述发送端发送的 ACK数据包。  The receiving unit is further configured to receive an ACK data packet sent by the sending end.
25 种多径 TCP拥塞控制的装置, 其特征在于, 包括: A device for 25 types of multipath TCP congestion control, comprising:
发送单元, 用于在第一接入网已建立的至少一个多径传输控制协议 TCP子 流中向接收端发送数据包; 所述数据包的支持显式拥塞通知 ECN 的传输 ECT 标志位用第一标识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN反馈 ECE标志位用第三标识符标识; 拥塞窗口减半 CWR标志位用第四标识符标识; 以便第一接入网的网络节点在检测到网络即将拥塞或第一接入网链路质量变差 时, 网络节点通过将数据包的 CE 标志位由第七标识符标识更改为第二标识符 标识通知所述接收端网络即将拥塞或第一接入网链路质量变差, 以使得所述接 收端进行拥塞控制; a sending unit, configured to: at least one multipath transmission control protocol TCP sub-establishment established in the first access network Sending a data packet to the receiving end in the stream; supporting the explicit congestion notification of the data packet to notify the ECN of the transmission ECT flag is identified by the first identifier, and the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is used a third identifier identifier; a congestion window halving CWR flag is identified by a fourth identifier; so that the network node of the first access network detects a network to be congested or the first access network link quality deteriorates, the network node Changing the CE flag bit of the data packet from the seventh identifier identifier to the second identifier identifier to notify the receiving end network that the network is about to be congested or the quality of the first access network link is deteriorated, so that the receiving end performs congestion control. ;
处理单元, 用于接收端进行拥塞控制的情况下, 进行相应的拥塞控制。 The processing unit is configured to perform corresponding congestion control when the receiving end performs congestion control.
26、 根据权利要求 25所述的装置, 其特征在于, 所述处理单元包括: 接收 模块和发送模块; The device according to claim 25, wherein the processing unit comprises: a receiving module and a sending module;
所述接收模块, 用于在所述发送端通过第二接入网接入所述接收端的情况 下, 若所述装置与所述接收端没有在第二接入网中建立多径 TCP子流, 则在第 二接入网中, 接收所述接收端发送的第一同步序列编号 SYN数据包; 所述第一 SYN数据包的所述 ECE标志位用第五标识符标识; 所述 CWR用第六标识符标 识; 且所述 ECT标志位与所述 CE标志位不同; 所述第一 SYN数据包中还携带 有多径添加 MPJOIN信息; 所述 MPJOIN表示添加一条多径 TCP子流; 所述发送模块,用于向所述接收端发送第一同步序列编号及确认 SYN-ACK 数据包; 所述第一 SYN-ACK数据包中的所述 ECE标志位用第五标识符标识; 所述 CWR用第四标识符标识; 且所述 ECT标志位与所述 CE标志位不同; 所 述 SYN-ACK数据包中携带有 MPJOIN信息;  The receiving module is configured to: when the sending end accesses the receiving end by using the second access network, if the apparatus and the receiving end do not establish a multipath TCP subflow in the second access network Receiving, in the second access network, a first synchronization sequence number SYN data packet sent by the receiving end; the ECE flag bit of the first SYN data packet is identified by a fifth identifier; a sixth identifier identifier; and the ECT flag bit is different from the CE flag bit; the first SYN data packet further carries multipath added MPJOIN information; the MPJOIN indicates that a multipath TCP substream is added; a sending module, configured to send a first synchronization sequence number and an acknowledge SYN-ACK data packet to the receiving end; the ECE flag bit in the first SYN-ACK data packet is identified by a fifth identifier; The CWR is identified by a fourth identifier; and the ECT flag is different from the CE flag; the SYN-ACK packet carries MPJOIN information;
所述接收模块,还用于接收所述接收端发送的确认 ACK数据包;所述 ACK 数据包中携带有 MP_JOIN信息。  The receiving module is further configured to receive an acknowledgement ACK packet sent by the receiving end, where the ACK packet carries MP_JOIN information.
27、 根据权利要求 26所述的装置, 其特征在于,  27. Apparatus according to claim 26 wherein:
所述发送单元, 还用于向接收端发送包含添加地址 ADD_ADDR信息的地 址信息, 以使得所述接收端根据所述地址信息获取所述发送端在第二接入网中 的互联网协议 IP地址。  The sending unit is further configured to send the address information including the added address ADD_ADDR information to the receiving end, so that the receiving end acquires the Internet Protocol IP address of the sending end in the second access network according to the address information.
28、 根据权利要求 25所述的装置, 其特征在于, 所述处理单元具体用于, 接收所述接收端发送的第一响应数据包; 所述第一响应数据包的 ECT标志位用 第一标识符标识, 所述 CE标志位用第七标识符标识; 所述 ECE标志位用第五 标识符标识; 所述 C WR标志位用第四标识符标识。 The device according to claim 25, wherein the processing unit is configured to: receive a first response data packet sent by the receiving end; and use the first ECT flag of the first response data packet An identifier identifier, the CE flag bit is identified by a seventh identifier; the ECE flag bit is identified by a fifth identifier; and the C WR flag bit is identified by a fourth identifier.
29、 根据权利要求 28所述的装置, 其特征在于, 29. Apparatus according to claim 28 wherein:
所述发送单元, 还用于在所述发送端通过第二接入网接入所述接收端的情 况下, 若所述发送端与所述接收端没有在第二接入网中建立多径 TCP子流, 则 在第二接入网中, 向所述接收端发送所述第一 SYN数据包;  The sending unit is further configured to: when the sending end accesses the receiving end by using the second access network, if the sending end and the receiving end do not establish multipath TCP in the second access network a substream, in the second access network, sending the first SYN data packet to the receiving end;
所述装置, 还包括:  The device further includes:
接收单元, 用于接收所述接收端发送的所述第一 SYN-ACK数据包; 所述发送单元, 还用于向所述接收端发送所述 ACK数据包。  a receiving unit, configured to receive the first SYN-ACK data packet sent by the receiving end, where the sending unit is further configured to send the ACK data packet to the receiving end.
30、 根据权利要求 28所述的装置, 其特征在于,  30. Apparatus according to claim 28 wherein:
所述处理单元, 还用于对已建立的多径 TCP子流进行拥塞控制。  The processing unit is further configured to perform congestion control on the established multipath TCP substream.
31、 根据权利要求 25所述的装置, 其特征在于, 所述处理单元具体用于, 接收所述接收端发送的第二响应数据包; 所述第二响应数据包的 ECT标志位用 第一标识符标识, 所述 CE标志位用七标识符标识; 所述 ECE标志位用第三标 识符标识; 所述 CWR标志位用第六标识符标识。  The device according to claim 25, wherein the processing unit is configured to: receive a second response data packet sent by the receiving end; and use the first ECT flag of the second response data packet An identifier identifier, the CE flag bit is identified by a seven identifier; the ECE flag bit is identified by a third identifier; and the CWR flag bit is identified by a sixth identifier.
32、 根据权利要求 25-31任一项所述的方法, 其特征在于,  32. The method of any of claims 25-31, wherein
所述发送单元,还用于向所述接收端发送第二 SYN数据包;所述第二 SYN 数据包中的 ECE标志位用第五标识符标识, 所述的 CWR标志位用六标识符标 识; 且所述 ECT标志位与所述 CE标志位不同; 所述第二 SYN数据包中携带有 多径能力 MP_CAPABLE信息; 所述 MP_CAPABLE用于标识发送端支持多径 TCP;  The sending unit is further configured to send a second SYN data packet to the receiving end; the ECE flag bit in the second SYN data packet is identified by a fifth identifier, and the CWR flag bit is identified by a six identifier And the ECT flag is different from the CE flag; the second SYN packet carries multipath capability MP_CAPABLE information; the MP_CAPABLE is used to identify that the sender supports multipath TCP;
所述接收单元, 还用于接收所述接收端发送的第二 SYN-ACK数据包或第 三 SYN-ACK数据包; 所述第二 SYN-ACK数据包的所述 ECE标志位用第五标 识符标识; C WR标志位第四标识符标识; 且所述 ECT标志位与所述 CE标志位 不同; 所述第二 SYN-ACK数据包中还携带有 MP_CAPABLE信息; 所述第二 SYN-ACK数据包的 P标志位用地八标识符标识;所述第三 SYN-ACK数据包中 的所述 ECE标志位用第五标识符标识, 所述 CWR用第四标识符标识; 且所述 ECT 标志位与所述 CE 标志位不同; 所述第三 SYN-ACK 数据包中还携带有 MP_CAPABLE信息;  The receiving unit is further configured to receive a second SYN-ACK data packet or a third SYN-ACK data packet sent by the receiving end, where the ECE flag bit of the second SYN-ACK data packet uses a fifth identifier a second identifier of the C WR flag; and the ECT flag is different from the CE flag; the second SYN-ACK packet further carries MP_CAPABLE information; the second SYN-ACK The P flag of the data packet is identified by a ground eight identifier; the ECE flag bit in the third SYN-ACK data packet is identified by a fifth identifier, the CWR is identified by a fourth identifier; and the ECT flag The bit is different from the CE flag bit; the third SYN-ACK packet further carries MP_CAPABLE information;
所述发送单元, 还用于向所述接收端发送 ACK数据包。  The sending unit is further configured to send an ACK packet to the receiving end.
33、 一种多径 TCP拥塞控制的装置, 其特征在于, 包括: 接收器, 用于接收端接收发送端在第一接入网已建立的至少一个多径传输 控制协议 TCP子流中, 经第一接入网的网络节点发送的数据包; 33. A device for multipath TCP congestion control, comprising: a receiver, configured to receive, by the receiving end, a data packet sent by the network node of the first access network in the at least one multipath transmission control protocol TCP substream that the transmitting end has established in the first access network;
处理器, 用于若检测到所述数据包的支持显式拥塞通知 ECN 的传输 ECT 标志位用第一标识符标识; 拥塞预警 CE 标志位用第二标识符标识, 则所述接 收端进行拥塞控制; 其中, 所述数据包的 ECN反馈 ECE标志位用第三标识符 标识; 拥塞窗口减半 CWR标志位用第四标识符标识。  a processor, configured to: if the data packet supports the explicit congestion notification ECN, the transmission ECT flag is identified by the first identifier; the congestion warning CE flag is identified by the second identifier, and the receiving end performs congestion Control; wherein, the ECN feedback ECE flag of the data packet is identified by a third identifier; the congestion window is halved and the CWR flag is identified by a fourth identifier.
34、 一种多径 TCP拥塞控制的装置, 其特征在于, 包括:  34. A device for multipath TCP congestion control, comprising:
发送器, 用于发送端在第一接入网已建立的至少一个多径传输控制协议 TCP子流中向接收端发送数据包;所述数据包的支持显式拥塞通知 ECN的传输 ECT标志位用第一标识符标识, 拥塞预警 CE标志位用第七标识符标识; ECN 反馈 ECE标志位用第三标识符标识; 拥塞窗口减半 CWR标志位用第四标识符 标识; 以便第一接入网的网络节点在检测到网络即将拥塞时, 通过改变 CE 标 志位通知所述接收端, 以使得所述接收端进行拥塞控制;  a transmitter, configured to send, by the sending end, a data packet to the receiving end in at least one multipath transmission control protocol TCP substream that has been established in the first access network; the data packet supports an explicit congestion notification ECN transmission ECT flag bit With the first identifier, the congestion warning CE flag is identified by the seventh identifier; the ECN feedback ECE flag is identified by the third identifier; the congestion window is halved, and the CWR flag is identified by the fourth identifier; When detecting that the network is about to be congested, the network node of the network notifies the receiving end by changing the CE flag bit, so that the receiving end performs congestion control;
处理器, 用于在接收端进行拥塞控制的情况下, 进行相应的拥塞控制。  The processor is configured to perform corresponding congestion control when the receiving end performs congestion control.
35、 一种多径 TCP拥塞控制的系统, 其特征在于, 包括: 发送端, 网络节 点, 接收端; 35. A system for multipath TCP congestion control, comprising: a transmitting end, a network node, and a receiving end;
所述发送端为权利要求 17-24 任一项所述的一种多径 TCP 拥塞控制的装 置;  The transmitting end is a device for multipath TCP congestion control according to any one of claims 17-24;
所述接收端为权利要求 25-32 任一项所述的一种多径 TCP 拥塞控制的装 置。  The receiving end is a multipath TCP congestion control device according to any one of claims 25-32.
36、 一种多径 TCP拥塞控制的系统, 其特征在于, 包括: 发送端, 网络节 点, 接收端;  36. A system for multipath TCP congestion control, comprising: a transmitting end, a network node, and a receiving end;
所述发送端为权利要求 33所述的一种多径 TCP拥塞控制的装置; 所述接收端为权利要求 34所述的一种多径 TCP拥塞控制的装置。  The transmitting end is a device for multipath TCP congestion control according to claim 33; and the receiving end is a device for multipath TCP congestion control according to claim 34.
PCT/CN2013/080581 2012-08-01 2013-08-01 Method, device and system for multipath tcp congestion control WO2014019528A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210271599.3 2012-08-01
CN201210271599.3A CN103581035B (en) 2012-08-01 2012-08-01 A kind of method of multipath TCP congestion control, Apparatus and system

Publications (1)

Publication Number Publication Date
WO2014019528A1 true WO2014019528A1 (en) 2014-02-06

Family

ID=50027276

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080581 WO2014019528A1 (en) 2012-08-01 2013-08-01 Method, device and system for multipath tcp congestion control

Country Status (2)

Country Link
CN (1) CN103581035B (en)
WO (1) WO2014019528A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10299157B2 (en) 2015-11-30 2019-05-21 Samsung Electronics Co., Ltd. Apparatus and method for managing congestion in wireless communication system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973587A (en) * 2014-05-09 2014-08-06 清华大学 Multi-path network congestion control method and device
CN104796350B (en) * 2015-04-29 2018-03-09 广西大学 A kind of multipath TCP jamming control methods based on continuous packet labeling
WO2018053688A1 (en) * 2016-09-20 2018-03-29 华为技术有限公司 Congestion control method, apparatus, and system
CN108833126B (en) * 2018-04-02 2021-07-23 平安科技(深圳)有限公司 Electronic device, data link risk early warning method and storage medium
CN108632157B (en) * 2018-04-10 2020-08-25 中国科学技术大学 Multipath TCP (transmission control protocol) congestion control method
CN114157603A (en) * 2018-05-04 2022-03-08 华为技术有限公司 Congestion control method, device, equipment and storage medium
CN110392394B (en) * 2019-07-26 2021-04-16 湖南大学 MPTCP scheduling method based on link state information in wireless network
CN111050341B (en) * 2019-12-24 2022-02-22 展讯通信(上海)有限公司 Method and device for judging air interface congestion state in dual-connection scene
CN111865813B (en) * 2020-07-27 2022-04-12 中南大学 Data center network transmission control method and system based on anti-ECN mark and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058532A1 (en) * 2005-09-15 2007-03-15 Manoj Wadekar System and method for managing network congestion
CN101188611A (en) * 2007-11-21 2008-05-28 华为技术有限公司 Congestion notification method, system and node device
CN102594713A (en) * 2012-03-29 2012-07-18 杭州华三通信技术有限公司 Method and devices for achieving explicit congestion notification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058532A1 (en) * 2005-09-15 2007-03-15 Manoj Wadekar System and method for managing network congestion
CN101188611A (en) * 2007-11-21 2008-05-28 华为技术有限公司 Congestion notification method, system and node device
CN102594713A (en) * 2012-03-29 2012-07-18 杭州华三通信技术有限公司 Method and devices for achieving explicit congestion notification

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10299157B2 (en) 2015-11-30 2019-05-21 Samsung Electronics Co., Ltd. Apparatus and method for managing congestion in wireless communication system

Also Published As

Publication number Publication date
CN103581035B (en) 2016-12-21
CN103581035A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
WO2014019528A1 (en) Method, device and system for multipath tcp congestion control
JP6522855B2 (en) Packet transmission method and user equipment
Kumar et al. Survey on transport layer protocols: TCP & UDP
US9300766B2 (en) Method and apparatus for initiating and maintaining sessions between endpoints
JP5005003B2 (en) Method for managing transmission of a data stream over a transport channel of a tunnel, corresponding tunnel endpoint and computer-readable storage medium
JP5529155B2 (en) Apparatus and method for adaptive TSP configuration to minimize duplicate packet transmission
US9407734B2 (en) System and method for efficient frame aggregation based on aggregation limits or parameters
TW201220790A (en) MPTCP and mobile IP interworking
KR20100053625A (en) Layer 2 tunneling of data during handover in a wireless communication system
AU2008227323A1 (en) Method for processing radio protocol in mobile telecommunications system and transmitter of mobile telecommunications
JP5899328B2 (en) Method and network node for handling TCP traffic
WO2011100911A2 (en) Detection processing method, data transmitter, data receiver and communication system
JP2013535131A (en) Data transmission over several different networks
CN104184646B (en) VPN data interactive method and system and its network data exchange equipment
WO2006097031A1 (en) A method for transmitting the message in the mobile internet protocol network
WO2012083762A1 (en) Data transmission method, apparatus, and system
JPH07250100A (en) Mutual communication system between lans using wide area network and mutual connection device used therefor
WO2009026824A1 (en) A method, device and system for transferring multiplex messages
US8345649B2 (en) Method for indication of consecutive data units in a RAN
JP2006114973A (en) Radio base station and radio terminal equipment
US20170324674A1 (en) Active queue management for a wireless communication network
CN113424578B (en) Acceleration method and device for transmission control protocol
JP3855011B2 (en) Communication device and mobile communication terminal
JP4764394B2 (en) Data relay system, data relay method, and data relay device
Deng et al. A cross-layer congestion and contention window control scheme for TCP performance improvement in wireless LANs

Legal Events

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

Ref document number: 13826068

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13826068

Country of ref document: EP

Kind code of ref document: A1