WO2016202095A1 - Path selection method and device, routing bridge, and network - Google Patents

Path selection method and device, routing bridge, and network Download PDF

Info

Publication number
WO2016202095A1
WO2016202095A1 PCT/CN2016/080265 CN2016080265W WO2016202095A1 WO 2016202095 A1 WO2016202095 A1 WO 2016202095A1 CN 2016080265 W CN2016080265 W CN 2016080265W WO 2016202095 A1 WO2016202095 A1 WO 2016202095A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification information
link state
overload
network
rbridge
Prior art date
Application number
PCT/CN2016/080265
Other languages
French (fr)
Chinese (zh)
Inventor
张伟东
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016202095A1 publication Critical patent/WO2016202095A1/en

Links

Images

Definitions

  • This paper relates to the field of data communication, and in particular to a path selection method, device, routing bridge and network.
  • TRILL Transparent Interconnection of lots of links
  • ISIS Internet Engineering Task Force
  • TRILL network a collection of networks composed of multiple RBs
  • the RB spreads the link state connected to it through the ISIS protocol in its area, thereby transmitting the topology information maintained by itself.
  • Each RB pairs the received link state protocol data unit (LSP, Link-State PDR) sent by other RBs, and uses the shortest path first (SPF, Shortest-path-first) algorithm to find the network to reach each destination RB.
  • SPF Shortest-path-first
  • the shortest path If there are two or more links with the same path cost, the RB can load the data packets across multiple links through the Equivalent Cost Multiple Path (ECMP).
  • ECMP Equivalent Cost Multiple Path
  • the present invention discloses a path selection method, device, routing bridge and network, which solves the problem of packet loss and delay caused by excessive overload of some routing bridges in the existing TRILL network.
  • This document discloses a path selection method, including:
  • the method further includes:
  • a link state overload recovery notification message is sent to all other RBs, indicating that all other RBridges mark the first RBridge as reachable, and recalculate all other parameters.
  • the routing bridges respectively reach the shortest path of each routing bridge in the TRILL network.
  • the network load parameters include: port bandwidth usage, CPU usage and/or memory usage.
  • the step of sending a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold includes:
  • the link state overload notification information is periodically and continuously sent to all other RBridges in the TRILL network within the first predetermined time; wherein all other RBridges are When the link state overload notification information is received for the first time, the first RBridge is marked as unreachable.
  • the step of sending a link state overload recovery notification information to all other RBs when detecting that the network load parameter is lower than the corresponding preset recovery threshold includes:
  • the link state overload recovery notification information is sent to all the RBs periodically and continuously for a predetermined period of time.
  • the first RBridge is marked as reachable.
  • This paper also discloses a path selection method, including:
  • the first RBridge is marked as unreachable, and all the RBs in the TRILL network except the first RBridge reach the shortest path of each RBridge in the TRILL network.
  • the method further includes:
  • the first routing bridge is marked as reachable, and the shortest path from each of the TRILL networks except the first routing bridge to each of the routing bridges in the TRILL network is recalculated.
  • the step of marking the first RB as an unreachable state according to the link state overload advertised information includes:
  • the first RBridge is marked as unreachable.
  • the step of marking the first RB as a reachable state according to the link state overload recovery notification information includes:
  • the first routing bridge is marked as reachable.
  • the method further includes:
  • the first routing bridge is marked as unreachable for a second predetermined time.
  • path selection device comprising:
  • Obtaining a module configured to obtain a current network load parameter of the first routing bridge in the multi-link transparent interconnect TRILL network
  • the sending module is configured to send a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold; and indicate that all other RBs mark the first RBridge as unreachable. And recalculate the shortest path from each of the other RBridges to each RBridge in the TRILL network.
  • Also disclosed herein is a routing bridge that includes the path selection device as above.
  • a path selection device comprising:
  • a receiving module configured to receive link state overload notification information sent by a first RB in a multi-link transparent interconnect TRILL network, where the link state overload notification information is that the first RB bridge detects that the current network load parameter exceeds Sent when the corresponding preset overload threshold is reached;
  • the marking module is configured to mark the first routing bridge as unreachable according to the link state overload notification information, and recalculate all the routing bridges except the first routing bridge in the TRILL network respectively reach the routing bridges in the TRILL network.
  • the shortest path is configured to mark the first routing bridge as unreachable according to the link state overload notification information, and recalculate all the routing bridges except the first routing bridge in the TRILL network respectively reach the routing bridges in the TRILL network. The shortest path.
  • routing bridge characterized by including a path selection device as described above.
  • Also disclosed herein is a network comprising a plurality of routing bridges, wherein the plurality of routing bridges comprise: a first routing bridge as described above and all other routing bridges as described above.
  • a path selection method, device, routing bridge and network detect the current network load parameters of each routing bridge in the TRILL network in real time, and actively notify other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routes are
  • the bridge can re-route the operation in time to avoid the problem of packet loss and delay caused by the excessive load of some routing bridges, and improve the reliability of the TRILL network.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart 1 of a path selection method of a first routing bridge end
  • FIG. 3 is a schematic flowchart 2 of a path selection method of a first routing bridge end
  • FIG. 4 is a block diagram showing a path selection device of a first routing bridge end
  • FIG. 5 is a schematic flowchart 1 of a path selection method of other routing bridge ends
  • FIG. 6 is a schematic flowchart 2 of a path selection method of other routing bridge ends
  • Figure 7 is a block diagram showing the path selection means of other routing bridge ends.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • the TRILL network is responsible for forwarding traffic between the host 1 and the host 2, and the routing bridge 2 and the RB 3 are configured to perform load sharing on the traffic between the RB1 and the RB4.
  • an embodiment of the present invention provides a path selection method in a TRILL network, including the following steps:
  • Step 10 Acquire current network load parameters of the first RBridge in the multi-link transparent interconnect TRILL network.
  • the network load parameter mentioned here refers to a parameter indicator that can represent or explain the burden of the RBridge, for example, the ingress/output port bandwidth usage rate of the RBridge, the CPU usage rate, or the memory usage rate.
  • Step 20 Send a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold.
  • Each network load parameter is set with a corresponding preset overload threshold.
  • a RB detects that the current network load parameter exceeds the corresponding preset overload threshold, it represents that the RB bridge reaches its network load limit. That is to say, the RBridge cannot perform TRILL data traffic forwarding normally.
  • the other devices in the TRILL network A routing bridge sends a link state overload notification message, so that all other routing bridges mark the first routing bridge as unreachable, and recalculate the shortest path from the routing bridge to each routing bridge in the TRILL network to implement TRILL.
  • a new path planning for traffic forwarding in the network so as to avoid the problem of packet loss and delay caused by the excessive burden of the first routing bridge, and improve the reliability of the TRILL network.
  • the method further includes:
  • Step 30 When detecting that the network load parameter is lower than the corresponding preset recovery threshold, send a link state overload recovery notification information to all other RBridges.
  • each network parameter is set with a corresponding preset recovery threshold
  • the preset recovery threshold corresponds to the preset overload threshold
  • the value of the preset recovery threshold is less than the value of the preset overload threshold.
  • a link state overload recovery notification information is sent to all other RBridges, so that all other RBridges mark the first RBridge as reachable and recalculate All other RBs reach the shortest path of each RB in the TRILL network to implement new path planning for traffic forwarding in the TRILL network. This prevents the traffic forwarding capability of the first RB from being restored. The problem of wasted resources caused by the state improves the transmission efficiency of the TRILL network.
  • the network load parameter mentioned above may be at least one of port bandwidth usage, CPU usage, and/or memory usage.
  • the link state overload notification information and the link state overload recovery notification information mentioned above can be sent to other RBridges by using LSP packets.
  • the LSP packet TLV format of the link state overload notification information is as shown in the following table.
  • the Type field represents the LSP information type, here is the overload notification OverLoad Notification, the length is 1 byte; the Length field represents the length of the Value field, occupying 1 byte; and the Value field is filled with the Nickname of the sending overload notification RBridge.
  • the LSP packet TLV format of the link state overload notification information is as shown in the following table.
  • the Type field represents the LSP information type, here is the overload recovery notification OverLoad Recover Notification, the length is 1 byte; the Length field represents the length of the Value field, occupying 1 byte; and the Value field is filled with the Nickname of the sending overload recovery notification routing bridge.
  • the link state overload notification information when at least one parameter of the network load parameter exceeds the corresponding preset overload threshold, periodically send the chain to all other routing bridges in the TRILL network in the first predetermined time.
  • the road state overload notification message informs all other RBs that the TRILL data packet cannot be forwarded normally.
  • at least one parameter of the network load parameter exceeds a corresponding preset overload threshold periodically send link state overload notification information to all other RBridges in the TRILL network until a preset number of times is reached, and all other RBs are notified. The forwarding of TRILL data packets cannot be performed normally.
  • the first RBridge when there are multiple network load parameters that meet or exceed the preset overload threshold, only the network load parameter that first reaches or exceeds the preset overload threshold triggers the first RBridge to send link state overload notification information, other networks.
  • the load parameters will not be triggered again.
  • the first RB that sends the link state overload notification information is marked as unreachable. That is, all other RBridges only receive the chain for the first time.
  • the road state overload notification information is marked, the first routing bridge is marked as unreachable, and after receiving the link state overload notification information again, no processing is performed.
  • the link state overload recovery notification message informs all other routing bridges that the TRILL data packets can be forwarded normally. Or, when all the parameters in the network load parameter are detected to be lower than the corresponding preset recovery threshold, periodically and continuously to all other RBridges The link state overload recovery notification message is sent until the preset number of times is reached, and all other routing bridges are currently able to perform the forwarding of TRILL data packets.
  • the first RBridge when the network load parameter has multiple monitoring indicators, the first RBridge sends the link state overload notification information only when the parameters of all the indicators are lower than the corresponding preset recovery threshold.
  • the first RB that sends the link state overload notification information is marked as reachable state, that is, all other RBridges are only received for the first time.
  • the link state overload recovery notification information is marked, the first RBridge is marked as reachable, and after receiving the link state overload recovery notification information again, no processing is performed.
  • the embodiment of the present invention detects the current network load parameters of each routing bridge in the TRILL network in real time, and actively notifies other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routing bridges can re-select the routing operations in time.
  • the routing bridge can be re-routed in time to avoid the problem of resource waste caused by the first routing bridge being restored to the reachable state, and the transmission efficiency of the TRILL network is improved.
  • a path selection device comprising:
  • the obtaining module 101 is configured to obtain a current network load parameter of the first RBridge in the multi-link transparent interconnect TRILL network;
  • the sending module 102 is configured to send a link state LSP overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold; so that all other RBridges mark the first RBridge as unavailable. Reach the state and recalculate the shortest path from each of the other RBridges to the RBs in the TRILL network.
  • the device is a device that completely corresponds to the method embodiment shown in FIG. 1-3, and all implementations in the foregoing method embodiments are applicable to the embodiment of the device, and can also achieve the same. Technical effects.
  • the RBridge is the first RBridge in the above method.
  • the path selection method in the TRILL network includes the following steps:
  • Step 11 Receive link state overload notification information sent by the first RB in the multi-link transparent interconnect TRILL network.
  • the link state overload notification information is sent by the first RBridge when it detects that the current network load parameter exceeds the corresponding preset threshold.
  • Step 21 According to the link state overload notification information, mark the first RB bridge as unreachable, and recalculate the shortest path of each RBridge in the TRILL network to all the RBs in the TRILL network except the first RBridge. .
  • Step 31 Receive link state overload recovery notification information sent by the first RBridge.
  • the link state overload recovery notification information is sent by the first RBridge when it detects that the network load parameter is lower than the corresponding preset recovery threshold.
  • Step 41 According to the link state overload recovery notification information, mark the first routing bridge as reachable state, and recalculate all the routing bridges except the first routing bridge from the TRILL network to reach each routing bridge in the TRILL network. The shortest path.
  • the link state overload notification information is periodically sent to all other RBridges in the TRILL network when the first RB detects that the network load parameter exceeds the corresponding preset overload threshold.
  • the RBridge that receives the link state overload notification information marks the first RBridge as unreachable when receiving the link state overload advertised information for the first time, and does not do when receiving the link state overload advertised information again. deal with.
  • the first RBridge detects that its own network load parameter is lower than the corresponding preset recovery threshold, it will periodically send link state overload to all other RBridges in the TRILL network. The advertised information is restored. At this time, the RBridge that receives the link state overload recovery advertised information marks the first RBridge as reachable when receiving the link state overload recovery advertised information for the first time, and receives the link state again. Do not do anything when overload recovery notification information Reason.
  • an overload jitter counter (OLC, Over-Load-Count) is set in all the routing bridges in the TRILL network, and the entries recorded by the OLC counter include but are not limited to the transmission link state overload notification.
  • OLC Over-Load-Count
  • the first routing bridge is marked as unreachable for a second predetermined time.
  • the RB is marked as unreachable for a long period of time, and during this period, the link state overload notification information and the link state overload recovery notification information sent by the RB are not processed. .
  • a path selection device in a TRILL network comprising:
  • the receiving module 201 is configured to receive link state overload notification information sent by the first RB in the multi-link transparent internet TRILL network, where the link state overload notification information is that the first RB bridge detects the current network load. Sent when the parameter exceeds the corresponding preset overload threshold;
  • the marking module 202 is configured to mark the first routing bridge as unreachable according to the link state overload notification information, and recalculate all the routing bridges except the first routing bridge in the TRILL network to reach each routing bridge in the TRILL network. The shortest path.
  • the device is a device corresponding to the path selection method shown in FIG. 5 and FIG. 6 above. All the implementation manners in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
  • the RBridge is any one of all RBridges except the first RBridge in the TRILL network.
  • Also disclosed herein is a network comprising a plurality of routing bridges, the plurality of routing bridges comprising: a first routing bridge as described above and other routing bridges as described above.
  • the embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, a path selection method provided by an embodiment of the present invention may be implemented.
  • the network is a TRILL network.
  • TRILL network By detecting the current network load parameters of each RBridge in the TRILL network in real time, when a RB is overburdened, it actively informs other RBridges in the TRILL network, so that other RBs can re-route in time.
  • the operation avoids the problem of packet loss and delay caused by the excessive load of some RBridges, and improves the reliability of the TRILL network.
  • the technical solution disclosed in the present invention detects the current network load parameters of each routing bridge in the TRILL network in real time, and actively notifies other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routing bridges can re-select the routing operations in time. To avoid the problem of packet loss and delay caused by the excessive load of some RBridges, and improve the reliability of the TRILL network.

