[go: up one dir, main page]

WO2012163219A1 - Lsp network congestion processing method, device and system - Google Patents

Lsp network congestion processing method, device and system Download PDF

Info

Publication number
WO2012163219A1
WO2012163219A1 PCT/CN2012/075279 CN2012075279W WO2012163219A1 WO 2012163219 A1 WO2012163219 A1 WO 2012163219A1 CN 2012075279 W CN2012075279 W CN 2012075279W WO 2012163219 A1 WO2012163219 A1 WO 2012163219A1
Authority
WO
WIPO (PCT)
Prior art keywords
intermediate node
node
lsp
congestion
network
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.)
Ceased
Application number
PCT/CN2012/075279
Other languages
French (fr)
Chinese (zh)
Inventor
陈巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2012163219A1 publication Critical patent/WO2012163219A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/122Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, a device, and a system for processing network congestion of a Label Switching Path (LSP).
  • LSP Label Switching Path
  • the task of mapping traffic flows to the physical topology of the network is called Traffic Engineering (TE).
  • TE Traffic Engineering
  • the TE dynamically adjusts the traffic management parameters, routing parameters, and resource constraint parameters to migrate the network running state to an ideal state, optimize the use of network resources, and avoid congestion caused by uneven load.
  • the LSPs in the TE application scenario are increasing, and more and more services are carried.
  • users often do not configure hop-by-hop and strict display paths for each LSP. Instead, they use the resource constraints such as bandwidth and affinity attributes to plan the entire network.
  • the network topology changes routing, LSP, and other services are deleted and reconstructed.
  • the LSP is reconstructed based on the Constrained Shortest Path First (CSPF) path selection algorithm.
  • CSPF Constrained Shortest Path First
  • the head node Al ⁇ An establishes multiple TE LSPs to the tail nodes CI ⁇ Cm, which may pass through the intermediate node B1 or the intermediate node B2, and achieve the performance through automatic re-optimization and bandwidth adjustment in steady state.
  • the LSP is evenly loaded into the network.
  • CSPF relies on the instantaneous calculation path.
  • the best path that can be easily calculated passes through the same intermediate node. For example, Bl and B1 may also superimpose a large number of other services.
  • the topology change will cause the services to be busy. When the system is busy, the B1 internals are caused.
  • B1 does not urgently process the packets of a large number of newly created LSPs.
  • the LSP convergence time is long, and the bearer service is interrupted. Longer problems, while B2 is idle and not being used effectively.
  • the prior art solution generally adopts the following method: If the network congestion occurs in the intermediate node, the head node continuously sends a path (Path) message when the LSP is established. The network node is congested due to the network congestion of the intermediate node, and the LSP establishment fails. The period interval at which the head node sends the Path message is also gradually increased, for example, 2 seconds, 5 seconds, 10 seconds, 30 seconds, 60 seconds, and so on.
  • This solution can gradually alleviate the pressure of the intermediate nodes that are congested. In the end, the LSPs can be successfully established. However, the intermediate nodes that are congested cannot be effectively avoided, and other available paths are selected. As a result, the LSP convergence is too slow and the service interruption time is long. Summary of the invention
  • the embodiment of the invention provides a method, a device and a system for LSP network congestion processing.
  • a network with a large number of LSPs when the network topology changes and the intermediate node is congested, the convergence of the LSP is accelerated, and the service flow interruption is reduced. Time has promoted the dynamic balance of the network.
  • An embodiment of the present invention provides a method for LSP network congestion processing, where the method includes: a header node receives a network congestion notification message sent by an intermediate node that is congested; and the head node parses the received network congestion notification message. Obtaining address information of the intermediate node and congestion state information of the intermediate node;
  • the path Path message sent does not pass through the intermediate node.
  • An embodiment of the present invention provides an apparatus for LSP network congestion processing, where the apparatus includes: a receiving unit, configured to receive a network congestion notification message sent by an intermediate node that is congested; and a parsing unit, configured to parse the header node to receive The network congestion notification message, obtaining address information of the intermediate node and congestion state information of the intermediate node;
  • the processing unit finds the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, sets a congestion flag of the intermediate node data entry, and adds a Path message sent by the LSP. Does not pass through the intermediate node.
  • An embodiment of the present invention provides a network congestion processing system, where the system includes: a head node network element device, configured to receive a network congestion notification message sent by an intermediate node that is congested, and congest the received network. Declaring the message, obtaining the address information and the congestion state information of the intermediate node, and finding the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, where the intermediate node is The data entry is set to be congested.
  • the sent Path message does not pass through the intermediate node.
  • the intermediate node network element device is used to detect the congestion status.
  • the network congestion is sent.
  • the announcement message is sent to the head node network element device, where the network congestion advertisement message includes address information of the intermediate node network element device and congestion state information of the intermediate node.
  • the head node may obtain the address and congestion of the intermediate node that is congested by receiving and parsing the congestion notification message sent by the intermediate node that is congested. State information, so that when the LSP is newly established, the intermediate node that is congested is selected in time to select other intermediate nodes that do not have congestion, and the LSP caused by the header message repeatedly sending an LSP to the intermediate node that has already been congested is overcome. A very slow problem is established, which achieves the purpose of easing the pressure of the intermediate node while guaranteeing the LSP service, speeding up the convergence of the LSP, reducing the interruption time of the traffic, and promoting the dynamic balance of the network.
  • FIG. 1 is a schematic diagram of a TE LSP network application in the prior art
  • FIG. 2 is a schematic diagram of a LSP network congestion processing method according to a first embodiment of the present invention
  • FIG. 3 is a schematic diagram of a PathErr message ERROR_SPEC format provided in an embodiment of the present invention
  • 4 is a schematic diagram of an LSP network congestion processing apparatus according to a second embodiment of the present invention
  • FIG. 5 is a schematic diagram of an LSP network congestion processing system according to a third embodiment of the present invention.
  • FIG. 2 is a flow chart of a method according to a first embodiment of the present invention. Includes:
  • the head node receives a network congestion notification message sent by the intermediate node that is congested; the head node is a starting node of the LSP establishment process, and the intermediate node is a node on an intermediate path of the LSP establishment process.
  • the network congestion notification message received by the head node may be constructed by extending the RSVP-TE protocol in a scenario of a resource reservation protocol (RT)-based traffic reservation protocol (RSVP-TE).
  • RT resource reservation protocol
  • RSVP-TE resource reservation protocol-based traffic reservation protocol
  • the intermediate node If the intermediate node generates an error during the processing of the Path message, it will send a Path Error (PathErr) message to the head node.
  • the inter-issue node periodically detects the network congestion of the system.
  • a PathErr message of the type "Node Reroute Request” is constructed as a network congestion notification message for the Path message sent from the received slave node.
  • the error description ( ERROR_SPEC ) in the PathErr message is as shown in Figure 3. See RFC5710.
  • the error protocol Internet Protocol version 4 Error Node Address, IPv4 Error Node Address
  • the error code (Error Code) is 34 for "Node Reroute”.
  • Request "type message, Error Value can be any of the agreed values in [32768, 65535], which indicates whether the system is Congestion has occurred.
  • the network congestion message received by the head node is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the management weight (Metric) value, and is flooded by the IGP. .
  • the intermediate node periodically detects the network congestion of the system.
  • the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value.
  • the value is higher than other nodes.
  • the Metric value on the TE interface is large, and can be modified to the maximum value OxFFFFFFFF. According to the IGP protocol, the route of the TE interface whose metric value is modified is flooded to the head node.
  • the routes of all the TE interfaces of the intermediate node are flooded by way of routing messages.
  • the head node, the routing message carries the TE interface address information of the intermediate node and the metric value, and the address information of the TE interface can be used as the address information of the identifier intermediate node.
  • the head node parses the received network congestion notification message, and obtains address information of the intermediate node and congestion state information of the intermediate node.
  • the congestion notification message is constructed by the intermediate node carrying the intermediate node address information in the PathErr message of the response, and the head node receives the congestion notification message and parses the path according to the PathErr message structure.
  • the IPv4 Error Node Address is the intermediate node address information.
  • the head node receives the congestion advertisement message of the type of the routing message
  • the address information of the intermediate node TE interface and the Metrric thereof may be obtained from the congestion notification message of the routing message type according to the optional manner of 202, and the Metric value is used as a judgment.
  • a judgment flag of whether the intermediate node is congested for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to send network congestion.
  • the Path message sent does not pass through the intermediate node.
  • the head node of the TE deployed in the TE application network generates a data information base for establishing an LSP by using an Interior Gateway Protocol (IGP).
  • the information base contains information about the entries of all intermediate nodes that are used to establish an LSP.
  • the information of the entry contains information such as the address of the intermediate node.
  • the head node may find an entry corresponding to the intermediate node in the data information base according to the address of the intermediate node that is congested and obtained by the parsing, and the table is The item sets the congestion tag.
  • the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service.
  • the purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network. Further, the head node may start a timer after the congestion of the intermediate node in which the congestion occurs, and the head node may start a timer.
  • the intermediate node that sets the congestion flag The congestion flag will be cleared, and the intermediate node will be used as the candidate inter-node of the LSP establishment path, and the intermediate node will receive the Path message for establishing the LSP sent by the head node.
  • the intermediate node When the intermediate node is congested, the The LSP will be successfully established.
  • the intermediate node When the intermediate node is still in a congested state, it continues to send a congestion notification message to the head node, and the head node continues the processing from 202 to 206.
  • the apparatus includes: a receiving unit 402, a parsing unit 404, and a processing unit 406.
  • the receiving unit 402 is configured to receive, by the head node, a network congestion notification message sent by the intermediate node that is congested;
  • the network congestion notification message received by the receiving unit includes address information and congestion state information of the intermediate node.
  • the network congestion notification message received by the receiving unit may be constructed by extending the RSVP-TE protocol in an RSVP-TE scenario.
  • the PathErr message of the type "Node Reroute Request” is constructed as a network congestion notification message for the Path message sent by the received slave node.
  • the ERROR_SPEC in the constructed PathErr message is as shown in Figure 3.
  • the IPv4 Error Node Address is an intermediate node address information for sending a congestion notification message PathErr message, and the Error Code is 34 for "Node Reroute Request," type message, and the Error Value may be any of [32768, 65535].
  • the network congestion message received by the receiving unit is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the metric value, and is flooded by the IGP.
  • the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value, which is larger than the Metric value of the TE interface on other nodes. preferably may be modified in accordance with the maximum value 0xFFFFFFFF o IGP protocol, routing modified TE interface Metric values will be flooded to the head node.
  • the routes of all the TE interfaces of the intermediate node are flooded to the header by way of routing messages.
  • the routing message carries the address information of the TE interface and the metric value, and the address information of the TE interface can be used as the address information of the intermediate node.
  • the parsing unit 404 is configured to parse the network congestion notification message received by the head node, obtain address information of the intermediate node, and congestion state information of the intermediate node;
  • the congestion notification message is configured by the intermediate node responding to the PathErr by the Path message for establishing the LSP sent by the head node, and carrying the address information and the congestion state of the intermediate node in the response PathErr message.
  • the parsing unit parses the PathErr message to obtain the intermediate node address information and congestion status information of the congestion.
  • the parsing unit may obtain the address information of the intermediate node TE interface and the Metrric thereof from the congestion notification message of the routing message type, where the Metric value is used to determine whether the intermediate node occurs.
  • the judgment flag of congestion for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to transmit network congestion.
  • the processing unit 406 finds the intermediate node data entry in the information database for establishing the LSP according to the intermediate node address information obtained by the parsing unit, and sets the congestion parameter of the intermediate node data entry, and the new LSP is An intermediate node data entry that does not have a congestion flag is selected to avoid the intermediate node where congestion occurs.
  • the processing unit finds the entry corresponding to the intermediate node in the data information base for establishing the LSP by using the matching search according to the address of the intermediate node that is congested by the parsing, and sets the entry to the congestion flag.
  • the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service.
  • the purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network.
  • Figure 5 is a flow chart of the system of the third embodiment of the present invention.
  • the system includes: a head node network element device 502 and an intermediate node network element device 504.
  • the network element device may be a router, a switch, or other network device supporting the LSP.
  • the head node network element device 502 is configured to receive a network congestion notification message sent by the intermediate node that is congested, and parse the received network congestion notification message to obtain address information and congestion state information of the intermediate node, according to the The obtained intermediate node address information finds the intermediate node data entry in the information database for establishing the LSP, and sets the intermediate node data entry to be congested. When the LSP is created, the sent Path message does not pass.
  • the intermediate node network element device 504 periodically detects the self-congestion condition, and sends a network congestion notification message to the head node network element device when the intermediate node network element device is congested, where the network congestion notification message includes the intermediate node network Address information of the metadevice and congestion state information of the intermediate node.
  • the head node node network element device 502 includes:
  • the receiving unit 402 is configured to receive, by the head node, a network congestion notification message sent by the intermediate node that is congested;
  • the network congestion notification message received by the receiving unit includes address information and congestion state information of the intermediate node.
  • the network congestion notification message received by the receiving unit may be constructed by extending the RSVP-TE protocol in an RSVP-TE scenario.
  • the intermediate node constructs a type of "Node" for the received Path message sent by the slave node when the network congestion occurs in the system.
  • the PathErr message of the Reroute Request is used as the network congestion advertisement message, and the ERROR_SPEC in the constructed PathErr message is constructed as shown in Figure 3.
  • the IPv4 Error Node Address is the intermediate node address information of the PathErr message for sending the congestion notification message, and the Error Code is 34.
  • the Node Reroute Request, type message, Error Value can be any of the agreed values in [32768, 65535], which indicates whether the system is congested.
  • the network congestion message received by the receiving unit is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the metric value, and is flooded by the IGP.
  • the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value, which is larger than the Metric value of the TE interface on other nodes. preferably may be modified in accordance with the maximum value 0xFFFFFFFF o IGP protocol, routing modified TE interface Metric values will be flooded to the head node.
  • the routes of all the TE interfaces of the intermediate node are flooded to the header by way of routing messages.
  • the routing message carries the address information of the TE interface and the metric value, and the address information of the TE interface can be used as the address information of the intermediate node.
  • the parsing unit 404 is configured to parse the network congestion notification message received by the head node, obtain address information of the intermediate node, and congestion state information of the intermediate node;
  • the congestion notification message is configured by the intermediate node responding to the PathErr by the Path message for establishing the LSP sent by the head node, and carrying the address information and the congestion state of the intermediate node in the response PathErr message.
  • the parsing unit parses the PathErr message to obtain the intermediate node address information and congestion status information of the congestion.
  • the parsing unit may obtain the address information of the intermediate node TE interface and the Metrric thereof from the congestion notification message of the routing message type, where the Metric value is used to determine whether the intermediate node occurs.
  • the judgment flag of congestion for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to transmit network congestion.
  • the processing unit 406 finds the intermediate node data entry in the information database for establishing the LSP according to the intermediate node address information obtained by the parsing unit, and sets the congestion parameter of the intermediate node data entry, and the new LSP is An intermediate node data entry that does not have a congestion flag is selected to avoid the intermediate node where congestion occurs.
  • the processing unit finds the entry corresponding to the intermediate node in the data information base for establishing the LSP by using the address of the intermediate node that is congested according to the parsing, and sets the entry to the congestion flag.
  • the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service.
  • the purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided are an LSP network congestion processing method, device and system. The method includes: a head node receiving a network congestion notification message sent by an intermediate node where congestion occurs, and the head node parsing the received network congestion notification message to obtain the address information and the congestion state information about the intermediate node, wherein a Path message sent does not pass by the intermediate node when the head node newly establishes an LSP. In addition, also provided are a corresponding LSP congestion processing device and system. As such, it is ensured that an LSP can be be established smoothly when network congestion occurs on the intermediate node, achieving the object of relieving the pressure on the intermediate node while ensuring LSP service, accelerating the convergence of the LSP, reducing the interrupt time of the traffic flow and improving the network dynamic balance.

