WO2014048128A1 - Point-to-multipoint service protecting method for ring network and upper ring node on ring network - Google Patents
Point-to-multipoint service protecting method for ring network and upper ring node on ring network Download PDFInfo
- Publication number
- WO2014048128A1 WO2014048128A1 PCT/CN2013/076365 CN2013076365W WO2014048128A1 WO 2014048128 A1 WO2014048128 A1 WO 2014048128A1 CN 2013076365 W CN2013076365 W CN 2013076365W WO 2014048128 A1 WO2014048128 A1 WO 2014048128A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ring node
- node
- link
- point
- upper ring
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/437—Ring fault isolation or reconfiguration
Definitions
- the present invention relates to the field of communications, and in particular, to a point-to-multipoint service protection method in a ring network and an upper ring node in a ring network. Background technique
- Node B is the source node of a service in a point-to-multipoint service.
- the source node needs to send the point-to-multipoint service to nodes D, £ and ? .
- the point-to-multipoint service arrives at the D node from the node B, and then switches to the opposite direction, and then passes through the node C, B, A, and F arrive at node E, and node E re-sends to node F, and completes the transmission of point-to-multipoint service to nodes D, E, and F.
- the working link of the point-to-multipoint service is B-C-D-E-F; when there is a fault between the nodes D and E, the protection link of the point-to-multipoint service is D-C-B-A-F-E-F.
- the protection link also grows. When a failure occurs, the time taken to switch to the protection link transmission service is too long, and two-way transmission may occur on a certain path. , wasting the bandwidth of the segment path.
- Embodiments of the present invention provide a point-to-multipoint service protection method in a ring network and an upper ring node in a ring network, which can reduce the time required to transmit a service through a protection link in the event of a failure.
- an embodiment of the present invention provides a method for protecting a point-to-multipoint service in a ring network, where the method includes:
- the upper ring node of the point-to-multipoint service establishes a working link and a protection link with the upper ring node as a starting node on the ring network, where the point-to-multipoint service is in the lower part of the ring network.
- the point includes at least a first lower ring node and a second lower ring node, where the direction of the working link is opposite to the direction of the protection link; when a failure occurs in the ring network, the upper ring node determines the Whether the working link passes the fault point;
- the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the upper ring node passes
- the working link transmits the point-to-multipoint service to at least the first lower ring node; if the working link passes through a fault point, and in a direction of the working link, the second The ring node is located downstream of the fault point and upstream of the upper ring node, and the upper ring node transmits the point-to-multipoint service to at least the second lower ring node through the protection link.
- the method for the upper ring node of the point-to-multipoint service to establish a working link with the upper ring node as a starting node on the ring network includes:
- the upper ring node acquires configuration information of the working link, where the configuration information of the working link includes at least the upper ring node information, the lower ring node information, and the upper ring node to the lower ring node in the working link direction.
- the node information to be passed; the upper ring node determines the last lower ring node in the direction of the working link according to the configuration information of the working link;
- the upper ring node configures a forwarding label for other nodes on the working link except the last lower ring node.
- the upper ring node of the point-to-multipoint service establishes protection on the ring network with the upper ring node as a starting node.
- the method of the link includes: the upper ring node acquires configuration information of the protection link, and the configuration information of the protection link.
- the information includes at least upper ring node information, lower ring node information, and node information to be passed from the upper ring node to the lower ring node in the direction of the protection link; the upper ring node determines, according to the configuration information of the protection link, Protecting the last lower ring node in the direction of the link;
- the upper ring node configures a forwarding label for other nodes on the protection link except the last lower ring node.
- an embodiment of the present invention provides an upper ring node in a ring network, including: a link establishing module, configured to establish, on a ring network, a working link and a protection chain with the upper ring node as a starting node And the point-to-multipoint service includes at least a first lower ring node and a second lower ring node in a lower ring node of the ring network, where a direction of the working link is opposite to a direction of the protection link ;
- the link establishing module includes:
- a first acquiring module configured to acquire configuration information of the working link, where configuration information of the working link includes at least upper ring node information, lower ring node information, and an upper ring node in a direction of the working link
- the first determining module is configured to determine the last lower ring node in the working link direction according to the configuration information of the working link; the first configuration module is configured to The other nodes on the working link except the last lower ring node are configured with forwarding labels.
- the link establishing module includes:
- a second acquiring module configured to acquire configuration information of the protection link, where the configuration information of the protection link includes at least upper ring node information, lower ring node information, and an upper ring node in a direction of the protection link The node information to be passed to the lower ring node;
- a second determining module configured to determine, according to configuration information of the protection link, a last lower ring node in a direction of the protection link; a second configuration module, configured to use the last link on the protection link A node other than the lower ring node configures the forwarding label.
- the protection method of the point-to-multipoint service in the ring network provided by the embodiment of the present invention and the upper ring node in the ring network determine whether the working link passes the fault point, and then the upper ring node can bypass the fault point and select the working chain.
- Road and/or protection links transmit point-to-multipoint services. Compared with the prior art, the time required for switching to the protection link transmission service when the working link fails, and the bidirectional transmission on the same path are avoided, thereby saving bandwidth resources.
- FIG. 1 is a schematic structural diagram of a working link of a ring network in the prior art
- FIG. 2 is a schematic diagram of a prior art switching service path
- FIG. 3 is a flow chart 1 of a method for protecting a point-to-multipoint service in a ring network according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram 1 of a ring network according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a ring network structure according to an embodiment of the present invention
- FIG. 6 is a schematic flowchart of a method for establishing a working link by an upper ring node according to an embodiment of the present invention
- FIG. 7 is a schematic flowchart of a method for establishing a protection link by an upper ring node according to an embodiment of the present invention
- FIG. 8 is a schematic structural diagram 1 of an upper ring node in a ring network according to an embodiment of the present invention
- FIG. 9 is a schematic structural diagram 2 of an upper ring node in a ring network according to an embodiment of the present invention
- FIG. 11 is a schematic structural diagram of an upper ring node in a ring network according to an embodiment of the present invention.
- the embodiment of the invention provides a protection method for a point-to-multipoint service in a ring network, as shown in FIG. 3, which includes:
- the upper ring node of the point-to-multipoint service establishes the working link and the protection link of the ring node as the starting node respectively on the ring network, where the point-to-multipoint service includes at least the first ring node of the ring network.
- the lower ring node and the second lower ring node have opposite directions of the working link and the direction of the protection link.
- the upper ring node can obtain configuration information from the network management or exchange according to multi-protocol labels.
- MPLS Multi-Protocol Label Switching
- the ring network includes nodes A, B, C, D, E, and F
- the node B is the point-to-multipoint service in the ring node of the ring network
- nodes D and E is the point-to-multipoint service at the lower ring node of the ring network.
- the working link established by Node B on the ring network with Node B as the starting node is shown by the solid line with arrows in Figure 4 (BCDEF) and the established protection link with Node B as the starting node is shown in Figure 4.
- the dotted line with the arrow is shown (BAFED).
- the direction of the working link in Figure 4 is clockwise, and the direction of the protection link is counterclockwise.
- the upper ring node determines whether the working link passes the fault point.
- each node in the ring network can utilize operation management and maintenance ( Operation The Administration and Maintenance (OAM) mechanism detects whether an adjacent link or node is faulty. When it is determined that an adjacent link or node is faulty, the node adjacent to the fault point can broadcast the fault information in the ring network.
- OAM Operation The Administration and Maintenance
- the fault point is located between node D and node E.
- Both node D and node E use the OAM mechanism to detect that a neighboring link has failed. Therefore, node D and node E broadcast the fault information in the ring network.
- the fault information broadcast by the node D indicates that a fault occurs downstream of the node D in the clockwise direction
- the fault information broadcast by the node E indicates that the fault occurs upstream of the node E in the clockwise direction. Therefore, other nodes on the ring network can know that the node is in the node.
- the link between D and node E has failed.
- the two nodes adjacent to the faulty node also broadcast fault information in the ring network.
- the upper ring node can determine the specific location of the fault point according to the obtained fault information, and further determine whether the working link passes the fault point.
- the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the upper ring node uses the working link to connect the point-to-multipoint service.
- the second lower ring node is located downstream of the fault point and upstream of the upper ring node, and the upper ring node passes the protection link
- the point-to-multipoint service is transmitted to at least the second lower ring node.
- the working link passes through the fault point.
- the lower-loop nodes of the point-to-multipoint service in the ring network are nodes D, E, and F, wherein, in the clockwise direction, the lower ring node D is located downstream of the upper ring node B and upstream of the fault point, and therefore,
- the ring node B transmits the point-to-multipoint service to the lower ring node D through the working link; the lower ring nodes E and F are located downstream of the fault point and upstream of the upper ring node B, therefore, the upper ring node B passes the protection link
- the point-to-multipoint service is transmitted to the lower ring nodes E and F.
- the upper ring node can transmit the point-to-multipoint service to all lower ring nodes through the protection link.
- the number of the second lower ring nodes it means In the direction of the working link, all the lower ring nodes are located downstream of the upper ring node and upstream of the fault point. Therefore, the upper ring node can transmit the point-to-multipoint service to all under the working link. Ring node.
- the working link that the upper ring node uses the upper ring node as a starting node on the ring network may include:
- the upper ring node obtains configuration information of the working link, where the configuration information of the working link includes at least the information of the upper ring node, the information of the lower ring node, and the path from the upper ring node to the lower ring node in the working link direction. Node information.
- the upper ring node obtains the configuration information of the working link from the network management, or obtains the configuration information of the working link according to the MPLS protocol.
- the network management device in this embodiment may be a network device consisting of a network management software platform supporting the network management protocol, a network management supporting software, a network management working platform, and a supporting network management protocol, and capable of providing network system configuration, fault, performance, and network user distribution.
- Basic management a network management software platform supporting the network management protocol, a network management supporting software, a network management working platform, and a supporting network management protocol, and capable of providing network system configuration, fault, performance, and network user distribution.
- the upper ring node determines the last lower ring node in the working link direction according to the configuration information of the working link.
- the upper ring node configures a forwarding label for other nodes except the last lower ring node on the working link.
- the upper ring node B obtains the configuration information of the working link, and the configuration information includes at least the address of the upper ring node B, the addresses of the lower ring nodes D, E, and F, and the working link direction from the upper ring node B to the lower ring node D. , E, F, the address of the node C to pass; the upper ring node B determines, according to the configuration information, that the lower ring node F is the last lower ring node in the working link direction; the upper ring node B is the last one on the working link.
- the node outside the ring node F is configured to forward the forwarding label of the point-to-multipoint service, that is, the upper ring node B configures a forwarding label for the node C, the lower ring node D, and the lower ring node E, and the node C and the lower ring node D.
- the lower ring node E forwards the point-to-multipoint service according to the forwarding label configured by itself.
- Node c replaces the ring label with its own configured forwarding label, and then sends the point-to-multipoint service to the lower ring node D;
- the lower ring node D copies the point-to-multipoint service into two parts, and the lower ring node D performs one of the following processes: stripping the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node D;
- the lower ring node D performs the following processing on the other part: replacing the forwarding label of the node C with the forwarding label configured by itself, and then sending the point-to-multipoint service to the lower ring node E;
- the processing of the point-to-multipoint service of the lower ring node E is the same as that of the lower ring node D, one is stripped after the label is removed, and the other is replaced by the forwarding label and sent to the lower ring node F;
- the lower ring node F strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node F.
- the upper ring node establishes a protection link on the ring network, where the upper ring node is a starting node, and may include:
- the upper ring node obtains configuration information of the protection link, where the configuration information of the protection link includes at least information of the upper ring node, the information of the lower ring node, and a node that passes through the upper ring node to the lower ring node in the direction of the protection link. information.
- the upper ring node obtains the configuration information of the protection link from the network management, or obtains the configuration information of the protection link according to the MPLS protocol.
- the upper ring node determines the last lower ring node in the protection link direction according to the configuration information of the protection link.
- the upper ring node configures a forwarding label for the other nodes except the last lower ring node on the protection link.
- the upper ring node B obtains configuration information of the protection link, and the configuration information includes at least the address of the upper ring node B, the addresses of the lower ring nodes F, E, and D, and the protection link direction from the upper ring node B to the lower ring node F.
- the address of the node A to be passed by E, D, and the upper ring node B determines that the lower ring node D is the last lower ring node in the direction of the protection link according to the configuration information;
- the upper ring node B configures a forwarding label for forwarding the point-to-multipoint service for each node except the last lower ring node D on the protection link, that is, the upper ring node B is node A, lower ring node F, and lower
- the ring node E configures the forwarding label, node A, and lower ring node? After receiving the point-to-multipoint service, the lower ring node E forwards the point-to-multipoint service according to the forwarding label configured by itself.
- the lower ring node F copies the point-to-multipoint service into two parts, and the lower ring node F processes one of the following: strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node F;
- the lower ring node F performs the following processing on the other part: replacing the forwarding label of the node A with the forwarding label configured by itself, and then sending the point-to-multipoint service to the lower ring node E;
- the processing of the point-to-multipoint service of the lower ring node E is the same as that of the lower ring node F, one stripping the label and then the lower ring, and the other replacing the forwarding label and sending it to the lower ring node D;
- the lower ring node D After receiving the point-to-multipoint service, the lower ring node D strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node D. It should be noted that there is no chronological limitation between establishing a working link and establishing a protection link.
- the method provided by the embodiment of the present invention determines whether the working link passes the fault point, and further, the upper ring node can bypass the fault point and select the working link and/or the protection link to transmit the point-to-multipoint service. Compared with the prior art, the time required to switch to the protection link transmission service when the working link fails, the time of the bidirectional transmission on the same path is avoided, and the bandwidth resource is saved.
- An embodiment of the present invention provides an upper ring node in a ring network.
- the method includes: a link establishing module 10, configured to establish, on a ring network, a working link that uses the upper ring node as a starting node. And a protection link, where the point-to-multipoint service includes at least a first lower ring node and a second lower ring node in a lower ring node of the ring network, a direction of the working link and the protection link The opposite direction;
- the determining module 11 is configured to determine whether the working link passes the fault point when a fault occurs in the ring network.
- the service transmission module 12 if the working link passes the fault point, and in the direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, Transmitting the point-to-multipoint service to at least the first lower ring node through the working link; if the working link passes a fault point, and in a direction of the working link, the The second lower ring node is located downstream of the fault point and upstream of the upper ring node, and is configured to transmit the point-to-multipoint service to at least the second lower ring node by using the protection link.
- the link establishing module 10 includes: a first acquiring module 100, configured to acquire configuration information of the working link, where configuration information of the working link includes at least an upper ring node Information, lower ring node information, and node information to pass through from the upper ring node to the lower ring node in the working link direction; the first determining module 101 is configured to determine, according to the configuration information of the working link The last lower ring node in the direction of the working link; the first configuration module 102 is configured to configure a forwarding label for other nodes on the working link except the last lower ring node.
- the link establishing module 10 includes: a second obtaining module 103, configured to acquire configuration information of the protection link, where configuration information of the protection link includes at least an upper ring node The information, the lower ring node information, and the node information to be passed from the upper ring node to the lower ring node in the direction of the protection link; the second determining module 104 is configured to determine, according to the configuration information of the protection link, The last lower ring node in the direction of the protection link; the second configuration module 105 is configured to configure a forwarding label for other nodes on the protection link except the last lower ring node.
- the upper ring node in the ring network determines whether the working link passes the fault point, and further, the upper ring node can bypass the fault point, select the working link and/or the protection link transmission point to multiple points. business. Compared with the prior art, the time required for switching to the protection link transmission service when the working link fails, and the bidirectional transmission on the same path are avoided, thereby saving bandwidth resources.
- An embodiment of the present invention provides an upper ring node in a ring network, as shown in FIG.
- the point-to-multipoint service in the ring network of the ring network includes at least a first lower ring node and a second a lower ring node, the direction of the working link is opposite to the direction of the protection link, and when a fault occurs in the ring network, determining whether the working link passes the fault point, and if the working link passes a point of failure, and in a direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the point to multipoint is performed by the working link
- the service is transmitted to the first lower ring node at least, or, if the working link passes the fault point, and in the direction of the working link, the second lower ring node is located downstream of the fault point and The upstream of the upper
- the node provided by the embodiment of the present invention can determine whether the working link passes the fault point, and further, the node can bypass the fault point and select the working link and/or the protection link to transmit the point-to-multipoint service. Compared with the prior art, the time required to switch to the protection link transmission service when the working link fails, the time of the bidirectional transmission on the same path is avoided, and the bandwidth resource is saved.
- the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
- the foregoing steps include the steps of the foregoing method embodiments; 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.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
环网中点到多点业务的保护方法及环网中的上环节点 本申请要求于 2012 年 9 月 25 日提交中国专利局、 申请号为 201210361216.1、 发明名称为 "环网中点到多点业务的保护方法及环 网中的上环节点" 的中国专利申请的优先权, 其全部内容通过引用结 合在本申请中。 The protection method of the point-to-multipoint service in the ring network and the upper ring node in the ring network. The application is submitted to the Chinese Patent Office on September 25, 2012, and the application number is 201210361216.1. The name of the invention is "point-to-multipoint in the ring network". The priority of the Chinese Patent Application for the protection of the service and the upper ring node in the ring network, the entire contents of which are incorporated herein by reference.
技术领域 Technical field
本发明涉及通信领域,尤其涉及环网中点到多点业务的保护方法 及环网中的上环节点。 背景技术 The present invention relates to the field of communications, and in particular, to a point-to-multipoint service protection method in a ring network and an upper ring node in a ring network. Background technique
现有的通信网络, 包括星型网络、 树形网络以及环形网络(以下 简称为环网) 等。 在现有技术中, 对于环网中点到多点业务的保护方式可以如图 1 所示。 例如, 节点 B 为某一种点到多点业务中业务的源节点, 源节 点需要将该点到多点业务需发送至节点 D、 £和?。 当链路出现故障 时, 如图 2所示, 当节点 D和 E之间出现故障, 则该点到多点业务 从节点 B到达 D节点后, 倒换到相反方向, 进而依次再经过节点 C、 B、 A、 F到达节点 E, 在节点 E又重新发给节点 F , 而完成点到多点 业务到达节点 D、 E和 F的传输。 Existing communication networks, including star networks, tree networks, and ring networks (hereinafter referred to as ring networks). In the prior art, the protection mode of the point-to-multipoint service in the ring network can be as shown in FIG. 1 . For example, Node B is the source node of a service in a point-to-multipoint service. The source node needs to send the point-to-multipoint service to nodes D, £ and ? . When the link fails, as shown in Figure 2, when a fault occurs between the nodes D and E, the point-to-multipoint service arrives at the D node from the node B, and then switches to the opposite direction, and then passes through the node C, B, A, and F arrive at node E, and node E re-sends to node F, and completes the transmission of point-to-multipoint service to nodes D, E, and F.
上述方法中, 点到多点业务的工作链路为 B-C-D-E-F; 节点 D、 E之间出现故障时, 则点到多点业务的保护链路为 D-C-B-A-F-E-F。 显而易见的, 随着该环形网络中节点数量的增加, 该保护链路也会随 之增长, 发生故障时, 切换至保护链路传输业务所用的时间过长, 同 时在某路径上可能出现双向传输, 浪费该段路径的带宽。 发明内容 In the above method, the working link of the point-to-multipoint service is B-C-D-E-F; when there is a fault between the nodes D and E, the protection link of the point-to-multipoint service is D-C-B-A-F-E-F. Obviously, as the number of nodes in the ring network increases, the protection link also grows. When a failure occurs, the time taken to switch to the protection link transmission service is too long, and two-way transmission may occur on a certain path. , wasting the bandwidth of the segment path. Summary of the invention
本发明的实施例提供一种环网中点到多点业务的保护方法及环 网中的上环节点,能够减少发生故障时通过保护链路传输业务所需的 时间。 Embodiments of the present invention provide a point-to-multipoint service protection method in a ring network and an upper ring node in a ring network, which can reduce the time required to transmit a service through a protection link in the event of a failure.
为达到上述目的, 本发明的实施例釆用如下技术方案: 第一方面,本发明实施例提供一种环网中点到多点业务的保护方 法, 该方法包括: In order to achieve the above object, embodiments of the present invention use the following technical solutions: In a first aspect, an embodiment of the present invention provides a method for protecting a point-to-multipoint service in a ring network, where the method includes:
点到多点业务的上环节点在环网上分别建立以所述上环节点为 起始节点的工作链路和保护链路, 其中, 所述点到多点业务在所述环 网的下环节点至少包括第一下环节点和第二下环节点,所述工作链路 的方向与所述保护链路的方向相反; 当所述环网中出现故障时,所述上环节点判断所述工作链路是否 经过故障点; The upper ring node of the point-to-multipoint service establishes a working link and a protection link with the upper ring node as a starting node on the ring network, where the point-to-multipoint service is in the lower part of the ring network. The point includes at least a first lower ring node and a second lower ring node, where the direction of the working link is opposite to the direction of the protection link; when a failure occurs in the ring network, the upper ring node determines the Whether the working link passes the fault point;
若所述工作链路经过故障点, 且在所述工作链路的方向上, 所述 第一下环节点位于所述上环节点的下游和所述故障点的上游,所述上 环节点通过所述工作链路将所述点到多点业务至少传输至所述第一 下环节点; 若所述工作链路经过故障点, 且在所述工作链路的方向上, 所述 第二下环节点位于所述故障点的下游和所述上环节点的上游,所述上 环节点通过所述保护链路将所述点到多点业务至少传输至所述第二 下环节点。 If the working link passes the fault point, and in the direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the upper ring node passes The working link transmits the point-to-multipoint service to at least the first lower ring node; if the working link passes through a fault point, and in a direction of the working link, the second The ring node is located downstream of the fault point and upstream of the upper ring node, and the upper ring node transmits the point-to-multipoint service to at least the second lower ring node through the protection link.
在第一种可能的实现方式中, 根据第一方面, 所述点到多点业务 的上环节点在环网上建立以所述上环节点为起始节点的工作链路的 方法包括: In a first possible implementation manner, according to the first aspect, the method for the upper ring node of the point-to-multipoint service to establish a working link with the upper ring node as a starting node on the ring network includes:
所述上环节点获取工作链路的配置信息,所述工作链路的配置信 息至少包括上环节点信息、 下环节点信息、 以及在所述工作链路方向 上从上环节点到下环节点所要经过的节点信息; 所述上环节点根据工作链路的配置信息确定在工作链路方向上 的最后一个下环节点; The upper ring node acquires configuration information of the working link, where the configuration information of the working link includes at least the upper ring node information, the lower ring node information, and the upper ring node to the lower ring node in the working link direction. The node information to be passed; the upper ring node determines the last lower ring node in the direction of the working link according to the configuration information of the working link;
所述上环节点为工作链路上除了所述最后一个下环节点外的其 他节点配置转发标签。 The upper ring node configures a forwarding label for other nodes on the working link except the last lower ring node.
在第二种可能的实现方式中,结合第一方面或第一种可能的实现 方式,所述点到多点业务的上环节点在环网上建立以所述上环节点为 起始节点的保护链路的方法包括: 所述上环节点获取保护链路的配置信息,所述保护链路的配置信 息至少包括上环节点信息、 下环节点信息、 以及在所述保护链路方向 上从上环节点到下环节点所要经过的节点信息; 所述上环节点根据保护链路的配置信息确定在保护链路方向上 的最后一个下环节点; In a second possible implementation manner, in combination with the first aspect or the first possible implementation manner, the upper ring node of the point-to-multipoint service establishes protection on the ring network with the upper ring node as a starting node. The method of the link includes: the upper ring node acquires configuration information of the protection link, and the configuration information of the protection link The information includes at least upper ring node information, lower ring node information, and node information to be passed from the upper ring node to the lower ring node in the direction of the protection link; the upper ring node determines, according to the configuration information of the protection link, Protecting the last lower ring node in the direction of the link;
所述上环节点为保护链路上除了所述最后一个下环节点外的其 他节点配置转发标签。 The upper ring node configures a forwarding label for other nodes on the protection link except the last lower ring node.
第二方面, 本发明实施例提供一种环网中的上环节点, 包括: 链路建立模块,用于在环网上分别建立以所述上环节点为起始节 点的工作链路和保护链路, 其中, 所述点到多点业务在所述环网的下 环节点至少包括第一下环节点和第二下环节点,所述工作链路的方向 与所述保护链路的方向相反; In a second aspect, an embodiment of the present invention provides an upper ring node in a ring network, including: a link establishing module, configured to establish, on a ring network, a working link and a protection chain with the upper ring node as a starting node And the point-to-multipoint service includes at least a first lower ring node and a second lower ring node in a lower ring node of the ring network, where a direction of the working link is opposite to a direction of the protection link ;
判断模块, 当所述环网中出现故障时, 用于判断所述工作链路是 否经过故障点; 业务传输模块, 若所述工作链路经过故障点, 且在所述工作链路 的方向上,所述第一下环节点位于所述上环节点的下游和所述故障点 的上游,用于通过所述工作链路将所述点到多点业务至少传输至所述 第一下环节点; 若所述工作链路经过故障点, 且在所述工作链路的方 向上,所述第二下环节点位于所述故障点的下游和所述上环节点的上 游,用于通过所述保护链路将所述点到多点业务至少传输至所述第二 下环节点。 在第一种可能的实现方式中, 根据第二方面, 所述链路建立模块 包括: a judging module, configured to determine whether the working link passes a fault point when a fault occurs in the ring network, and a service transmission module, if the working link passes through a fault point, and is in a direction of the working link The first lower ring node is located downstream of the upper ring node and upstream of the fault point, and is configured to transmit the point-to-multipoint service to at least the first lower ring node by using the working link. And if the working link passes the fault point, and in the direction of the working link, the second lower ring node is located downstream of the fault point and upstream of the upper ring node, for The protection link transmits the point-to-multipoint service to at least the second lower ring node. In a first possible implementation manner, according to the second aspect, the link establishing module includes:
第一获取模块, 用于获取所述工作链路的配置信息, 所述工作链 路的配置信息至少包括上环节点信息、 下环节点信息、 以及在所述工 作链路方向上从上环节点到下环节点所要经过的节点信息; 第一确定模块,用于根据所述工作链路的配置信息确定在所述工 作链路方向上的最后一个下环节点; 第一配置模块,用于为所述工作链路上除了所述最后一个下环节 点外的其他节点配置转发标签。 在第二种可能的实现方式中,结合第二方面或第一种可能的实现 方式, 所述链路建立模块包括: a first acquiring module, configured to acquire configuration information of the working link, where configuration information of the working link includes at least upper ring node information, lower ring node information, and an upper ring node in a direction of the working link The first determining module is configured to determine the last lower ring node in the working link direction according to the configuration information of the working link; the first configuration module is configured to The other nodes on the working link except the last lower ring node are configured with forwarding labels. In a second possible implementation manner, in combination with the second aspect or the first possible implementation manner, the link establishing module includes:
第二获取模块, 用于获取所述保护链路的配置信息, 所述保护链 路的配置信息至少包括上环节点信息、 下环节点信息、 以及在所述保 护链路方向上从上环节点到下环节点所要经过的节点信息; a second acquiring module, configured to acquire configuration information of the protection link, where the configuration information of the protection link includes at least upper ring node information, lower ring node information, and an upper ring node in a direction of the protection link The node information to be passed to the lower ring node;
第二确定模块,用于所述根据保护链路的配置信息确定在所述保 护链路方向上的最后一个下环节点; 第二配置模块,用于为所述保护链路上除了所述最后一个下环节 点外的其他节点配置转发标签。 a second determining module, configured to determine, according to configuration information of the protection link, a last lower ring node in a direction of the protection link; a second configuration module, configured to use the last link on the protection link A node other than the lower ring node configures the forwarding label.
本发明实施例提供的环网中点到多点业务的保护方法及环网中 的上环节点, 通过判断工作链路是否经过故障点, 进而, 上环节点能 够绕开故障点, 选择工作链路和 /或保护链路传输点到多点业务。 与 现有技术相比,减少了工作链路发生故障时切换至保护链路传输业务 所需的时间, 避免同一段路径上的双向传输, 节约了带宽资源。 The protection method of the point-to-multipoint service in the ring network provided by the embodiment of the present invention and the upper ring node in the ring network determine whether the working link passes the fault point, and then the upper ring node can bypass the fault point and select the working chain. Road and/or protection links transmit point-to-multipoint services. Compared with the prior art, the time required for switching to the protection link transmission service when the working link fails, and the bidirectional transmission on the same path are avoided, thereby saving bandwidth resources.
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面 将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而 易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域 普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些 附图获得其他的附图。 图 1为现有技术的环网工作链路结构示意图; BRIEF DESCRIPTION OF THE 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, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work. 1 is a schematic structural diagram of a working link of a ring network in the prior art;
图 2为现有技术的倒换业务路径示意图; 2 is a schematic diagram of a prior art switching service path;
图 3 为本发明实施例的环网中点到多点业务的保护方法流程示 意图一; 3 is a flow chart 1 of a method for protecting a point-to-multipoint service in a ring network according to an embodiment of the present invention;
图 4为本发明实施例的环网结构示意图一; 4 is a schematic structural diagram 1 of a ring network according to an embodiment of the present invention;
图 5为本发明实施例的环网结构示意图二; 图 6 为本发明实施例的上环节点建立工作链路的方法流程示意 图; FIG. 5 is a schematic diagram of a ring network structure according to an embodiment of the present invention; FIG. 6 is a schematic flowchart of a method for establishing a working link by an upper ring node according to an embodiment of the present invention;
图 7为本发明实施例的上环节点建立保护链路方法流程示意图; 图 8为本发明实施例的环网中的上环节点结构示意图一; 图 9为本发明实施例的环网中的上环节点结构示意图二; 图 10为本发明实施例的环网中的上环节点结构示意图三; 图 11为本发明实施例的环网中的上环节点结构示意图。 具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方 案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 本发明实施例提供一种环网中点到多点业务的保护方法, 如图 3 所示, 包括: FIG. 7 is a schematic flowchart of a method for establishing a protection link by an upper ring node according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram 1 of an upper ring node in a ring network according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram 2 of an upper ring node in a ring network according to an embodiment of the present invention; FIG. FIG. 11 is a schematic structural diagram of an upper ring node in a ring network according to an embodiment of the present invention. 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 obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention. The embodiment of the invention provides a protection method for a point-to-multipoint service in a ring network, as shown in FIG. 3, which includes:
S101、点到多点业务的上环节点在环网上分别建立以上环节点为 起始节点的工作链路和保护链路, 其中, 点到多点业务在环网的下环 节点至少包括第一下环节点和第二下环节点,工作链路的方向与保护 链路的方向相反。 S101. The upper ring node of the point-to-multipoint service establishes the working link and the protection link of the ring node as the starting node respectively on the ring network, where the point-to-multipoint service includes at least the first ring node of the ring network. The lower ring node and the second lower ring node have opposite directions of the working link and the direction of the protection link.
上环节点可以通过从网管获取配置信息或根据多协议标签交换 The upper ring node can obtain configuration information from the network management or exchange according to multi-protocol labels.
(英文全称为 Multi-Protocol Label Switching, 简称为 MPLS )协议规 定在环网上分别建立以自身为起始节点的工作链路和保护链路。 The English-language protocol (Multi-Protocol Label Switching, hereinafter referred to as MPLS) specifies that the working link and protection link with the starting node are established on the ring network.
以图 4 所示环网为例, 该环网包括节点 A、 B、 C、 D、 E、 F , 且节点 B为该点到多点业务在该环网的上环节点, 节点 D、 E、 F为 该点到多点业务在该环网的下环节点。 Taking the ring network shown in FIG. 4 as an example, the ring network includes nodes A, B, C, D, E, and F, and the node B is the point-to-multipoint service in the ring node of the ring network, and nodes D and E. F is the point-to-multipoint service at the lower ring node of the ring network.
节点 B在环网上建立的以节点 B为起始节点的工作链路如图 4 中带箭头的实线所示 (BCDEF ) 和, 建立的以节点 B 为起始节点的 保护链路如图 4 中带箭头的虚线所示 (BAFED ) 。 示例性的, 图 4 中工作链路的方向为顺时针方向, 保护链路的方向为逆时针方向。 The working link established by Node B on the ring network with Node B as the starting node is shown by the solid line with arrows in Figure 4 (BCDEF) and the established protection link with Node B as the starting node is shown in Figure 4. The dotted line with the arrow is shown (BAFED). Exemplarily, the direction of the working link in Figure 4 is clockwise, and the direction of the protection link is counterclockwise.
S102、 当环网中出现故障时, 上环节点判断工作链路是否经过故 障点。 S102. When a fault occurs in the ring network, the upper ring node determines whether the working link passes the fault point.
可选的, 环网中的每个节点都可以利用操作管理维护( Operation Administration and Maintenance , OAM ) 机制检测相邻的链路或节点 是否发生故障, 当确定相邻的链路或者节点发生故障时, 该与故障点 相邻的节点可以在环网中广播故障信息。 Optionally, each node in the ring network can utilize operation management and maintenance ( Operation The Administration and Maintenance (OAM) mechanism detects whether an adjacent link or node is faulty. When it is determined that an adjacent link or node is faulty, the node adjacent to the fault point can broadcast the fault information in the ring network.
以图 5所示的场景为例, 在该场景中, 故障点位于节点 D和节 点 E之间。 节点 D与节点 E均利用 OAM机制检测到相邻的链路发 生了故障, 因此, 节点 D和节点 E会将故障信息在环网中广播。 其 中, 节点 D广播的故障信息指示在节点 D顺时针方向的下游出现故 障, 节点 E广播的故障信息指示在节点 E顺时针方向的上游出现故 障, 因此, 环网上的其他节点能够获知是在节点 D与节点 E之间的 链路发生了故障。 类似的, 当某个节点故障时, 该故障节点相邻的两 个节点也会在环网中广播故障信息。 Taking the scene shown in Figure 5 as an example, in this scenario, the fault point is located between node D and node E. Both node D and node E use the OAM mechanism to detect that a neighboring link has failed. Therefore, node D and node E broadcast the fault information in the ring network. The fault information broadcast by the node D indicates that a fault occurs downstream of the node D in the clockwise direction, and the fault information broadcast by the node E indicates that the fault occurs upstream of the node E in the clockwise direction. Therefore, other nodes on the ring network can know that the node is in the node. The link between D and node E has failed. Similarly, when a node fails, the two nodes adjacent to the faulty node also broadcast fault information in the ring network.
因此,当环网中出现故障时,上环节点能够根据获得的故障信息, 确定故障点的具体位置, 进而判断工作链路是否经过故障点。 Therefore, when a fault occurs in the ring network, the upper ring node can determine the specific location of the fault point according to the obtained fault information, and further determine whether the working link passes the fault point.
S103、 若工作链路经过故障点, 且在工作链路的方向上, 第一下 环节点位于上环节点的下游和故障点的上游,上环节点通过工作链路 将该点到多点业务至少传输至第一下环节点; 若工作链路经过故障 点, 且在工作链路的方向上, 第二下环节点位于故障点的下游和上环 节点的上游,上环节点通过保护链路将该点到多点业务至少传输至第 二下环节点。 仍以如图 5所示场景为例, 由于故障点位于节点 D和节点 F之 间, 且该点到多点业务在环网中的工作链路为 BCDEF , 因此工作链 路经过故障点。 该点到多点业务在环网中的下环节点为节点 D、 E和 F , 其中, 在顺时针方向上, 下环节点 D位于上环节点 B的下游和故 障点的上游, 因此, 上环节点 B 通过工作链路将该点到多点业务传 输至下环节点 D; 下环节点 E和 F位于故障点的下游和上环节点 B 的上游, 因此, 上环节点 B 通过保护链路将该点到多点业务传输至 下环节点 E和 F。 S103. If the working link passes the fault point and is in the direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the upper ring node uses the working link to connect the point-to-multipoint service. At least to the first lower ring node; if the working link passes the fault point, and in the direction of the working link, the second lower ring node is located downstream of the fault point and upstream of the upper ring node, and the upper ring node passes the protection link The point-to-multipoint service is transmitted to at least the second lower ring node. Still taking the scenario shown in Figure 5 as an example, since the fault point is located between node D and node F, and the working link of the point-to-multipoint service in the ring network is BCDEF, the working link passes through the fault point. The lower-loop nodes of the point-to-multipoint service in the ring network are nodes D, E, and F, wherein, in the clockwise direction, the lower ring node D is located downstream of the upper ring node B and upstream of the fault point, and therefore, The ring node B transmits the point-to-multipoint service to the lower ring node D through the working link; the lower ring nodes E and F are located downstream of the fault point and upstream of the upper ring node B, therefore, the upper ring node B passes the protection link The point-to-multipoint service is transmitted to the lower ring nodes E and F.
可选的, 若上述第一下环节点的数量为 0 , 则说明在工作链路的 方向上,所有的下环节点均位于所述故障点的下游和所述上环节点的 上游, 因此, 上环节点可以通过保护链路将该点到多点业务传输至所 有的下环节点。 类似的, 若上述第二下环节点的数量为 0 , 则说明在 工作链路的方向上,所有下环节点均位于所述上环节点的下游和所述 故障点的上游, 因此, 上环节点可以通过工作链路将该点到多点业务 传输至所有的下环节点。 Optionally, if the number of the first lower ring nodes is 0, all the lower ring nodes are located downstream of the fault point and upstream of the upper ring node in the direction of the working link, therefore, The upper ring node can transmit the point-to-multipoint service to all lower ring nodes through the protection link. Similarly, if the number of the second lower ring nodes is 0, it means In the direction of the working link, all the lower ring nodes are located downstream of the upper ring node and upstream of the fault point. Therefore, the upper ring node can transmit the point-to-multipoint service to all under the working link. Ring node.
可选的, 如图 6所示, 上述 S101 中, 上环节点在环网上建立以 所述上环节点为起始节点的工作链路, 可以包括: Optionally, as shown in FIG. 6, in the foregoing S101, the working link that the upper ring node uses the upper ring node as a starting node on the ring network may include:
5201、 上环节点获取工作链路的配置信息, 该工作链路的配置信 息至少包括上环节点信息、 下环节点信息、 以及在工作链路方向上从 上环节点到下环节点所要经过的节点信息。 可选的, 上环节点从网管获取工作链路的配置信息, 也可以是根 据 MPLS协议获取工作链路的配置信息。 5201. The upper ring node obtains configuration information of the working link, where the configuration information of the working link includes at least the information of the upper ring node, the information of the lower ring node, and the path from the upper ring node to the lower ring node in the working link direction. Node information. Optionally, the upper ring node obtains the configuration information of the working link from the network management, or obtains the configuration information of the working link according to the MPLS protocol.
本实施例中的网管, 可以是由支持网管协议的网管软件平台、 网 管支撑软件、 网管工作平台和支撑网管协议所组成的网络设备, 能够 提供网络系统的配置、 故障、 性能及网络用户分布方面的基本管理。 The network management device in this embodiment may be a network device consisting of a network management software platform supporting the network management protocol, a network management supporting software, a network management working platform, and a supporting network management protocol, and capable of providing network system configuration, fault, performance, and network user distribution. Basic management.
5202、上环节点根据工作链路的配置信息确定在工作链路方向上 的最后一个下环节点。 5202. The upper ring node determines the last lower ring node in the working link direction according to the configuration information of the working link.
5203、上环节点为工作链路上除了最后一个下环节点外的其他节 点配置转发标签。 5203. The upper ring node configures a forwarding label for other nodes except the last lower ring node on the working link.
仍以图 4为例进行说明。 上环节点 B 获取工作链路的配置信息, 配置信息至少包括上环 节点 B的地址、 下环节点 D、 E和 F的地址, 以及工作链路方向上从 上环节点 B到下环节点 D、 E、 F所要经过的节点 C的地址; 上环节点 B根据配置信息确定下环节点 F为工作链路方向上的 最后一个下环节点; 上环节点 B为工作链路上除最后一个下环节点 F外的节点配置 用于转发该点到多点业务的转发标签, 即上环节点 B为节点 C、 下环 节点 D和下环节点 E配置转发标签, 节点 C、 下环节点 D、 下环节 点 E在接收到该点到多点的业务后,根据自身配置的转发标签转发该 点到多点的业务。 Still taking FIG. 4 as an example for explanation. The upper ring node B obtains the configuration information of the working link, and the configuration information includes at least the address of the upper ring node B, the addresses of the lower ring nodes D, E, and F, and the working link direction from the upper ring node B to the lower ring node D. , E, F, the address of the node C to pass; the upper ring node B determines, according to the configuration information, that the lower ring node F is the last lower ring node in the working link direction; the upper ring node B is the last one on the working link. The node outside the ring node F is configured to forward the forwarding label of the point-to-multipoint service, that is, the upper ring node B configures a forwarding label for the node C, the lower ring node D, and the lower ring node E, and the node C and the lower ring node D. After receiving the point-to-multipoint service, the lower ring node E forwards the point-to-multipoint service according to the forwarding label configured by itself.
例如, 该点到多点业务从节点 B 上环时, 添加一层环标签后发 往节点 c; For example, when the point-to-multipoint service is looped from node B, a layer of ring label is added. To node c;
节点 c 将环标签替换为自身配置的转发标签, 然后将该点到多 点业务发往下环节点 D; Node c replaces the ring label with its own configured forwarding label, and then sends the point-to-multipoint service to the lower ring node D;
下环节点 D将该点到多点业务复制为两份, 下环节点 D对其中 的一份进行如下处理: 剥离转发标签, 然后该点到多点业务从下环节 点 D离开该环网; 下环节点 D对另一份进行如下处理: 将节点 C的 转发标签替换为自身配置的转发标签,然后将该点到多点业务发往下 环节点 E; The lower ring node D copies the point-to-multipoint service into two parts, and the lower ring node D performs one of the following processes: stripping the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node D; The lower ring node D performs the following processing on the other part: replacing the forwarding label of the node C with the forwarding label configured by itself, and then sending the point-to-multipoint service to the lower ring node E;
下环节点 E的对该点到多点业务的处理与下环节点 D相同, 一 份剥离标签后下环, 另一份替换转发标签后发往下环节点 F; The processing of the point-to-multipoint service of the lower ring node E is the same as that of the lower ring node D, one is stripped after the label is removed, and the other is replaced by the forwarding label and sent to the lower ring node F;
下环节点 F接收到该点到多点业务后, 将转发标签剥离, 然后该 点到多点业务从下环节点 F离开该环网。 类似的, 如图 7所示, 上述 S101 中, 上环节点在环网上建立以 所述上环节点为起始节点的保护链路, 可以包括: After receiving the point-to-multipoint service, the lower ring node F strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node F. Similarly, as shown in FIG. 7, in the foregoing S101, the upper ring node establishes a protection link on the ring network, where the upper ring node is a starting node, and may include:
S301、 上环节点获取保护链路的配置信息,保护链路的配置信息 至少包括上环节点信息、 下环节点信息、 以及在保护链路方向上从上 环节点到下环节点所要经过的节点信息。 可选的, 上环节点从网管获取保护链路的配置信息, 也可以是根 据 MPLS协议获取保护链路的配置信息。 S301. The upper ring node obtains configuration information of the protection link, where the configuration information of the protection link includes at least information of the upper ring node, the information of the lower ring node, and a node that passes through the upper ring node to the lower ring node in the direction of the protection link. information. Optionally, the upper ring node obtains the configuration information of the protection link from the network management, or obtains the configuration information of the protection link according to the MPLS protocol.
S302、上环节点根据保护链路的配置信息确定在保护链路方向上 的最后一个下环节点。 S302. The upper ring node determines the last lower ring node in the protection link direction according to the configuration information of the protection link.
S303、上环节点为保护链路上除了最后一个下环节点外的其他节 点配置转发标签。 S303. The upper ring node configures a forwarding label for the other nodes except the last lower ring node on the protection link.
仍以图 4为例进行说明。 上环节点 B 获取保护链路的配置信息, 配置信息至少包括上环 节点 B的地址、 下环节点 F、 E和 D的地址, 以及保护链路方向上从 上环节点 B到下环节点 F、 E、 D所要经过的节点 A 的地址; 上环节点 B根据配置信息确定下环节点 D为保护链路方向上的 最后一个下环节点; 上环节点 B为保护链路上除最后一个下环节点 D外的每个节点 配置用于转发该点到多点业务的转发标签, 即上环节点 B为节点 A、 下环节点 F和下环节点 E配置转发标签, 节点 A、 下环节点?、 下环 节点 E在接收到该点到多点的业务后,根据自身配置的转发标签转发 该点到多点业务。 Still taking FIG. 4 as an example for description. The upper ring node B obtains configuration information of the protection link, and the configuration information includes at least the address of the upper ring node B, the addresses of the lower ring nodes F, E, and D, and the protection link direction from the upper ring node B to the lower ring node F. The address of the node A to be passed by E, D, and the upper ring node B determines that the lower ring node D is the last lower ring node in the direction of the protection link according to the configuration information; The upper ring node B configures a forwarding label for forwarding the point-to-multipoint service for each node except the last lower ring node D on the protection link, that is, the upper ring node B is node A, lower ring node F, and lower The ring node E configures the forwarding label, node A, and lower ring node? After receiving the point-to-multipoint service, the lower ring node E forwards the point-to-multipoint service according to the forwarding label configured by itself.
例如, 该点到多点业务从节点 B 上环时, 添加一层环标签后发 往节点 A; 节点 A将环标签替换为自身配置的转发标签, 然后将该点到多 点业务发往下环节点 F; For example, when the point-to-multipoint service is looped from the node B, a ring label is added and sent to the node A; the node A replaces the ring label with the forwarding label configured by itself, and then sends the point-to-multipoint service to the next. Ring node F;
下环节点 F将该点到多点业务复制为两份,下环节点 F对其中的 一份进行如下处理: 剥离转发标签, 然后该点到多点业务从下环节点 F离开该环网; 下环节点 F对另一份进行如下处理: 将节点 A的转发 标签替换为自身配置的转发标签,然后将该点到多点业务发往下环节 点 E; The lower ring node F copies the point-to-multipoint service into two parts, and the lower ring node F processes one of the following: strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node F; The lower ring node F performs the following processing on the other part: replacing the forwarding label of the node A with the forwarding label configured by itself, and then sending the point-to-multipoint service to the lower ring node E;
下环节点 E的对该点到多点业务的处理与下环节点 F相同, 一 份剥离标签后下环, 另一份替换转发标签后发往下环节点 D; The processing of the point-to-multipoint service of the lower ring node E is the same as that of the lower ring node F, one stripping the label and then the lower ring, and the other replacing the forwarding label and sending it to the lower ring node D;
下环节点 D接收到该点到多点业务后, 将转发标签剥离, 然后 该点到多点业务从下环节点 D离开该环网。 需要说明的是,建立工作链路与建立保护链路之间没有时间顺序 的限制。 本发明实施例提供的方法, 通过判断工作链路是否经过故障点, 进而, 上环节点能够绕开故障点, 选择工作链路和 /或保护链路传输 点到多点业务。 与现有技术相比, 减少了工作链路发生故障时切换至 保护链路传输业务所需的时间, 避免同一段路径上的双向传输, 节约 了带宽资源。 本发明实施例提供一种环网中的上环节点, 如图 8所示, 包括: 链路建立模块 10 , 用于在环网上分别建立以所述上环节点为起 始节点的工作链路和保护链路, 其中, 所述点到多点业务在所述环网 的下环节点至少包括第一下环节点和第二下环节点,所述工作链路的 方向与所述保护链路的方向相反; 判断模块 11 , 当所述环网中出现故障时, 用于判断所述工作链 路是否经过故障点; After receiving the point-to-multipoint service, the lower ring node D strips the forwarding label, and then the point-to-multipoint service leaves the ring network from the lower ring node D. It should be noted that there is no chronological limitation between establishing a working link and establishing a protection link. The method provided by the embodiment of the present invention determines whether the working link passes the fault point, and further, the upper ring node can bypass the fault point and select the working link and/or the protection link to transmit the point-to-multipoint service. Compared with the prior art, the time required to switch to the protection link transmission service when the working link fails, the time of the bidirectional transmission on the same path is avoided, and the bandwidth resource is saved. An embodiment of the present invention provides an upper ring node in a ring network. As shown in FIG. 8, the method includes: a link establishing module 10, configured to establish, on a ring network, a working link that uses the upper ring node as a starting node. And a protection link, where the point-to-multipoint service includes at least a first lower ring node and a second lower ring node in a lower ring node of the ring network, a direction of the working link and the protection link The opposite direction; The determining module 11 is configured to determine whether the working link passes the fault point when a fault occurs in the ring network.
业务传输模块 12 , 若所述工作链路经过故障点, 且在所述工作 链路的方向上,所述第一下环节点位于所述上环节点的下游和所述故 障点的上游,用于通过所述工作链路将所述点到多点业务至少传输至 所述第一下环节点; 若所述工作链路经过故障点, 且在所述工作链路 的方向上,所述第二下环节点位于所述故障点的下游和所述上环节点 的上游,用于通过所述保护链路将所述点到多点业务至少传输至所述 第二下环节点。 可选的, 如图 9所示, 所述链路建立模块 10包括: 第一获取模块 100 , 用于获取所述工作链路的配置信息, 所述工 作链路的配置信息至少包括上环节点信息、 下环节点信息、 以及在所 述工作链路方向上从上环节点到下环节点所要经过的节点信息; 第一确定模块 101 , 用于根据所述工作链路的配置信息确定在所 述工作链路方向上的最后一个下环节点; 第一配置模块 102 , 用于为所述工作链路上除了所述最后一个下 环节点外的其他节点配置转发标签。 The service transmission module 12, if the working link passes the fault point, and in the direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, Transmitting the point-to-multipoint service to at least the first lower ring node through the working link; if the working link passes a fault point, and in a direction of the working link, the The second lower ring node is located downstream of the fault point and upstream of the upper ring node, and is configured to transmit the point-to-multipoint service to at least the second lower ring node by using the protection link. Optionally, as shown in FIG. 9, the link establishing module 10 includes: a first acquiring module 100, configured to acquire configuration information of the working link, where configuration information of the working link includes at least an upper ring node Information, lower ring node information, and node information to pass through from the upper ring node to the lower ring node in the working link direction; the first determining module 101 is configured to determine, according to the configuration information of the working link The last lower ring node in the direction of the working link; the first configuration module 102 is configured to configure a forwarding label for other nodes on the working link except the last lower ring node.
可选的, 如图 10所示, 所述链路建立模块 10包括: 第二获取模块 103 , 用于获取所述保护链路的配置信息, 所述保 护链路的配置信息至少包括上环节点信息、 下环节点信息、 以及在所 述保护链路方向上从上环节点到下环节点所要经过的节点信息; 第二确定模块 104 , 用于根据所述保护链路的配置信息确定在所 述保护链路方向上的最后一个下环节点; 第二配置模块 105 , 用于为所述保护链路上除了所述最后一个下 环节点外的其他节点配置转发标签。 本发明实施例提供的环网中的上环节点,通过判断工作链路是否 经过故障点, 进而, 上环节点能够绕开故障点, 选择工作链路和 /或 保护链路传输点到多点业务。 与现有技术相比, 减少了工作链路发生 故障时切换至保护链路传输业务所需的时间,避免同一段路径上的双 向传输, 节约了带宽资源。 本发明实施例提供一种环网中的上环节点, 如图 11所示, 包括: 存储器 1 , 用于存储指令; 处理器 2 , 用于执行所述指令, 所述指令用于在环网上分别建立 以所述上环节点为起始节点的工作链路和保护链路后, 其中, 所述点 到多点业务在所述环网的下环节点至少包括第一下环节点和第二下 环节点, 所述工作链路的方向与所述保护链路的方向相反, 当所述环 网中出现故障时, 判断所述工作链路是否经过故障点, 以及若所述工 作链路经过故障点, 且在所述工作链路的方向上, 所述第一下环节点 位于所述上环节点的下游和所述故障点的上游,通过所述工作链路将 所述点到多点业务至少传输至所述第一下环节点, 或者, 若所述工作 链路经过故障点, 且在所述工作链路的方向上, 所述第二下环节点位 于所述故障点的下游和所述上环节点的上游,通过所述保护链路将所 述点到多点业务至少传输至所述第二下环节点。 本发明实施例提供的节点, 通过判断工作链路是否经过故障点, 进而, 节点能够绕开故障点, 选择工作链路和 /或保护链路传输点到 多点业务。 与现有技术相比, 减少了工作链路发生故障时切换至保护 链路传输业务所需的时间, 避免同一段路径上的双向传输, 节约了带 宽资源。 Optionally, as shown in FIG. 10, the link establishing module 10 includes: a second obtaining module 103, configured to acquire configuration information of the protection link, where configuration information of the protection link includes at least an upper ring node The information, the lower ring node information, and the node information to be passed from the upper ring node to the lower ring node in the direction of the protection link; the second determining module 104 is configured to determine, according to the configuration information of the protection link, The last lower ring node in the direction of the protection link; the second configuration module 105 is configured to configure a forwarding label for other nodes on the protection link except the last lower ring node. The upper ring node in the ring network provided by the embodiment of the present invention determines whether the working link passes the fault point, and further, the upper ring node can bypass the fault point, select the working link and/or the protection link transmission point to multiple points. business. Compared with the prior art, the time required for switching to the protection link transmission service when the working link fails, and the bidirectional transmission on the same path are avoided, thereby saving bandwidth resources. An embodiment of the present invention provides an upper ring node in a ring network, as shown in FIG. 11, including: a memory 1 for storing an instruction; a processor 2, configured to execute the instruction, where the instruction is used on a ring network After the working link and the protection link with the upper ring node as the starting node are respectively established, the point-to-multipoint service in the ring network of the ring network includes at least a first lower ring node and a second a lower ring node, the direction of the working link is opposite to the direction of the protection link, and when a fault occurs in the ring network, determining whether the working link passes the fault point, and if the working link passes a point of failure, and in a direction of the working link, the first lower ring node is located downstream of the upper ring node and upstream of the fault point, and the point to multipoint is performed by the working link The service is transmitted to the first lower ring node at least, or, if the working link passes the fault point, and in the direction of the working link, the second lower ring node is located downstream of the fault point and The upstream of the upper ring node passes Transmitting the said protection link multipoint service to the at least part of the second lower point. The node provided by the embodiment of the present invention can determine whether the working link passes the fault point, and further, the node can bypass the fault point and select the working link and/or the protection link to transmit the point-to-multipoint service. Compared with the prior art, the time required to switch to the protection link transmission service when the working link fails, the time of the bidirectional transmission on the same path is avoided, and the bandwidth resource is saved.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部 分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于 一计算机可读取存储介质中, 该程序在执行时, 执行包括上述方法实 施例的步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘 等各种可以存储程序代码的介质。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保护范围为准。 A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; 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. The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210361216.1A CN102882757B (en) | 2012-09-25 | 2012-09-25 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
| CN201210361216.1 | 2012-09-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014048128A1 true WO2014048128A1 (en) | 2014-04-03 |
Family
ID=47483910
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/076365 Ceased WO2014048128A1 (en) | 2012-09-25 | 2013-05-29 | Point-to-multipoint service protecting method for ring network and upper ring node on ring network |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102882757B (en) |
| WO (1) | WO2014048128A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102882757B (en) * | 2012-09-25 | 2015-01-28 | 华为技术有限公司 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
| CN103973536A (en) * | 2013-02-05 | 2014-08-06 | 中国移动通信集团公司 | Device and method for protection of point-to-multipoint looped network |
| CN103746891B (en) * | 2013-12-24 | 2017-09-26 | 华为技术有限公司 | A kind of guard method of looped network access service, apparatus and system |
| CN105681149B (en) * | 2015-12-29 | 2019-01-22 | 瑞斯康达科技发展股份有限公司 | Looped network protecting method and device |
| CN105978735B (en) * | 2016-06-30 | 2019-02-26 | 重庆世纪之光科技实业有限公司 | The guard method of serial bus communication network and device |
| CN108075936A (en) * | 2016-11-16 | 2018-05-25 | 中国移动通信有限公司研究院 | VxLAN detection methods and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101729229A (en) * | 2009-06-18 | 2010-06-09 | 中兴通讯股份有限公司 | Point-to-multipoint closed-loop system, its protection method and node equipment in the system |
| CN102546425A (en) * | 2012-01-31 | 2012-07-04 | 华为技术有限公司 | Crossed ring network protection method, equipment and system |
| CN102882757A (en) * | 2012-09-25 | 2013-01-16 | 华为技术有限公司 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101364926B (en) * | 2007-08-08 | 2011-06-01 | 华为技术有限公司 | Method and apparatus for network protection |
| CN102014011A (en) * | 2009-09-04 | 2011-04-13 | 中兴通讯股份有限公司 | Method and system for protecting looped network |
| CN102055658B (en) * | 2009-11-05 | 2013-01-16 | 杭州华三通信技术有限公司 | Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking |
| CN102104520B (en) * | 2009-12-18 | 2013-08-21 | 中兴通讯股份有限公司 | Ring network protection method and device based on topology information |
| CN101977141B (en) * | 2010-09-27 | 2012-05-23 | 南京邮电大学 | MPLS-TP-based multicast protection method |
| CN102684973B (en) * | 2011-03-09 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of method and system of looped network protection |
-
2012
- 2012-09-25 CN CN201210361216.1A patent/CN102882757B/en not_active Expired - Fee Related
-
2013
- 2013-05-29 WO PCT/CN2013/076365 patent/WO2014048128A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101729229A (en) * | 2009-06-18 | 2010-06-09 | 中兴通讯股份有限公司 | Point-to-multipoint closed-loop system, its protection method and node equipment in the system |
| CN102546425A (en) * | 2012-01-31 | 2012-07-04 | 华为技术有限公司 | Crossed ring network protection method, equipment and system |
| CN102882757A (en) * | 2012-09-25 | 2013-01-16 | 华为技术有限公司 | Point-to-multipoint service protecting method for ring network and upper ring node in ring network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102882757B (en) | 2015-01-28 |
| CN102882757A (en) | 2013-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9705735B2 (en) | System and method using RSVP hello suppression for graceful restart capable neighbors | |
| US9059902B2 (en) | Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements | |
| US8509059B2 (en) | Method for operating a virtual router redundancy protocol router and communication system therefor | |
| EP2498454A1 (en) | Method, device and system for processing service traffic based on pseudo wires | |
| CN100512292C (en) | Apparatus and method of real-time recovering service | |
| WO2012130034A1 (en) | Vpls fast rerouting method and device | |
| WO2012075831A1 (en) | Method and system for multicast protection | |
| WO2014048128A1 (en) | Point-to-multipoint service protecting method for ring network and upper ring node on ring network | |
| WO2011147312A1 (en) | Method, device and system for port backup of service access router | |
| KR20130055392A (en) | Method and appratus for protection switching in point-to- multipoint network | |
| JP2013519268A (en) | Data transfer method, data transfer apparatus, and data transfer system | |
| WO2020168854A1 (en) | Evpn multicast method, apparatus and system | |
| WO2011097893A1 (en) | Method, device and system for transmitting e1 bidirectional looped network data | |
| CN108206759A (en) | A kind of method to E-Packet, equipment and system | |
| WO2012129921A1 (en) | Multicast method and multicast device | |
| WO2016124117A1 (en) | Method, switching device and network controller for protecting links in software-defined network (sdn) | |
| WO2014146541A1 (en) | Cdn and network convergence system, scheduling module selection method and computer storage medium | |
| JP5352502B2 (en) | Packet communication system and packet communication apparatus control method | |
| WO2011113395A2 (en) | A method and apparatus for load balance | |
| CN103297259B (en) | The guard method of point-to-multipoint multicast service and device | |
| CN102812750B (en) | Fault handling method, grouping conveying network and node in grouping conveying network | |
| WO2011140873A1 (en) | Data transport method and apparatus for optical transport layer | |
| WO2016082436A1 (en) | Mixed centralized processing method and apparatus for service, and storage medium | |
| WO2012136062A1 (en) | Multicast path switching method and router | |
| WO2012109860A1 (en) | Method, device and system for establishing label switching path |
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: 13840639 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: 13840639 Country of ref document: EP Kind code of ref document: A1 |