Abstract

Disclosed are a path selection method and device, a routing bridge, and a network. The method comprises: obtaining a current network load parameter of a first routing bridge in a Transparent Interconnection of Lots of Links (TRILL) network; sending link state overload notification information to all other routing bridges in the TRILL network when the network load parameter exceeds a corresponding preset overload threshold; instructing all other routing bridges to mark the first routing bridge as unreachable state, and calculating a shortest path in paths from all other routing bridges to the routing bridges in the TRILL network again. With the technical solution of the present invention, a current network load parameter of a routing bridge in a TRILL network is detected in real time, and when the routing bridge is overloaded, other routing bridges are actively notified, so as to enable the other routing bridges to perform path selection operations again, thereby avoiding problems of packet loss and delay caused by an excessively heavy load on a particular routing bridge, and improving reliability of the TRILL network to some extent.

Description

一种路径选择方法、装置、路由桥及网络Path selection method, device, routing bridge and network 技术领域Technical field
本文涉及数据通信领域,尤其涉及一种路径选择方法、装置、路由桥及网络。This paper relates to the field of data communication, and in particular to a path selection method, device, routing bridge and network.
背景技术Background technique
多链路透明互联网络(TRILL,Transparent Interconnection of lots of links)是国际互联网工程任务组(IETF,The Internet Engineering Task Force)为实现数据中心大二层扩展制定的一个标准,它将应用于IP转发的思路应用到以太帧转发,通过在链路层上引入中间系统到中间系统(ISIS,Intermediate system to intermediate system),在链路层上实现二层路由,运行TRILL协议的以太网交换机被称为路由桥(RB,Rrouting Bridge),多台RB组成的网络集合称为TRILL网络。TRILL (Transparent Interconnection of lots of links) is a standard developed by the Internet Engineering Task Force (IETF) to implement data center large-layer extension. It will be applied to IP forwarding. The idea is applied to the Ethernet frame forwarding. By introducing an intermediate system to the intermediate system (ISIS) at the link layer, Layer 2 routing is implemented on the link layer. The Ethernet switch running the TRILL protocol is called A RB (Rrouting Bridge), a collection of networks composed of multiple RBs is called a TRILL network.
在TRILL网络中,RB通过ISIS协议在其所在区域内扩散与之相连的链路状态,从而传递自身所维护的拓扑信息。每个RB对接收到的其他RB发来的链路状态协议数据单元(LSP,Link-State PDR),运用最短路径优先(SPF,Shortest-path-first)算法找到网络里到达每个目的RB的最短路径。如果存在两条或多条路径开销相同的链路,RB能够通过等价多路径(ECMP,Equivalent Cost Multiple Path),使数据报文在多条链路间负载分担。In the TRILL network, the RB spreads the link state connected to it through the ISIS protocol in its area, thereby transmitting the topology information maintained by itself. Each RB pairs the received link state protocol data unit (LSP, Link-State PDR) sent by other RBs, and uses the shortest path first (SPF, Shortest-path-first) algorithm to find the network to reach each destination RB. The shortest path. If there are two or more links with the same path cost, the RB can load the data packets across multiple links through the Equivalent Cost Multiple Path (ECMP).
在现有的TRILL网络中,尤其是应用于高性能数据中心的TRILL网络中,各种业务高度融合,网络中的设备可能同时转发多种业务流量,由于网络资源分布的不均衡,和某些突发流量冲击或攻击的影响,以及ECMP算法的局限,极有可能造成TRILL网络中某些RB负担过重,甚至超过其处理极限,而其上游却无法感知到,由此造成了TRILL网络的丢包和延迟等问题,使网络可靠性降低,并且不能充分利用网络资源。In the existing TRILL network, especially in the TRILL network used in high-performance data centers, various services are highly integrated, and devices in the network may forward multiple service traffic at the same time, due to uneven distribution of network resources, and certain The impact of burst traffic attacks or attacks, and the limitations of the ECMP algorithm, is likely to cause some RBs in the TRILL network to be overburdened, even beyond their processing limits, but not upstream, which is caused by the TRILL network. Problems such as packet loss and delays reduce network reliability and make full use of network resources.
发明内容 Summary of the invention
以下是对本文详细描述的主题的概述,本概述并非是为了限制权利要求的保护范围。The following is a summary of the subject matter described in detail herein, and is not intended to limit the scope of the claims.
为了解决上述技术问题,本文公开了一种路径选择方法、装置、路由桥及网络,解决了现有TRILL网络中由于某些路由桥负担过重而造成的丢包和延迟问题。In order to solve the above technical problem, the present invention discloses a path selection method, device, routing bridge and network, which solves the problem of packet loss and delay caused by excessive overload of some routing bridges in the existing TRILL network.
本文公开了一种路径选择方法,包括:This document discloses a path selection method, including:
获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数;Obtaining a current network load parameter of the first RBridge in the multi-link transparent interconnect TRILL network;
在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态过载通告信息;指示其他所有路由桥标记第一路由桥为不可达状态,并重新计算从其他所有路由桥分别到达TRILL网络中各路由桥的最短路径。When the network load parameter exceeds the corresponding preset overload threshold, send a link state overload advertisement information to all other RBridges in the TRILL network; instruct all other RBridges to mark the first RBridge as unreachable, and recalculate the slave All other RBridges reach the shortest path of each RBridge in the TRILL network.
其中,在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态过载通告信息的步骤之后,还包括:After the step of sending a link state overload notification information to all other RBs in the TRILL network, when the network load parameter exceeds the corresponding preset overload threshold, the method further includes:
检测到网络负载参数低于对应的预设恢复门限时,向其他所有路由桥发送一链路状态过载恢复通告信息,指示其他所有路由桥标记第一路由桥为可达状态,并重新计算其他所有路由桥分别到达TRILL网络中各路由桥的最短路径。When the network load parameter is detected to be lower than the corresponding preset recovery threshold, a link state overload recovery notification message is sent to all other RBs, indicating that all other RBridges mark the first RBridge as reachable, and recalculate all other parameters. The routing bridges respectively reach the shortest path of each routing bridge in the TRILL network.
其中,当网络负载参数包括:端口带宽使用率、CPU使用率和/或内存使用率。Among them, when the network load parameters include: port bandwidth usage, CPU usage and/or memory usage.
其中,在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态过载通告信息的步骤包括:The step of sending a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold includes:
在网络负载参数中的至少一个参数超过对应的预设过载门限时,在第一预定时间内周期性连续向TRILL网络中的其他所有路由桥发送链路状态过载通告信息;其中,其他所有路由桥在首次接收到链路状态过载通告信息时,标记第一路由桥为不可达状态。When at least one parameter of the network load parameter exceeds a corresponding preset overload threshold, the link state overload notification information is periodically and continuously sent to all other RBridges in the TRILL network within the first predetermined time; wherein all other RBridges are When the link state overload notification information is received for the first time, the first RBridge is marked as unreachable.
其中,检测到网络负载参数低于对应的预设恢复门限时,向其他所有路由桥发送一链路状态过载恢复通告信息的步骤包括:The step of sending a link state overload recovery notification information to all other RBs when detecting that the network load parameter is lower than the corresponding preset recovery threshold includes:
检测到网络负载参数中的所有参数均低于对应的预设恢复门限时,在第 一预定时间内周期性连续向其他所有路由桥发送链路状态过载恢复通告信息;其中,其他所有路由桥在首次接收到链路状态过载恢复通告信息时,标记第一路由桥为可达状态。When it is detected that all parameters in the network load parameter are lower than the corresponding preset recovery threshold, The link state overload recovery notification information is sent to all the RBs periodically and continuously for a predetermined period of time. When all the RBs receive the link state overload recovery notification information for the first time, the first RBridge is marked as reachable.
本文还公开了一种路径选择方法,包括:This paper also discloses a path selection method, including:
接收多链路透明互联TRILL网络中的第一路由桥发送的链路状态过载通告信息;其中,链路状态过载通告信息是第一路由桥在检测到当前的网络负载参数超过对应的预设过载门限时发送的;Receiving link state overload notification information sent by the first RB in the multi-link transparent interconnect TRILL network; wherein the link state overload notification information is that the first RB bridge detects that the current network load parameter exceeds the corresponding preset overload Sent when the threshold is sent;
根据链路状态过载通告信息,标记第一路由桥为不可达状态,并重新计算TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。According to the link state overload notification information, the first RBridge is marked as unreachable, and all the RBs in the TRILL network except the first RBridge reach the shortest path of each RBridge in the TRILL network.
其中,根据链路状态过载通告信息,标记第一路由桥为不可达状态的步骤之后,还包括:After the step of marking the first RB is unreachable according to the link state overload notification information, the method further includes:
接收第一路由桥发送的链路状态过载恢复通告信息;其中,链路状态过载恢复通告信息是第一路由桥在检测到网络负载参数低于对应的预设恢复门限时发送的;Receiving the link state overload recovery notification information sent by the first routing bridge; wherein the link state overload recovery notification information is sent by the first routing bridge when detecting that the network load parameter is lower than a corresponding preset recovery threshold;
根据链路状态过载恢复通告信息,标记第一路由桥为可达状态,并重新计算从TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。According to the link state overload recovery notification information, the first routing bridge is marked as reachable, and the shortest path from each of the TRILL networks except the first routing bridge to each of the routing bridges in the TRILL network is recalculated.
其中,根据链路状态过载通告信息,标记第一路由桥为不可达状态的步骤包括:The step of marking the first RB as an unreachable state according to the link state overload advertised information includes:
在首次接收到链路状态过载通告信息时,标记第一路由桥为不可达状态。When the link state overload notification information is received for the first time, the first RBridge is marked as unreachable.
其中,根据链路状态过载恢复通告信息,标记第一路由桥为可达状态的步骤包括:The step of marking the first RB as a reachable state according to the link state overload recovery notification information includes:
在首次接收到链路状态过载恢复通告信息时,标记第一路由桥为可达状态。When the link state overload recovery notification information is received for the first time, the first routing bridge is marked as reachable.
其中,在接收第一路由桥发送的链路状态过载恢复通告信息的步骤之后,还包括:After the step of receiving the link state overload recovery notification information sent by the first routing bridge, the method further includes:
获取第一路由桥的过载抖动次数;其中,成功接收一次链路状态过载通告信息和一次链路状态过载恢复通告信息记为一次过载抖动; Obtaining the overload jitter number of the first RBridge; wherein the successfully receiving the link state overload notification information and the one-link state overload recovery notification information is recorded as one overload jitter;
在过载抖动次数超过预设阈值时,标记第一路由桥在第二预定时间内为不可达状态。When the number of overload jitters exceeds a preset threshold, the first routing bridge is marked as unreachable for a second predetermined time.
本文还公开了一种路径选择装置,包括:Also disclosed herein is a path selection device comprising:
获取模块,设置为获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数;Obtaining a module, configured to obtain a current network load parameter of the first routing bridge in the multi-link transparent interconnect TRILL network;
发送模块,设置为在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态过载通告信息;指示其他所有路由桥标记第一路由桥为不可达状态,并重新计算从其他所有路由桥分别到达TRILL网络中各路由桥的最短路径。The sending module is configured to send a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold; and indicate that all other RBs mark the first RBridge as unreachable. And recalculate the shortest path from each of the other RBridges to each RBridge in the TRILL network.
本文还公开了一种路由桥,其特征在于,包括如上的路径选择装置。Also disclosed herein is a routing bridge that includes the path selection device as above.
本文还公开了一种路径选择装置,其特征在于,包括:Also disclosed herein is a path selection device, comprising:
接收模块,设置为接收多链路透明互联TRILL网络中的第一路由桥发送的链路状态过载通告信息;其中,链路状态过载通告信息是第一路由桥在检测到当前的网络负载参数超过对应的预设过载门限时发送的;a receiving module, configured to receive link state overload notification information sent by a first RB in a multi-link transparent interconnect TRILL network, where the link state overload notification information is that the first RB bridge detects that the current network load parameter exceeds Sent when the corresponding preset overload threshold is reached;
标记模块,设置为根据链路状态过载通告信息,标记第一路由桥为不可达状态,并重新计算TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。The marking module is configured to mark the first routing bridge as unreachable according to the link state overload notification information, and recalculate all the routing bridges except the first routing bridge in the TRILL network respectively reach the routing bridges in the TRILL network. The shortest path.
本文还公开了一种路由桥,其特征在于,包括如上所述的路径选择装置。Also disclosed herein is a routing bridge characterized by including a path selection device as described above.
本文还公开了一种网络,包括多个路由桥,其特征在于,所述多个路由桥中包括:如上所述的第一路由桥和如上所述的其他所有路由桥。Also disclosed herein is a network comprising a plurality of routing bridges, wherein the plurality of routing bridges comprise: a first routing bridge as described above and all other routing bridges as described above.
本发明的实施例的有益效果是:The beneficial effects of embodiments of the present invention are:
一种路径选择方法、装置、路由桥及网络,通过实时检测TRILL网络中各个路由桥当前的网络负载参数,在某个路由桥负担过重时,主动通知TRILL网络中其他路由桥,使得其他路由桥能够及时重新进行选路操作,避免因某些路由桥的负担过重而引起丢包和延迟的问题,提高了TRILL网络的可靠性。A path selection method, device, routing bridge and network detect the current network load parameters of each routing bridge in the TRILL network in real time, and actively notify other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routes are The bridge can re-route the operation in time to avoid the problem of packet loss and delay caused by the excessive load of some routing bridges, and improve the reliability of the TRILL network.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述 BRIEF abstract
图1表示本发明实施例提出的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
图2表示第一路由桥端的路径选择方法的流程示意图一;2 is a schematic flowchart 1 of a path selection method of a first routing bridge end;
图3表示第一路由桥端的路径选择方法的流程示意图二;3 is a schematic flowchart 2 of a path selection method of a first routing bridge end;
图4表示第一路由桥端的路径选择装置的模块示意图;4 is a block diagram showing a path selection device of a first routing bridge end;
图5表示其他路由桥端的路径选择方法的流程示意图一;FIG. 5 is a schematic flowchart 1 of a path selection method of other routing bridge ends;
图6表示其他路由桥端的路径选择方法的流程示意图二;6 is a schematic flowchart 2 of a path selection method of other routing bridge ends;
图7表示其他路由桥端的路径选择装置的模块示意图。Figure 7 is a block diagram showing the path selection means of other routing bridge ends.
本发明的较佳实施方式Preferred embodiment of the invention
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明的技术方案而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了使本领域的技术人员能够更透彻地理解本发明的技术方案。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While the exemplary embodiments of the present invention are shown in the drawings, it is understood that the embodiments of the present invention may be embodied in various forms and are not limited by the embodiments set forth herein. Rather, these embodiments are provided so that those skilled in the art can understand the invention.
实施例一Embodiment 1
图1为本发明实施例提出的应用场景示意图,其中TRILL网络负责转发主机1和主机2之间的流量,路由桥2和路由桥3对路由桥1和路由桥4间的流量进行负载分担。如图2所示,本发明的实施例提供了一种TRILL网络中的路径选择方法,包括以下步骤:FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention. The TRILL network is responsible for forwarding traffic between the host 1 and the host 2, and the routing bridge 2 and the RB 3 are configured to perform load sharing on the traffic between the RB1 and the RB4. As shown in FIG. 2, an embodiment of the present invention provides a path selection method in a TRILL network, including the following steps:
步骤10:获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数。Step 10: Acquire current network load parameters of the first RBridge in the multi-link transparent interconnect TRILL network.
这里所说的网络负载参数指的是能够代表或说明路由桥负担的参数指标,例如:路由桥的出/入端口带宽使用率、CPU使用率或内存使用率等。The network load parameter mentioned here refers to a parameter indicator that can represent or explain the burden of the RBridge, for example, the ingress/output port bandwidth usage rate of the RBridge, the CPU usage rate, or the memory usage rate.
步骤20:在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态过载通告信息。Step 20: Send a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold.
其中,每一网络负载参数均设置有对应的预设过载门限,当某路由桥检测到当前的网络负载参数超过对应的预设过载门限时,则代表该路由桥达到了其网络负载极限,也就是说该路由桥无法正常进行TRILL数据流量的转发。Each network load parameter is set with a corresponding preset overload threshold. When a RB detects that the current network load parameter exceeds the corresponding preset overload threshold, it represents that the RB bridge reaches its network load limit. That is to say, the RBridge cannot perform TRILL data traffic forwarding normally.
当网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所 有路由桥发送一链路状态过载通告信息,以使其他所有路由桥均标记第一路由桥为不可达状态,并重新计算TRILL网络中从该路由桥到达各路由桥的最短路径,以实现TRILL网络中流量转发的新的路径规划,这样即可避免因第一路由桥负担过重而引起的丢包和延迟的问题,提高了TRILL网络的可靠性。When the network load parameter exceeds the corresponding preset overload threshold, the other devices in the TRILL network A routing bridge sends a link state overload notification message, so that all other routing bridges mark the first routing bridge as unreachable, and recalculate the shortest path from the routing bridge to each routing bridge in the TRILL network to implement TRILL. A new path planning for traffic forwarding in the network, so as to avoid the problem of packet loss and delay caused by the excessive burden of the first routing bridge, and improve the reliability of the TRILL network.
TRILL网络中的某路由桥在受到某些突发流量冲击或其他网络攻击时,会影响自身的负担过重,被标记为不可达状态,但过一段时间冲击或攻击停止后,自身负担会慢慢恢复。When a RB bridge in a TRILL network is affected by some sudden traffic attacks or other network attacks, it will affect its own burden and be marked as unreachable. However, after a period of impact or attack stop, its own burden will be slow. Slow recovery.
可选地,如图3所示,上述实施例中,在步骤20后,还包括:Optionally, as shown in FIG. 3, in the foregoing embodiment, after step 20, the method further includes:
步骤30:检测到网络负载参数低于对应的预设恢复门限时,向其他所有路由桥发送一链路状态过载恢复通告信息。Step 30: When detecting that the network load parameter is lower than the corresponding preset recovery threshold, send a link state overload recovery notification information to all other RBridges.
这里,每一网络参数均设置有对应的预设恢复门限,预设恢复门限与预设过载门限相对应,且预设恢复门限的值小于预设过载门限的值。当检测到某路由桥的网络负载参数低于对应的预设恢复门限时,代表该路由桥的网络负载恢复正常,可进行TRILL数据流量的正常转发。Here, each network parameter is set with a corresponding preset recovery threshold, the preset recovery threshold corresponds to the preset overload threshold, and the value of the preset recovery threshold is less than the value of the preset overload threshold. When the network load parameter of a RB is lower than the corresponding preset recovery threshold, the network load representing the RB is restored to normal, and TRILL data traffic can be forwarded normally.
当检测到网络负载参数低于对应的预设恢复门限时,向其他所有路由桥发送一链路状态过载恢复通告信息,以使其他所有路由桥标记第一路由桥为可达状态,并重新计算其他所有路由桥分别到达TRILL网络中各路由桥的最短路径,以实现TRILL网络中流量转发的新的路径规划,这样即可避免因第一路由桥已恢复流量转发能力未及时标记其为可达状态,而造成的资源浪费的问题,提高了TRILL网络的传输效率。When it is detected that the network load parameter is lower than the corresponding preset recovery threshold, a link state overload recovery notification information is sent to all other RBridges, so that all other RBridges mark the first RBridge as reachable and recalculate All other RBs reach the shortest path of each RB in the TRILL network to implement new path planning for traffic forwarding in the TRILL network. This prevents the traffic forwarding capability of the first RB from being restored. The problem of wasted resources caused by the state improves the transmission efficiency of the TRILL network.
其中,上述提及的网络负载参数可以是端口带宽使用率、CPU使用率和/或内存使用率中的至少一项。The network load parameter mentioned above may be at least one of port bandwidth usage, CPU usage, and/or memory usage.
其中,上述提及的链路状态过载通告信息和链路状态过载恢复通告信息均可采用LSP报文的方式发送至其他路由桥。The link state overload notification information and the link state overload recovery notification information mentioned above can be sent to other RBridges by using LSP packets.
可选地,链路状态过载通告信息的LSP报文TLV格式如下表所示,Optionally, the LSP packet TLV format of the link state overload notification information is as shown in the following table.
Type=OverLoad NotificationType=OverLoad Notification
Length(1byte)Length(1byte)
Value=Nickname of the Overload RBValue=Nickname of the Overload RB
其中,Type字段代表LSP信息类型,此处为过载通告OverLoad Notification,长度为1byte;Length字段代表Value字段的长度,占用1byte;Value字段填充的是所述发送过载通告路由桥的Nickname。The Type field represents the LSP information type, here is the overload notification OverLoad Notification, the length is 1 byte; the Length field represents the length of the Value field, occupying 1 byte; and the Value field is filled with the Nickname of the sending overload notification RBridge.
可选地,链路状态过载通告信息的LSP报文TLV格式如下表所示,Optionally, the LSP packet TLV format of the link state overload notification information is as shown in the following table.
Type=OverLoad Recover NotificationType=OverLoad Recover Notification
Length(1byte)Length(1byte)
Value=Nickname of the Overload Recover RBValue=Nickname of the Overload Recover RB
其中,Type字段代表LSP信息类型,此处为过载恢复通告OverLoad Recover Notification,长度为1byte;Length字段代表Value字段的长度,占用1byte;Value字段填充的是所述发送过载恢复通告路由桥的Nickname。The Type field represents the LSP information type, here is the overload recovery notification OverLoad Recover Notification, the length is 1 byte; the Length field represents the length of the Value field, occupying 1 byte; and the Value field is filled with the Nickname of the sending overload recovery notification routing bridge.
其中,为避免链路状态过载通告信息丢失,在网络负载参数中的至少一个参数超过对应的预设过载门限时,在第一预定时间内周期性连续向TRILL网络中的其他所有路由桥发送链路状态过载通告信息,告知其他所有路由桥当前无法正常执行TRILL数据报文的转发。或者,在网络负载参数中的至少一个参数超过对应的预设过载门限时,周期性连续向TRILL网络中的其他所有路由桥发送链路状态过载通告信息直到达到预设次数,告知其他所有路由桥当前无法正常执行TRILL数据报文的转发。这里指的是,当有多个网络负载参数达到或超过预设过载门限,只有最先达到或超过预设过载门限的网络负载参数会触发第一路由桥发送链路状态过载通告信息,其他网络负载参数将不会再次触发。而其他所有路由桥在收到链路状态过载通告信息时,立即标记发送该链路状态过载通告信息的第一路由桥为不可达状态,也就是说,其他所有路由桥仅在首次接收到链路状态过载通告信息时,标记第一路由桥为不可达状态,而再次接收到链路状态过载通告信息后,不作处理。In order to avoid loss of the link state overload notification information, when at least one parameter of the network load parameter exceeds the corresponding preset overload threshold, periodically send the chain to all other routing bridges in the TRILL network in the first predetermined time. The road state overload notification message informs all other RBs that the TRILL data packet cannot be forwarded normally. Or, when at least one parameter of the network load parameter exceeds a corresponding preset overload threshold, periodically send link state overload notification information to all other RBridges in the TRILL network until a preset number of times is reached, and all other RBs are notified. The forwarding of TRILL data packets cannot be performed normally. Here, when there are multiple network load parameters that meet or exceed the preset overload threshold, only the network load parameter that first reaches or exceeds the preset overload threshold triggers the first RBridge to send link state overload notification information, other networks. The load parameters will not be triggered again. When all the other RBs receive the link state overload notification information, the first RB that sends the link state overload notification information is marked as unreachable. That is, all other RBridges only receive the chain for the first time. When the road state overload notification information is marked, the first routing bridge is marked as unreachable, and after receiving the link state overload notification information again, no processing is performed.
其中,为了避免链路状态过载恢复通告信息的丢失,在检测到网络负载参数中的所有参数均低于对应的预设恢复门限时,在第一预定时间内周期性连续向其他所有路由桥发送链路状态过载恢复通告信息,告知其他所有路由桥当前能够正常执行TRILL数据报文的转发。或者,在检测到网络负载参数中的所有参数均低于对应的预设恢复门限时,周期性连续向其他所有路由桥 发送链路状态过载恢复通告信息直到达到预设次数,告知其他所有路由桥当前能够正常执行TRILL数据报文的转发。这里指的是,当网络负载参数有多个监测指标时,只有所有指标的参数均低于对应的预设恢复门限时,才会触发第一路由桥发送链路状态过载通告信息。而其他所有路由桥在收到链路状态过载恢复通告信息时,立即标记发送该链路状态过载通告信息的第一路由桥为可达状态,也就是说,其他所有路由桥仅在首次接收到链路状态过载恢复通告信息时,标记第一路由桥为可达状态,而再次接收到链路状态过载恢复通告信息后,不作处理。In order to avoid the loss of the link state overload recovery notification information, when all the parameters in the network load parameter are detected to be lower than the corresponding preset recovery threshold, periodically send to all other RBridges in the first predetermined time. The link state overload recovery notification message informs all other routing bridges that the TRILL data packets can be forwarded normally. Or, when all the parameters in the network load parameter are detected to be lower than the corresponding preset recovery threshold, periodically and continuously to all other RBridges The link state overload recovery notification message is sent until the preset number of times is reached, and all other routing bridges are currently able to perform the forwarding of TRILL data packets. Here, when the network load parameter has multiple monitoring indicators, the first RBridge sends the link state overload notification information only when the parameters of all the indicators are lower than the corresponding preset recovery threshold. When all the other RBs receive the link state overload recovery notification information, the first RB that sends the link state overload notification information is marked as reachable state, that is, all other RBridges are only received for the first time. When the link state overload recovery notification information is marked, the first RBridge is marked as reachable, and after receiving the link state overload recovery notification information again, no processing is performed.
本发明的实施例通过实时检测TRILL网络中各个路由桥当前的网络负载参数,在某个路由桥负担过重时,主动通知TRILL网络中其他路由桥,使得其他路由桥能够及时重新进行选路操作,避免因某些路由桥的负担过重而引起丢包和延迟的问题,提高了TRILL网络的可靠性;而在第一路由桥的网络负载参数恢复正常时,主动通知TRILL网络中其他路由桥,使得其他路由桥能够及时重新进行选路操作,避免因第一路由桥已恢复流量转发能力未及时标记其为可达状态,而造成的资源浪费的问题,提高了TRILL网络的传输效率。The embodiment of the present invention detects the current network load parameters of each routing bridge in the TRILL network in real time, and actively notifies other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routing bridges can re-select the routing operations in time. To avoid the problem of packet loss and delay caused by the overload of some RBridges, and improve the reliability of the TRILL network; and when the network load parameters of the first RBridge return to normal, actively notify other RBridges in the TRILL network. The routing bridge can be re-routed in time to avoid the problem of resource waste caused by the first routing bridge being restored to the reachable state, and the transmission efficiency of the TRILL network is improved.
实施例二Embodiment 2
下面将结合图4对上述路径选择方法对应的装置做具体介绍。本文还公开了一种路径选择装置,包括:The device corresponding to the above path selection method will be specifically described below with reference to FIG. Also disclosed herein is a path selection device comprising:
获取模块101,设置为获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数;The obtaining module 101 is configured to obtain a current network load parameter of the first RBridge in the multi-link transparent interconnect TRILL network;
发送模块102,设置为在网络负载参数超过对应的预设过载门限时,向TRILL网络中的其他所有路由桥发送一链路状态LSP过载通告信息;使得其他所有路由桥标记第一路由桥为不可达状态,并重新计算从其他所有路由桥分别到达TRILL网络中各路由桥的最短路径。The sending module 102 is configured to send a link state LSP overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds the corresponding preset overload threshold; so that all other RBridges mark the first RBridge as unavailable. Reach the state and recalculate the shortest path from each of the other RBridges to the RBs in the TRILL network.
需要说明的是,该装置是与上述图1-3所示方法实施例完全一一对应的装置,上述方法实施例中的所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。It should be noted that the device is a device that completely corresponds to the method embodiment shown in FIG. 1-3, and all implementations in the foregoing method embodiments are applicable to the embodiment of the device, and can also achieve the same. Technical effects.
实施例三 Embodiment 3
本文还公开了一种路由桥,包括如上所述的路径选择装置。该路由桥为上述方法中的第一路由桥。Also disclosed herein is a routing bridge, including the path selection device as described above. The RBridge is the first RBridge in the above method.
下面将结合图5和图6对TRILL网络中除第一路由桥外的其他路由桥进行说明,TRILL网络中的路径选择方法,包括以下步骤:In the following, the routing bridges in the TRILL network except the first routing bridge are described in conjunction with FIG. 5 and FIG. 6. The path selection method in the TRILL network includes the following steps:
步骤11:接收多链路透明互联TRILL网络中的第一路由桥发送的链路状态过载通告信息。Step 11: Receive link state overload notification information sent by the first RB in the multi-link transparent interconnect TRILL network.
其中,该链路状态过载通告信息是第一路由桥在检测到当前自身的网络负载参数超过对应的预设门限时发送的。The link state overload notification information is sent by the first RBridge when it detects that the current network load parameter exceeds the corresponding preset threshold.
步骤21:根据链路状态过载通告信息,标记第一路由桥为不可达状态,并重新计算TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。Step 21: According to the link state overload notification information, mark the first RB bridge as unreachable, and recalculate the shortest path of each RBridge in the TRILL network to all the RBs in the TRILL network except the first RBridge. .
为提高TRILL网络的传输效率,在第一路由桥恢复负载能力时,其他所有路由桥执行以下步骤:To improve the transmission efficiency of the TRILL network, when the first RBridge restores the load capacity, all other RBridges perform the following steps:
步骤31:接收第一路由桥发送的链路状态过载恢复通告信息。Step 31: Receive link state overload recovery notification information sent by the first RBridge.
其中,链路状态过载恢复通告信息是第一路由桥在检测到网络负载参数低于对应的预设恢复门限时发送的。The link state overload recovery notification information is sent by the first RBridge when it detects that the network load parameter is lower than the corresponding preset recovery threshold.
步骤41:根据链路状态过载恢复通告信息,标记第一路由桥为可达状态,并重新计算从TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。Step 41: According to the link state overload recovery notification information, mark the first routing bridge as reachable state, and recalculate all the routing bridges except the first routing bridge from the TRILL network to reach each routing bridge in the TRILL network. The shortest path.
其中,为了避免链路状态过载通告信息丢失,在第一路由桥检测到自身网络负载参数超过对应的预设过载门限时,会周期性向TRILL网络中其他所有路由桥发送链路状态过载通告信息,这时,接收到链路状态过载通告信息的路由桥会在首次接收到链路状态过载通告信息时,标记第一路由桥为不可达状态,而再次接收到链路状态过载通告信息时不做处理。The link state overload notification information is periodically sent to all other RBridges in the TRILL network when the first RB detects that the network load parameter exceeds the corresponding preset overload threshold. At this time, the RBridge that receives the link state overload notification information marks the first RBridge as unreachable when receiving the link state overload advertised information for the first time, and does not do when receiving the link state overload advertised information again. deal with.
同理,为了避免链路状态过载恢复通告信息丢失,在第一路由桥检测到自身网络负载参数低于对应的预设恢复门限时,会周期性向TRILL网络中其他所有路由桥发送链路状态过载恢复通告信息,这时,接收到链路状态过载恢复通告信息的路由桥会在首次接收到链路状态过载恢复通告信息时,标记第一路由桥为可达状态,而再次接收到链路状态过载恢复通告信息时不做处 理。Similarly, in order to avoid link state overload recovery notification information loss, when the first RBridge detects that its own network load parameter is lower than the corresponding preset recovery threshold, it will periodically send link state overload to all other RBridges in the TRILL network. The advertised information is restored. At this time, the RBridge that receives the link state overload recovery advertised information marks the first RBridge as reachable when receiving the link state overload recovery advertised information for the first time, and receives the link state again. Do not do anything when overload recovery notification information Reason.
其中,为了进一步提高TRILL网络的处理效率,在TRILL网络中的所有路由桥中均设置过载抖动计数器(OLC,Over-Load-Count),OLC计数器记录的条目包括但不限于发送链路状态过载通告信息的路由桥的Nickname和该路由桥的过载次数。In order to further improve the processing efficiency of the TRILL network, an overload jitter counter (OLC, Over-Load-Count) is set in all the routing bridges in the TRILL network, and the entries recorded by the OLC counter include but are not limited to the transmission link state overload notification. The Nickname of the routing bridge of the message and the number of overloads of the RBridge.
获取第一路由桥的过载抖动次数;其中,成功接收一次链路状态过载通告信息和一次链路状态过载恢复通告信息记为一次过载抖动。Obtaining the overload jitter number of the first RBridge; wherein the successfully receiving the link state overload notification information and the one-link state overload recovery notification information is recorded as one overload jitter.
在过载抖动次数超过预设阈值时,标记第一路由桥在第二预定时间内为不可达状态。这里指的是当TRILL网络中某个路由桥由于某些异常原因,引起反复发送链路状态过载通告信息和链路状态过载恢复通告信息,使OLC计数器记录的过载次数超过一定数量时,其他所有路由桥在较长的一段时间内将该路由桥标记为不可达,并且在该段时间内,收到该路由桥发送的链路状态过载通告信息和链路状态过载恢复通告信息都不进行处理。When the number of overload jitters exceeds a preset threshold, the first routing bridge is marked as unreachable for a second predetermined time. This refers to when a RB in a TRILL network causes repeated transmission of link state overload notification information and link state overload recovery notification information due to some abnormal reason, so that the number of overloads recorded by the OLC counter exceeds a certain number, all others The RB is marked as unreachable for a long period of time, and during this period, the link state overload notification information and the link state overload recovery notification information sent by the RB are not processed. .
实施例四Embodiment 4
下面将结合图7对上述TRILL网络中的路径选择方法对应的装置进行进一步介绍。本文还公开了一种TRILL网络中的路径选择装置,包括:The apparatus corresponding to the path selection method in the above TRILL network will be further described below with reference to FIG. Also disclosed herein is a path selection device in a TRILL network, comprising:
接收模块201,设置为接收多链路透明互联网络TRILL网络中的第一路由桥发送的链路状态过载通告信息;其中,链路状态过载通告信息是第一路由桥在检测到当前的网络负载参数超过对应的预设过载门限时发送的;The receiving module 201 is configured to receive link state overload notification information sent by the first RB in the multi-link transparent internet TRILL network, where the link state overload notification information is that the first RB bridge detects the current network load. Sent when the parameter exceeds the corresponding preset overload threshold;
标记模块202,设置为根据链路状态过载通告信息,标记第一路由桥为不可达状态,并重新计算TRILL网络中除第一路由桥外的其他所有路由桥分别到达TRILL网络中的各路由桥的最短路径。The marking module 202 is configured to mark the first routing bridge as unreachable according to the link state overload notification information, and recalculate all the routing bridges except the first routing bridge in the TRILL network to reach each routing bridge in the TRILL network. The shortest path.
需要说明的是,该装置是与上述图5和6所示路径选择方法对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。It should be noted that the device is a device corresponding to the path selection method shown in FIG. 5 and FIG. 6 above. All the implementation manners in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
本文还公开了一种路由桥,包括如实施例四所述的路径选择装置。该路由桥为TRILL网络中除第一路由桥之外的其它所有路由桥中的任一个。 Also disclosed herein is a routing bridge comprising the path selection device as described in embodiment four. The RBridge is any one of all RBridges except the first RBridge in the TRILL network.
本文还公开了一种网络,包括多个路由桥,所述多个路由桥中包括:如上所述的第一路由桥和如上所述的其他路由桥。Also disclosed herein is a network comprising a plurality of routing bridges, the plurality of routing bridges comprising: a first routing bridge as described above and other routing bridges as described above.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被处理器执行时可实现本发明实施例所提供的一种路径选择方法。The embodiment of the present invention further provides a computer readable storage medium, which stores program instructions, and when the program instructions are executed by the processor, a path selection method provided by an embodiment of the present invention may be implemented.
该网络为TRILL网络,通过实时检测TRILL网络中各个路由桥当前的网络负载参数,在某个路由桥负担过重时,主动通知TRILL网络中其他路由桥,使得其他路由桥能够及时重新进行选路操作,避免因某些路由桥的负担过重而引起丢包和延迟的问题,提高了TRILL网络的可靠性。The network is a TRILL network. By detecting the current network load parameters of each RBridge in the TRILL network in real time, when a RB is overburdened, it actively informs other RBridges in the TRILL network, so that other RBs can re-route in time. The operation avoids the problem of packet loss and delay caused by the excessive load of some RBridges, and improves the reliability of the TRILL network.
工业实用性Industrial applicability
本文公开的技术方案通过实时检测TRILL网络中各个路由桥当前的网络负载参数,在某个路由桥负担过重时,主动通知TRILL网络中其他路由桥,使得其他路由桥能够及时重新进行选路操作,避免因某些路由桥的负担过重而引起丢包和延迟的问题,能够提高TRILL网络的可靠性。 The technical solution disclosed in the present invention detects the current network load parameters of each routing bridge in the TRILL network in real time, and actively notifies other routing bridges in the TRILL network when a certain routing bridge is overburdened, so that other routing bridges can re-select the routing operations in time. To avoid the problem of packet loss and delay caused by the excessive load of some RBridges, and improve the reliability of the TRILL network.