Description

一种 LSP网络拥塞处理的方法、 装置及系统  Method, device and system for LSP network congestion processing

技术领域 Technical field

本发明实施例涉及通信技术领域, 尤其涉及一种标签转发路径 ( Label Switching Path, LSP ) 网络拥塞的处理方法、 装置及系统。  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, a device, and a system for processing network congestion of a Label Switching Path (LSP).

背景技术 Background technique

将业务流映射到网络的物理拓朴上的任务被称作流量工程 ( Traffic Engineering, TE )。 TE通过实时监控网络的流量和网络单元的负载, 动态 调整流量管理参数、 路由参数和资源约束参数等, 使网络运行状态迁移到 理想状态, 优化网络资源的使用, 避免负载不均导致的拥塞。  The task of mapping traffic flows to the physical topology of the network is called Traffic Engineering (TE). By monitoring the traffic of the network and the load of the network unit in real time, the TE dynamically adjusts the traffic management parameters, routing parameters, and resource constraint parameters to migrate the network running state to an ideal state, optimize the use of network resources, and avoid congestion caused by uneven load.

随着网络规模的扩大及用户对业务质量要求的提高, TE应用场景的 LSP 日益增大, 承载的业务越来越多。 当 TE组网中的 LSP数量很大时, 用户往往不会对每条 LSP都配置逐跳、 严格显示路径, 而是用带宽、 亲和 属性等资源限制条件规划全网布局。 当网络拓朴发生变化时, 将会引发路 由、 LSP及其它业务删除重建, 而 LSP 的重建是基于约束最短路径优先 ( Constrained Shortest Path First, CSPF ) 的路径选择算法, 此算法很容易 算出的路径都经过同一中间节点,导致网络拥塞。如图 1所示,头节点 Al ~ An向尾节点 CI ~ Cm建立多条 TE LSP,都可能会经过中间节点 B1或中间 节点 B2, 稳态情况下通过自动重优化、 带宽调整等特性能实现 LSP均匀的 负载到网络中。 然而, 若网络拓朴发生震荡变化时, 将引发路由、 LSP及 其它业务删除重建。 CSPF依赖瞬时计算路径, 很容易算出的最佳路径都经 过同一中间节点, 例如 Bl , B1本身可能还叠加了大量其它业务, 拓朴变化 本来会造成各业务都繁忙处理,当系统繁忙导致 B1内部系统调度紧张、 CPU 占用过高进而导致系统拥塞, B1来不急处理大量新建 LSP的报文, 只能緩 存延迟处理或者直接丢弃。 进而造成 LSP收敛时间长, 承载业务断流时间 长等问题, 而此时 B2却处于空闲状态, 没有得到有效利用。 With the expansion of the network and the improvement of the service quality requirements of the users, the LSPs in the TE application scenario are increasing, and more and more services are carried. When the number of LSPs in a TE network is large, users often do not configure hop-by-hop and strict display paths for each LSP. Instead, they use the resource constraints such as bandwidth and affinity attributes to plan the entire network. When the network topology changes, routing, LSP, and other services are deleted and reconstructed. The LSP is reconstructed based on the Constrained Shortest Path First (CSPF) path selection algorithm. The algorithm is easy to calculate. Both pass through the same intermediate node, causing network congestion. As shown in Figure 1, the head node Al ~ An establishes multiple TE LSPs to the tail nodes CI ~ Cm, which may pass through the intermediate node B1 or the intermediate node B2, and achieve the performance through automatic re-optimization and bandwidth adjustment in steady state. The LSP is evenly loaded into the network. However, if the network topology changes, it will cause routing, LSP and other services to be deleted and reconstructed. CSPF relies on the instantaneous calculation path. The best path that can be easily calculated passes through the same intermediate node. For example, Bl and B1 may also superimpose a large number of other services. The topology change will cause the services to be busy. When the system is busy, the B1 internals are caused. If the system is in a tight schedule and the CPU is too high, the system is congested. B1 does not urgently process the packets of a large number of newly created LSPs. The LSP convergence time is long, and the bearer service is interrupted. Longer problems, while B2 is idle and not being used effectively.

