CN102025617B - Method and device for controlling congestion of Ethernet - Google Patents
Method and device for controlling congestion of Ethernet Download PDFInfo
- Publication number
- CN102025617B CN102025617B CN201010560688.0A CN201010560688A CN102025617B CN 102025617 B CN102025617 B CN 102025617B CN 201010560688 A CN201010560688 A CN 201010560688A CN 102025617 B CN102025617 B CN 102025617B
- Authority
- CN
- China
- Prior art keywords
- message
- cnm
- pfc
- congestion
- priority
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000001514 detection method Methods 0.000 claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims abstract description 20
- 238000005538 encapsulation Methods 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 abstract description 37
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 8
- 238000009792 diffusion process Methods 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 4
- 239000003999 initiator Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种以太网拥塞控制方法及装置。该方法包括:关闭具有拥塞检测功能的核心网设备入端口通过阈值触发基于优先级的流控PFC机制;检测入端口转发的报文是否为拥塞通知消息CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息;通过入端口转发CNM,并通知对端设备根据PFC消息暂停相应队列的数据传送。借助于本发明的技术方案,能够从根本上快速有效地解决拥塞问题。
The invention discloses an Ethernet congestion control method and device. The method comprises: closing the entry port of the core network device with a congestion detection function and triggering a priority-based flow control PFC mechanism through a threshold; detecting whether the packet forwarded by the entry port is a congestion notification message CNM, and if the packet is determined to be a CNM , generate a PFC message according to the CNM; forward the CNM through the ingress port, and notify the peer device to suspend the data transmission of the corresponding queue according to the PFC message. By means of the technical scheme of the invention, the congestion problem can be fundamentally solved quickly and effectively.
Description
技术领域 technical field
本发明涉及移动通讯领域,特别是涉及一种以太网拥塞控制方法及装置。The invention relates to the field of mobile communication, in particular to an Ethernet congestion control method and device.
背景技术 Background technique
在相关技术中,数据中心是企业应用业务服务的提供中心,是数据运算、交换、存储的中心。数据中心结合了先进的网络技术和存储技术,承载了网络中80%以上的服务请求和数据存储量,为客户业务体系的健康运转提供服务和运行平台。图1是现有技术中数据中心网络构架的示意图,如图1所示,在企业数据中心内,部署有三种截然不同的网络:通常会部署一个支持IP流量的以太网,一或两个支持光纤通道存储流量的存储域网络,一个支持高性能集群计算的InfiniBand网络。部署和管理这三类截然不同的网络会给企业带来高昂的投资和运营成本,因此企业迫切希望在一个统一的阵列上实现整合。In related technologies, a data center is a center for providing enterprise application business services, and a center for data calculation, exchange, and storage. The data center combines advanced network technology and storage technology, carries more than 80% of the service requests and data storage capacity in the network, and provides services and operation platforms for the healthy operation of customers' business systems. Figure 1 is a schematic diagram of the data center network architecture in the prior art. As shown in Figure 1, in the enterprise data center, there are three distinct types of networks deployed: usually an Ethernet supporting IP traffic is deployed, and one or two networks supporting A storage area network for Fiber Channel storage traffic, an InfiniBand network supporting high-performance cluster computing. Deploying and managing these three distinct types of networks can bring high investment and operating costs to enterprises, so enterprises are eager to achieve consolidation on a unified array.
以太网因其成本低廉、技术成熟、扩展性好等优点,在众多融合技术中脱颖而出。这种以太网将数据中心的局域网、存储局域网和高性能计算应用程序融合为一个单一的以太网互联结构。这种以太网目前的速度为10Gbps,最终将提高到40G到100Gbps。Ethernet stands out among many converged technologies because of its low cost, mature technology, and good scalability. This Ethernet converges data center LAN, storage area network, and high-performance computing applications into a single Ethernet interconnect. This Ethernet currently operates at 10Gbps and will eventually increase to 40G to 100Gbps.
目前,以太网本身并未因提供存储和高性能计算流量服务而进行过优化,因此,在出现拥塞时有可能出现丢包现象,为解决这个问题,已经制订了多项用于保障无损以太的技术,包括用于拥塞控制的量化拥塞通知协议(QuantizedCongestion Notification protocol,简称为QCN)以及基于优先级的流控(Priority-based Flow Control,简称为PFC)。图2是现有技术中QCN工作原理的示意图,如图2所示,QCN是一种量化拥塞控制技术,相对于其他拥塞管理技术采用了相对精准的后向拥塞通知机制,在核心网络设备基于出端口队列设置拥塞检测点,检测到拥塞发生则组建包含拥塞程度的拥塞通知消息(Congestion Notification Message,简称为CNM),并将CNM反压至导致拥塞的源终端,令其依据CNM指示降低相应队列的数据传送速率,QCN能够相对精准的找到拥塞源,从根本解决拥塞问题,但是其响应速度较慢,无法应对浪涌;图3是现有技术中PFC工作原理的示意图,如图3所示,PFC是对802.3ad的暂停(Pause)机制上的增强,将流量按802.1Q协议中VLAN tag的优先级字段分为8个优先级,对每个优先级的流量分别实现独立的Pause机制,PFC的响应速度较快,能够快速缓解网络拥塞问题,对于网络浪涌或者短时拥塞具有明显效果,但是,PFC因其协议特点,只能小范围内使用,并且它并未根本的解决网络拥塞问题,对于长时间拥塞还是会出现丢包现象。两个协议联合使用则可通过PFC暂时缓解网络拥塞,QCN则利用PFC为其缓解的时间,从根本解决拥塞问题。At present, Ethernet itself is not optimized for providing storage and high-performance computing traffic services. Therefore, packet loss may occur when congestion occurs. To solve this problem, several protocols for ensuring lossless Ethernet have been formulated. Technologies, including Quantized Congestion Notification protocol (Quantized Congestion Notification protocol, referred to as QCN) for congestion control and priority-based flow control (Priority-based Flow Control, referred to as PFC). Figure 2 is a schematic diagram of the working principle of QCN in the prior art. As shown in Figure 2, QCN is a quantitative congestion control technology. Compared with other congestion management technologies, it adopts a relatively accurate backward congestion notification mechanism. The outbound port queue sets congestion detection points, and when congestion is detected, a Congestion Notification Message (CNM for short) is formed containing the degree of congestion, and the CNM is back-pressed to the source terminal that causes congestion, so that it reduces the corresponding The data transmission rate of the queue, QCN can find the source of congestion relatively accurately, and solve the congestion problem fundamentally, but its response speed is slow and cannot cope with the surge; Figure 3 is a schematic diagram of the working principle of PFC in the prior art, as shown in Figure 3 As shown, PFC is an enhancement to the Pause mechanism of 802.3ad. It divides the traffic into 8 priority levels according to the priority field of the VLAN tag in the 802.1Q protocol, and implements an independent Pause mechanism for each priority traffic. , PFC has a fast response speed, can quickly alleviate network congestion, and has obvious effects on network surge or short-term congestion. However, due to the characteristics of the protocol, PFC can only be used in a small range, and it does not fundamentally solve the network Congestion problem, for long-term congestion, there will still be packet loss. The joint use of the two protocols can temporarily relieve network congestion through PFC, and QCN uses PFC to alleviate the time for it to fundamentally solve the congestion problem.
通过对上述两个标准的综合应用,可以有效解决网络的拥塞问题,减少丢包。然而,在实际应用中,当这两种机制共同使用时,对于这两种机制触发阈值的设置很难掌握,很容易导致协议失效的问题,甚至会导致网络丢包。图4是现有技术中PFC与QCN共同应用的示意图,如图4所示,核心网设备E支持QCN和PFC,当PFC触发的阈值设置较低,那么PFC就会提前作用,将PFC机制触发到A、B、C、D、F,进而导致QCN协议的失效,当遭遇长时间拥塞时,PFC机制则会造成拥塞扩散甚至丢包。Through the comprehensive application of the above two standards, the network congestion problem can be effectively solved and packet loss can be reduced. However, in practical applications, when these two mechanisms are used together, it is difficult to set the trigger thresholds of these two mechanisms, which can easily lead to protocol failure and even network packet loss. Figure 4 is a schematic diagram of the joint application of PFC and QCN in the prior art. As shown in Figure 4, the core network equipment E supports QCN and PFC. When the trigger threshold of PFC is set low, then PFC will act in advance and trigger the PFC mechanism. to A, B, C, D, and F, which will lead to the failure of the QCN protocol. When encountering long-term congestion, the PFC mechanism will cause congestion to spread or even packet loss.
在现有技术中,有一种解决方案是将PFC触发的阈值设置的高一些,QCN的阈值设置的相对低一些,尽量保证QCN先于PFC作用,这种方案也有一个问题:QCN机制检测的队列,是汇聚多个入端口的流量,如图4中核心网设备E的一个QCN作用的出端口对应3个入端口,通常情况下出端口的缓存是大于入端口缓存的,假设出端口的缓存为500K,每个入端口缓存为100K,QCN作用于出端口,设置其触发门限为缓存的20%,即100k,PFC作用于入端口,设置其触发门限为缓存的80%,即80K,只有当三个入端口某一优先级队列缓存总和大于100K且每个入端口缓存小于80K(例如,均达到34K)时,QCN先于PFC作用,若某一入端口缓存某一时刻大于80k,其他两个入端口总和小于20K,那么大于80K的入端口首先触发PFC,导致QCN协议失效,若为长时间拥塞则会导致拥塞扩散和丢包。可见,通过阈值配置不能够很好地解决先触发PFC后QCN协议失效而导致的拥塞扩散和丢包的问题。In the prior art, there is a solution to set the trigger threshold of PFC higher, and the threshold of QCN is set relatively lower, and try to ensure that QCN acts before PFC. This solution also has a problem: the queue detected by the QCN mechanism , is to aggregate the traffic of multiple ingress ports. As shown in Figure 4, one QCN of the core network device E has an egress port corresponding to 3 ingress ports. Usually, the cache of the egress port is larger than the cache of the ingress port. Assume that the cache of the egress port 500K, each inbound port cache is 100K, QCN acts on the outbound port, set its trigger threshold to 20% of the cache, that is, 100k, PFC acts on the ingress port, set its trigger threshold to 80% of the cache, that is, 80K, only When the sum of a certain priority queue buffer of three ingress ports is greater than 100K and each ingress port buffer is less than 80K (for example, all reach 34K), QCN takes effect before PFC. If the sum of the two ingress ports is less than 20K, then the ingress port greater than 80K will trigger PFC first, causing the QCN protocol to fail. If it is congested for a long time, it will cause congestion diffusion and packet loss. It can be seen that the problem of congestion diffusion and packet loss caused by triggering PFC first and then QCN protocol failure can not be well solved through threshold configuration.
发明内容 Contents of the invention
本发明提供一种以太网拥塞控制方法及装置,以解决现有技术通过阈值配置不能够解决先触发PFC后QCN协议失效而导致的拥塞扩散和丢包的问题。The present invention provides an Ethernet congestion control method and device to solve the problem of congestion diffusion and packet loss caused by triggering PFC first and then QCN protocol failure after threshold configuration in the prior art cannot be solved.
本发明提供一种以太网拥塞控制方法,包括:The present invention provides an Ethernet congestion control method, comprising:
关闭具有拥塞检测功能的核心网设备入端口通过阈值触发基于优先级的流控PFC机制;Turn off the ingress port of the core network equipment with the congestion detection function and trigger the priority-based flow control PFC mechanism through the threshold;
检测入端口转发的报文是否为拥塞通知消息CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息;Detect whether the packet forwarded by the incoming port is a congestion notification message CNM, and generate a PFC message according to the CNM if the packet is determined to be a CNM;
通过入端口转发CNM,并通知对端设备根据PFC消息暂停相应队列的数据传送。Forward the CNM through the ingress port, and notify the peer device to suspend the data transmission of the corresponding queue according to the PFC message.
优选地,在与终端连接的边缘设备确定终端不支持量化拥塞通知协议QCN的情况下,还包括:边缘设备以预定方式检测自身的入端口所转发的报文是否为CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息,并通知终端根据PFC消息暂停相应队列的数据传送。Preferably, when the edge device connected to the terminal determines that the terminal does not support the Quantized Congestion Notification Protocol QCN, it also includes: the edge device detects in a predetermined manner whether the message forwarded by its own ingress port is CNM, and when it is determined that the message is In the case of CNM, a PFC message is generated according to the CNM, and the terminal is notified to suspend data transmission of the corresponding queue according to the PFC message.
本发明还提供了一种以太网拥塞控制装置,包括:The present invention also provides an Ethernet congestion control device, comprising:
关闭模块,用于关闭具有拥塞检测功能的核心网设备入端口通过阈值触发基于优先级的流控PFC机制;The closing module is used to close the ingress port of the core network equipment with the congestion detection function and trigger the priority-based flow control PFC mechanism through the threshold;
第一检测生成模块,用于检测入端口转发的报文是否为拥塞通知消息CNM,并在确定报文为CNM的情况下,根据CNM生成PFC消息;The first detection generation module is used to detect whether the packet forwarded by the incoming port is a congestion notification message CNM, and when it is determined that the packet is a CNM, generates a PFC message according to the CNM;
发送模块,用于通过入端口转发CNM,并通知对端设备根据PFC消息暂停相应队列的数据传送。The sending module is configured to forward the CNM through the ingress port, and notify the peer device to suspend the data transmission of the corresponding queue according to the PFC message.
优选地,以太网拥塞控制装置还包括:第二检测生成模块,用于在确定与自身连接的终端不支持量化拥塞通知协议QCN的情况下,以预定方式检测自身的入端口所转发的报文是否为CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息,并通知终端根据PFC消息暂停相应队列的数据传送。Preferably, the Ethernet congestion control device further includes: a second detection generation module, configured to detect the message forwarded by its own ingress port in a predetermined manner when it is determined that the terminal connected to itself does not support the quantized congestion notification protocol QCN Whether it is CNM, if it is determined that the message is CNM, generate a PFC message according to the CNM, and notify the terminal to suspend the data transmission of the corresponding queue according to the PFC message.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
通过CNM消息触发相应优先级的PFC,解决了现有技术中通过阈值配置不能够解决先触发PFC后QCN协议失效而导致的拥塞扩散和丢包的问题,在每次QCN机制产生CNM消息时,都会通过反压回去的端口触发端口相应优先级的PFC,PFC可以快速的响应和缓解网络拥塞,QCN则通过CNM消息指示终端进行相应流速率的调整,从根本上快速有效地解决拥塞问题。The PFC with corresponding priority is triggered by the CNM message, which solves the problem that the threshold configuration in the prior art cannot solve the problem of congestion diffusion and packet loss caused by the failure of the QCN protocol after triggering the PFC first. When the QCN mechanism generates a CNM message each time, The PFC with the corresponding priority of the port will be triggered through the back pressure port. PFC can quickly respond and alleviate network congestion. QCN instructs the terminal to adjust the corresponding flow rate through the CNM message, fundamentally solving the congestion problem quickly and effectively.
附图说明 Description of drawings
图1是现有技术中数据中心网络构架的示意图;FIG. 1 is a schematic diagram of a data center network architecture in the prior art;
图2是现有技术中QCN工作原理的示意图;Fig. 2 is a schematic diagram of the working principle of QCN in the prior art;
图3是现有技术中PFC工作原理的示意图;Fig. 3 is a schematic diagram of the working principle of PFC in the prior art;
图4是现有技术中PFC与QCN共同应用的示意图;Fig. 4 is a schematic diagram of the joint application of PFC and QCN in the prior art;
图5是本发明实施例的以太网拥塞控制方法的流程图;Fig. 5 is the flowchart of the Ethernet congestion control method of the embodiment of the present invention;
图6是本发明实施例的以太网拥塞控制方法的详细处理流程图;Fig. 6 is the detailed processing flowchart of the Ethernet congestion control method of the embodiment of the present invention;
图7为本发明实施例的网络构架示意图;FIG. 7 is a schematic diagram of a network architecture according to an embodiment of the present invention;
图8是本发明实施例的以太网拥塞控制装置的结构示意图。Fig. 8 is a schematic structural diagram of an Ethernet congestion control device according to an embodiment of the present invention.
具体实施方式 Detailed ways
为了解决现有技术通过阈值配置不能够解决先触发PFC后QCN协议失效而导致的拥塞扩散和丢包的问题,本发明提供了一种以太网拥塞控制方法及装置,能够有效的解决网络中两种协议同时使用产生的协议失效、进而造成丢包的问题。以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。In order to solve the problem of congestion spread and packet loss caused by triggering PFC first and then QCN protocol failure in the prior art through threshold configuration, the present invention provides an Ethernet congestion control method and device, which can effectively solve the two problems in the network. If two protocols are used at the same time, the protocol will fail, which will cause packet loss. The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
方法实施例method embodiment
根据本发明的实施例,提供了一种以太网拥塞控制方法,图5是本发明实施例的以太网拥塞控制方法的流程图,如图5所示,根据本发明实施例的以太网拥塞控制方法包括如下处理:According to an embodiment of the present invention, a method for controlling Ethernet congestion is provided. FIG. 5 is a flow chart of the method for controlling congestion in Ethernet according to an embodiment of the present invention. As shown in FIG. 5 , the congestion control method for Ethernet according to an embodiment of the present invention The method includes the following processing:
步骤501,关闭具有拥塞检测功能的核心网设备入端口通过阈值触发基于优先级的流控PFC机制,即关闭PFC initiator功能。其中,具有拥塞检测功能的核心网设备在入端口具有通过CNM消息触发PFC的功能。Step 501, close the ingress port of the core network equipment with the congestion detection function and trigger the priority-based flow control PFC mechanism through the threshold, that is, close the PFC initiator function. Wherein, the core network equipment with the congestion detection function has the function of triggering the PFC through the CNM message at the ingress port.
步骤502,检测入端口转发的报文是否为拥塞通知消息CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息;Step 502, detecting whether the packet forwarded by the incoming port is a congestion notification message CNM, and if the packet is determined to be a CNM, generating a PFC message according to the CNM;
以下对步骤502中涉及的CNM和PFC消息中所包含的重点字段及其含义进行详细说明。The key fields contained in the CNM and PFC messages involved in step 502 and their meanings will be described in detail below.
CNM中所包含的重点字段及其含义:Key fields contained in CNM and their meanings:
1、CN-TAG:对于携带CN-TAG的帧直接提取其CN-TAG,对于不携带CN-TAG的数据帧,该字段以0填充。1. CN-TAG: For the frame carrying CN-TAG, directly extract its CN-TAG. For the data frame not carrying CN-TAG, this field is filled with 0.
2、CNM PDU:2. CNM PDU:
Version:全0,接收端忽略,不作处理;Version: all 0, the receiver ignores it and does not process it;
Reserved:全0,收端忽略,不做处理;Reserved: all 0, ignored by the receiving end, and not processed;
Quantized feedback:拥塞检测点(CP)计算出的Fb值,用于指示终端RP进行速率调整;Quantized feedback: The Fb value calculated by the congestion detection point (CP) is used to instruct the terminal RP to adjust the rate;
CPID:在CDN中唯一识别一个CP的标识;CPID: uniquely identifies a CP in CDN;
Qoffset(signed integer):以64octets为单位指示CP的cpQoffset值。Qoffset(signed integer): Indicates the cpQoffset value of the CP in units of 64octets.
QDelta(signed integer):以64octets为单位指示CP的cpQDelta值。QDelta(signed integer): Indicates the cpQDelta value of the CP in units of 64octets.
Encapsulated priority:触发CNM消息的数据帧优先级值。Encapsulated priority: The priority value of the data frame that triggers the CNM message.
Encapsulated D-mac:触发CNM消息的数据帧的目的MAC地址;Encapsulated D-mac: The destination MAC address of the data frame that triggers the CNM message;
Encapsulated MSDU length:指示encapsulated MSDU字段的长度;Encapsulated MSDU length: Indicates the length of the encapsulated MSDU field;
encapsulated MSDU:最大64个八比特组,包含触发CNM消息的数据帧数据单元mac_service_data_unit前部分内容。encapsulated MSDU: a maximum of 64 octets, including the first part of the data frame data unit mac_service_data_unit that triggers the CNM message.
PFC消息所包含的重点字段及其含义:The key fields contained in the PFC message and their meanings:
1、Destination Address:目地地址,可以为01-80-C2-00-00-01;1. Destination Address: the destination address, which can be 01-80-C2-00-00-01;
2、Source Address:源地址,可以为发送端地址,Ethertype为88-08;2. Source Address: the source address, which can be the address of the sender, and the Ethertype is 88-08;
3、control opcode为01-01表示PFC帧;3. The control opcode is 01-01 to indicate the PFC frame;
4、Priority_enable_vector字段的低8位比特分别对应每个优先级,用来指示后面各优先级的time字段是否有效;4. The lower 8 bits of the Priority_enable_vector field correspond to each priority respectively, and are used to indicate whether the time field of each subsequent priority is valid;
5、time[n]字段表示各优先级流量需停止发送的时长。5. The time[n] field indicates the length of time for each priority traffic to stop sending.
具体地,步骤502需要进行如下处理:Specifically, step 502 needs to perform the following processing:
步骤1、对入端口转发的报文的源媒体访问控制MAC地址进行检测,判断报文的源MAC地址是否为自身设备的MAC地址;Step 1, detect the source media access control MAC address of the message forwarded by the ingress port, and judge whether the source MAC address of the message is the MAC address of the self-equipment;
步骤2、如果判断为是,则判断报文的协议数据单元类型是否标识报文为CNM;Step 2, if the judgment is yes, then judge whether the protocol data unit type of the message identifies the message as CNM;
步骤3、如果判断为是,则确定报文是CNM。Step 3. If the judgment is yes, it is determined that the message is CNM.
也就是说,在步骤1-步骤3中,端口转发数据报文时,对报文的源地址进行监视,在实际应用中,可以根据CNM中所包含的“SA=CP桥地址”字段判断报文的源MAC地址是否为自身的MAC地址,即,判断该报文是否由自身发出;对于源地址为自身MAC地址的报文,根据CNM中所包含的“PDU TYPE”字段中是否为0X22e7(0X22e7为CNM标识),来判断是否为CNM,如果判断为是,则启动通过CNM触发PFC的机制。That is to say, in step 1-step 3, when the port forwards the data message, the source address of the message is monitored. Whether the source MAC address of the message is its own MAC address, that is, to determine whether the message is sent by itself; for the message whose source address is its own MAC address, according to whether the "PDU TYPE" field contained in the CNM is 0X22e7( 0X22e7 is the CNM mark), to judge whether it is CNM, if it is judged to be yes, then start the mechanism of triggering PFC by CNM.
步骤4、在确定报文为CNM的情况下,根据CNM中携带的封装优先级,确定PFC消息中暂定指示所对应的优先级;Step 4, in the case of determining that the message is CNM, according to the encapsulation priority carried in the CNM, determine the priority corresponding to the tentative indication in the PFC message;
步骤5、根据CNM中携带的用于指示拥塞程度的字段,确定PFC消息中暂停指示的时间长度。Step 5. Determine the time length of the suspension indication in the PFC message according to the field used to indicate the degree of congestion carried in the CNM.
也就是说,在步骤4-步骤5中,需要对CNM消息进行解析,根据其携带的封装优先级,触发PFC相应优先级PAUSE指示的产生,并根据CNM PDU中携带的用于指示拥塞程度的字段,指示pause的时间长度。具体地,根据CNM中“Encapsulated priority”字段,确定PFC机制作用的优先级队列,并对PFC消息中的“priority_enable_vector”字段进行设置;根据CNM中“QntzFb”字段,确定相应优先级pause的时长,并对PFC消息中“time(n)”字段进行设置。That is to say, in step 4-step 5, it is necessary to analyze the CNM message, trigger the generation of the corresponding priority PAUSE indication of PFC according to the encapsulation priority carried by it, and according to the information used to indicate the degree of congestion carried in the CNM PDU Field indicating the duration of the pause. Specifically, according to the "Encapsulated priority" field in the CNM, determine the priority queue of the PFC mechanism, and set the "priority_enable_vector" field in the PFC message; according to the "QntzFb" field in the CNM, determine the duration of the corresponding priority pause, And set the "time(n)" field in the PFC message.
步骤503,通过入端口转发CNM,并通知对端设备根据PFC消息暂停相应队列的数据传送。也就是说,在步骤503中,CNM消息在端口进行正常转发,本发明实施例的技术方案不对QCN机制产生影响。Step 503, forward the CNM through the ingress port, and notify the peer device to suspend the data transmission of the corresponding queue according to the PFC message. That is to say, in step 503, the CNM message is normally forwarded on the port, and the technical solution of the embodiment of the present invention does not affect the QCN mechanism.
以下结合附图,对本发明实施例技术方案的处理流程进行详细说明,图6是本发明实施例的以太网拥塞控制方法的详细处理流程图,如图6所示,包括如下处理:The processing flow of the technical solution of the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings. FIG. 6 is a detailed processing flow chart of the Ethernet congestion control method of the embodiment of the present invention. As shown in FIG. 6 , it includes the following processing:
步骤601,在启动QCN机制的核心网络设备入端口,关闭其端口的PFCinitiator功能,启动通过CNM触发PFC机制的功能。其中,PFC initiator功能为通过对入端口缓存阈值的判断触发PFC的机制;Step 601 , at the ingress port of the core network device that starts the QCN mechanism, close the PFCinitiator function of the port, and start the function of triggering the PFC mechanism through the CNM. Among them, the PFC initiator function is a mechanism to trigger PFC by judging the buffer threshold of the ingress port;
步骤602,启动该功能的端口对其转发报文的源MAC进行监视;Step 602, the port that starts this function monitors the source MAC of its forwarded message;
步骤603,判断报文源地址是否为自身MAC地址,若是,则执行步骤604,否则转至步骤607;Step 603, judging whether the message source address is its own MAC address, if so, then execute step 604, otherwise go to step 607;
步骤604,对报文报文PDU type进行判断,若为0x22e7则证明该报文为CNM,执行步骤605,否则转至步骤607;Step 604, judge the message message PDU type, if it is 0x22e7, then prove that the message is CNM, execute step 605, otherwise go to step 607;
步骤605,启动通过QCN的CNM消息触发PFC的机制,并依据CNM消息封装信息组建PFC消息。该处理不应影响CNM消息在端口的正常转发;Step 605, start the mechanism of triggering the PFC through the CNM message of the QCN, and construct the PFC message according to the encapsulation information of the CNM message. This processing should not affect the normal forwarding of CNM messages on ports;
步骤606,使用步骤605产生的PFC消息pause相应队列;Step 606, using the corresponding queue of the PFC message pause generated in step 605;
步骤607,数据报文不是CNM消息,按照正常转发流程处理。Step 607, the data message is not a CNM message, and it is processed according to the normal forwarding process.
在实际应用中,在与终端连接的边缘设备确定终端不支持量化拥塞通知协议QCN的情况下,可以在QCN网络边缘触发PFC机制,包括如下处理:边缘设备以预定方式检测自身的入端口所转发的报文是否为CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息,并通知终端根据PFC消息暂停相应队列的数据传送。其中,上述预定方式为:边缘设备判断报文的协议数据单元类型是否标识报文为CNM,如果判断为是,则确定报文是CNM。也就是说,边缘设备不必判断CNM是否为自身发出的。In practical applications, when the edge device connected to the terminal determines that the terminal does not support the quantized congestion notification protocol QCN, the PFC mechanism can be triggered at the edge of the QCN network, including the following processing: the edge device detects the information forwarded by its ingress port in a predetermined way If the message is CNM, if it is determined that the message is CNM, a PFC message is generated according to the CNM, and the terminal is notified to suspend the data transmission of the corresponding queue according to the PFC message. Wherein, the aforementioned predetermined method is: the edge device judges whether the protocol data unit type of the packet identifies whether the packet is CNM, and if it judges yes, determines that the packet is CNM. That is to say, the edge device does not need to determine whether the CNM is sent by itself.
上述处理主要是应对终端不支持QCN的情况。在上述情况中,只要将本发明实施例技术方案中的入端口功能下移至QCN网络边缘(直接与终端连接的网络设备)即可,图7为本发明实施例的网络构架示意图,在如图7所示的网络构架下,假设A不支持QCN,即A不能识别CNM消息,则在设备D的入端口启动通过QCN触发PFC的机制解决拥塞问题。The above processing is mainly to deal with the situation that the terminal does not support QCN. In the above situation, it is only necessary to move the function of the ingress port in the technical solution of the embodiment of the present invention to the edge of the QCN network (the network device directly connected to the terminal). Figure 7 is a schematic diagram of the network architecture of the embodiment of the present invention. Under the network architecture shown in Figure 7, assuming that A does not support QCN, that is, A cannot recognize CNM messages, then the mechanism of triggering PFC through QCN is activated on the ingress port of device D to solve the congestion problem.
下面,结合图7对本发明实施例的技术方案进行举例说明。In the following, the technical solution of the embodiment of the present invention will be illustrated with reference to FIG. 7 .
在如图7所示的网络构架下,E为配置了拥塞检测功能的核心网络设备,QCN机制在其出端口设置了拥塞检测点CP,该CP针对优先级为1的队列进行拥塞检测,E的入端口均启动了通过QCN触发PFC的功能,原入端口阈值触发PFC的机制关闭,在本发明实施例中,假设网络拥塞是由设备A导致,设备E的出端口CP点检测到拥塞情况,则组建包含优先级1的CNM消息,原路反压至设备A,通知其降低相对优先级队列的数据传送速率,设备E的入端口对其处理的转发包进行检测,当根据源地址和PDU type字段判断报文为CNM消息,则对CNM进行解析,产生PFC消息,在PFC消息中,priority_enable_vector优先级为1对应bit位置位,time(1)时间长度根据拥塞程度设置,启动PFC机制,通知D暂停优先级为1的队列的数据传送。Under the network architecture shown in Figure 7, E is the core network device configured with the congestion detection function. The QCN mechanism sets the congestion detection point CP on its outbound port. The CP performs congestion detection on queues with a priority of 1. E The ingress ports of all have enabled the function of triggering PFC through the QCN, and the original ingress port threshold triggers the PFC mechanism to be disabled. In the embodiment of the present invention, it is assumed that the network congestion is caused by device A, and the CP point of the egress port of device E detects congestion. , then a CNM message containing priority 1 is formed, and the original path backpressures to device A to notify it to reduce the data transmission rate of the relative priority queue. The ingress port of device E detects the forwarded packets processed by it. The PDU type field judges that the message is a CNM message, then parses the CNM to generate a PFC message. In the PFC message, the priority_enable_vector priority is 1 and the corresponding bit position is set. The time length of time (1) is set according to the degree of congestion, and the PFC mechanism is started. Notify D to suspend the data transmission of the queue with priority 1.
在本发明实施例中,如果设备A不支持QCN,则D对其接收到的CNM进行解析,判断CNM中的字段“PDU type”是否为0x22e7,如果是,则确认报文为CNM,根据CNM生成PFC消息,通知A暂停优先级为1的队列的数据传送。In the embodiment of the present invention, if device A does not support QCN, then D analyzes the CNM it receives, and judges whether the field "PDU type" in CNM is 0x22e7, and if so, confirms that the message is CNM, according to CNM Generate a PFC message to notify A to suspend the data transmission of the queue with priority 1.
从上述描述可以看出,本发明实施例有效地解决了QCN与PFC联合使用的协议有效性的问题,当核心网络实体发生拥塞,出端口首先检测到拥塞情况,根据拥塞情况创建CNM消息,CNM消息将通过入端口反压至相应终端,入端口通过对CNM的识别解析,触发PFC机制,pause相应的优先级队列。使得PFC机制造成的拥塞扩散问题,最终也会伴随QCN的生效而得以解决,能够从根本上快速有效地解决拥塞问题。It can be seen from the above description that the embodiment of the present invention effectively solves the problem of the validity of the protocol jointly used by QCN and PFC. When the core network entity is congested, the egress port first detects the congestion situation, and creates a CNM message according to the congestion situation. CNM The message will be back-pressed to the corresponding terminal through the ingress port, and the ingress port will trigger the PFC mechanism through the identification and analysis of the CNM, and pause the corresponding priority queue. The congestion diffusion problem caused by the PFC mechanism will eventually be resolved with the entry into force of QCN, which can fundamentally solve the congestion problem quickly and effectively.
装置实施例Device embodiment
根据本发明的实施例,提供了一种以太网拥塞控制装置,图8是本发明实施例的以太网拥塞控制装置的结构示意图,如图8所示,根据本发明实施例的以太网拥塞控制装置包括:关闭模块80、第一检测生成模块82、发送模块84,以下对本发明实施例的各个模块进行详细的说明。According to an embodiment of the present invention, an Ethernet congestion control device is provided. FIG. 8 is a schematic structural diagram of an Ethernet congestion control device according to an embodiment of the present invention. As shown in FIG. 8 , the Ethernet congestion control device according to an embodiment of the present invention The device includes: a closing module 80, a first detection generating module 82, and a sending module 84, and each module of the embodiment of the present invention will be described in detail below.
关闭模块80用于关闭具有拥塞检测功能的核心网设备入端口通过阈值触发基于优先级的流控PFC机制,即关闭PFC initiator功能。The closing module 80 is used to close the ingress port of the core network equipment with the congestion detection function and trigger the priority-based flow control PFC mechanism through the threshold, that is, close the PFC initiator function.
第一检测生成模块82用于检测入端口转发的报文是否为拥塞通知消息CNM,并在确定报文为CNM的情况下,根据CNM生成PFC消息;The first detection generation module 82 is used to detect whether the packet forwarded by the incoming port is a congestion notification message CNM, and when it is determined that the packet is a CNM, generates a PFC message according to the CNM;
以下对第一检测生成模块82中涉及的CNM和PFC消息中所包含的重点字段及其含义进行详细说明。The key fields contained in the CNM and PFC messages involved in the first detection generation module 82 and their meanings will be described in detail below.
CNM中所包含的重点字段及其含义:Key fields contained in CNM and their meanings:
1、CN-TAG:对于携带CN-TAG的帧直接提取其CN-TAG,对于不携带CN-TAG的数据帧,该字段以0填充。1. CN-TAG: For the frame carrying CN-TAG, directly extract its CN-TAG. For the data frame not carrying CN-TAG, this field is filled with 0.
2、CNM PDU:2. CNM PDU:
Version:全0,接收端忽略,不作处理;Version: all 0, the receiver ignores it and does not process it;
Reserved:全0,收端忽略,不做处理;Reserved: all 0, ignored by the receiving end, and not processed;
Quantized feedback:拥塞检测点(CP)计算出的Fb值,用于指示终端RP进行速率调整;Quantized feedback: The Fb value calculated by the congestion detection point (CP) is used to instruct the terminal RP to adjust the rate;
CPID:在CDN中唯一识别一个CP的标识;CPID: uniquely identifies a CP in CDN;
Qoffset(signed integer):以64octets为单位指示CP的cpQoffset值。Qoffset(signed integer): Indicates the cpQoffset value of the CP in units of 64octets.
QDelta(signed integer):以64octets为单位指示CP的cpQDelta值。QDelta(signed integer): Indicates the cpQDelta value of the CP in units of 64octets.
Encapsulated priority:触发CNM消息的数据帧优先级值。Encapsulated priority: The priority value of the data frame that triggers the CNM message.
Encapsulated D-mac:触发CNM消息的数据帧的目的MAC地址;Encapsulated D-mac: The destination MAC address of the data frame that triggers the CNM message;
Encapsulated MSDU length:指示encapsulated MSDU字段的长度;Encapsulated MSDU length: Indicates the length of the encapsulated MSDU field;
encapsulated MSDU:最大64个八比特组,包含触发CNM消息的数据帧数据单元mac_service_data_unit前部分内容。encapsulated MSDU: a maximum of 64 octets, including the first part of the data frame data unit mac_service_data_unit that triggers the CNM message.
PFC消息所包含的重点字段及其含义:The key fields contained in the PFC message and their meanings:
1、Destination Address:目地地址,可以为01-80-C2-00-00-01;1. Destination Address: the destination address, which can be 01-80-C2-00-00-01;
2、Source Address:源地址,可以为发送端地址,Ethertype为88-08;2. Source Address: the source address, which can be the address of the sender, and the Ethertype is 88-08;
3、control opcode为01-01表示PFC帧;3. The control opcode is 01-01 to indicate the PFC frame;
4、Priority_enable_vector字段的低8位比特分别对应每个优先级,用来指示后面各优先级的time字段是否有效;4. The lower 8 bits of the Priority_enable_vector field correspond to each priority respectively, and are used to indicate whether the time field of each subsequent priority is valid;
5、time[n]字段表示各优先级流量需停止发送的时长。5. The time[n] field indicates the length of time for each priority traffic to stop sending.
具体地,第一检测生成模块82具体包括:Specifically, the first detection generation module 82 specifically includes:
第一判断子模块,用于对入端口转发的报文的源媒体访问控制MAC地址进行检测,判断报文的源MAC地址是否为自身设备的MAC地址;The first judging submodule is used to detect the source media access control MAC address of the message forwarded by the ingress port, and judge whether the source MAC address of the message is the MAC address of its own device;
第二判断子模块,用于在第一判断子模块判断为是的情况下,则判断报文的协议数据单元类型是否标识报文为CNM;The second judging submodule is used to determine whether the protocol data unit type of the message identifies the message as CNM when the first judging submodule judges as yes;
确定子模块,用于在第二判断子模块判断为是的情况下,确定报文是CNM;The determining submodule is used to determine that the message is CNM when the second judging submodule judges as yes;
端口转发数据报文时,第一检测生成模块82需要对报文的源地址进行监视,在实际应用中,第一判断子模块可以根据CNM中所包含的“SA=CP桥地址”字段判断报文的源MAC地址是否为自身的MAC地址,即,判断该报文是否由自身发出;对于源地址为自身MAC地址的报文,第二判断子模块根据CNM中所包含的“PDU TYPE”字段中是否为0X22e7(0X22e7为CNM标识),来判断是否为CNM,如果判断为是,则确定子模块确定报文是CNM,可以启动通过CNM触发PFC的机制。When the port forwards a data packet, the first detection generation module 82 needs to monitor the source address of the packet. In practical applications, the first judging submodule can judge the packet according to the "SA=CP bridge address" field included in the CNM. Whether the source MAC address of the text is its own MAC address, that is, judge whether the message is sent by itself; for the message whose source address is its own MAC address, the second judging submodule is based on the "PDU TYPE" field contained in the CNM Whether it is 0X22e7 (0X22e7 is a CNM mark) to judge whether it is CNM, if it is judged as yes, then determine that the submodule determines that the message is CNM, and the mechanism of triggering PFC by CNM can be started.
第一生成子模块,用于根据CNM中携带的封装优先级,确定PFC消息中暂定指示所对应的优先级;The first generation submodule is used to determine the priority corresponding to the tentative indication in the PFC message according to the encapsulation priority carried in the CNM;
第二生成子模块,用于根据CNM中携带的用于指示拥塞程度的字段,确定PFC消息中暂停指示的时间长度。The second generating submodule is used to determine the time length of the suspension indication in the PFC message according to the field used to indicate the degree of congestion carried in the CNM.
第一检测生成模块82还需要对CNM消息进行解析,根据其携带的封装优先级,触发PFC相应优先级PAUSE指示的产生,并根据CNM PDU中携带的用于指示拥塞程度的字段,指示pause的时间长度。具体地,第一生成子模块根据CNM中“Encapsulated priority”字段,确定PFC机制作用的优先级队列,并对PFC消息中的“priority_enable_vector”字段进行设置;第二生成子模块根据CNM中“QntzFb”字段,确定相应优先级pause的时长,并对PFC消息中“time(n)”字段进行设置。The first detection generation module 82 also needs to parse the CNM message, trigger the generation of the PFC corresponding priority PAUSE indication according to the encapsulation priority carried by it, and indicate the pause according to the field for indicating the degree of congestion carried in the CNM PDU length of time. Specifically, the first generation submodule determines the priority queue for the PFC mechanism according to the "Encapsulated priority" field in the CNM, and sets the "priority_enable_vector" field in the PFC message; field, determine the duration of the corresponding priority pause, and set the "time(n)" field in the PFC message.
发送模块84用于通过入端口转发CNM,并通知对端设备根据PFC消息暂停相应队列的数据传送。也就是说,CNM消息在端口进行正常转发,本发明实施例的技术方案不对QCN机制产生影响。The sending module 84 is configured to forward the CNM through the ingress port, and notify the peer device to suspend the data transmission of the corresponding queue according to the PFC message. That is to say, the CNM message is normally forwarded on the port, and the technical solution of the embodiment of the present invention does not affect the QCN mechanism.
上述处理的具体流程图可以参照图6进行理解。The specific flowchart of the above processing can be understood with reference to FIG. 6 .
在实际应用中,在与终端连接的边缘设备确定终端不支持量化拥塞通知协议QCN的情况下,该装置中的第二检测生成模块可以在QCN网络边缘触发PFC机制,以预定方式检测自身的入端口所转发的报文是否为CNM,在确定报文为CNM的情况下,根据CNM生成PFC消息,并通知终端根据PFC消息暂停相应队列的数据传送。其中,上述预定方式为:判断报文的协议数据单元类型是否标识报文为CNM,如果判断为是,则确定报文是CNM。也就是说,第二检测生成模块不必判断CNM是否为自身发出的。In practical applications, when the edge device connected to the terminal determines that the terminal does not support the quantized congestion notification protocol QCN, the second detection generation module in the device can trigger the PFC mechanism at the edge of the QCN network to detect its own incoming traffic in a predetermined manner. Whether the message forwarded by the port is CNM, if it is determined that the message is CNM, generate a PFC message according to the CNM, and notify the terminal to suspend the data transmission of the corresponding queue according to the PFC message. Wherein, the aforementioned predetermined method is: judging whether the protocol data unit type of the message identifies whether the message is CNM, and if it is judged to be yes, then determining that the message is CNM. That is to say, the second detection generating module does not need to judge whether the CNM is sent by itself.
上述处理主要是应对终端不支持QCN的情况。在上述情况中,只要将本发明实施例技术方案中的入端口功能下移至QCN网络边缘(直接与终端连接的网络设备)即可,在如图7所示的网络构架下,假设A不支持QCN,即A不能识别CNM消息,则在设备D的入端口启动通过QCN触发PFC的机制解决拥塞问题。The above processing is mainly to deal with the situation that the terminal does not support QCN. In the above situation, it is only necessary to move the function of the ingress port in the technical solution of the embodiment of the present invention to the edge of the QCN network (the network device directly connected to the terminal). Under the network architecture shown in Figure 7, it is assumed that A does not Support QCN, that is, if A cannot recognize CNM messages, then the ingress port of device D starts the mechanism of triggering PFC through QCN to solve the congestion problem.
下面,结合图7对本发明实施例的技术方案进行举例说明。In the following, the technical solution of the embodiment of the present invention will be illustrated with reference to FIG. 7 .
在如图7所示的网络构架下,E为配置了拥塞检测功能的核心网络设备(本发明实施例所述的以太网拥塞控制装置),QCN机制在其出端口设置了拥塞检测点CP,该CP针对优先级为1的队列进行拥塞检测,E的入端口均启动了通过QCN触发PFC的功能,原入端口阈值触发PFC的机制关闭,在本发明实施例中,假设网络拥塞是由设备A导致,设备E的出端口CP点检测到拥塞情况,则组建包含优先级1的CNM消息,原路反压至设备A,通知其降低相对优先级队列的数据传送速率,设备E的入端口对其处理的转发包进行检测,当根据源地址和PDU type字段判断报文为CNM消息,则对CNM进行解析,产生PFC消息,在PFC消息中,priority_enable_vector优先级为1对应bit位置位,time(1)时间长度根据拥塞程度设置,启动PFC机制,通知D暂停优先级为1的队列的数据传送。Under the network framework shown in Figure 7, E is the core network equipment (the Ethernet congestion control device described in the embodiment of the present invention) configured with the congestion detection function, and the QCN mechanism sets the congestion detection point CP at its outgoing port, The CP performs congestion detection on queues with a priority of 1. The ingress ports of E all enable the function of triggering PFC through the QCN, and the original ingress port threshold triggers the PFC mechanism to be disabled. As a result of A, the CP point of the egress port of device E detects congestion, and a CNM message containing priority 1 is formed, and the original path backpressures to device A, instructing it to reduce the data transmission rate of the relative priority queue, and the ingress port of device E Detect the forwarding packet processed by it. When the message is judged to be a CNM message according to the source address and the PDU type field, the CNM is parsed to generate a PFC message. In the PFC message, the priority_enable_vector priority is 1 and the corresponding bit position is set, time (1) The time length is set according to the degree of congestion, the PFC mechanism is started, and D is notified to suspend the data transmission of the queue with priority 1.
在本发明实施例中,如果设备A不支持QCN,则D对其接收到的CNM进行解析,判断CNM中的字段“PDU type”是否为0x22e7,如果是,则确认报文为CNM,根据CNM生成PFC消息,通知A暂停优先级为1的队列的数据传送。In the embodiment of the present invention, if device A does not support QCN, then D analyzes the CNM it receives, and judges whether the field "PDU type" in CNM is 0x22e7, and if so, confirms that the message is CNM, according to CNM Generate a PFC message to notify A to suspend the data transmission of the queue with priority 1.
综上所述,本发明实施例通过CNM消息触发相应优先级的PFC,解决了现有技术中通过阈值配置不能够解决先触发PFC后QCN协议失效而导致的拥塞扩散和丢包的问题,在每次QCN机制产生CNM消息时,都会通过反压回去的端口触发端口相应优先级的PFC,PFC可以快速的响应和缓解网络拥塞,QCN则通过CNM消息指示终端进行相应流速率的调整,从根本上快速有效地解决拥塞问题。To sum up, the embodiment of the present invention triggers the PFC of the corresponding priority through the CNM message, which solves the problem that the threshold configuration in the prior art cannot solve the problem of congestion diffusion and packet loss caused by the failure of the QCN protocol after the PFC is triggered first. Every time the QCN mechanism generates a CNM message, it will trigger the PFC of the corresponding priority of the port through the back pressure port. PFC can quickly respond to and alleviate network congestion. Resolve congestion problems quickly and efficiently.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。Although preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and therefore, the scope of the present invention should not be limited to the above-described embodiments.
Claims (8)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010560688.0A CN102025617B (en) | 2010-11-26 | 2010-11-26 | Method and device for controlling congestion of Ethernet |
PCT/CN2011/075409 WO2012068864A1 (en) | 2010-11-26 | 2011-06-07 | Method and apparatus for ethernet congestion control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010560688.0A CN102025617B (en) | 2010-11-26 | 2010-11-26 | Method and device for controlling congestion of Ethernet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102025617A CN102025617A (en) | 2011-04-20 |
CN102025617B true CN102025617B (en) | 2015-04-01 |
Family
ID=43866491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010560688.0A Expired - Fee Related CN102025617B (en) | 2010-11-26 | 2010-11-26 | Method and device for controlling congestion of Ethernet |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102025617B (en) |
WO (1) | WO2012068864A1 (en) |
Families Citing this family (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025617B (en) * | 2010-11-26 | 2015-04-01 | 中兴通讯股份有限公司 | Method and device for controlling congestion of Ethernet |
US8989009B2 (en) * | 2011-04-29 | 2015-03-24 | Futurewei Technologies, Inc. | Port and priority based flow control mechanism for lossless ethernet |
CN102255808B (en) * | 2011-07-08 | 2014-04-23 | 福建星网锐捷网络有限公司 | Congestion notification method, device, system and network equipment |
WO2012162968A1 (en) * | 2011-08-30 | 2012-12-06 | 华为技术有限公司 | Method, apparatus and system for controlling data transmission |
CN102377672A (en) * | 2011-11-03 | 2012-03-14 | 华为技术有限公司 | Routing method and communication equipment in data center network |
CN102594676B (en) * | 2012-02-13 | 2015-06-17 | 福建星网锐捷网络有限公司 | Bridge port expansion network and congestion control method thereof, port expander (PE) and control bridge |
CN102611630B (en) * | 2012-04-12 | 2015-10-07 | 迈普通信技术股份有限公司 | A kind of message acceptance control method and system |
CN103416031B (en) * | 2012-09-25 | 2016-11-23 | 华为技术有限公司 | A kind of flow control methods, device and network |
CN102891803B (en) * | 2012-10-10 | 2015-05-13 | 华为技术有限公司 | Congestion processing method and network device |
US9401857B2 (en) | 2013-03-15 | 2016-07-26 | International Business Machines Corporation | Coherent load monitoring of physical and virtual networks with synchronous status acquisition |
US9954781B2 (en) | 2013-03-15 | 2018-04-24 | International Business Machines Corporation | Adaptive setting of the quantized congestion notification equilibrium setpoint in converged enhanced Ethernet networks |
US9219689B2 (en) | 2013-03-15 | 2015-12-22 | International Business Machines Corporation | Source-driven switch probing with feedback request |
US9253096B2 (en) | 2013-03-15 | 2016-02-02 | International Business Machines Corporation | Bypassing congestion points in a converged enhanced ethernet fabric |
CN104283808B (en) | 2013-07-03 | 2019-03-26 | 华为技术有限公司 | Jamming control method, equipment and system |
US20160248675A1 (en) * | 2013-11-13 | 2016-08-25 | Ruiming Zheng | Method and apparatus for qcn-like cross-chip function in multi-stage ethernet switching |
CN103746927B (en) * | 2013-12-27 | 2017-02-15 | 杭州华为数字技术有限公司 | Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device |
CN104852855B (en) * | 2014-02-19 | 2018-08-21 | 华为技术有限公司 | Jamming control method, device and equipment |
CN104980359A (en) * | 2014-04-04 | 2015-10-14 | 中兴通讯股份有限公司 | Flow control method of fiber channel over Ethernet (FCoE), flow control device of FCoE and flow control system of FCoE |
CN103997465B (en) * | 2014-05-27 | 2018-02-23 | 华为技术有限公司 | A kind of generation CNM method and apparatus |
CN105791140A (en) * | 2014-12-19 | 2016-07-20 | 中兴通讯股份有限公司 | Message sending processing method and apparatus and network equipment |
CN104836743B (en) * | 2015-05-25 | 2018-09-04 | 新华三技术有限公司 | A kind of jamming control method and device |
CN104917703B (en) * | 2015-06-09 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | Defence line head of line blocking method and system based on SDN |
CN106330742B (en) * | 2015-06-23 | 2019-12-06 | 华为技术有限公司 | Flow control method and network controller |
CN106528564A (en) * | 2015-09-11 | 2017-03-22 | 中国移动通信集团河北有限公司 | Congestion data processing method and apparatus |
CN107817944B (en) * | 2016-09-12 | 2021-05-18 | 华为技术有限公司 | Data processing method and storage device |
CN107317762A (en) * | 2017-06-29 | 2017-11-03 | 北京东土军悦科技有限公司 | Jamming control method and field layer device based on industry internet field layer device |
CN109412964B (en) | 2017-08-18 | 2022-04-29 | 华为技术有限公司 | Message control method and network device |
CN109600320B (en) * | 2017-09-30 | 2022-04-05 | 华为技术有限公司 | Congestion processing method and equipment and data center network |
US10567300B2 (en) * | 2017-11-22 | 2020-02-18 | Cisco Technology, Inc. | Layer 3 fair rate congestion control notification |
CN109981471B (en) * | 2017-12-27 | 2023-04-18 | 华为技术有限公司 | Method, equipment and system for relieving congestion |
CN108243117B (en) * | 2018-01-02 | 2022-05-24 | 新华三技术有限公司 | Flow monitoring method and device and electronic equipment |
CN108989235B (en) * | 2018-08-28 | 2022-11-01 | 新华三技术有限公司 | Message forwarding control method and device |
CN112423399A (en) * | 2019-08-23 | 2021-02-26 | 华为技术有限公司 | Data transmission method and device |
CN115462050A (en) * | 2020-04-30 | 2022-12-09 | 华为技术有限公司 | A congestion control method, network equipment and system |
CN113746743B (en) * | 2020-05-29 | 2023-08-08 | 华为技术有限公司 | Data message transmission method and device |
CN112565087A (en) * | 2020-11-23 | 2021-03-26 | 盛科网络(苏州)有限公司 | PFC (Power factor correction) back-pressure message and processing method thereof |
CN114760252B (en) * | 2022-03-24 | 2024-06-07 | 北京邮电大学 | Data center network congestion control method and system |
CN117395206B (en) * | 2023-12-12 | 2024-03-12 | 南京邮电大学 | Fast and accurate congestion feedback method for lossless data center networks |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026558A (en) * | 2007-01-18 | 2007-08-29 | 华为技术有限公司 | Method and device for realizing mass port backpressure |
CN101030926A (en) * | 2006-02-28 | 2007-09-05 | 华为技术有限公司 | Method for controlling network data flow of global microwave access inter-operation |
CN101141406A (en) * | 2007-10-17 | 2008-03-12 | 杭州华三通信技术有限公司 | Distributed flow control method, system and device |
EP2164209A1 (en) * | 2008-09-11 | 2010-03-17 | Juniper Networks, Inc. | Systems, methods, and apparatus for a data centre |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025617B (en) * | 2010-11-26 | 2015-04-01 | 中兴通讯股份有限公司 | Method and device for controlling congestion of Ethernet |
-
2010
- 2010-11-26 CN CN201010560688.0A patent/CN102025617B/en not_active Expired - Fee Related
-
2011
- 2011-06-07 WO PCT/CN2011/075409 patent/WO2012068864A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030926A (en) * | 2006-02-28 | 2007-09-05 | 华为技术有限公司 | Method for controlling network data flow of global microwave access inter-operation |
CN101026558A (en) * | 2007-01-18 | 2007-08-29 | 华为技术有限公司 | Method and device for realizing mass port backpressure |
CN101141406A (en) * | 2007-10-17 | 2008-03-12 | 杭州华三通信技术有限公司 | Distributed flow control method, system and device |
EP2164209A1 (en) * | 2008-09-11 | 2010-03-17 | Juniper Networks, Inc. | Systems, methods, and apparatus for a data centre |
Also Published As
Publication number | Publication date |
---|---|
CN102025617A (en) | 2011-04-20 |
WO2012068864A1 (en) | 2012-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025617B (en) | Method and device for controlling congestion of Ethernet | |
US8121038B2 (en) | Backward congestion notification | |
US7773519B2 (en) | Method and system to manage network traffic congestion | |
US10425328B2 (en) | Load distribution architecture for processing tunnelled internet protocol traffic | |
US8437352B2 (en) | Method and system for power control based on application awareness in a packet network switch | |
US8625427B1 (en) | Multi-path switching with edge-to-edge flow control | |
JP5580706B2 (en) | Data transfer apparatus, program, and method using retransmission control protocol | |
US20190312816A1 (en) | Flow Control Method and Switching Device | |
US20110080834A1 (en) | Communication apparatus and communication control method | |
US20090196170A1 (en) | Quality of service, policy enhanced hierarchical disruption tolerant networking system and method | |
JP2021516012A (en) | Flow management in the network | |
CN106330742B (en) | Flow control method and network controller | |
JP6007595B2 (en) | Transmission method, apparatus and program | |
WO2022028342A1 (en) | Method for processing congestion flow and device | |
WO2012159525A1 (en) | Service control method and system for autonomous network | |
Yi et al. | Proxy‐RED: an AQM scheme for wireless local area networks | |
CN107819658B (en) | Message transmission method, MEC (message aggregation center) equipment and system | |
US20070058532A1 (en) | System and method for managing network congestion | |
US20140241160A1 (en) | Scalable, Low Latency, Deep Buffered Switch Architecture | |
WO2022247257A1 (en) | Pfc storm detection and processing method | |
WO2011143968A1 (en) | Method and system for notifying congestion control information | |
WO2021217641A1 (en) | Congestion control method, network device, and system | |
WO2009026824A1 (en) | A method, device and system for transferring multiplex messages | |
WO2010117358A1 (en) | Method and system to manage network traffic congestion | |
US20240056885A1 (en) | Multi-access traffic management |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150401 |