CN102594713A - Method and devices for achieving explicit congestion notification - Google Patents

Method and devices for achieving explicit congestion notification Download PDF

Info

Publication number
CN102594713A
CN102594713A CN2012100874020A CN201210087402A CN102594713A CN 102594713 A CN102594713 A CN 102594713A CN 2012100874020 A CN2012100874020 A CN 2012100874020A CN 201210087402 A CN201210087402 A CN 201210087402A CN 102594713 A CN102594713 A CN 102594713A
Authority
CN
China
Prior art keywords
label
mpls
message
congestion
ecn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100874020A
Other languages
Chinese (zh)
Other versions
CN102594713B (en
Inventor
王�锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210087402.0A priority Critical patent/CN102594713B/en
Publication of CN102594713A publication Critical patent/CN102594713A/en
Application granted granted Critical
Publication of CN102594713B publication Critical patent/CN102594713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for achieving explicit congestion notification, which is applied to a provider edge (PE) device which receives message containing an internet protocol (IP) head and transmitted by a user edge device, and the IP head contains marks supporting explicit congestion notification (ECN). When the device is confirmed to be in a congestion state, the received message is packaged to be multiple protocol label switching (MPLS) message, and an ECN label with a network congestion mark is arranged at the bottom of a label stack of the MPLS message. The invention further provides a method for achieving explicit congestion notification, which is applied to a provider (P) device which receives the MPLS message transmitted by the PE device, and when the device is in a congestion state and the ECN label at the bottom of the label stack of the MPLS message is provided with a network non-congestion label, the ECN label at the bottom of the label stack of the received MPLS message is set to be a network congestion mark and is conducted with public network label exchange processing. The invention further provides the PE device and the P device. The method and the devices can effectively relieve network device congestion in the MPLS network.

Description

Method and equipment for realizing explicit congestion notification
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for implementing explicit congestion notification.
Background
Fig. 1 is a schematic diagram of a network using an ECN (Explicit Congestion Notification) mechanism in the prior art. As shown, a Transmission Control Protocol (TCP) sender 11, a TCP receiver 13, and a network device 12 between the TCP sender 11 and the TCP receiver 13 are included. In an IP (Internet Protocol ) network, an ECN mechanism is provided to avoid packet loss, that is, a mechanism is provided for a network device to report congestion to a sending end, so that the sending end reduces a sending rate before the network device starts packet loss. IP and TCP use unused fields in the header to support ECN. The method comprises the following steps that a TOS (Type of Service) field of an IP message header carries an ECN mark, wherein the ECN mark specifically refers to values of last two bits ECT and CE (Congestion expert) of the TOS field; 00 denotes that ECN is not supported; 01 denotes support of ECN, called ECN (1) identification; 10 denotes ECN supported, referred to as ECN (0) identification; 11 indicates that congestion has occurred, called experience network congestion identification ce (congestion advanced). TCP support for ECN uses a predefined reserved bit ECN response flag (ECE) and congestion window reduction flag (CWR) in the TCP header.
The ECN mechanism in an IP network specifically comprises the following steps:
step 11, the TCP sending end and the TCP receiving end carry out ECN capability negotiation;
here, the TCP sender and the TCP receiver are servers hung by a Customer Edge (not shown).
Step 12, after the negotiation is successful, the TCP sending end marks an ECN (0) or ECN (1) mark for the message sent to the TCP receiving end, and when the network equipment between the TCP sending end and the TCP receiving end detects the congestion of the TCP sending end and the TCP receiving end, the ECN (0) or ECN (1) mark of the message is modified into a CE mark to be forwarded to the TCP receiving end;
step 13, after receiving the message carrying the CE identification, the TCP receiving end sets the ECE value to 1 in the message sent to the TCP sending end;
and step 14, the TCP sending end finds that the ECE value is 1, the CWR is set to 1 when the next message is sent, and the message sending rate to the TCP receiving end is reduced.
Although ECN can effectively alleviate the congestion problem of network devices in IP networks, for MPLS (Multi-Protocol Label Switching) networks, since TCP and IP headers are contained in MPLS labels and service Provider devices (P, Provider) are transparent to user packets inside the labels, explicit congestion notification cannot be performed as in ordinary IP networks, and there is no way to alleviate the congestion of MPLS networks.
Disclosure of Invention
The embodiment of the invention provides a method for realizing explicit congestion notification, which effectively relieves the congestion of network equipment in an MPLS network.
A method for realizing explicit congestion notification is applied to service provider edge equipment (PE); the method comprises the following steps:
PE equipment receives a message which is forwarded by user edge equipment and contains an IP header, wherein the IP header contains an identifier supporting Explicit Congestion Notification (ECN);
and if the PE equipment determines that the equipment is in a congestion state, the received message is packaged into a multi-protocol label switching (MPLS) message, and an ECN label with a network congestion identifier is arranged at the bottom of a label stack of the MPLS message.
The embodiment of the invention also provides a method for realizing the explicit congestion notification, which effectively relieves the congestion of network equipment in the MPLS network.
A method for realizing explicit congestion notification is applied to service provider equipment P; the method comprises the following steps:
the P equipment receives a multi-protocol label switching (MPLS) message forwarded by service provider edge equipment (PE);
and the P equipment determines that the equipment is in a congestion state, and the ECN label at the bottom of the MPLS message label stack is provided with a network non-congestion identifier, sets the ECN label at the bottom of the received MPLS message label stack with a network congestion identifier, and performs public network label switching processing.
The embodiment of the invention also provides the service provider edge equipment PE and the service provider equipment P for realizing the explicit congestion notification, and the congestion of the network equipment is effectively relieved in the MPLS network.
A service provider edge device, PE, implementing explicit congestion notification, the device comprising:
a first receiving unit, configured to receive a packet that is forwarded by a user edge device and includes an IP header, where the IP header includes an identifier that supports an explicit congestion notification ECN;
the first detection unit is used for detecting whether the first detection unit is in a congestion state and sending a detection result to the encapsulation processing unit;
the encapsulation processing unit is used for encapsulating the message which contains the IP header and is received by the first receiving unit into a multi-protocol label switching (MPLS) message of which the bottom of a label stack is added with an ECN label according to the congestion detection result and sending the message to the forwarding unit;
and the first forwarding unit is used for forwarding the MPLS message to service provider equipment P or other PEs.
A service provider device P implementing explicit congestion notification, the device comprising:
a receiving unit, configured to receive a multi-protocol label switching MPLS packet with an explicit congestion notification ECN label added to the bottom of a label stack;
the detection unit is used for detecting whether the mobile terminal is in a congestion state and sending a detection result to the processing unit;
the processing unit is used for processing an ECN label and switching a public network label of the MPLS message according to the congestion detection result and then sending the MPLS message to the forwarding unit;
and the forwarding unit is used for forwarding the processed MPLS message to the PE.
The embodiment of the invention realizes ECN in the MPLS network, the source end PE supports ECN through the encapsulated stack bottom label, when the far end PE is de-encapsulated, the ECN identification of the stack bottom label is mapped to the head of the original IP message and forwarded to the receiving end, therefore, when any network equipment in the MPLS network is congested, the receiving end can inform the congestion to the sending end, and the sending end reduces the sending rate before the network equipment starts to lose the packet.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a network using an ECN mechanism in the prior art.
Fig. 2 is a schematic diagram of a format of an MPLS L2 VPN packet after an IP packet is encapsulated in the first embodiment.
Fig. 3 is a schematic diagram of a format of an MPLS L3VPN packet after an IP packet is encapsulated in the second embodiment.
Fig. 4A-4C are schematic diagrams of MPLS encapsulation forwarding according to a second embodiment.
Fig. 5 is a schematic structural diagram of the PE device.
Fig. 6 is a schematic structural diagram of a PE device having both functions of a source PE and a remote PE.
Fig. 7 is a schematic structural diagram of the P device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples.
In the MPLS network, a packet is sent based on an IP packet by adding a packet header of MPLS to form an MPLS packet and transmitting the MPLS packet in the MPLS network, that is, the packet is labeled and forwarded according to the label. When transmitting the MPLS packet in the MPLS network, the source PE and the remote PE need to encapsulate the data packet into the MPLS packet and decapsulate the MPLS packet into the data packet, respectively. Further, on the basis of the MPLS network, a private network is constructed, and a plurality of private lans having different geographical locations are interconnected to form a private network: a multi-protocol label switching-virtual private network (MPLS VPN), is an IP-VPN based on MPLS technology, where different VPNs are connected together through a service provider network, each VPN connected to a PE in the service provider network through a customer edge device, where P devices may exist between different PE devices. According to the type division of the bearer message, the VPNs are divided into a two-layer VPN (L2 VPN) and a three-layer VPN (L3 VPN), the VPN carrying the two-layer link message belongs to a L2 VPN, and the VPN carrying the three-layer IP message belongs to a L3 VPN.
The present invention will be described below with respect to a scheme for implementing explicit network congestion in an MPLS network, by taking, as an example, an encapsulation transmission process of an IP packet in an MPLS L2 VPN and an MPLS L3VPN network.
Example one
This embodiment takes the encapsulation transmission process of the IP packet in the MPLS L2 VPN network as an example.
In this embodiment, a service provider edge (PE, ProviderEdge) serving as a source end of an MPLS tunnel encapsulates a received IP packet with an MPLS packet, and then, after a P label switching of a service provider device in the tunnel, a PE at a far end of the tunnel decapsulates the MPLS packet that has undergone the label switching to obtain an original IP packet and sends the original IP packet to a receiving end. There may be a plurality of P devices as forwarding paths in tunnels in the service provider network system.
Fig. 2 shows the format of the MPLS L2 VPN packet after encapsulating the original IP packet. The MPLS label message header consists of 32 bits and is positioned between the user layer 2 header and the network layer 2 header. MPLS supports a layered structure of labels, i.e., multiple labels, which is implemented by aggregating labels into a label stack. In theory, the label stacks can be nested indefinitely, providing unlimited business support capabilities, typically 2 to 3 layers. Only one MPLS label header is shown in the above figures. In the prior art, if the label is an MPLS network, the MPLS label is a public network label if only one MPLS label is encapsulated; in the case of an MPLS L2 VPN network, there are two layers of labels, an outer public network label and an inner private network label.
The MPLS label packet header structure includes 4 fields: a Label value (Label), a test bit (EXP), a bottom of stack identification bit (S), and a TTL field.
The tag value (20 bits) is used to identify the forwarding behavior of a group of packets. Wherein the label value is 4-15 reserved label value.
The test bits (occupying 3 bits of the MPLS packet) are used to mark the priority of the MPLS packet, so that the network device can perform differentiated treatment according to the priority flag when forwarding the MPLS packet.
And a stack bottom identification bit S (1 bit therein) for identifying whether the label is the bottom label. The first label in the label stack is called the top label and the last label is called the bottom label. When the S value is 1, the label is the label at the bottom layer, and when the S value is 0, the label is not at the stack bottom and is also the MPLS label message header.
The survivability field (8 bits) is used to prevent loops during message transmission.
In the prior art, when congestion occurs in equipment in an MPLS network, a user cannot perceive the congestion in the MPLS network due to no ECN mechanism, so that packet loss occurs, which affects user services and reduces the utilization rate of bandwidth. Therefore, the embodiment of the invention forwards the MPLS message carrying the ECN label, wherein the ECN label is positioned at the bottom of the label stack, namely the S value of the label is 1; the label value is a value between 4 and 15; the EXP field is used for indicating whether the MPLS network is congested, EXP is set to 111 to indicate that the MPLS network is congested, which is called a network congestion flag, and EXP is set to 0 to indicate that the MPLS network is not congested, which is called a network non-congestion flag. In the MPLS L2 VPN network, the label stack is sequentially a top public network label, a private network label, and a bottom ECN label.
The process that the source end PE encapsulates the received IP message into an MPLS message and sends the MPLS message to the service provider equipment P comprises the following steps:
the source end PE receives an IP message containing an IP header, detects whether the source end PE is in a congestion state, and encapsulates the IP message to form an MPLS message added with an MPLS label message header;
the IP header comprises an ECN (0) or ECN (1) identifier, namely an identifier supporting the ECN, when the source end PE detects that the source end PE is in a non-congestion state, the EXP value in an ECN label at the bottom of the stack of the MPLS label message header is 0, and the S value is 1; when the source end PE detects that it is in a congestion state, the EXP value in the ECN label of the MPLS label header is 111, and the S value is 1. In the embodiment of the invention, the label value of the ECN label is preferably 6, and can be a certain value between 4 and 15.
The process that the P equipment sends the MPLS message to the far-end PE equipment comprises the following steps:
the P equipment forwards the MPLS message carrying the ECN label at the stack bottom to the far-end PE after carrying out public network label switching according to the congestion condition of the P equipment;
the specific method comprises the following steps: the P device receives the MPLS message, then performs label switching, detects whether the P device is in a congestion state and forwards the congestion state to the far-end PE;
when the P device detects that the P device is in a non-congestion state, forwarding an MPLS message carrying an ECN label at the stack bottom received from a source end PE to a far end PE after public network label switching; when the P device detects that the P device is in a congestion state, and an EXP value in an ECN label in an MPLS message received from the source end PE is 0, the EXP value is modified to 111, public network label switching is carried out, and the public network label switching is carried out and then the public network label switching is forwarded to the far end PE; or, when the P device detects that it is in a congestion state and the EXP value in the ECN label in the MPLS packet received from the source PE is 111, forwarding the MPLS packet carrying the ECN label at the stack bottom received from the source PE after performing public network label switching.
The process that the far-end PE equipment de-encapsulates the MPLS message and sends the MPLS message to the TCP receiving end forwarded by the user edge equipment comprises the following steps:
de-encapsulating the MPLS message according to the self congestion condition to form a de-encapsulated IP message carrying an ECN mark in an IP message header, and then sending the de-encapsulated IP message to a TCP receiving end; according to different network architectures, the MPLS message can be received from a P device or a source end PE;
the specific method comprises the following steps: the far-end PE receives the MPLS message, and de-encapsulates the MPLS message to remove an MPLS label message header to form a de-encapsulated IP message after detecting whether the far-end PE is in a congestion state;
when the far-end PE detects that the far-end PE is in a non-congestion state and the EXP value in the ECN label in the received MPLS message is 0, the IP message after being unpacked is forwarded; the IP message header of the IP message after decapsulation carries an ECN (0) or ECN (1) identifier;
when the far-end PE detects that the far-end PE is in a congestion state or detects that the far-end PE is in a non-congestion state, but the EXP value in the ECN label in the received MPLS message is 111, the ECN (0) or ECN (1) mark in the IP message header contained in the IP message after being unpacked is changed into a network congestion mark and then the network congestion mark is transmitted.
Finally, as in the prior art, after receiving the decapsulated IP message carrying the identifier subjected to network congestion, the TCP receiving end sets the ECE value to 1 in the message sent to the TCP sending end; the TCP sending end finds that the ECE value is 1, the CWR is set to 1 when the next message is sent, and the message sending rate to the TCP receiving end is reduced.
According to the above description, the source end PE supports the ECN through the encapsulated stack bottom label, and when the far end PE is decapsulated, the ECN identifier of the stack bottom label is mapped to the original IP packet header and forwarded to the receiving end, so that when any network device in the MPLS network is congested, the receiving end can notify the sending end of the congestion, and the sending end can reduce the sending rate before the network device starts to lose packets.
Example two
This embodiment takes the encapsulation transmission process of the IP packet in the MPLS L3VPN network as an example.
Fig. 3 shows the format of the MPLS L3VPN packet after encapsulating the original IP packet. Wherein, the MPLS label message header is positioned between the 3 layer IP header and the 2 layer network header. Only one MPLS label header is shown in the above figures. In the prior art, if the label is an MPLS network, the MPLS label is a public network label if only one MPLS label is encapsulated; in the case of an MPLS L3VPN network, there are two layers of labels, an outer public network label and an inner private network label. The MPLS label packet header structure includes 4 fields: a Label value (Label), a test bit (EXP), a bottom of stack identification bit (S), and a TTL field. Therefore, in the embodiment of the present invention, the MPLS packet carries the ECN label to be forwarded, the ECN label is located at the bottom of the label stack, and in the MPLS L3VPN network, the label stack sequentially includes the top public network label, the private network label, and the bottom ECN label.
As shown in fig. 4A, after receiving an IP packet forwarded by a user edge device, an ingress PE device encapsulates the IP packet into an MPLS packet and forwards the IP packet to a P device:
receiving a user message of the VPN from the user edge equipment on the PE, and sending the message to the far-end user edge equipment;
checking the content of the user message received from the user edge equipment on the input PE;
if the entering PE equipment determines that the message forwarded by the user edge equipment is an IP/TCP message, the ECT identifier in the IP header is 1, and the CE (congestion experienced) identifier is 0; or the entering PE equipment determines that the message forwarded by the user edge equipment is an IP/TCP message, ECT is equal to 0, and CE is equal to 1; the process of encapsulating the packet by the incoming PE device is as follows:
adding a label head with a label value of 6 to the last of the original MPLS label stack, and setting a stack bottom mark S to be 1;
if the incoming PE equipment is congested, setting EXP as 111; if the incoming PE device is not congested, setting EXP to be 0;
setting the stack bottom mark S of the last label value (the upper diagram is label B) of the original label stack to 0;
and the other devices send the message to the P device without modification.
In the embodiment of the invention, the label value of the ECN label is preferably 6, and can be a certain value between 4 and 15. As shown in the above diagram, the MPLS packet in this embodiment is a three-layer label stack, a public network label, and is used to indicate a Label Switched Path (LSP) from a PE to an opposite PE, and is switched in a service provider network internal device; the private network label is used for indicating the opposite end PE to send the message to which user edge equipment according to the label when the MPLS message reaches the opposite end PE; the ECN label is located at the bottom of the MPLS label stack so that the S value of label B is known to be 0. In the prior art, the MPLS message encapsulated by PE only has a public network label and a private network label, and the ECN label is added at the bottom of a label stack and is used for supporting the ECN function in the MPLS network.
As shown in fig. 4B, the process of forwarding the MPLS packet to the egress PE device by the P device:
under normal conditions, performing label switching operation on the P equipment, modifying the public network label into a public network label', and forwarding the public network label;
if the P equipment is not congested, the EXP of the ECN label is not modified and forwarded out;
if congestion occurs on the P device, the EXP of the ECN label is modified to 111 and then forwarded out.
As shown in fig. 4C, the process of the PE device decapsulating the MPLS packet and forwarding the decapsulated IP packet to the user device through the user edge device is shown:
receiving MPLS message from P device on PE, stripping label stack, changing message into user message and transmitting to user edge device;
if the PE finds that the stack bottom of the received MPLS message has an ECN label and EXP is equal to 111, the congestion in the MPLS network is considered to occur;
setting the ECT and CE (connectivity expert) identifiers of the IP header to be 1 in the user message, and forwarding the identifiers;
if the stack bottom has ECN labels and EXP is not equal to 111, only popping the label stack, and forwarding the user message without modification;
the forwarding process from the customer edge device to the customer is the same as the ECN process of IP/TCP.
Therefore, when any equipment in the MPLS network is congested, the congestion can be transferred to the user message, and the function of displaying the congestion notification end to end in the MPLS network is realized.
It should be noted that, in the art, a source PE and a far-end PE are defined based on a trend of traffic, and generally, a source PE device receives traffic from a user side and sends the traffic to a network side, which is also referred to as an ingress PE; the far-end PE device receives traffic from the network and sends the traffic to the user side, which is also called an outgoing PE. The embodiment of the invention is not only suitable for the MPLS network, but also suitable for the MPLS-VPN network.
It can be seen from the above that, in the embodiment, any original data packet has an IP header, and the present invention focuses more on the processing of the PE device and the P device when the network is congested:
PE equipment receives a message which is forwarded by user edge equipment and contains an IP header, wherein the IP header contains an identifier supporting Explicit Congestion Notification (ECN);
and if the PE equipment determines that the equipment is in a congestion state, the received message is packaged into a multi-protocol label switching (MPLS) message, and an ECN label with a network congestion identifier is arranged at the bottom of a label stack of the MPLS message.
The P equipment receives a multi-protocol label switching (MPLS) message forwarded by service provider edge equipment (PE);
and the P equipment determines that the equipment is in a congestion state, and the ECN label at the bottom of the MPLS message label stack sets a network non-congestion identifier, sets the ECN label at the bottom of the received MPLS message label stack with a network congestion identifier, and performs public network label switching processing.
Corresponding to the foregoing embodiment, the embodiment of the present invention further provides a PE device and a P device.
Fig. 5 shows a schematic structural diagram of the PE device, where the PE device executes functions of a source PE, and the functions include:
a first receiving unit 501, configured to receive a packet that is forwarded by a user edge device and includes an IP header, where the IP header includes an identifier that supports an explicit congestion notification ECN;
a first detecting unit 502, configured to detect whether the device is in a congestion state, and send a detection result to the encapsulation processing unit;
an encapsulating processing unit 503, configured to encapsulate, according to the congestion detection result, the packet including the IP header received by the first receiving unit into a multiprotocol label switching MPLS packet in which an ECN label is added to the bottom of the label stack, and send the packet to the forwarding unit;
a first forwarding unit 504, configured to forward the MPLS packet to a service provider device P or another PE.
In addition, the PE device may further perform the function of a far-end PE, that is, on the basis of the structure in fig. 5, a second receiving unit 51, a second detecting unit 52, a decapsulation processing unit 53, and a second forwarding unit 54 are added to decapsulate the received MPLS packet, as shown in fig. 6. Wherein,
a second receiving unit 51, configured to receive an MPLS packet;
the second detection unit 52 is configured to detect whether the mobile terminal is in a congestion state, and send a detection result to the decapsulation processing unit;
a decapsulation processing unit 53, configured to decapsulate the MPLS packet received by the second receiving unit according to the congestion detection result, and remove the label stack to form a decapsulated IP packet carrying the ECN label; the ECN marking comprises an experience network congestion identification CE (congestion experienced) or an identification of ECN support;
and a second forwarding unit 54, configured to forward the decapsulated IP packet to the user edge device.
Fig. 7 shows a schematic structural diagram of a P device, which includes:
a receiving unit 701, configured to receive a multi-protocol label switching MPLS packet with an explicit congestion notification ECN label added to the bottom of a label stack;
a detecting unit 702, configured to detect whether the mobile terminal is in a congestion state, and send a detection result to the processing unit;
the processing unit 703 is configured to perform ECN label processing and public network label switching processing on the MPLS packet according to the congestion detection result, and then send the MPLS packet to the forwarding unit;
a forwarding unit 704, configured to forward the processed MPLS packet to the PE.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for realizing explicit congestion notification is applied to service provider edge equipment (PE); the method is characterized by comprising the following steps:
PE equipment receives a message which is forwarded by user edge equipment and contains an IP header, wherein the IP header contains an identifier supporting Explicit Congestion Notification (ECN);
and if the PE equipment determines that the equipment is in a congestion state, the received message is packaged into a multi-protocol label switching (MPLS) message, and an ECN label with a network congestion identifier is arranged at the bottom of a label stack of the MPLS message.
2. The method of claim 1, wherein the label value in the ECN label is a reserved label value, the bottom of stack identification bit S has a value of 1, and the network congestion identification is a trial bit EXP value equal to 111.
3. The method of claim 2, further comprising the PE device determining that the device is in an uncongested state, encapsulating the received message into an MPLS message and setting an ECN label with a network uncongested identifier at the bottom of a label stack of the MPLS message; wherein the network non-congestion flag is EXP value equal to 0.
4. The method of claim 1, wherein the PE device is further configured to receive an MPLS packet, and the method further comprises the PE device decapsulating the MPLS packet and setting a network congestion experiencing flag at an IP header of the decapsulated packet, if it is determined that the PE device is in a congestion state after receiving the MPLS packet.
5. The method of claim 4, further comprising determining that the PE device is in a non-congestion state after receiving the MPLS message and an ECN label at the bottom of the MPLS message label stack is provided with a network non-congestion identifier, decapsulating the received MPLS message and forwarding the decapsulated message.
6. The method of claim 4, further comprising the PE device determining that the PE device is in the non-congested state after receiving the MPLS packet and the ECN label at the bottom of the MPLS packet label stack is set with the network congestion flag, decapsulating the MPLS packet and setting the network congestion flag experienced at the IP header of the decapsulated packet.
7. A method for realizing explicit congestion notification is applied to P equipment of a service provider; the method is characterized by comprising the following steps:
the P equipment receives a multi-protocol label switching (MPLS) message forwarded by service provider edge equipment (PE);
and the P equipment determines that the equipment is in a congestion state, and the ECN label at the bottom of the MPLS message label stack is provided with a network non-congestion identifier, sets the ECN label at the bottom of the received MPLS message label stack with a network congestion identifier, and performs public network label switching processing.
8. The method of claim 7, further comprising the step of the P device determining that the P device is in a non-congestion state, and forwarding the received MPLS packet after performing public network label switching.
9. The method of claim 7, further comprising the step that the P device determines that the P device is in a congestion state, and a network congestion identifier is set at the bottom of a label stack of the MPLS packet, and forwards the received MPLS packet after performing public network label switching.
10. A service provider edge device, PE, implementing explicit congestion notification, the device comprising:
a first receiving unit, configured to receive a packet that is forwarded by a user edge device and includes an IP header, where the IP header includes an identifier that supports an explicit congestion notification ECN;
the first detection unit is used for detecting whether the first detection unit is in a congestion state and sending a detection result to the encapsulation processing unit;
the encapsulation processing unit is used for encapsulating the message which contains the IP header and is received by the first receiving unit into a multi-protocol label switching (MPLS) message of which the bottom of a label stack is added with an ECN label according to the congestion detection result and sending the message to the forwarding unit;
and the first forwarding unit is used for forwarding the MPLS message to service provider equipment P or other PEs.
11. The PE of claim 9, wherein the apparatus further comprises:
a second receiving unit, configured to receive an MPLS packet;
the second detection unit is used for detecting whether the second detection unit is in a congestion state and sending a detection result to the decapsulation processing unit;
the decapsulation processing unit is used for decapsulating the MPLS message received by the second receiving unit according to the congestion detection result and removing the label stack to form an decapsulated IP message carrying the ECN label; the ECN mark comprises an identification of experiencing network congestion or an identification of supporting ECN;
and the second forwarding unit is used for forwarding the IP message after decapsulation to the user edge equipment.
12. A service provider device P implementing explicit congestion notification, the device comprising:
a receiving unit, configured to receive a multi-protocol label switching MPLS packet with an explicit congestion notification ECN label added to the bottom of a label stack;
the detection unit is used for detecting whether the mobile terminal is in a congestion state and sending a detection result to the processing unit;
the processing unit is used for processing an ECN label and switching a public network label of the MPLS message according to the congestion detection result and then sending the MPLS message to the forwarding unit;
and the forwarding unit is used for forwarding the processed MPLS message to the PE.
CN201210087402.0A 2012-03-29 2012-03-29 A kind of method and apparatus realizing Explicit Congestion and notice Active CN102594713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210087402.0A CN102594713B (en) 2012-03-29 2012-03-29 A kind of method and apparatus realizing Explicit Congestion and notice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210087402.0A CN102594713B (en) 2012-03-29 2012-03-29 A kind of method and apparatus realizing Explicit Congestion and notice

Publications (2)

Publication Number Publication Date
CN102594713A true CN102594713A (en) 2012-07-18
CN102594713B CN102594713B (en) 2015-09-09

Family

ID=46482929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210087402.0A Active CN102594713B (en) 2012-03-29 2012-03-29 A kind of method and apparatus realizing Explicit Congestion and notice

Country Status (1)

Country Link
CN (1) CN102594713B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014019528A1 (en) * 2012-08-01 2014-02-06 华为技术有限公司 Method, device and system for multipath tcp congestion control
CN103873377A (en) * 2012-12-17 2014-06-18 美国博通公司 Network Status Mapping
WO2014127542A1 (en) * 2013-02-25 2014-08-28 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for congestion signalling for mpls networks
CN108604997A (en) * 2016-02-05 2018-09-28 瑞典爱立信有限公司 Method and apparatus for the control plane configured to the monitoring of differentiated service encoded point (DSCP) and ecn (explicit congestion notification) (ECN)
CN109314669A (en) * 2016-09-20 2019-02-05 华为技术有限公司 A kind of method, apparatus and system of congestion control
CN111683017A (en) * 2020-05-26 2020-09-18 中国人民解放军国防科技大学 Multi-level congestion control method, device, system and medium in high-speed interconnection network
CN111865795A (en) * 2020-06-10 2020-10-30 新华三技术有限公司 Control method and device
CN112383450A (en) * 2020-11-30 2021-02-19 盛科网络(苏州)有限公司 Network congestion detection method and device
CN113709057A (en) * 2017-08-11 2021-11-26 华为技术有限公司 Network congestion notification method, proxy node, network node and computer equipment
CN114745331A (en) * 2022-03-23 2022-07-12 新华三技术有限公司合肥分公司 Congestion notification method and equipment
WO2024088353A1 (en) * 2022-10-26 2024-05-02 杭州阿里云飞天信息技术有限公司 Method for controlling rates of data streams, and intelligent network card, cloud device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822569A (en) * 2005-02-14 2006-08-23 三星电子株式会社 Apparatus and method for processing multiple protocol label switching packet
US20070076732A1 (en) * 2005-09-14 2007-04-05 Jin-Hyoung Kim Multi-protocol label switching (MPLS) network and method of applying a mobile Internet protocol (IP) to MPLS network
CN101411137A (en) * 2006-03-30 2009-04-15 英国电讯有限公司 Communications networks
CN101558616A (en) * 2006-12-18 2009-10-14 英国电讯有限公司 Method and system for congestion marking
WO2010135957A1 (en) * 2009-05-27 2010-12-02 中兴通讯股份有限公司 Virtual private network message forwarding method and routing label assignment and deletion method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822569A (en) * 2005-02-14 2006-08-23 三星电子株式会社 Apparatus and method for processing multiple protocol label switching packet
US20070076732A1 (en) * 2005-09-14 2007-04-05 Jin-Hyoung Kim Multi-protocol label switching (MPLS) network and method of applying a mobile Internet protocol (IP) to MPLS network
CN101411137A (en) * 2006-03-30 2009-04-15 英国电讯有限公司 Communications networks
CN101558616A (en) * 2006-12-18 2009-10-14 英国电讯有限公司 Method and system for congestion marking
WO2010135957A1 (en) * 2009-05-27 2010-12-02 中兴通讯股份有限公司 Virtual private network message forwarding method and routing label assignment and deletion method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
B.DAVIE,B.BRISCOE,J.TAY: "《Explicit Congestion Marking in MPLS》", 《IETF》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581035A (en) * 2012-08-01 2014-02-12 华为技术有限公司 Method, device and system for multi-path TCP congestion control
CN103581035B (en) * 2012-08-01 2016-12-21 华为技术有限公司 A kind of method of multipath TCP congestion control, Apparatus and system
WO2014019528A1 (en) * 2012-08-01 2014-02-06 华为技术有限公司 Method, device and system for multipath tcp congestion control
CN103873377A (en) * 2012-12-17 2014-06-18 美国博通公司 Network Status Mapping
CN103873377B (en) * 2012-12-17 2017-04-12 安华高科技通用Ip(新加坡)公司 Network Status Mapping
WO2014127542A1 (en) * 2013-02-25 2014-08-28 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for congestion signalling for mpls networks
CN108604997B (en) * 2016-02-05 2021-03-02 瑞典爱立信有限公司 Method and apparatus for a control plane to configure monitoring of Differentiated Services Coding Points (DSCPs) and Explicit Congestion Notifications (ECNs)
CN108604997A (en) * 2016-02-05 2018-09-28 瑞典爱立信有限公司 Method and apparatus for the control plane configured to the monitoring of differentiated service encoded point (DSCP) and ecn (explicit congestion notification) (ECN)
CN109314669A (en) * 2016-09-20 2019-02-05 华为技术有限公司 A kind of method, apparatus and system of congestion control
CN113709057A (en) * 2017-08-11 2021-11-26 华为技术有限公司 Network congestion notification method, proxy node, network node and computer equipment
CN111683017A (en) * 2020-05-26 2020-09-18 中国人民解放军国防科技大学 Multi-level congestion control method, device, system and medium in high-speed interconnection network
CN111683017B (en) * 2020-05-26 2023-04-07 中国人民解放军国防科技大学 Multi-level congestion control method, device, system and medium in high-speed interconnection network
CN111865795A (en) * 2020-06-10 2020-10-30 新华三技术有限公司 Control method and device
CN112383450A (en) * 2020-11-30 2021-02-19 盛科网络(苏州)有限公司 Network congestion detection method and device
WO2022111724A1 (en) * 2020-11-30 2022-06-02 苏州盛科通信股份有限公司 Network congestion detection method and apparatus
CN114745331A (en) * 2022-03-23 2022-07-12 新华三技术有限公司合肥分公司 Congestion notification method and equipment
CN114745331B (en) * 2022-03-23 2023-11-07 新华三技术有限公司合肥分公司 Congestion notification method and device
WO2024088353A1 (en) * 2022-10-26 2024-05-02 杭州阿里云飞天信息技术有限公司 Method for controlling rates of data streams, and intelligent network card, cloud device and storage medium

Also Published As

Publication number Publication date
CN102594713B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN102594713B (en) A kind of method and apparatus realizing Explicit Congestion and notice
US10432514B2 (en) Multiprotocol label switching traffic engineering tunnel establishing method and device
US10554542B2 (en) Label distribution method and device
EP3958521A1 (en) Method and apparatus for providing service for service flow
CN112368980B (en) Method for adding one or more network services to an MPLS network
CN102624723B (en) Method and device for achieving explicit congestion notification
US20210203599A1 (en) Mpls extension headers in mixed networks
AU2011244044A1 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a Packet Switched Network
EP2561649A1 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network
CN111213345B (en) Apparatus, method and system for transmitting or receiving a message containing control information
US11336475B2 (en) Multicast packet transmission method, apparatus, and system
WO2016206432A1 (en) Time-division multiplexed data transmission method and device, and network-side edge device
US9515923B2 (en) Method and device for processing interconnected ring in multi-protocol label switching
EP2600569A1 (en) Method, apparatus and system for processing a tunnel packet
CN102882797B (en) Batch deletes the method and PE of VPNv4 or VPNv6 routes
CN102104529B (en) Method and equipment for realizing message transmission in provider bridge transfer (PBT) network
KR20130109144A (en) Pseudo-wire providing an in-band control channel using an offset
CN115065734A (en) Data processing method, device and chip
CN116805930A (en) BGP route sending method and device, storage medium and electronic device
CN101924735A (en) Compression method, device and system of pseudo wire header

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230620

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right