现有技术方案一般采用如下方式: 如果中间节点出现网络拥塞, 头节 点在建立 LSP时会持续发送路径(Path ) 消息, 由于中间节点发生网络拥 塞则会导致 LSP建立失败, 随着失败次数的增加头节点发送 Path消息的周 期间隔也会逐步递增, 例如 2秒, 5秒, 10秒, 30秒, 60秒, 等等。 此方 案能逐渐緩解发生拥塞的中间节点压力, 最终能实现 LSP都成功建立, 但 不能有效规避开发生拥塞的中间节点, 选择其它可用路径, 造成 LSP收敛 太慢, 业务流量中断时间长。 发明内容  The prior art solution generally adopts the following method: If the network congestion occurs in the intermediate node, the head node continuously sends a path (Path) message when the LSP is established. The network node is congested due to the network congestion of the intermediate node, and the LSP establishment fails. The period interval at which the head node sends the Path message is also gradually increased, for example, 2 seconds, 5 seconds, 10 seconds, 30 seconds, 60 seconds, and so on. This solution can gradually alleviate the pressure of the intermediate nodes that are congested. In the end, the LSPs can be successfully established. However, the intermediate nodes that are congested cannot be effectively avoided, and other available paths are selected. As a result, the LSP convergence is too slow and the service interruption time is long. Summary of the invention

本发明实施例提供了一种 LSP网络拥塞处理的方法、 装置及系统, 在 配置大量 LSP的网络中, 当网络拓朴发生变化引起中间节点出现拥塞时, 加快 LSP的收敛, 减少业务流量中断的时间, 促进了网络动态平衡。  The embodiment of the invention provides a method, a device and a system for LSP network congestion processing. In a network with a large number of LSPs, when the network topology changes and the intermediate node is congested, the convergence of the LSP is accelerated, and the service flow interruption is reduced. Time has promoted the dynamic balance of the network.

本发明实施例提供了一种 LSP网络拥塞处理的方法, 所述方法包括: 头节点接收发生拥塞的中间节点发送来的网络拥塞通告消息; 所述头节点对接收的所述网络拥塞通告消息解析, 获得所述中间节点 的地址信息和所述中间节点的拥塞状态信息;  An embodiment of the present invention provides a method for LSP network congestion processing, where the method includes: a header node receives a network congestion notification message sent by an intermediate node that is congested; and the head node parses the received network congestion notification message. Obtaining address information of the intermediate node and congestion state information of the intermediate node;

所述头节点在新建立 LSP时, 发送的路径 Path消息不经过所述中间节 点。  When the head node newly establishes an LSP, the path Path message sent does not pass through the intermediate node.

本发明实施例提供了一种 LSP网络拥塞处理的装置, 所述装置包括: 接收单元, 用于接收发生拥塞的中间节点发来的网络拥塞通告消息; 解析单元, 用于解析所述头节点接收的所述网络拥塞通告消息, 获得 所述中间节点的地址信息和所述中间节点的拥塞状态信息;  An embodiment of the present invention provides an apparatus for LSP network congestion processing, where the apparatus includes: a receiving unit, configured to receive a network congestion notification message sent by an intermediate node that is congested; and a parsing unit, configured to parse the header node to receive The network congestion notification message, obtaining address information of the intermediate node and congestion state information of the intermediate node;

处理单元, 根据获得的所述中间节点地址信息在其用于建立 LSP的信 息数据库中找到所述中间节点数据表项, 将所述中间节点数据表项设置拥 塞标记, 在新建 LSP发送的 Path消息不经过所述中间节点。 本发明实施例提供了一种网络拥塞处理的系统, 所述系统包括: 头节点网元设备, 用于接收发生拥塞的中间节点发送来的网络拥塞通 告消息, 并对所述接收到的网络拥塞通告消息解析, 获得所述中间节点的 地址信息及拥塞状态信息, 根据获得的所述中间节点地址信息在其用于建 立 LSP的信息数据库中找到所述中间节点数据表项, 将所述中间节点数据 表项设置拥塞标记,在新建 LSP时,发送的 Path消息不经过所述中间节点; 中间节点网元设备, 用于检测自身拥塞状况, 当所述中间节点网元设 备发生拥塞时发送网络拥塞通告消息给所述头节点网元设备, 所述网络拥 塞通告消息包含所述中间节点网元设备的地址信息和所述中间节点的拥塞 状态信息。 The processing unit finds the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, sets a congestion flag of the intermediate node data entry, and adds a Path message sent by the LSP. Does not pass through the intermediate node. An embodiment of the present invention provides a network congestion processing system, where the system includes: a head node network element device, configured to receive a network congestion notification message sent by an intermediate node that is congested, and congest the received network. Declaring the message, obtaining the address information and the congestion state information of the intermediate node, and finding the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, where the intermediate node is The data entry is set to be congested. When a new LSP is created, the sent Path message does not pass through the intermediate node. The intermediate node network element device is used to detect the congestion status. When the intermediate node network element device is congested, the network congestion is sent. The announcement message is sent to the head node network element device, where the network congestion advertisement message includes address information of the intermediate node network element device and congestion state information of the intermediate node.