Claims (15)

  1. 一种路径选择方法,包括:A path selection method, including:
    获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数;Obtaining a current network load parameter of the first RBridge in the multi-link transparent interconnect TRILL network;
    在所述网络负载参数超过对应的预设过载门限时,向所述TRILL网络中的其他所有路由桥发送一链路状态过载通告信息;指示所述其他所有路由桥标记所述第一路由桥为不可达状态,并重新计算从所述其他所有路由桥分别到达所述TRILL网络中各路由桥的最短路径。Transmitting, by the network load parameter, a link state overload notification information to all other RBridges in the TRILL network; indicating that all other RBridges mark the first RBridge as Unreachable state, and recalculate the shortest path from each of the other RBridges to each RBridge in the TRILL network.
  2. 根据权利要求1所述的路径选择方法,其中,在所述网络负载参数超过对应的预设过载门限时,向所述TRILL网络中的其他所有路由桥发送一链路状态过载通告信息的步骤之后,还包括:The path selection method according to claim 1, wherein after the step of transmitting a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds a corresponding preset overload threshold ,Also includes:
    检测到所述网络负载参数低于对应的预设恢复门限时,向所述其他所有路由桥发送一链路状态过载恢复通告信息,指示所述其他所有路由桥标记所述第一路由桥为可达状态,并重新计算所述其他所有路由桥分别到达所述TRILL网络中各路由桥的最短路径。And detecting, when the network load parameter is lower than the corresponding preset recovery threshold, sending a link state overload recovery notification information to all other RBridges, indicating that all other RBridges mark the first RBridge as Reach the state and recalculate the shortest path of each of the RBs in the TRILL network.
  3. 根据权利要求2所述的路径选择方法,其中所述网络负载参数包括:端口带宽使用率、中央处理器CPU使用率和/或内存使用率。The path selection method of claim 2, wherein the network load parameters comprise: port bandwidth usage, central processor CPU usage, and/or memory usage.
  4. 根据权利要求3所述的路径选择方法,其中,在所述网络负载参数超过对应的预设过载门限时,向所述TRILL网络中的其他所有路由桥发送一链路状态过载通告信息的步骤包括:The path selection method according to claim 3, wherein when the network load parameter exceeds a corresponding preset overload threshold, the step of transmitting a link state overload notification information to all other RBridges in the TRILL network includes :
    在所述网络负载参数中的至少一个参数超过对应的预设过载门限时,在第一预定时间内周期性连续向所述TRILL网络中的其他所有路由桥发送所述链路状态过载通告信息;其中,所述其他所有路由桥在首次接收到所述链路状态过载通告信息时,标记所述第一路由桥为不可达状态。When the at least one parameter of the network load parameter exceeds a corresponding preset overload threshold, the link state overload notification information is periodically and continuously sent to all other RBridges in the TRILL network in a first predetermined time; When all the other RBs receive the link state overload notification information for the first time, the first RB bridge is marked as unreachable.
  5. 根据权利要求3所述的路径选择方法,其中,检测到所述网络负载参数低于对应的预设恢复门限时,向所述其他所有路由桥发送一链路状态过载恢复通告信息的步骤包括: The path selection method according to claim 3, wherein, when detecting that the network load parameter is lower than a corresponding preset recovery threshold, the step of transmitting a link state overload recovery notification information to all other RBridges includes:
    检测到所述网络负载参数中的所有参数均低于对应的预设恢复门限时,在第一预定时间内周期性连续向所述其他所有路由桥发送链路状态过载恢复通告信息;其中,所述其他所有路由桥在首次接收到所述链路状态过载恢复通告信息时,标记所述第一路由桥为可达状态。And detecting, when the all the parameters in the network load parameter are lower than the corresponding preset recovery threshold, periodically sending the link state overload recovery notification information to the other all the RBs in a first predetermined time; When all the other RBs receive the link state overload recovery notification information for the first time, the first RBridge is marked as reachable.
  6. 一种路径选择方法,包括:A path selection method, including:
    接收多链路透明互联TRILL网络中的第一路由桥发送的链路状态过载通告信息;其中,所述链路状态过载通告信息是所述第一路由桥在检测到当前的网络负载参数超过对应的预设过载门限时发送的;Receiving link state overload notification information sent by the first RB in the multi-link transparent interconnect TRILL network; wherein the link state overload notification information is that the first RB bridge detects that the current network load parameter exceeds the corresponding Sent when the preset overload threshold is sent;
    根据所述链路状态过载通告信息,标记所述第一路由桥为不可达状态,并重新计算所述TRILL网络中除所述第一路由桥外的其他所有路由桥分别到达所述TRILL网络中的各路由桥的最短路径。Determining, according to the link state overload notification information, that the first RB bridge is unreachable, and recalculating all the RBs in the TRILL network except the first RBridge to reach the TRILL network. The shortest path of each RBridge.
  7. 根据权利要求6所述的路径选择方法,其中,根据所述链路状态过载通告信息,标记所述第一路由桥为不可达状态的步骤之后,还包括:The path selection method according to claim 6, wherein, after the step of marking the first RB is unreachable according to the link state overload notification information, the method further includes:
    接收所述第一路由桥发送的链路状态过载恢复通告信息;其中,所述链路状态过载恢复通告信息是所述第一路由桥在检测到所述网络负载参数低于对应的预设恢复门限时发送的;Receiving the link state overload recovery notification information sent by the first RBridge, wherein the link state overload recovery notification information is that the first RBridge detects that the network load parameter is lower than a corresponding preset recovery Sent when the threshold is sent;
    根据所述链路状态过载恢复通告信息,标记所述第一路由桥为可达状态,并重新计算从所述TRILL网络中除所述第一路由桥外的其他所有路由桥分别到达所述TRILL网络中的各路由桥的最短路径。Determining, according to the link state overload recovery notification information, that the first RBridge is reachable, and recalculating all the RBs from the TRILL network except the first RBridge to reach the TRILL The shortest path of each RBridge in the network.
  8. 根据权利要求7所述的路径选择方法,其中,根据所述链路状态过载通告信息,标记所述第一路由桥为不可达状态的步骤包括:The path selection method according to claim 7, wherein the step of marking the first RB is unreachable according to the link state overload notification information comprises:
    在首次接收到所述链路状态过载通告信息时,标记所述第一路由桥为不可达状态。When the link state overload notification information is received for the first time, the first RBridge is marked as unreachable.
  9. 根据权利要求7所述的路径选择方法,其中,根据所述链路状态过载恢复通告信息,标记所述第一路由桥为可达状态的步骤包括:The path selection method according to claim 7, wherein the step of marking the first RB as a reachable state according to the link state overload recovery notification information comprises:
    在首次接收到所述链路状态过载恢复通告信息时,标记所述第一路由桥为可达状态。When the link state overload recovery notification information is received for the first time, the first routing bridge is marked as reachable.
  10. 根据权利要求8或9所述的路径选择方法,其中,在接收所述第一路由桥发送的链路状态过载恢复通告信息的步骤之后,还包括: The path selection method according to claim 8 or 9, wherein after the step of receiving the link state overload recovery notification information sent by the first RBridge, the method further includes:
    获取所述第一路由桥的过载抖动次数;其中,成功接收一次链路状态过载通告信息和一次链路状态过载恢复通告信息记为一次过载抖动;Acquiring the overload jitter number of the first RBridge; wherein, successfully receiving the link state overload notification information and the one-link state overload recovery notification information is recorded as one overload jitter;
    在所述过载抖动次数超过预设阈值时,标记所述第一路由桥在第二预定时间内为不可达状态。When the number of overload jitters exceeds a preset threshold, the first routing bridge is marked as being unreachable for a second predetermined time.
  11. 一种路径选择装置,包括:A path selection device comprising:
    获取模块,设置为获取多链路透明互联TRILL网络中的第一路由桥的当前的网络负载参数;Obtaining a module, configured to obtain a current network load parameter of the first routing bridge in the multi-link transparent interconnect TRILL network;
    发送模块,设置为在所述网络负载参数超过对应的预设过载门限时,向所述TRILL网络中的其他所有路由桥发送一链路状态过载通告信息;指示所述其他所有路由桥标记所述第一路由桥为不可达状态,并重新计算从所述其他所有路由桥分别到达所述TRILL网络中各路由桥的最短路径。a sending module, configured to send a link state overload notification information to all other RBridges in the TRILL network when the network load parameter exceeds a corresponding preset overload threshold; indicating that all other RBridges are marked The first RBridge is in an unreachable state, and recalculates the shortest path from each of the other RBridges to each RBridge in the TRILL network.
  12. 一种路由桥,包括如权利要求11所述的路径选择装置。A routing bridge comprising the path selection device of claim 11.
  13. 一种路径选择装置,包括:A path selection device comprising:
    接收模块,设置为接收多链路透明互联TRILL网络中的第一路由桥发送的链路状态过载通告信息;其中,所述链路状态过载通告信息是所述第一路由桥在检测到当前的网络负载参数超过对应的预设过载门限时发送的;a receiving module, configured to receive link state overload notification information sent by a first RB in a multi-link transparent interconnect TRILL network, where the link state overload notification information is that the first RB is detecting the current Sent when the network load parameter exceeds the corresponding preset overload threshold;
    标记模块,设置为根据所述链路状态过载通告信息,标记所述第一路由桥为不可达状态,并重新计算所述TRILL网络中除所述第一路由桥外的其他所有路由桥分别到达所述TRILL网络中的各路由桥的最短路径。a marking module, configured to mark the first RB as an unreachable state according to the link state overload notification information, and recalculate all the RBs in the TRILL network except the first RBridge respectively The shortest path of each RBridge in the TRILL network.
  14. 一种路由桥,包括如权利要求13所述的路径选择装置。A routing bridge comprising the path selection device of claim 13.
  15. 一种网络,包括多个路由桥,其中,所述多个路由桥中第一路由桥为如权利要求12所述的路由桥;所述多个路由桥中除第一路由桥之外的其他所有路由桥为如权利要求14所述的路由桥。 A network comprising a plurality of routing bridges, wherein a first routing bridge of the plurality of routing bridges is the routing bridge according to claim 12; and the plurality of routing bridges other than the first routing bridge All RBridges are RBridges as claimed in claim 14.
