Message control method and device based on ECN (Explicit Congestion Notification) mechanism

A technology of congestion notification and control method, which is applied in the field of packet control based on a clear congestion notification mechanism, and can solve problems such as not supporting ECN mechanism.

Active Publication Date: 2011-06-22
XINHUASAN INFORMATION TECH CO LTD
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the ECN mechanism is not supported between Host C and Host D at this time, the message sending window will not be reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message control method and device based on ECN (Explicit Congestion Notification) mechanism
  • Message control method and device based on ECN (Explicit Congestion Notification) mechanism
  • Message control method and device based on ECN (Explicit Congestion Notification) mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Embodiment 1 of the present invention provides a message control method based on the ECN mechanism, which is applied to figure 2 In the network scenario shown, Host A establishes a TCP connection with Host B, and the ECN negotiation result indicates that the ECN mechanism is supported, and Host C establishes a TCP connection with Host B, and the ECN negotiation result indicates that the ECN mechanism is not supported. The outbound interface of network device M is P.

[0059] Such as image 3 As shown, the message control method based on the ECN mechanism provided by the embodiment of the present invention includes the following steps:

[0060] In step 301, the network device M detects that the outbound interface P satisfies the congestion condition.

[0061] Step 302, the network device M detects that the IP layer in the TCP message forwarded by the Host A from the outgoing interface P has the flag ECN (0) or ECN (1), and then the mark of the message segment is chang...

Embodiment 2

[0072] Embodiment 2 of the present invention provides a message control method based on the ECN mechanism, which is applied to Figure 4 The network scenario shown, such as Figure 4 As shown, the method includes:

[0073] In step 401, the network device M detects that the outbound interface P meets the congestion condition.

[0074] Step 402, the network device M detects that the IP layer congestion flag in the TCP message forwarded by Host A from the outgoing interface P is ECN (0) or ECN (1), and executes step 403; The IP layer congestion flag in the TCP message is 00, and step 404 is executed.

[0075] In step 403, the network device M modifies the congestion identifier of the packet sent by Host A from ECN(0) or ECN(1) to CE identifier, and sends the packet to the receiving end.

[0076] Step 404, the network device M discards the packet sent by the Host C according to a preset policy.

[0077] Specifically, the network device M may randomly discard the packet. Alter...

Embodiment 3

[0083] Embodiment 3 of the present invention provides a network device, which is applied to a system including a sending end, a receiving end, and a network device connecting the sending end and the receiving end. In the text, the two or more senders include at least one sender that supports the ECN mechanism and one sender that does not support the ECN mechanism, such as Figure 5 As shown, the network equipment includes:

[0084] The first sending unit 11 is configured to, when the outgoing interface satisfies the network congestion condition, forward the messages sent by the sending end supporting the ECN mechanism and the sending end not supporting the ECN mechanism from the outgoing interface, wherein the sending end supporting the ECN mechanism sends a message The congestion identifier in the message is changed to CE identifier;

[0085] The storage unit 12 is used to store the TCP connection information of the message sent by the sender supporting the ECN mechanism;

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a message control method and device based on an ECN (Explicit Congestion Notification) mechanism. The method comprises the following steps of: sending messages received from more than two sending terminals by a network device through an identical outlet interface, and forwarding the messages sent by the sending terminals in which the ECN mechanism is (not) supported from the outlet interface when the outlet interface meets a network congestion condition, wherein congestion identifications in the messages sent by the sending terminals in which the ECN mechanism is supported are changed into CE (Certificate) identifications; and saving TCP (Transmission Control Protocol) link information of the messages sent by the sending terminals in which the ECN mechanism is supported by the network device, recognizing an ACK (Acknowledgement) message sent to the sending terminals in which the ECN mechanism is not supported according to the TCP link information, and copying and sending the ACK message. In the method, the repeated ACK message is sent to the sending terminals in which the ECN mechanism is not supported by the network device when a network meets the congestion condition to trigger the sending terminals in which the ECN mechanism is not supported to enter a quick recovery process, thereby the network congestion of the interface is effectively avoided.

Description

technical field [0001] The invention relates to the communication field, in particular to a message control method and equipment based on an explicit congestion notification mechanism. Background technique [0002] The existing TCP (Transmission Control Protocol, transmission control protocol) technology provides an ECN (Explicit Congestion Notification, explicit congestion notification) mechanism to implement packet loss avoidance. [0003] The ECN mechanism carries the congestion mark through the ToS (Type of Service) field of the IP packet header. The congestion mark is specifically the value of the last two bits of the ToS field: [0004] 00: Indicates that ECN is not supported; [0005] 10: Indicates support for ECN, called ECN(0); [0006] 01: Indicates support for ECN, called ECN(1); [0007] 11: Indicates that congestion has occurred, called CE. [0008] The ECN mechanism specifically includes the following processes: [0009] The sending end and the receiving e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L1/16H04L12/801
Inventor 顾雷雷周迪
Owner XINHUASAN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products