通过本发明实施例提出的一种 LSP网络拥塞的处理方法、装置及系统, 头节点可以通过接收并解析发生拥塞的中间节点发送来的拥塞通告消息获 得所述发生拥塞的中间节点的地址及拥塞状态信息, 从而在新建立 LSP时 及时绕开发生拥塞的中间节点而选择其他没有发生拥塞的中间节点, 克服 了头节点反复向一个已经发生拥塞的中间节点发送建立 LSP的 Path消息所 导致的 LSP建立很慢的问题, 实现了在保证 LSP服务的同时緩解所述中间 节点压力的目的, 加快了 LSP的收敛, 减少业务流量中断时间, 促进了网 络动态平衡。  The method, device, and system for processing LSP network congestion according to the embodiment of the present invention, the head node may obtain the address and congestion of the intermediate node that is congested by receiving and parsing the congestion notification message sent by the intermediate node that is congested. State information, so that when the LSP is newly established, the intermediate node that is congested is selected in time to select other intermediate nodes that do not have congestion, and the LSP caused by the header message repeatedly sending an LSP to the intermediate node that has already been congested is overcome. A very slow problem is established, which achieves the purpose of easing the pressure of the intermediate node while guaranteeing the LSP service, speeding up the convergence of the LSP, reducing the interruption time of the traffic, and promoting the dynamic balance of the network.

附图说明 DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.

图 1是现有技术中 TE LSP网络应用示意图;  1 is a schematic diagram of a TE LSP network application in the prior art;

图 2是本发明第一实施例提供的一种 LSP网络拥塞处理方法示意图; 图 3是本发明实施例中提供的 PathErr消息 ERROR_SPEC格式示意图; 图 4是本发明第二实施例提供的一种 LSP网络拥塞处理装置示意图; 图 5是本发明第三实施例提供的一种 LSP网络拥塞处理系统示意图。 具体实》式 2 is a schematic diagram of a LSP network congestion processing method according to a first embodiment of the present invention; FIG. 3 is a schematic diagram of a PathErr message ERROR_SPEC format provided in an embodiment of the present invention; 4 is a schematic diagram of an LSP network congestion processing apparatus according to a second embodiment of the present invention; and FIG. 5 is a schematic diagram of an LSP network congestion processing system according to a third embodiment of the present invention. Concrete

为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述,显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

图 2为本发明第一实施例的方法流程图。 包括:  2 is a flow chart of a method according to a first embodiment of the present invention. Includes:

202, 头节点接收发生拥塞的中间节点发送来的网络拥塞通告消息; 该头节点为 LSP建立过程的起始节点, 该中间节点为 LSP建立过程的 中间路径上的节点。 所述头节点接收到的网络拥塞通告消息在基于流量工 程扩展的资源预留协议 ( Resource Reservation Protocol - Traffic Engineering , RSVP-TE )场景下,可以通过对 RSVP-TE协议扩展来构造。在 RSVP-TE LSP 建立过程中头节点会产生携带带宽预留信息和路径信息的 Path消息, 依据 CSFP计算的路径向中间节点发送。中间节点如果在处理 Path消息的过程中 发生错误, 就会向头节点发送路径错误 ( Path Error, PathErr ) 消息。 本发 间节点定时检测自身系统的网络拥塞情况, 当系统出现网络拥塞时, 对接 收到的从头节点发送来的 Path消息构造一个类型为" Node Reroute Request " 的 PathErr 消息作为网络拥塞通告消息, 构造的 PathErr 消息中错误说明 ( ERROR_SPEC )采用如图 3所示结构, 可以参见 RFC5710。 其中出错节 点因特网十办议第 4版地址 ( Internet Protocol version 4 Error Node Address, IPv4 Error Node Address )为发送拥塞通告消息 PathErr消息的中间节点地址 信息, 错误代码 ( Error Code )为 34代表" Node Reroute Request "类型消息 , Error Value可以为 [32768, 65535]中的任一约定值, 该约定值标识系统是否 发生拥塞。 202. The head node receives a network congestion notification message sent by the intermediate node that is congested; the head node is a starting node of the LSP establishment process, and the intermediate node is a node on an intermediate path of the LSP establishment process. The network congestion notification message received by the head node may be constructed by extending the RSVP-TE protocol in a scenario of a resource reservation protocol (RT)-based traffic reservation protocol (RSVP-TE). During the establishment of the RSVP-TE LSP, the head node generates a Path message carrying the bandwidth reservation information and the path information, and sends the Path message to the intermediate node according to the path calculated by the CSFP. If the intermediate node generates an error during the processing of the Path message, it will send a Path Error (PathErr) message to the head node. The inter-issue node periodically detects the network congestion of the system. When the system is congested, a PathErr message of the type "Node Reroute Request" is constructed as a network congestion notification message for the Path message sent from the received slave node. The error description ( ERROR_SPEC ) in the PathErr message is as shown in Figure 3. See RFC5710. The error protocol (Internet Protocol version 4 Error Node Address, IPv4 Error Node Address) is the intermediate node address information for sending the congestion notification message PathErr message, and the error code (Error Code) is 34 for "Node Reroute". Request "type message, Error Value can be any of the agreed values in [32768, 65535], which indicates whether the system is Congestion has occurred.

或者,所述头节点接收的网络拥塞消息是所述中间节点 TE接口的路由 信息, 该路由消息是由所述中节点的改变管理权重 (Metric )值的 TE接口 触发, 通过 IGP泛洪过来的。 所述中间节点定时检测自身系统的网络拥塞 情况, 当系统出现网络拥塞时将该中间节点上的所有 TE接口下的 Metric 值进行修改, 具体可以修改为某一约定值, 该值要比其他节点上的 TE接口 下的 Metric值大, 优选可以修改为最大值 OxFFFFFFFF。 根据 IGP协议, 修改了 Metric值的 TE接口的路由会被泛洪给头节点。这样,在本发明实施 例的具体实现时, 当该中间节点上的所有 TE接口下的 Metric值被修改后, 所述中间节点的所有 TE接口的路由会分别以路由消息的方式被泛洪给头 节点, 所述路由消息携带所述中间节点的 TE接口地址信息及所述 Metric 值, 所述 TE接口的地址信息可以作为标识中间节点的地址信息。  Or the network congestion message received by the head node is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the management weight (Metric) value, and is flooded by the IGP. . The intermediate node periodically detects the network congestion of the system. When the network is congested, the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value. The value is higher than other nodes. The Metric value on the TE interface is large, and can be modified to the maximum value OxFFFFFFFF. According to the IGP protocol, the route of the TE interface whose metric value is modified is flooded to the head node. Thus, in the specific implementation of the embodiment of the present invention, after the metric value of all the TE interfaces on the intermediate node is modified, the routes of all the TE interfaces of the intermediate node are flooded by way of routing messages. The head node, the routing message carries the TE interface address information of the intermediate node and the metric value, and the address information of the TE interface can be used as the address information of the identifier intermediate node.

204, 所述头节点对接收的所述网络拥塞通告消息解析, 获得所述中间 节点的地址信息和所述中间节点的拥塞状态信息;  204. The head node parses the received network congestion notification message, and obtains address information of the intermediate node and congestion state information of the intermediate node.