PCT/CN2016/080265 2015-06-16 2016-04-26 Path selection method and device, routing bridge, and network WO2016202095A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510334291.2 2015-06-16
CN201510334291.2A CN106330703A (en) 2015-06-16 2015-06-16 Route selection method and device, routing bridge and network

Publications (1)

Publication Number Publication Date
WO2016202095A1 true WO2016202095A1 (en) 2016-12-22

Family

ID=57544974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080265 WO2016202095A1 (en) 2015-06-16 2016-04-26 Path selection method and device, routing bridge, and network

Country Status (2)

Country Link
CN (1) CN106330703A (en)
WO (1) WO2016202095A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850805A (en) * 2017-02-06 2017-06-13 网宿科技股份有限公司 A kind of data transmission method and device
CN112260946B (en) * 2020-09-10 2024-03-19 视联动力信息技术股份有限公司 Link failure processing method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694729A (en) * 2012-05-23 2012-09-26 神州数码网络(北京)有限公司 Path selecting method for multi-link transparent Internet
CN102970231A (en) * 2012-11-20 2013-03-13 中兴通讯股份有限公司 Multicast flow forwarding implementation method and routing bridge (RB)
US20140098703A1 (en) * 2012-10-08 2014-04-10 International Business Machines Corporation Trill shortest path first implementation
CN103856400A (en) * 2012-11-29 2014-06-11 华为技术有限公司 FCoE message forwarding method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227262B (en) * 2008-02-20 2011-12-07 中兴通讯股份有限公司 System and method of route inhibiting
US8948051B2 (en) * 2012-05-30 2015-02-03 Alcatel Lucent System and method for efficient MVPN source redundancy with S-PMSI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694729A (en) * 2012-05-23 2012-09-26 神州数码网络(北京)有限公司 Path selecting method for multi-link transparent Internet
US20140098703A1 (en) * 2012-10-08 2014-04-10 International Business Machines Corporation Trill shortest path first implementation
CN102970231A (en) * 2012-11-20 2013-03-13 中兴通讯股份有限公司 Multicast flow forwarding implementation method and routing bridge (RB)
CN103856400A (en) * 2012-11-29 2014-06-11 华为技术有限公司 FCoE message forwarding method, device and system