在 RSVP-TE场景下, 拥塞通告消息是中间节点通过对回应的 PathErr 消息里携带所述中间节点地址信息构造的, 头节点收到该拥塞通告消息后 根据 PathErr消息结构进行解析处理即可获得所述发生拥塞的中间节点地址 信息, 参见图 3 , 中 IPv4 Error Node Address为所述中间节点地址信息。 当 所述头节点收到类型为路由消息的拥塞通告消息时, 根据 202可选的方式 可以从路由消息类型的拥塞通告消息中获得中间节点 TE接口的地址信息 及其 Metrric,该 Metric值作为判断所述中间节点是否发生拥塞的判断标志, 例如当 Metric值为 OxFFFFFFFF时, 认为所述中间节点发送网络拥塞。  In the RSVP-TE scenario, the congestion notification message is constructed by the intermediate node carrying the intermediate node address information in the PathErr message of the response, and the head node receives the congestion notification message and parses the path according to the PathErr message structure. For the intermediate node address information in which congestion occurs, referring to FIG. 3, the IPv4 Error Node Address is the intermediate node address information. When the head node receives the congestion advertisement message of the type of the routing message, the address information of the intermediate node TE interface and the Metrric thereof may be obtained from the congestion notification message of the routing message type according to the optional manner of 202, and the Metric value is used as a judgment. A judgment flag of whether the intermediate node is congested, for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to send network congestion.

206, 所述头节点在新建立 LSP时, 发送的 Path消息不经过所述中间 节点 'ι  206. When the head node newly establishes an LSP, the Path message sent does not pass through the intermediate node.

在 TE应用的网络中部署 TE的头节点上会通过内部网关协议( Interior Gateway Protocol, IGP )生成一个用于建立 LSP的数据信息库, 该数据信 息库包含了用于建立 LSP所要经过的所有中间节点的表项信息, 该表项信 息包含了中间节点地址等信息。 在本发明实施例中, 所述头节点根据所述 解析获得的发生拥塞的中间节点的地址, 通过匹配查找即可在所述数据信 息库中找到该中间节点对应的表项, 并将该表项设置拥塞标记。 所述头节 点在新建立 LSP时, 发送的 Path消息不选择所述发生拥塞的中间节点, 选 择其信息数据库中没有被设置上拥塞标志的中间节点, 从而在保证 LSP服 务的同时緩解所述中间节点压力的目的, 加快了 LSP的收敛, 减少业务流 量中断时间, 促进了网络动态平衡。 进一步地, 为了在所述发生拥塞的中 间节点拥塞解除后所述头节点能及时感知到, 所述头节点可以启动一个定 时器, 当所述定时器超时时, 所述设置拥塞标记的中间节点的拥塞标志会 被清除, 所述中间节点将被作为 LSP建立路径的侯选中间节点, 所述中间 节点将会收到头节点发送来的建立 LSP的 Path消息, 当该中间节点拥塞解 除时, 将会成功建立起 LSP。 当该中间节点仍然处于拥塞状态时会继续发 送拥塞通告消息给所述头节点, 所述头节点会继续 202到 206步骤处理。 The head node of the TE deployed in the TE application network generates a data information base for establishing an LSP by using an Interior Gateway Protocol (IGP). The information base contains information about the entries of all intermediate nodes that are used to establish an LSP. The information of the entry contains information such as the address of the intermediate node. In the embodiment of the present invention, the head node may find an entry corresponding to the intermediate node in the data information base according to the address of the intermediate node that is congested and obtained by the parsing, and the table is The item sets the congestion tag. When the head node newly establishes an LSP, the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service. The purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network. Further, the head node may start a timer after the congestion of the intermediate node in which the congestion occurs, and the head node may start a timer. When the timer expires, the intermediate node that sets the congestion flag The congestion flag will be cleared, and the intermediate node will be used as the candidate inter-node of the LSP establishment path, and the intermediate node will receive the Path message for establishing the LSP sent by the head node. When the intermediate node is congested, the The LSP will be successfully established. When the intermediate node is still in a congested state, it continues to send a congestion notification message to the head node, and the head node continues the processing from 202 to 206.

图 4为本发明第二实施例的装置流程图。 该装置包括: 接收单元 402、 解析单元 404、 处理单元 406。  4 is a flow chart of a device according to a second embodiment of the present invention. The apparatus includes: a receiving unit 402, a parsing unit 404, and a processing unit 406.

接收单元 402,用于头节点接收发生拥塞的中间节点发送来的网络拥塞 通告消息;  The receiving unit 402 is configured to receive, by the head node, a network congestion notification message sent by the intermediate node that is congested;

接收单元所接收的网络拥塞通告消息包含了所述中间节点的地址信息 及拥塞状态信息。 所述接收单元接收到的网络拥塞通告消息在 RSVP-TE场 景下, 可以通过对 RSVP-TE协议扩展来构造的。 所述中间节点当系统出现 网络拥塞时,对接收到的从头节点发送来的 Path消息构造一个类型为 "Node Reroute Request "的 PathErr消息作为网络拥塞通告消息, 构造的 PathErr消 息中 ERROR_SPEC采用如图 3所示结构。 其中 IPv4 Error Node Address为 发送拥塞通告消息 PathErr消息的中间节点地址信息, Error Code为 34代表 "Node Reroute Request,,类型消息, Error Value可以为 [32768, 65535]中的任 一约定值, 该约定值标识系统是否发生拥塞。 The network congestion notification message received by the receiving unit includes address information and congestion state information of the intermediate node. The network congestion notification message received by the receiving unit may be constructed by extending the RSVP-TE protocol in an RSVP-TE scenario. When the network congestion occurs in the system, the PathErr message of the type "Node Reroute Request" is constructed as a network congestion notification message for the Path message sent by the received slave node. The ERROR_SPEC in the constructed PathErr message is as shown in Figure 3. The structure shown. The IPv4 Error Node Address is an intermediate node address information for sending a congestion notification message PathErr message, and the Error Code is 34 for "Node Reroute Request," type message, and the Error Value may be any of [32768, 65535]. An agreed value that identifies whether the system is congested.

或者,接收单元接收的网络拥塞消息是所述中间节点 TE接口的路由信 息, 该路由消息是由所述中节点的改变 Metric值的 TE接口触发, 通过 IGP 泛洪过来的。 当所述中间节点系统出现网络拥塞时将该中间节点上的所有 TE接口下的 Metric值进行修改, 具体可以修改为某一约定值, 该值要比其 他节点上的 TE接口下的 Metric值大,优选可以修改为最大值 0xFFFFFFFFo 根据 IGP协议, 修改了 Metric值的 TE接口的路由会被泛洪给头节点。 这 样, 在本发明实施例的具体实现时, 当该中间节点上的所有 TE接口下的 Metric值被修改后,所述中间节点的所有 TE接口的路由会以路由消息的方 式被泛洪给头节点, 所述路由消息携带所述 TE接口的地址信息及所述 Metric值,所述 TE接口的地址信息可以用作标识所述中间节点的地址信息。 Or the network congestion message received by the receiving unit is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the metric value, and is flooded by the IGP. When the network of the intermediate node is congested, the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value, which is larger than the Metric value of the TE interface on other nodes. preferably may be modified in accordance with the maximum value 0xFFFFFFFF o IGP protocol, routing modified TE interface Metric values will be flooded to the head node. Thus, in the specific implementation of the embodiment of the present invention, when the metric value of all the TE interfaces on the intermediate node is modified, the routes of all the TE interfaces of the intermediate node are flooded to the header by way of routing messages. The routing message carries the address information of the TE interface and the metric value, and the address information of the TE interface can be used as the address information of the intermediate node.

解析单元 404, 用于解析所述头节点接收的所述网络拥塞通告消息, 获 得所述中间节点的地址信息和所述中间节点的拥塞状态信息;  The parsing unit 404 is configured to parse the network congestion notification message received by the head node, obtain address information of the intermediate node, and congestion state information of the intermediate node;

在 RSVP-TE场景下, 所述拥塞通告消息是所述中间节点通过对头节点 发送的建立 LSP的 Path消息回应 PathErr来构造的,在回应的 PathErr消息 里携带所述中间节点的地址信息及拥塞状态信息, 接收单元接收到该拥塞 通告消息后, 解析单元会对 PathErr消息进行解析处理, 即可获得所述发生 拥塞的中间节点地址信息及拥塞状态信息。  In the scenario of the RSVP-TE, the congestion notification message is configured by the intermediate node responding to the PathErr by the Path message for establishing the LSP sent by the head node, and carrying the address information and the congestion state of the intermediate node in the response PathErr message. After the receiving unit receives the congestion notification message, the parsing unit parses the PathErr message to obtain the intermediate node address information and congestion status information of the congestion.

当接收单元接收到类型为路由消息的拥塞通告消息时, 解析单元可以 从路由消息类型的拥塞通告消息中获得中间节点 TE接口的地址信息及其 Metrric, 该 Metric值作为判断所述中间节点是否发生拥塞的判断标志, 例 如当 Metric值为 OxFFFFFFFF时, 认为所述中间节点发送网络拥塞。  When the receiving unit receives the congestion notification message of the routing message type, the parsing unit may obtain the address information of the intermediate node TE interface and the Metrric thereof from the congestion notification message of the routing message type, where the Metric value is used to determine whether the intermediate node occurs. The judgment flag of congestion, for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to transmit network congestion.

处理单元 406,根据解析单元获得的所述中间节点地址信息在其用于建 立 LSP的信息数据库中找到所述中间节点数据表项, 将所述中间节点数据 表项设置拥塞标记, 在新建 LSP是选择没有设置拥塞标志的中间节点数据 表项, 从而避开所述发生拥塞的中间节点。 处理单元根据所述解析获得的发生拥塞的中间节点的地址, 通过匹配 查找即可在用于建立 LSP的数据信息库中找到该中间节点对应的表项, 将 该表项设置上拥塞标记。 所述头节点在新建立 LSP时, 发送的 Path消息不 选择所述发生拥塞的中间节点, 选择其信息数据库中没有被设置上拥塞标 志的中间节点,从而在保证 LSP服务的同时緩解所述中间节点压力的目的, 加快了 LSP的收敛, 减少业务流量中断时间, 促进了网络动态平衡。 The processing unit 406 finds the intermediate node data entry in the information database for establishing the LSP according to the intermediate node address information obtained by the parsing unit, and sets the congestion parameter of the intermediate node data entry, and the new LSP is An intermediate node data entry that does not have a congestion flag is selected to avoid the intermediate node where congestion occurs. The processing unit finds the entry corresponding to the intermediate node in the data information base for establishing the LSP by using the matching search according to the address of the intermediate node that is congested by the parsing, and sets the entry to the congestion flag. When the head node newly establishes an LSP, the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service. The purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network.

图 5 为本发明第三实施例的系统流程图。 该系统包括: 头节点网元设 备 502、 中间节点网元设备 504。 所述网元设备可以是路由器、 交换机或其 它支持 LSP的网络设备。  Figure 5 is a flow chart of the system of the third embodiment of the present invention. The system includes: a head node network element device 502 and an intermediate node network element device 504. The network element device may be a router, a switch, or other network device supporting the LSP.

头节点网元设备 502,用于接收发生拥塞的中间节点发送来的网络拥塞 通告消息, 并对所述接收到的网络拥塞通告消息解析, 获得所述中间节点 的地址信息及拥塞状态信息, 根据获得的所述中间节点地址信息在其用于 建立 LSP的信息数据库中找到所述中间节点数据表项, 将所述中间节点数 据表项设置拥塞标记, 在新建 LSP时, 发送的 Path消息不经过所述中间节 点;  The head node network element device 502 is configured to receive a network congestion notification message sent by the intermediate node that is congested, and parse the received network congestion notification message to obtain address information and congestion state information of the intermediate node, according to the The obtained intermediate node address information finds the intermediate node data entry in the information database for establishing the LSP, and sets the intermediate node data entry to be congested. When the LSP is created, the sent Path message does not pass. The intermediate node;

中间节点网元设备 504, 定时检测自身拥塞状况, 当所述中间节点网元 设备发生拥塞时发送网络拥塞通告消息给所述头节点网元设备, 所述网络 拥塞通告消息包含所述中间节点网元设备的地址信息和所述中间节点的拥 塞状态信息。  The intermediate node network element device 504 periodically detects the self-congestion condition, and sends a network congestion notification message to the head node network element device when the intermediate node network element device is congested, where the network congestion notification message includes the intermediate node network Address information of the metadevice and congestion state information of the intermediate node.

所述头节点节点网元设备 502包括:  The head node node network element device 502 includes:

接收单元 402,用于头节点接收发生拥塞的中间节点发送来的网络拥塞 通告消息;  The receiving unit 402 is configured to receive, by the head node, a network congestion notification message sent by the intermediate node that is congested;

接收单元所接收的网络拥塞通告消息包含了所述中间节点的地址信息 及拥塞状态信息。 所述接收单元接收到的网络拥塞通告消息在 RSVP-TE场 景下, 可以通过对 RSVP-TE协议扩展来构造的。 所述中间节点当系统出现 网络拥塞时,对接收到的从头节点发送来的 Path消息构造一个类型为 "Node Reroute Request "的 PathErr消息作为网络拥塞通告消息, 构造的 PathErr消 息中 ERROR_SPEC采用如图 3所示结构。 其中 IPv4 Error Node Address为 发送拥塞通告消息 PathErr消息的中间节点地址信息, Error Code为 34代表 "Node Reroute Request,,类型消息, Error Value可以为 [32768, 65535]中的任 一约定值, 该约定值标识系统是否发生拥塞。 The network congestion notification message received by the receiving unit includes address information and congestion state information of the intermediate node. The network congestion notification message received by the receiving unit may be constructed by extending the RSVP-TE protocol in an RSVP-TE scenario. The intermediate node constructs a type of "Node" for the received Path message sent by the slave node when the network congestion occurs in the system. The PathErr message of the Reroute Request is used as the network congestion advertisement message, and the ERROR_SPEC in the constructed PathErr message is constructed as shown in Figure 3. The IPv4 Error Node Address is the intermediate node address information of the PathErr message for sending the congestion notification message, and the Error Code is 34. The Node Reroute Request, type message, Error Value can be any of the agreed values in [32768, 65535], which indicates whether the system is congested.

或者,接收单元接收的网络拥塞消息是所述中间节点 TE接口的路由信 息, 该路由消息是由所述中节点的改变 Metric值的 TE接口触发, 通过 IGP 泛洪过来的。 当所述中间节点系统出现网络拥塞时将该中间节点上的所有 TE接口下的 Metric值进行修改, 具体可以修改为某一约定值, 该值要比其 他节点上的 TE接口下的 Metric值大,优选可以修改为最大值 0xFFFFFFFFo 根据 IGP协议, 修改了 Metric值的 TE接口的路由会被泛洪给头节点。 这 样, 在本发明实施例的具体实现时, 当该中间节点上的所有 TE接口下的 Metric值被修改后,所述中间节点的所有 TE接口的路由会以路由消息的方 式被泛洪给头节点, 所述路由消息携带所述 TE接口的地址信息及所述 Metric值,所述 TE接口的地址信息可以用作标识所述中间节点的地址信息。 Or the network congestion message received by the receiving unit is the routing information of the TE interface of the intermediate node, and the routing message is triggered by the TE interface of the middle node that changes the metric value, and is flooded by the IGP. When the network of the intermediate node is congested, the metric value of all the TE interfaces on the intermediate node is modified, which can be modified to a certain agreed value, which is larger than the Metric value of the TE interface on other nodes. preferably may be modified in accordance with the maximum value 0xFFFFFFFF o IGP protocol, routing modified TE interface Metric values will be flooded to the head node. Thus, in the specific implementation of the embodiment of the present invention, when the metric value of all the TE interfaces on the intermediate node is modified, the routes of all the TE interfaces of the intermediate node are flooded to the header by way of routing messages. The routing message carries the address information of the TE interface and the metric value, and the address information of the TE interface can be used as the address information of the intermediate node.

解析单元 404, 用于解析所述头节点接收的所述网络拥塞通告消息, 获 得所述中间节点的地址信息和所述中间节点的拥塞状态信息;  The parsing unit 404 is configured to parse the network congestion notification message received by the head node, obtain address information of the intermediate node, and congestion state information of the intermediate node;