Also Published As

Publication number Publication date
CN106330703A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US8259584B2 (en) Dynamic reroute of network traffic
US8619583B2 (en) Ingress node controlled path impairment protocol
US8125911B2 (en) First-hop domain reliability measurement and load balancing in a computer network
US7907520B2 (en) Path testing and switching
EP2856715B1 (en) System and method for managing mpls-te overload
EP2774332B1 (en) Service assurance using network measurement triggers
JP2006217597A (en) Routing method and apparatus for reducing loss of packet
US20230231798A1 (en) Conditional routing delivery in a compromised network
EP3627770A1 (en) Network performance monitoring using an active measurement protocol and relay mechanism
CN103200115A (en) Flow control method and device in SPB (Shortest Path Bridging) network
WO2016202095A1 (en) Path selection method and device, routing bridge, and network
WO2014008809A1 (en) Frame loss detection method and system
JP2010130329A (en) Communication apparatus and relay apparatus
JP2010041385A (en) Router and congestion control method
US10250487B2 (en) Dynamic modification of bypass label-switched paths based on monitoring network traffic conditions
TWI523463B (en) Network system and load balancing method
US8396955B2 (en) Systems and methods for discovery of network topology using service OAM
JP4222566B2 (en) Congestion control method, congestion control program, and congestion control system
Zhang et al. Transparent Interconnection of Lots of Links (TRILL): MTU Negotiation
Zhang et al. RFC 8249: Transparent Interconnection of Lots of Links (TRILL): MTU Negotiation
US20160315854A1 (en) System and method of signaling protection path bindings
WO2014068818A1 (en) Mpls network and traffic control method utilized therefor
JP2015053610A (en) Connection control device, relay device, connection control method and program

Legal Events

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

Ref document number: 16810836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810836

Country of ref document: EP

Kind code of ref document: A1