在 RSVP-TE场景下, 所述拥塞通告消息是所述中间节点通过对头节点 发送的建立 LSP的 Path消息回应 PathErr来构造的,在回应的 PathErr消息 里携带所述中间节点的地址信息及拥塞状态信息, 接收单元接收到该拥塞 通告消息后, 解析单元会对 PathErr消息进行解析处理, 即可获得所述发生 拥塞的中间节点地址信息及拥塞状态信息。  In the scenario of the RSVP-TE, the congestion notification message is configured by the intermediate node responding to the PathErr by the Path message for establishing the LSP sent by the head node, and carrying the address information and the congestion state of the intermediate node in the response PathErr message. After the receiving unit receives the congestion notification message, the parsing unit parses the PathErr message to obtain the intermediate node address information and congestion status information of the congestion.

当接收单元接收到类型为路由消息的拥塞通告消息时, 解析单元可以 从路由消息类型的拥塞通告消息中获得中间节点 TE接口的地址信息及其 Metrric, 该 Metric值作为判断所述中间节点是否发生拥塞的判断标志, 例 如当 Metric值为 OxFFFFFFFF时, 认为所述中间节点发送网络拥塞。 处理单元 406,根据解析单元获得的所述中间节点地址信息在其用于建 立 LSP的信息数据库中找到所述中间节点数据表项, 将所述中间节点数据 表项设置拥塞标记, 在新建 LSP是选择没有设置拥塞标志的中间节点数据 表项, 从而避开所述发生拥塞的中间节点。 When the receiving unit receives the congestion notification message of the routing message type, the parsing unit may obtain the address information of the intermediate node TE interface and the Metrric thereof from the congestion notification message of the routing message type, where the Metric value is used to determine whether the intermediate node occurs. The judgment flag of congestion, for example, when the Metric value is OxFFFFFFFF, the intermediate node is considered to transmit network congestion. The processing unit 406 finds the intermediate node data entry in the information database for establishing the LSP according to the intermediate node address information obtained by the parsing unit, and sets the congestion parameter of the intermediate node data entry, and the new LSP is An intermediate node data entry that does not have a congestion flag is selected to avoid the intermediate node where congestion occurs.

处理单元根据所述解析获得的发生拥塞的中间节点的地址, 通过匹配 查找即可在用于建立 LSP的数据信息库中找到该中间节点对应的表项, 将 该表项设置上拥塞标记。 所述头节点在新建立 LSP时, 发送的 Path消息不 选择所述发生拥塞的中间节点, 选择其信息数据库中没有被设置上拥塞标 志的中间节点,从而在保证 LSP服务的同时緩解所述中间节点压力的目的, 加快了 LSP的收敛, 减少业务流量中断时间, 促进了网络动态平衡。  The processing unit finds the entry corresponding to the intermediate node in the data information base for establishing the LSP by using the address of the intermediate node that is congested according to the parsing, and sets the entry to the congestion flag. When the head node newly establishes an LSP, the Path message sent does not select the intermediate node that is congested, and selects an intermediate node in the information database that is not set with a congestion flag, thereby alleviating the middle while ensuring the LSP service. The purpose of node pressure is to speed up the convergence of LSPs, reduce the interruption time of traffic, and promote the dynamic balance of the network.

本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述程序可以存储于一计算机可 读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而 前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普 通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行 修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

权利要求 Rights request 1、 一种标签转发路径 LSP网络拥塞处理的方法,其特征在于, 包括: 头节点接收发生拥塞的中间节点发送来的网络拥塞通告消息; 所述头节点对接收的所述网络拥塞通告消息解析, 获得所述中间节点 的地址信息和所述中间节点的拥塞状态信息;  A packet forwarding path LSP network congestion processing method, comprising: a header node receiving a network congestion notification message sent by an intermediate node that is congested; and the header node parsing the received network congestion notification message Obtaining address information of the intermediate node and congestion state information of the intermediate node; 所述头节点在新建立 LSP时, 发送的路径 Path消息不经过所述中间节 点。  When the head node newly establishes an LSP, the path Path message sent does not pass through the intermediate node. 2、 根据权 1所述的方法, 其特征在于, 在所述获得所述中间节点的地 址信息和所述中间节点的拥塞状态信息之后, 进一步包括:  2. The method according to claim 1, wherein after the obtaining the address information of the intermediate node and the congestion state information of the intermediate node, the method further includes: 所述头节点在其用于建立 LSP的信息数据库中根据所述中间节点的地 址信息找到所述中间节点对应的数据表项, 将所述中间节点数据表项设置 拥塞标记;  The head node finds a data entry corresponding to the intermediate node according to the address information of the intermediate node in the information database for establishing the LSP, and sets a congestion flag of the intermediate node data entry; 相应地, 所述头节点在新建立 LSP时, 发送的 Path消息不经过所述中 间节点具体包括:  Correspondingly, when the head node newly establishes an LSP, the Path message sent does not pass through the intermediate node, and specifically includes: 所述头节点在新建立 LSP时, 查找所述信息数据库, 当所述中间节点 数据表项设置为拥塞标记时, 发送的路径消息不经过所述中间节点。  The head node searches the information database when the LSP is newly established, and when the intermediate node data item is set as a congestion flag, the sent path message does not pass through the intermediate node. 3、 根据权 2所述的方法, 其特征在于, 在所述将所述中间节点数据表 项设置拥塞标记后, 进一步包括: 启动定时器, 在所述定时器超时后清除 所述拥塞标记。  The method of claim 2, after the setting of the congestion flag of the intermediate node data entry, the method further includes: starting a timer, and clearing the congestion flag after the timer expires. 4、 根据权利要求 1所述的 LSP网络拥塞处理方法, 其特征在于, 所 述头节点接收发生拥塞的中间节点发送来的网络拥塞通告消息包括:  The LSP network congestion processing method according to claim 1, wherein the network node receiving the network congestion notification message sent by the intermediate node that is congested includes: 所述头节点接收所述中间节点对所述头节点发送的 Path消息的回应路 径错误 PathErr消息, 所述 PathErr消息包含所述中间节点的地址信息和所 述中间节点的拥塞状态信息。  The header node receives a response path error PathErr message sent by the intermediate node to the Path message sent by the head node, where the PathErr message includes address information of the intermediate node and congestion state information of the intermediate node. 5、 根据权利要求 1所述的 LSP网络拥塞处理方法, 其特征在于, 所 述头节点接收发生拥塞的中间节点发送来的网络拥塞通告消息包括: 所述头节点接收所述中间节点发来的路由消息, 该路由消息是由所述 中间节点中的改变管理权重 Metric值的流量工程 TE接口触发,所述路由消 息包括所述 TE接口的 Metric值以及所述 TE接口的地址信息, 所述 Metric 值表明所述中间节点的拥塞状态信息。 The LSP network congestion processing method according to claim 1, wherein the receiving, by the head node, the network congestion notification message sent by the intermediate node that is congested includes: The header node receives a routing message sent by the intermediate node, where the routing message is triggered by a traffic engineering TE interface that changes a management weight metric value in the intermediate node, where the routing message includes a Metric value of the TE interface. And address information of the TE interface, where the metric value indicates congestion state information of the intermediate node. 6、 根据权利要求 5所述的 LSP网络拥塞处理方法, 其特征在于, 所述 Metric值为最大值 OxFFFFFFFF。  The LSP network congestion processing method according to claim 5, wherein the metric value is a maximum value OxFFFFFFFF. 7、 一种标签转发路径 LSP网络拥塞处理的装置, 其特征在于, 所述 装置包括:  A device for processing a MPLS network congestion processing, characterized in that the device includes: 接收单元, 用于接收发生拥塞的中间节点发来的网络拥塞通告消息; 解析单元, 用于解析所述网络拥塞通告消息, 获得所述中间节点的地 址信息和所述中间节点的拥塞状态信息;  a receiving unit, configured to receive a network congestion notification message sent by an intermediate node that is congested; a parsing unit, configured to parse the network congestion notification message, obtain address information of the intermediate node, and congestion state information of the intermediate node; 处理单元, 根据获得的所述中间节点地址信息在其用于建立 LSP的信 息数据库中找到所述中间节点数据表项, 将所述中间节点数据表项设置拥 塞标记, 在新建 LSP时, 发送的路径 Path消息不经过所述中间节点。  The processing unit finds the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, and sets a congestion flag of the intermediate node data entry, and sends the The path Path message does not pass through the intermediate node. 8、 一种标签转发路径 LSP网络拥塞处理的系统, 其特征在于, 所述 系统包括:  A system for label forwarding path LSP network congestion processing, characterized in that the system comprises: 头节点网元设备, 用于接收发生拥塞的中间节点发送来的网络拥塞通 告消息, 并对所述接收到的网络拥塞通告消息解析, 获得所述中间节点的 地址信息及拥塞状态信息, 根据获得的所述中间节点地址信息在其用于建 立 LSP的信息数据库中找到所述中间节点数据表项, 将所述中间节点数据 表项设置拥塞标记, 在新建 LSP时, 发送的路径 Path消息不经过所述中间 节点 'ι  a head node network element device, configured to receive a network congestion notification message sent by an intermediate node that is congested, and parse the received network congestion notification message, obtain address information and congestion state information of the intermediate node, according to the obtained The intermediate node address information finds the intermediate node data entry in the information database for establishing the LSP, and sets the intermediate node data entry to be congested. When the LSP is created, the path Path message sent does not pass. The intermediate node 'ι 中间节点网元设备, 用于检测自身拥塞状况, 当所述中间节点网元设 备发生拥塞时发送网络拥塞通告消息给所述头节点网元设备, 所述网络拥 塞通告消息包含所述中间节点网元设备的地址信息和所述中间节点的拥塞 状态信息。 The intermediate node network element device is configured to detect a self-congestion condition, and send a network congestion notification message to the head node network element device when the intermediate node network element device is congested, where the network congestion notification message includes the intermediate node network Address information of the metadevice and congestion state information of the intermediate node. 9、 根据权利要求 8所述的 LSP网络拥塞处理系统, 其特征在于, 所 述的网元设备包括路由器、 交换机。 The LSP network congestion processing system according to claim 8, wherein the network element device comprises a router and a switch. 10、 根据权利要求 8所述的 LSP网络拥塞处理系统, 其特征在于, 所 述的头节点网元设备包括:  The LSP network congestion processing system according to claim 8, wherein the head node network element device comprises: 接收单元, 用于接收发生拥塞的中间节点发来的网络拥塞通告消息; 解析单元, 用于解析所述网络拥塞通告消息, 获得所述中间节点的地 址信息和所述中间节点的拥塞状态信息;  a receiving unit, configured to receive a network congestion notification message sent by an intermediate node that is congested; a parsing unit, configured to parse the network congestion notification message, obtain address information of the intermediate node, and congestion state information of the intermediate node; 处理单元, 根据获得的所述中间节点地址信息在其用于建立 LSP的信 息数据库中找到所述中间节点数据表项, 将所述中间节点数据表项设置拥 塞标记, 在新建 LSP时, 发送的路径 Path消息不经过所述中间节点。  The processing unit finds the intermediate node data entry in the information database for establishing the LSP according to the obtained intermediate node address information, and sets a congestion flag of the intermediate node data entry, and sends the The path Path message does not pass through the intermediate node.
PCT/CN2012/075279 2011-10-12 2012-05-10 Lsp network congestion processing method, device and system Ceased WO2012163219A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110307836.2A CN102355421B (en) 2011-10-12 2011-10-12 Method for handling LSP (Label Switched Path) network congestion, device and system
CN201110307836.2 2011-10-12

Publications (1)

Publication Number Publication Date
WO2012163219A1 true WO2012163219A1 (en) 2012-12-06

Family

ID=45578918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075279 Ceased WO2012163219A1 (en) 2011-10-12 2012-05-10 Lsp network congestion processing method, device and system

Country Status (2)

Country Link
CN (1) CN102355421B (en)
WO (1) WO2012163219A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355421B (en) * 2011-10-12 2014-09-17 华为技术有限公司 Method for handling LSP (Label Switched Path) network congestion, device and system
US9014005B2 (en) 2013-01-14 2015-04-21 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Low-latency lossless switch fabric for use in a data center
WO2014127542A1 (en) * 2013-02-25 2014-08-28 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for congestion signalling for mpls networks
CN105634973B (en) * 2014-10-30 2019-07-12 华为数字技术(苏州)有限公司 Method for routing and equipment based on load balancing
CN107005909A (en) * 2014-12-31 2017-08-01 华为技术有限公司 Service flow distribution method and device
CN106161172A (en) * 2015-04-02 2016-11-23 中兴通讯股份有限公司 The computational methods of a kind of tunnel path and device
JP7091921B2 (en) * 2018-08-03 2022-06-28 トヨタ自動車株式会社 Communication method and communication system
CN114172787B (en) * 2021-11-10 2023-08-25 中盈优创资讯科技有限公司 IGP link anomaly Metric real-time monitoring and handling method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212188B1 (en) * 1998-05-01 2001-04-03 3Com Corporation Method of source routing in an asynchronous transfer mode network when a node is in an overload state
CN101060497A (en) * 2007-06-11 2007-10-24 杭州华三通信技术有限公司 A traffic engineering tunnel creating method and device
CN101917343A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Trigger method and system for re-optimization
CN102355421A (en) * 2011-10-12 2012-02-15 华为技术有限公司 Method for handling LSP (Label Switched Path) network congestion, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850488B1 (en) * 2000-04-14 2005-02-01 Sun Microsystems, Inc. Method and apparatus for facilitating efficient flow control for multicast transmissions
US8693339B2 (en) * 2009-12-10 2014-04-08 Verizon Patent And Licensing Inc. LDP extension for forwarding path congestion notification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212188B1 (en) * 1998-05-01 2001-04-03 3Com Corporation Method of source routing in an asynchronous transfer mode network when a node is in an overload state
CN101060497A (en) * 2007-06-11 2007-10-24 杭州华三通信技术有限公司 A traffic engineering tunnel creating method and device
CN101917343A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Trigger method and system for re-optimization
CN102355421A (en) * 2011-10-12 2012-02-15 华为技术有限公司 Method for handling LSP (Label Switched Path) network congestion, device and system

Also Published As

Publication number Publication date
CN102355421B (en) 2014-09-17
CN102355421A (en) 2012-02-15

Similar Documents

Publication Publication Date Title
CN103873366B (en) There is central controlled converging network communication means and the network equipment
CN101447929B (en) Traffic routing method, router and communication system
CN104737506B (en) Systems, methods and apparatus for meeting path cost criteria across multiple ABRs
WO2012163219A1 (en) Lsp network congestion processing method, device and system
CN104521194B (en) Systems and methods for managing MPLS-TE overload
US9686167B2 (en) Ingress node controlled path impairment protocol
US9571387B1 (en) Forwarding using maximally redundant trees
KR102007548B1 (en) Service assurance using network measurement triggers
WO2015035616A1 (en) Method and device for cross-network communications
CN103416028A (en) System and method for advertising a composite link in interior gateway protocol and/or interior gateway protocol-traffic engineering
CN102893560B (en) A kind of data flow transmission method and the network equipment
CN110324241A (en) A kind of method of adjustment, message forwarding method and the device of flow forward-path
WO2015024440A1 (en) Method and system of obtaining link overhead value of ip link
US20210044537A1 (en) Resource Reservation and Maintenance for Preferred Path Routes in a Network
WO2006102851A1 (en) A method for informing and negotiating the monitor ability of the label switching capability
WO2008000125A1 (en) A method, system and apparatus for discovering path computation element
CN102685004A (en) Method for implementing traffic engineering in GMPLS/OBS (generalized multi-protocol label switching/optical burst switching) network
CN101594300B (en) OSPF quick recovery method
WO2012174963A1 (en) Method and device for selecting ptp lsp
CN105743787B (en) Method and system for controlling label request information and upstream and downstream label switching routers
WO2012159316A1 (en) Method, network device and system for determining equal-cost paths in network
Kamel et al. REEQOS: An RSVP-TE approach for the End-to-End QoS provisioning within MPLS Domains

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: 12792519

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: 12792519

Country of ref document: EP

Kind code of ref document: A1