WO2012163173A1 - 以太网环保护倒换方法、节点及系统 - Google Patents

以太网环保护倒换方法、节点及系统 Download PDF

Info

Publication number
WO2012163173A1
WO2012163173A1 PCT/CN2012/073491 CN2012073491W WO2012163173A1 WO 2012163173 A1 WO2012163173 A1 WO 2012163173A1 CN 2012073491 W CN2012073491 W CN 2012073491W WO 2012163173 A1 WO2012163173 A1 WO 2012163173A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
bandwidth
node
information
current
Prior art date
Application number
PCT/CN2012/073491
Other languages
English (en)
French (fr)
Inventor
谢荣
黄毅青
�龙昊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280003266.0A priority Critical patent/CN103190121B/zh
Priority to EP12792571.7A priority patent/EP2775669A1/en
Publication of WO2012163173A1 publication Critical patent/WO2012163173A1/zh
Priority to US14/286,551 priority patent/US20140254347A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge

Definitions

  • Ethernet ring protection switching method Ethernet ring protection switching method, node and system
  • the present invention relates to the field of communications technologies, and in particular, to an Ethernet ring protection switching method, a node, and a system.
  • R-APS Ring Automatic Protection Switching
  • the traditional ring protection switching method is Ethernet Ring Protection Switching (ERPS), which is based on the R-APS protocol, and sends R-APS protocol packets between nodes to implement the protocol of each node in the ring network. Interworking and protection switching. Specifically, at least one link is set as the backup link in the Ethernet ring network. As shown in Figure 1 (a), the link between nodes A and D is the standby link RPL (Ring Protection Link, ring protection). Link), node A is the ring protection switching master node (RPL Owner, RPL host), and blocks the port of node A and the standby side of node D under normal working conditions, so that traffic is transmitted through the other port of node A and D. At this time, the transmission path of the service can be ABCD.
  • RPL Ring Protection Link
  • the ring protection switching can be triggered only in the case of a link failure or a manual forced switching, but the link bandwidth is reduced. Under this, the transmission on the alternate link with higher bandwidth cannot be utilized, so that the service capacity of the ring network cannot be maximized.
  • the embodiments of the present invention provide an Ethernet ring protection switching method, a node, and a system, which can switch a service transmission path according to a link bandwidth condition, and maximize the service capacity of the Ethernet ring network.
  • An Ethernet ring protection switching method includes:
  • a node the node participates in a ring protection switching application of the current ring network, and the node includes: a link determining unit, configured to determine, according to bandwidth information of the current link and bandwidth information of other links on the ring, whether the current link is When the link is a lower bandwidth link, the port corresponding to the current link is blocked.
  • An Ethernet ring protection switching system comprising: at least three nodes; the node forms a ring network through a link on the node, performs data transmission in the ring network, and participates in current ring protection switching;
  • the node is configured to determine, according to bandwidth information of the current link and bandwidth information of other links on the ring, whether the current link is a lower bandwidth link; if the current link is a lower bandwidth link, Blocking the port corresponding to the current link.
  • the Ethernet ring protection switching method, the node, and the system provided by the embodiment of the present invention determine whether the current link is blocked by determining whether the current link is a lower bandwidth link on each node, and is only in the prior art.
  • the link with a lower bandwidth can be adaptively blocked according to the change of the bandwidth, and the link with a higher bandwidth is selected as the working link. Make full use of the idle bandwidth on the standby link, improve the utilization efficiency of the network bandwidth, and maximize the service capacity of the Ethernet ring network.
  • FIG. 1 is a schematic diagram of an Ethernet ring protection switching system in the background art
  • FIG. 2 is a flowchart of a method for switching an Ethernet ring protection according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for switching an Ethernet ring protection switching according to Embodiment 2 of the present invention
  • FIG. 4 is a flowchart of another method for switching an Ethernet ring protection according to Embodiment 3 of the present invention
  • 4 is a schematic diagram of an Ethernet ring protection switching application scenario
  • FIG. 6 is a schematic diagram of an Ethernet ring protection switching application scenario according to Embodiment 5 of the present invention
  • FIG. 7 is an Ethernet ring according to Embodiment 6 of the present invention
  • FIG. 8 is a schematic diagram of a node composition in Embodiment 7 of the present invention
  • FIG. 9 is a schematic diagram of another node composition in Embodiment 7 of the present invention.
  • An embodiment of the present invention provides an Ethernet ring protection switching method. As shown in FIG. 2, the method includes: 101. Determine, according to bandwidth information of a current link and bandwidth information of other links on the ring, whether the current link is lower. Bandwidth link.
  • the bandwidth information of the current link may be the bandwidth information corresponding to the port with the lowest bandwidth among the ports participating in the current ring protection switching on the current node.
  • the bandwidth information corresponding to other links can also be determined in the same manner. It should be noted that, in a network formed by each node, one node may participate in multiple Ethernet ring network instances at the same time, and there may be multiple ports on the current node. In the description of the present invention, only one Ethernet ring network is described.
  • the embodiment of the present invention may be applied to any node in the same ring protection switching instance, that is, the current node may be any node in the same ring protection switching instance.
  • the link may be a physical link or a virtual link; the link bandwidth may be the bandwidth of the physical link where the link is located, or the bandwidth of the virtual link. The bandwidth allocated by the physical link to the Ethernet ring instance.
  • the bandwidth information of the other links on the ring includes at least one of the following: bandwidth information of other links on the current node, bandwidth information of links on the other nodes sent by other nodes, and stored in the current Bandwidth information of links on other nodes in the ring network bandwidth database of the node.
  • the bandwidth information of the link on the other node that is sent by the other node is carried in the bandwidth information packet, and the link information includes the link location information, where the link location information includes Node information and/or port information.
  • the bandwidth information of the current link is compared with the bandwidth information of other links, and it is determined whether the bandwidth of the current link is a lower bandwidth link in the ring network. If only the link with the same bandwidth and the lowest link exists in the ring network, and the current link is one of the links, the link location information, such as the physical address and name of the node, may be used. Compare the information to determine if it should be prioritized as a lower bandwidth link.
  • the current link is a lower bandwidth link, block the port corresponding to the current link.
  • the port corresponding to the current link that is, the port participating in the current ring protection switching on the current node refers to the current node.
  • the port of the current Ethernet ring instance. This port usually refers to a virtual port corresponding to the current Ethernet ring instance.
  • Port blocking refers to disabling data traffic from passing through the port, usually by setting forwarding table filtering. Of course, there are other ways to implement the method, for example, directly closing the port, which is not limited herein.
  • the method may further include:
  • the Ethernet ring protection switching method determines whether the current link is a lower bandwidth chain on each node. The method of determining whether to block the current link, and adaptively lowering the bandwidth according to the change of the bandwidth, compared with the prior art that only triggers the ring protection switching in the case of link failure or manual command switching. The link is blocked, and the link with the higher bandwidth is selected as the working link, so that the idle bandwidth on the standby link is fully utilized, the utilization efficiency of the network bandwidth is improved, and the service capacity of the Ethernet ring network is maximized.
  • Example 2
  • the embodiment of the present invention provides an Ethernet ring protection switching method. As shown in FIG. 3, the method includes: 201. Receive a bandwidth information packet sent by another ring node.
  • the bandwidth information packet includes link location information and link bandwidth information of the link on the other ring node.
  • the bandwidth information packet may include: a bandwidth change packet and a node online packet, which are obtained by extending the R-APS protocol.
  • Add “bandwidth information” and “port number” fields to the existing R-APS message where "bandwidth information” is used to carry link bandwidth information, and "port number” is used to combine existing nodes.
  • a Node ID field is used to describe the specific link location information. It is worth noting that the link location information can also be roughly passed through the existing "node identification" field. Description, that is, only describes which node the link is on, rather than a specific link, so the "port number” field is an optional field.
  • Node ID ( Node ID )
  • the node C may send the above-mentioned R-APS message carrying the "bandwidth degradation" request to other nodes. And carrying the node identification information of the node C, the corresponding port number of the link C ⁇ D on the node C, and the bandwidth information after the link CoD changes.
  • the link bandwidth reduction may also be caused by other reasons, such as a link aggregation (LAG) member failure. There is no limit here.
  • LAG link aggregation
  • Each node in the Ethernet ring network may be pre-configured with a ring network bandwidth database, and the link corresponding to the link on other nodes in the ring network may be stored in the ring network bandwidth database of the current node.
  • the location information and the link bandwidth information may also store link location information and link bandwidth information of the current node in the ring network bandwidth database.
  • the link bandwidth information corresponding to the link location may be updated. It should be noted that, in order to save storage space, the ring network bandwidth database may only store link location information and link bandwidth information corresponding to the link with the lowest bandwidth in the ring network.
  • the specific implementation method may be: receiving the bandwidth information packet sent by other nodes in the current ring network. Then, the link with the lowest bandwidth is compared according to the link location information and the link bandwidth information carried in the bandwidth information packet. If the bandwidth is the same, the link with the lowest node ID can be the link with the lowest bandwidth. The link position information and link bandwidth information corresponding to the link with the lowest bandwidth obtained are compared in the ring network bandwidth database of the current node. For example, the current node A has a sequence of priorities when receiving bandwidth information packets of other nodes.
  • the bandwidth information and the node information of the node B are stored in the memory as a ring network bandwidth database. Then, the bandwidth information packet of the node C is received, and the bandwidth information and the node information of the node C are compared with the bandwidth information and the node information of the recorded node B in the memory. If the bandwidth of the node B is low, the related information of the node C may not be recorded. If the bandwidth of the node C is low, the related information of the stored node B in the memory is replaced with the related information of the node C. By analogy, only the bandwidth information and node information corresponding to the node with the lowest bandwidth among other nodes are always recorded.
  • step 204 Compare bandwidth information of the current link with bandwidth information of other links that are saved on the current node, and determine whether the current link is a lower bandwidth link; if the current link bandwidth and the ring network bandwidth If the lowest bandwidth in the database is the same, step 204 is performed. If the current link is a lower bandwidth link, step 205 is performed. If the current link is not the lower bandwidth link, step 206 is performed.
  • the current node may be directly used in step 203.
  • the link bandwidth information By comparing the link bandwidth information with the only recorded link bandwidth information in the ring network bandwidth database, it can be determined whether the current link is a lower bandwidth link in the ring network.
  • 204 Compare the link location information of the current link with the link location information corresponding to the link with the lowest bandwidth in the ring network, and determine a link that is preferentially blocked, that is, determine whether the current link is used as a lower bandwidth chain. road.
  • the link with the lowest bandwidth in the ring network cannot be determined by comparing the bandwidths in step 203, further comparison can be made according to other information, and the link with preferential blocking is selected from the link with the lowest bandwidth. Further judgment can be made based on link location information such as port information, node ID, node name, geographical location of the node, and the like. For example, in the extended R-APS protocol packet, the ID of each node is carried, and the node ID is stored in the ring network bandwidth database. If the bandwidth of the two nodes is 300M, the link with the smaller node ID value can be blocked as a lower bandwidth link according to the size of the node ID.
  • the current node may have multiple ports.
  • the bandwidth corresponding to the port with a lower bandwidth on the current node is used. Therefore, when the port is blocked, the corresponding port may also be used. Blocks the lower bandwidth ports on the current node. For example, as shown in FIG. 3, after determining that node C is the lowest bandwidth node, node C compares the bandwidths of the upper two ports, wherein the bandwidth of the east port is 300M, and the bandwidth of the west port is 400M. The result is a lower bandwidth for the eastbound port, so it can block the eastbound port on node C.
  • the port that is preferentially blocked may be determined according to the port information corresponding to the two ports and used as the lower bandwidth port. For example, after determining that node X is the lowest bandwidth node, node C compares the bandwidth of the upper two ports, and the bandwidth of the east port and the west port is 200M, and it is impossible to determine which port should be blocked. In this case, you can compare the ID of the eastbound port: 00000001 with the ID of the westbound port: 00000010. The result of the comparison is that the ID of the eastbound port is the smallest, so the eastbound port can be blocked as the lower bandwidth port.
  • the method for blocking the lower bandwidth link may be: After the current node blocks the port with the lowest bandwidth, only one end of the link with the lowest bandwidth is blocked. The current node can also send a message that the link is blocked to the other end of the link, and notify the node at the other end of the link to block the pair.
  • the port should be. For example, as shown in FIG. 3, the node C detects that its own link bandwidth is the lowest in the ring network, and determines that the port with the highest bandwidth on the node C is the east port, and blocks the east port on the node C. At the same time, the node C sends a message blocking the link CoD to the node D. After receiving the blocking message, the node D blocks the westbound port on the node D.
  • the method for opening the port corresponding to the current link is: determining whether the port corresponding to the current link is blocked; if the port corresponding to the current link is blocked, stopping blocking the If the port corresponding to the current link is not blocked, the related operations of the ring protection switching may not be performed.
  • step 203 it has been determined that the current link on the current node is not a lower bandwidth link, so the bandwidth of the blocked port on the current node can also be fully utilized. Thereby enabling a link with a higher bandwidth in the ring network and blocking a link with a lower bandwidth in the ring network.
  • the ring protection switching mechanism can With the forced switching and the SF warning as the priority, the node does not trigger the ring protection switching due to the notification of the bandwidth change.
  • the bandwidth change packet corresponding to the node broadcasted by the node with the link failure is detected, and the link bandwidth of the node is reported as 0; when the failed link is restored.
  • the node re-broadcasts the bandwidth change packet and reports the current link bandwidth of the node.
  • the Ethernet ring protection switching method determines whether to block the current link by determining whether the current link is a lower bandwidth link on each node, and only the link failure or manual in the prior art.
  • the link with lower bandwidth can be adaptively blocked according to the change of the bandwidth, and the link with higher bandwidth is selected as the working link, thereby fully utilizing the backup chain.
  • the idle bandwidth on the road improve the utilization efficiency of the network bandwidth, and maximize the service capacity of the Ethernet ring network.
  • each node in the same ring network can update the ring network bandwidth database of each node through the interworking of bandwidth information packets, and join the newly-online node to the ring protection switcher.
  • the bandwidth information packet includes a node online message.
  • the Ethernet ring protection switching method may include:
  • the current node broadcasts a node online message of the current node to the other node.
  • the node uplink message includes a node uplink identifier, link location information on the current node, and link bandwidth information.
  • the ring network bandwidth database of other nodes in the ring network does not have information about the current node. Therefore, when the current node goes online, the node online message can be broadcast to other nodes in the ring network.
  • the uplink message of the node includes link location information and link bandwidth information on the current node.
  • the link location information and the link bandwidth information on the current node refer to link location information and link bandwidth information corresponding to the link with lower bandwidth in the current ring link of the current node.
  • the specific method for determining the link bandwidth information of the current node is as follows: First, according to the bandwidth corresponding to each port on the current node, the port with the smallest bandwidth is selected. If the bandwidth is the same, the port ID may be further selected according to the port ID. The port acts as the lowest bandwidth port. The bandwidth corresponding to the port with the lowest bandwidth on the current node is selected as the link bandwidth information of the current node, and is written in the bandwidth change packet, the node online packet, or the ring network bandwidth database corresponding to the current node.
  • the other node After receiving the online message of the node, the other node saves the link bandwidth information carried in the online message of the node.
  • the node online advertisement (ie, the request field 0001) is used to identify the uplink message of the node, and the related information corresponding to the current online node carried in the online message of the node is stored in each ring network database.
  • the other node compares the link location information and the link bandwidth information of the current node with the lowest bandwidth information stored in the ring network database, and stores only the related information corresponding to the link with the lower bandwidth in the ring network bandwidth database. in.
  • the other node sends a bandwidth information packet to the current node.
  • the other nodes in the ring network may also send the bandwidth information report after receiving the online message of the node.
  • the link location information and the link bandwidth information of each node in the ring network are transmitted back to the current node, so that the current node receives and stores the link location information and link bandwidth information of other nodes, or according to the chain of other nodes.
  • the road location information and the link bandwidth information update the local ring network database.
  • the current node determines, according to bandwidth information of the current link and bandwidth information of other links on the ring, whether the link link on the current node is a lower bandwidth link.
  • the Ethernet ring protection switching method determines whether to block the current link by determining whether the current link is a lower bandwidth link on each node, and only the link failure or manual in the prior art.
  • the link with lower bandwidth can be adaptively blocked according to the change of the bandwidth, and the link with higher bandwidth is selected as the working link, thereby fully utilizing the backup chain.
  • the idle bandwidth on the road improve the utilization efficiency of the network bandwidth, and maximize the service capacity of the Ethernet ring network.
  • the ring network database is stored and updated, so that the ring protection switching can be performed according to the latest link bandwidth information, thereby improving the timeliness and accuracy of the ring protection switching.
  • the embodiment of the present invention with reference to FIG. 5, describes an Ethernet ring protection switching method when a link bandwidth of a link in a ring network is deteriorated, and the specific description is as follows:
  • node A, node B, node C, and node D form a ring topology, and one or more Ethernet ring protection instances are configured on the ring topology, where a single instance is used.
  • the link between nodes a and D are configured as a ring protection link (RPL, ring Protect ion link) under the normal state 0, the respective ring link bandwidths For 400 Mbps (megabits per second), the ring link bandwidth information is stored on each node, including the bandwidth information of other links on the current ring or the minimum link bandwidth information on the current ring (the current minimum link bandwidth is 400Mbps).
  • the ports of the ring protection link on node A and node D are blocked to avoid traffic loops.
  • the protection switching process using the node C as an example is as follows:
  • Node C detects that the bandwidth of the link C ⁇ D is reduced to 30 OMbps.
  • the node C determines, according to the saved ring link bandwidth information, that the link C ⁇ D is a lower bandwidth link in the current situation.
  • the node C blocks the ring network port corresponding to the link CoD, and issues a ring network automatic protection switching R-APS message.
  • the ring network automatic protection switching R-APS message carries: a “bandwidth degradation” request field, link bandwidth information, and link location information.
  • the specific description is as follows:
  • Link Bandwidth Information Used to indicate the bandwidth of the link after the "bandwidth degradation” occurs.
  • Link location information The location of the link indicating the occurrence of "bandwidth degradation", which can be indicated by the node ID and port information. The specific description is as follows:
  • Node ID Indicates the node information where the link is located (this information is already in the existing R-APS message).
  • Port I D Describes which port on the node corresponding to the node ID corresponds to the link. It is worth noting that this field is optional, so the link location can also be roughly identified by the "node ID”.
  • the node C determines that the link C ⁇ D is not a lower bandwidth link in the current situation, only the R-APS message is sent, but the port is not blocked.
  • the other nodes on the ring After receiving the R-APS message sent by the node C, the other nodes on the ring perform the following processing: For a node that is itself a non-blocking port (ie, node B), it is determined that the link bandwidth of each port of the node is greater than the link bandwidth carried in the R-APS message, and no port operation is required; That is, node A and node D, where node A is used as an example. Node A determines that the link bandwidth corresponding to each port is greater than the link bandwidth carried in the R-APS message, and then the blocking end ⁇ is opened.
  • node B For a node that is itself a non-blocking port (ie, node B), it is determined that the link bandwidth of each port of the node is greater than the link bandwidth carried in the R-APS message, and no port operation is required; That is, node A and node D, where node A is used as an example. Node A determines that the link bandwidth corresponding to each port is greater than the
  • the ring node when the ring node maintains the ring network bandwidth database, it also needs to update the data of the ring network bandwidth database.
  • the Ethernet ring protection switching method provided by the embodiment of the present invention can block a link with a lower bandwidth and enable a link with a higher bandwidth by comparing the link bandwidth information when the link bandwidth is degraded on a single link.
  • the utilization efficiency of network bandwidth maximizes the service capacity of the Ethernet ring network.
  • the foregoing embodiment 4 describes a scenario in which bandwidth degradation occurs on a single link.
  • the embodiment of the present invention provides an Ethernet ring protection switching method in the form of an example, and describes a scenario in which bandwidth degradation occurs on multiple links.
  • FIG. 6 after the bandwidth degradation of the link CoD occurs, the bandwidth of the link between the node A and the node B is degraded again, and the bandwidth of the link AoB is reduced to 20 OMbps, and the ring protection switching process is performed. as follows:
  • Node B Node A is also possible, here taking Node B as an example
  • detecting that the bandwidth of the link AoB is reduced to 200 Mbps blocking the port corresponding to the link AoB, and sending an R-APS message.
  • R-APS message Specific ⁇ below:
  • Node B detects that the bandwidth of the link AoB is reduced to 200 Mbps, and compares the bandwidth with the minimum bandwidth information of the ring link in the ring network bandwidth database stored in the node. Here, it is 300 Mbps, and the bandwidth of the link is determined. If it is small, it blocks the corresponding port and sends an R-APS message.
  • the message content is similar to the previous embodiment.
  • the port blocking operation is not required. 502.
  • the other nodes on the ring After receiving the R-APS message sent by the Node B, the other nodes on the ring perform the following processing: For the node that does not have a blocked port (such as the node A), it is determined that the link bandwidth corresponding to each port of the node is greater than the R-APS message. For the link bandwidth that is carried, the port does not need to be operated. For the node that has the blocked port (for example, the node C is used as an example), the node C determines that the link bandwidth corresponding to each port is greater than the link bandwidth carried in the R-APS message. Open the blocked port.
  • the ring node when the ring node maintains the ring network bandwidth database, it also needs to update the data of the ring network bandwidth database.
  • the Ethernet ring protection switching method provided by the embodiment of the present invention can block a link with a lower bandwidth and a link with a higher bandwidth by comparing the bandwidth information of the link when the link bandwidth is degraded. Improve the utilization efficiency of network bandwidth and maximize the service capacity of the Ethernet ring network.
  • the embodiment of the present invention provides a ring protection switching method in the form of an example to describe the switching when the link is restored.
  • the bandwidth of the link CoD deteriorates to 300 Mbps.
  • the bandwidth of the link CoD is restored to 400 Mbps, and the switching process is as follows:
  • the node C After detecting that the link bandwidth is restored, the node C stops sending the R-APS packet carrying the “bandwidth degradation” request field, and sends an unrequested protection switching message (R-APS (NR) message).
  • R-APS unrequested protection switching message
  • the other nodes on the ring After receiving the R-APS (NR) message sent by the node C, the other nodes on the ring perform the following processing: the primary node (the RPL node, for example, the node A) enters the ready to block (WTR) state, and starts the WTR timer; when the WTR is scheduled When the device times out, it blocks the RPL port and sends a request-free and ring protection link blocking message (R-APS (NR, RB) message).
  • R-APS (NR, RB) message request-free and ring protection link blocking message
  • the RPL host node refers to the master node in the ring network. When the bandwidth of each link on the ring returns to normal, a port on the master node is blocked to avoid traffic loops.
  • the node that receives the R-APS (NR) also needs to update the data of the ring network bandwidth database, and delete or update the corresponding entry to the initial maximum bandwidth value. 603.
  • the node C opens the blocked port and stops sending the R-APS (NR) message.
  • the Ethernet ring protection switching method provided by the embodiment of the present invention can block the link with lower bandwidth and open the link with higher bandwidth by comparing the bandwidth information of the link when the bandwidth of the blocked link is restored.
  • the utilization efficiency of network bandwidth maximizes the service capacity of the Ethernet ring network.
  • the embodiment of the present invention provides a node, which can be applied to an Ethernet ring network to implement ring protection switching.
  • the node includes: a link determining unit 71 and a blocking unit 72.
  • the link determining unit 71 is configured to determine, according to the bandwidth information of the current link and the bandwidth information of other links on the ring, whether the current link is a lower bandwidth link.
  • the blocking unit 72 is configured to block the port corresponding to the current link when the link determining unit 71 determines that the current link is a lower bandwidth link.
  • the node may further include: an opening unit 73.
  • the opening unit 73 is configured to open the port corresponding to the current link when the link determining unit 71 determines that the current link is not a lower bandwidth link.
  • the bandwidth information of the other links on the ring may include at least one of the following: bandwidth information of other links on the current node, bandwidth information of links on the other nodes sent by other nodes, and stored in the current Bandwidth information of links on other nodes in the ring network bandwidth database of the node.
  • the bandwidth information of the link on the other node that is sent by the other node is carried in the bandwidth information packet, and the bandwidth information packet further carries the link location information corresponding to the link bandwidth information.
  • the link location information includes node information and/or port information.
  • the node may further include: a receiving unit 74 and a storage unit 75.
  • the receiving unit 74 is configured to receive the bandwidth information packet sent by another node.
  • the bandwidth information packet includes link location information and link bandwidth information corresponding to the link on the node that sends the bandwidth information packet.
  • the storage unit 75 is configured to carry the bandwidth information packet received by the receiving unit 74
  • the link location information and the link bandwidth information are correspondingly stored in the ring network bandwidth database, or the link bandwidth information corresponding to the link location is updated.
  • the receiving unit 74 is further configured to receive an unsolicited protection switching message of the ring automatic protection switching R-APS protocol sent by other nodes.
  • the node may further include: a deleting unit 76.
  • the deleting unit 76 is configured to delete the corresponding information in the ring network bandwidth database according to the link location information carried in the unsolicited protection switching message.
  • the storage unit 75 is further configured to: link link location information and links corresponding to different link locations according to the link location information and link bandwidth information carried in the bandwidth information packet.
  • Bandwidth information is stored in the ring bandwidth database.
  • the storage unit 75 is further configured to: determine, according to the received link location information and link bandwidth information carried in the bandwidth information packet, a link with the lowest bandwidth among all links on the ring. And storing link position information and link bandwidth information corresponding to the link with the lowest bandwidth in the ring network bandwidth database.
  • the bandwidth information packet is a ring automatic protection switching R-APS protocol packet.
  • the link determining unit 71 is further configured to: when the bandwidth of the current link is the same as the lowest bandwidth of the other links on the ring, the link location information of the current link is The link location information corresponding to the lowest bandwidth of the other links on the ring is compared, and the preferentially blocked link is determined as the lower bandwidth link.
  • the opening unit 73 includes: a port judging module 731 and an opening module 732.
  • the port judging module 731 is configured to determine whether the port corresponding to the current link has been blocked.
  • the module 732 is configured to stop blocking the blocked port when the port determining module 731 determines that the port corresponding to the current link has been blocked.
  • the opening module 732 is further configured to: when the port determining module 731 determines that the port corresponding to the current link is not blocked, does not perform a related operation of the ring protection switching.
  • the bandwidth information packet includes: a bandwidth change packet and/or a node uplink message.
  • the node further includes: a node uplink unit 77 and a bandwidth degradation unit 78.
  • the node uplink unit 77 is configured to: when the current node is online, broadcast the node online message of the current node to the other node, where the node online message includes a node online identifier, and the current node Link location information and link bandwidth information.
  • the bandwidth degradation unit 78 is configured to: when the link bandwidth on the current node is degraded, broadcast the bandwidth degradation packet of the current node to the other node, where the bandwidth degradation packet includes a bandwidth degradation identifier, The link position information and the link bandwidth information of the bandwidth degradation occur on the current node.
  • the link location information and the link bandwidth information of the bandwidth change occurring on the current node are link location information and link bandwidth information corresponding to the lowest bandwidth link in the link of the current node.
  • the bandwidth change unit 78 is further configured to: when the current node receives a node online message sent by another node, broadcast the bandwidth information packet of the current node to the other node, so that the sending station The node that reports the online message of the node updates the ring network bandwidth database according to the bandwidth information message.
  • the embodiment of the invention further provides an Ethernet ring protection switching system, comprising: at least three nodes. There may be multiple ring networks in the system, and nodes in these rings maximize bandwidth utilization by participating in the current ring protection switching.
  • the node forms a ring network through the link on the node and performs data transmission in the ring network, and participates in the current ring protection switching.
  • the node is configured to determine, according to bandwidth information of the current link and bandwidth information of other links on the ring, whether the current link is a lower bandwidth link; if the current link is a lower bandwidth link, The port corresponding to the current link is blocked; if the current link is not a lower bandwidth link, the port corresponding to the current link is opened.
  • the node and the Ethernet ring protection switching system determine whether to block the current link by determining whether the current link is a lower bandwidth link on each node, and only the link is invalid in the prior art.
  • the link with lower bandwidth can be adaptively blocked according to the change of the bandwidth, and the link with higher bandwidth is selected as the working link, thereby fully utilizing
  • the idle bandwidth on the standby link improves the utilization efficiency of the network bandwidth and maximizes the service capacity of the Ethernet ring network.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明实施例公开了一种以太网环保护倒换方法、节点及系统,涉及通信技术领域,能够根据链路带宽情况切换业务传输路径,最大化以太环网的业务容量。本发明的方法包括:根据当前链路的带宽信息和环上其它链路的带宽信息判断所述当前链路是否为较低带宽链路;若所述当前链路为较低带宽链路,则阻塞所述当前链路对应的端口;若所述当前链路不是较低带宽链路,则打开所述当前链路对应的端口。本发明实施例主要用于以太网环保护倒换的过程中。

Description

以太网环保护倒换方法、 节点及系统
技术领域
本发明涉及通信技术领域, 尤其涉及一种以太网环保护倒换方法、 节点 及系统。
背景技术
为了保证网络链路的可靠性, 通常会通过环自动保护倒换 ( Ring Automatic Protection Switching, R-APS )协议对以太环网中的故障链路进 行倒换, 从而实现为以太网业务提供保护。
传统的环保护倒换方法为以太环网保护倒换 ( Ethernet Ring Protection Switching, ERPS ), 是基于 R-APS协议在各节点之间互发 R-APS协议报文, 实现的环形网络中各节点的协议互通和保护倒换。 具体的, 在以太环网中设 定至少一条链路作为备用链路, 如图 1 (a) 中所示, 节点 A与 D之间的链路 为备用链路 RPL (Ring Protection Link, 环保护链路), 节点 A为环保护倒 换主节点 ( RPL Owner, RPL宿主), 在正常工作状态下阻塞节点 A与节点 D备 用侧的端口, 使得业务通过节点 A和 D的另一侧端口进行传输, 此时业务的 传输路径可以为 A B C D。当以太环网中某段链路或某个节点发生故障时, 如图 1 (b) 中所示, 节点 A与 B之间的链路发生故障, 解除节点 A和 D上的 端口阻塞, 使得无法通过故障链路 A^B传输的业务, 通过 A D C B的路 径进行传输, 从而通过环保护倒换保护以太环网中的业务传输。
在实现上述以太网环保护倒换的过程中, 发明人发现现有技术中至少存 在如下问题: 只有在链路故障或人工强制倒换的情况下才能触发环保护倒换, 但是在链路带宽降低的情况下, 无法利用带宽更高的备用链路上传输, 使得 环网的业务容量不能达到最大化。 发明内容
本发明的实施例提供一种以太网环保护倒换方法、 节点及系统, 能够根 据链路带宽情况切换业务传输路径, 最大化以太环网的业务容量。
为达到上述目的, 本发明的实施例釆用如下技术方案:
一种以太网环保护倒换方法, 包括:
根据当前链路的带宽信息和环上其他链路的带宽信息判断所述当前链路 是否为较低带宽链路;
若所述当前链路为较低带宽链路, 则阻塞所述当前链路对应的端口。 一种节点, 该节点参与当前环网的环保护倒换应用, 该节点包括: 链路判断单元, 用于根据当前链路的带宽信息和环上其他链路的带宽信 息判断所述当前链路是否为较低带宽链路; 时, 阻塞所述当前链路对应的端口。
一种以太网环保护倒换系统, 其特征在于, 包括: 至少三个节点; 所述节点通过所述节点上的链路构成环网并在环网中进行数据传输, 并 参与当前环保护倒换;
所述节点, 用于根据当前链路的带宽信息和环上其他链路的带宽信息判 断所述当前链路是否为较低带宽链路; 若所述当前链路为较低带宽链路, 则 阻塞所述当前链路对应的端口。
本发明实施例提供的以太网环保护倒换方法、 节点及系统, 通过在每个 节点上判断当前链路是否为带宽较低链路, 确定是否阻塞当前链路, 与现有 技术中只有在链路失效或人工命令倒换的情况下才会触发环保护倒换的技术 相比, 可以根据带宽的变化自适应地将带宽较低的链路阻塞, 选择带宽较高 的链路作为工作链路, 从而充分利用备用链路上的闲置带宽, 提高网络带宽 的利用效率, 最大化以太环网的业务容量。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为背景技术中的一种以太网环保护倒换系统示意图;
图 2为本发明实施例 1的以太网环保护倒换方法流程图;
图 3为本发明实施例 2中的一种以太网环保护倒换方法流程图; 图 4为本发明实施例 3中的另一种以太网环保护倒换方法流程图; 图 5为本发明实施例 4中的一种以太网环保护倒换应用场景示意图; 图 6为本发明实施例 5中的一种以太网环保护倒换应用场景示意图; 图 7为本发明实施例 6中的一种以太网环保护倒换应用场景示意图; 图 8为本发明实施例 7中的一种节点组成示意图;
图 9为本发明实施例 7中的另一种节点组成示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 实施例 1
本发明实施例提供一种以太网环保护倒换方法, 如图 2所示, 包括: 101、 根据当前链路的带宽信息和环上其他链路的带宽信息判断所述当前 链路是否为较低带宽链路。 其中, 所述当前链路的带宽信息可以为当前节点上参与当前环保护倒换 的端口中带宽最低的端口对应的带宽信息。 对应的, 其他链路对应的带宽信 息也可以釆用相同的方式来确定。 需要说明的是, 在各个节点构成的网络中, 一个节点可能同时参与多个以太环网实例, 当前节点上也可能会有多个端口, 在本发明的描述中, 仅描述其中一个以太环网实例中的节点及属于该以太环 网实例的链路和端口, 属于其他以太环网实例的节点、 链路或端口不参与该 以太环网实例的环保护倒换机制, 不在该环保护倒换实例方案的考虑范围内。 本发明实施例可以应用于同一环保护倒换实例中的任一节点上, 即当前节点 可以是同一环保护倒换实例中的任一节点。 在本发明的描述中, 所述链路可 以是物理链路, 也可以是虚链路; 所述链路带宽可以是所在的物理链路的带 宽, 也可以是虚链路的带宽, 即所在物理链路分配给以太环网实例的带宽。
其中, 所述环上其它链路的带宽信息, 包括以下至少一种: 当前节点上 的其它链路的带宽信息、 接收自其它节点发送的所述其它节点上链路的带宽 信息、 存储在当前节点的环网带宽数据库中的其它节点上链路的带宽信息。 其中, 所述接收自其它节点发送的所述其它节点上链路的带宽信息承载在带 宽信息报文中, 在所述带宽信息报文中还包括链路位置信息, 所述链路位置 信息包括节点信息和 /或端口信息。
具体的, 将当前链路的带宽信息与其他链路的带宽信息进行比较, 判断 当前链路的带宽是否是环网中的较低带宽链路。 若仅根据链路带宽信息进行 比较时, 环网中存在多个带宽相同又是最低的链路, 并且当前链路也是其中 之一, 则可以根据链路位置信息, 例如节点的物理地址、 名称等信息进行比 较, 确定是否应优先作为较低带宽链路。
102、若所述当前链路为较低带宽链路,则阻塞所述当前链路对应的端口。 其中, 节点上可以有多个端口, 其中部分端口用于其他的以太环网实例, 这里所说的当前链路对应的端口, 即当前节点上参与当前环保护倒换的端口 是指当前节点上属于当前以太环网实例的端口。 该端口通常是指对应于当前 以太环网实例的虚端口。 其中, 端口阻塞是指禁止数据流量通过该端口, 通常通过设置转发表过 滤来实现。 当然其实现方式也有其它方式, 例如直接关闭端口, 这里不做限 定。
进一步的可选的, 如果当前链路处于被阻塞的状态, 而环上存在带宽比 当前链路更低的较低带宽链路, 该方法还可以包括:
103、 若所述当前链路不为较低带宽链路, 则打开所述当前链路对应的端 σ 。
其中, 若当前链路不为较低带宽链路, 说明在同一环网中还有其他链路 的带宽更低, 该较低带宽链路所在节点会完成自身链路的阻塞, 当前节点所 能提供的链路带宽较高, 因此打开当前节点上参与当前环保护倒换的链路 本发明实施例提供的以太网环保护倒换方法, 通过在每个节点上判断当 前链路是否为带宽较低链路, 确定是否阻塞当前链路, 与现有技术中只有在 链路失效或人工命令倒换的情况下才会触发环保护倒换的技术相比, 可以根 据带宽的变化自适应地将带宽较低的链路阻塞, 选择带宽较高的链路作为工 作链路, 从而充分利用备用链路上的闲置带宽, 提高网络带宽的利用效率, 最大化以太环网的业务容量。 实施例 2
本发明实施例提供一种以太网环保护倒换方法, 如图 3所示, 包括: 201、 接收其他环节点发送的带宽信息报文。
其中, 所述带宽信息报文中包含所述其他环节点上链路的链路位置信息 和链路带宽信息。
其中, 带宽信息报文可以包括: 带宽变化报文和节点上线报文, 是基于 R-APS协议扩展得到的报文形式。 在现有的 R-APS报文中增加 "带宽信息"和 "端口号" 两个字段, 其中 "带宽信息" 用以携带链路带宽信息, 而 "端口 号" 则用以结合现有的节点标识(Node ID )字段来描述具体的链路位置信息。 值得说明的是, 链路位置信息也可以粗略地通过已有的 "节点标识" 字段来 描述, 即仅描述链路是在哪个节点上, 而不是特指某个链路, 因此 "端口号" 字段是可选字段。
如表 3所示, 为基于 R-APS协议报文扩展得到的带宽信息报文格式。
Figure imgf000007_0001
节点标识 ( Node ID )
端口号 (可选)
带宽信息
剩余保留字段
表 3
在扩展后的 R-APS协议报文中, 还定义两个新增的请求字段, 如表 4所 示, 分别为用于标识节点上链路带宽劣化的 1001代码和用于标识节点上线的 1 000代码。
Figure imgf000007_0002
表 4
以图 5为例, 由于在节点 C和节点 D之间由于微波的自适应调制导致链 路 C^D带宽降低, 节点 C可以向其它节点发送上述携带有 "带宽劣化" 请求 的 R-APS消息, 并在其中携带有节点 C的节点标识信息、 链路 C^D在节点 C 上对应的端口号以及链路 CoD变化后的带宽信息。 在其它实施例中链路带宽 降低也可以是由其它原因导致, 例如链路发生链路聚合 ( L ink Aggrega t ion, LAG )组成员故障。 这里不做限定。
202、 将接收到的所述带宽信息报文中携带的所述链路位置信息和所述链 路带宽信息对应存储在当前节点中。
其中, 以太环网中的每个节点都可以预设有一个环网带宽数据库, 在当 前节点的环网带宽数据库中可以存储有环网中的其他节点上链路对应的链路 位置信息以及链路带宽信息, 也可以将当前节点的链路位置信息和链路带宽 信息存储在所述环网带宽数据库中。 当环网带宽数据库中已有对应链路的信 息时, 更新所述链路位置对应的链路带宽信息即可。 需要说明的是, 为了节 省存储空间, 该环网带宽数据库中还可以只存储环网中带宽最低的链路对应 的链路位置信息和链路带宽信息。
若当前节点的环网带宽数据库中仅存储带宽最低的链路对应的链路位置 信息和链路带宽信息, 具体的实现方法可以为: 在接收到当前环网中其他节 点发送的带宽信息报文后, 根据带宽信息报文中携带的链路位置信息和链路 带宽信息, 比较出带宽最低的链路。 若带宽相同, 可以将其中节点 ID最小的 链路作为带宽最低的链路。 将比较得到的带宽最低的链路对应的链路位置信 息和链路带宽信息存储在当前节点的环网带宽数据库中。 例如, 当前节点 A 在接收其他节点的带宽信息报文时, 具有先后次序。 在接到节点 B 的带宽信 息报文后, 将节点 B 的带宽信息和节点信息存储到内存中, 作为环网带宽数 据库。 之后, 再接收到节点 C的带宽信息报文, 将节点 C的带宽信息和节点 信息与内存中已记录的节点 B的带宽信息和节点信息进行比较。 若节点 B的 带宽较低则可以不对节点 C的相关信息做任何记录, 若节点 C的带宽较低则 将内存中已存储的节点 B的相关信息替换为节点 C的相关信息。 以此类推, 始终只记录其他节点中带宽最低的节点对应的带宽信息和节点信息。
203、 将当前链路的带宽信息与已保存在当前节点上的其它链路的带宽信 息进行比较, 判断当前链路是否为较低带宽链路; 若当前链路的带宽与所述 环网带宽数据库中最低的带宽相同, 则执行步骤 204; 若所述当前链路为较低 带宽链路, 则执行步骤 205; 若所述当前链路不为较低带宽链路, 则执行步骤 206。
需要说明的是, 若在步骤 202 中当前节点的环网带宽数据库中仅记录了 其他节点中带宽最低的节点对应的链路位置信息和链路带宽信息, 则在步骤 203 中可以直接将当前节点的链路带宽信息和环网带宽数据库中唯一记录的 链路带宽信息进行比较, 便可以判断当前链路是否为环网中较低带宽链路。 204、 将所述当前链路的链路位置信息与环网中带宽最低的链路对应的链 路位置信息进行比较, 确定优先阻塞的链路, 即确定是否将当前链路作为较 低带宽链路。
其中, 若步骤 203 中通过带宽大小的比较无法确定环网中带宽最低的链 路, 则可以根据其他信息做进一步的比较, 从带宽最低的链路中选择优先阻 塞的链路。 可以根据链路位置信息, 例如端口信息、 节点 ID、 节点名称、 节 点所在的地理位置等等信息做进一步判断。 例如, 在扩展后的 R-APS协议报 文中, 携带有各个节点的 ID, 将节点 ID存储在环网带宽数据库中。 若两个节 点的带宽均为 300M时, 便可根据节点 ID的大小, 将节点 ID值较小的链路作 为较低带宽链路, 进行阻塞。
其中, 当前节点上可能有多个端口, 在发送带宽变化报文或节点上线报 文时, 釆用的是当前节点上带宽较低的端口对应的带宽, 因此在阻塞端口时, 也可以相应的阻塞当前节点上带宽较低的端口。 例如, 如图 3 所示, 在确定 节点 C为最低带宽节点后, 节点 C将其上两个端口的带宽进行比较, 其中东 向端口的带宽为 300M, 西向端口的带宽为 400M, 比较后的结果为东向端口的 带宽较低, 因此可以阻塞节点 C上的东向端口。
进一步的, 若所述当前节点上参与当前环保护倒换的两个端口的带宽大 小相同, 还可以根据两个端口各自对应的端口信息, 确定优先阻塞的端口并 将其作为较低带宽端口。 例如, 在确定节点 X为最低带宽节点后, 节点 C将 其上两个端口的带宽进行比较, 其东向端口和西向端口的带宽均为 200M, 无 法确定应阻塞哪个端口。 此时可以将东向端口的 ID: 00000001与西向端口的 ID: 00000010进行比较, 比较后的结果为东向端口的 ID最小, 因此可以将东 向端口作为较低带宽端口进行阻塞。
205、 阻塞所述较低带宽链路。
其中, 阻塞所述较低带宽链路的方法具体可以为: 当前节点对其上带宽 最低的端口进行阻塞之后, 只是阻塞了带宽最低的链路的一端。 当前节点还 可以将链路阻塞的消息发送给链路的另一端, 通知链路另一端的节点阻塞对 应的端口。 例如, 如图 3所示, 节点 C检测到自身的链路带宽在环网中最低, 并确定节点 C上带宽最氏的端口为东向端口, 则阻塞节点 C上的东向端口。 同时, 可选地, 节点 C将阻塞链路 CoD的消息发送给节点 D, 节点 D在接收 到阻塞消息之后, 对节点 D上的西向端口进行阻塞。
206、 打开所述当前链路对应的端口。
具体的, 打开所述当前链路对应的端口的方法为: 判断所述当前链路对 应的端口中是否已被阻塞; 若所述当前链路对应的端口已被阻塞, 则停止阻 塞所述已被阻塞的端口; 若所述当前链路对应的端口未被阻塞, 则可以不进 行环保护倒换的相关操作。 其中, 在步骤 203 中已经确定当前节点上的当前 链路不是较低带宽链路, 所以当前节点上已被阻塞的端口的带宽也可以被充 分利用。 从而启用环网中带宽较高的链路, 阻塞环网中带宽较低的链路。
可以理解的是,当 ERPS环上接收到用户下发的强制倒换( forced swi tch, FS ) 的命令或者检测到链路失效(S igna l Fa i l , SF ) 的警告时, 环保护倒换 机制可以以强制倒换和 SF警告为优先, 节点不会因带宽变化的通知而触发环 保护倒换。 另外, 在某条链路失效时, 还可以检测到链路失效的节点在环内 广播的该节点对应的带宽变化报文,报告该节点的链路带宽为 0; 当失效的链 路恢复时, 该节点重新广播带宽变化报文, 报告该节点当前的链路带宽。
本发明实施例提供的以太网环保护倒换方法, 通过在每个节点上判断当 前链路是否为带宽较低链路, 确定是否阻塞当前链路, 与现有技术中只有在 链路失效或人工命令倒换的情况下才会触发环保护倒换的技术相比, 可以根 据带宽的变化自适应地将带宽较低的链路阻塞, 选择带宽较高的链路作为工 作链路, 从而充分利用备用链路上的闲置带宽, 提高网络带宽的利用效率, 最大化以太环网的业务容量。 实施例 3
在本实施例中, 同一环网中的各个节点可以通过带宽信息报文的互通, 及时更新各节点的环网带宽数据库, 并将刚上线的节点加入到环保护倒换机 制中, 所述带宽信息报文包括节点上线报文。 如图 4 所示, 该以太网环保护 倒换方法可以包括:
301、 当所述当前节点上线时, 所述当前节点向所述其他节点广播所述当 前节点的节点上线报文。 所述节点上线报文中包含节点上线标识、 所述当前 节点上的链路位置信息和链路带宽信息。
其中, 在当前节点上线之前, 环网中其他节点的环网带宽数据库中并没 有当前节点的相关信息, 因此在当前节点上线时, 可以向环网中的其他节点 广播节点上线报文。 该节点上线报文中包含当前节点上的链路位置信息和链 路带宽信息。
另外, 所述当前节点上的链路位置信息和链路带宽信息是指当前节点上 环链路中, 带宽较低的链路对应的链路位置信息和链路带宽信息。 确定当前 节点的链路带宽信息的具体方法为: 先根据当前节点上的各端口对应的带宽 大小, 选择其中带宽最小的端口, 若带宽大小相同, 则可以进一步根据端口 ID, 选择端口 ID较小的端口作为带宽最低的端口。 选择当前节点上带宽最低 的端口对应的带宽作为当前节点的链路带宽信息, 写入当前节点对应的带宽 变化报文、 节点上线报文或环网带宽数据库中。
302、 所述其他节点在接收到所述节点上线报文后, 将所述节点上线报文 中携带的链路带宽信息保存下来。
具体地, 通过报文中的节点上线标识(即请求字段 0001 )识别该节点上 线报文, 将节点上线报文中携带的当前上线的节点对应的相关信息存储到各 自的环网数据库中。
或者其他节点将当前节点的链路位置信息和链路带宽信息与其环网数据 库中已存储的最低的带宽信息进行比较, 仅将带宽较低的链路对应的相关信 息存储在其环网带宽数据库中。
303、 所述其他节点向所述当前节点发送带宽信息报文。
具体的, 由于当前节点对应的环网带宽数据库中也没有其他节点的带宽 信息, 环网中的其他节点在接收到节点上线报文后, 还可以发送带宽信息报 文, 将环网中各个节点自身的链路位置信息和链路带宽信息回传给当前节点, 以便当前节点接收并保存其他节点的链路位置信息和链路带宽信息, 或者根 据其他节点的链路位置信息和链路带宽信息更新本地环网数据库。
304、 所述当前节点根据当前链路的带宽信息和环上其它链路的带宽信 息判断所述当前节点上的链路链路是否为较低带宽链路。
305、 若所述当前节点上的链路为较低带宽链路, 则阻塞所述链路对应的 端口。
需要说明的是, 本发明实施例中部分步骤的具体描述可以参考其他实施 例中对应内容, 本发明实施例将不再——赘述。
本发明实施例提供的以太网环保护倒换方法, 通过在每个节点上判断当 前链路是否为带宽较低链路, 确定是否阻塞当前链路, 与现有技术中只有在 链路失效或人工命令倒换的情况下才会触发环保护倒换的技术相比, 可以根 据带宽的变化自适应地将带宽较低的链路阻塞, 选择带宽较高的链路作为工 作链路, 从而充分利用备用链路上的闲置带宽, 提高网络带宽的利用效率, 最大化以太环网的业务容量。
并且, 通过带宽信息报文的互通, 存储和更新环网数据库, 从而可以依 据最新的链路带宽信息进行环保护倒换, 提高了环保护倒换的时效性和准确 性。 实施例 4
为了便于本领域技术人员理解本发明的技术方案,本发明实施例结合图 5 以举例的形式描述环网中某条链路发生链路带宽劣化时的以太网环保护倒换 方法, 具体描述如下:
如图 5所示的以太环网场景中, 节点 A、 节点 B、 节点 C和节点 D形成环 拓朴, 在该环拓朴上配置有一个或多个以太网环保护实例, 这里以单个实例 为例, 在该以太网环保护实例中, 节点 A和节点 D之间的链路被配置为环保 护链路(RPL , Ring Protect ion Link )0 正常状态下, 环上各个链路带宽均 为 400Mbps (兆比特每秒), 各个节点上保存有环网链路带宽信息, 其中包括 当前环上其它的链路的带宽信息或当前环上最小链路带宽信息 (当前的最小 链路带宽即为 400Mbps )。 另外节点 A和节点 D上环保护链路的端口被阻塞以 避免流量环路。 当节点 C 和节点 D之间的链路发生带宽劣化, 带宽降低到 300Mbps时以节点 C为例的保护倒换处理如下:
401 , 节点 C检测到链路 C^D的带宽降低到 30 OMbp s。
402 , 节点 C根据保存的环网链路带宽信息判断当前情况下链路 C^D是 较低带宽链路。
403 , 节点 C将链路 CoD对应的环网端口阻塞, 并发出环网自动保护倒 换 R-APS消息。
具体的, 所述环网自动保护倒换 R-APS消息中携带有: "带宽劣化" 请求 字段、 链路带宽信息和链路位置信息。 具体描述如下:
• "带宽劣化"请求字段: 用以指示当前的 R-APS消息是由于环上发 生链路带宽劣化事件引起的; 可以通过定义一个请求码来指示。
*链路带宽信息: 用于指示发生 "带宽劣化" 的链路变化后的带宽。 *链路位置信息: 用于指示发生 "带宽劣化" 的链路的位置, 可以通 过节点 ID和端口信息来指示。 具体描述如下:
> 节点 ID: 表示链路所在的节点信息(该信息在现有的 R-APS消息中 已有)。
> 端口 I D: 描述节点 ID对应的节点上的哪个端口对应的链路。 值得 说明的是, 该字段为可选字段, 因此链路位置也可以单独通过 "节 点 ID" 粗略标识。
另外在其它实施例中, 若节点 C上 BoC链路的端口被阻塞, 则打开对应 的端口。
另外在其它实施例中, 若节点 C判断当前情况下链路 C^D不是较低带宽 链路, 则仅发送上述 R-APS消息, 但是不阻塞端口。
404 , 环上其它节点接收到节点 C发出的 R-APS消息后进行以下处理: 对于本身无阻塞端口的节点 (即节点 B ), 判断本节点各个端口对应的链 路带宽大于 R-APS 消息中携带的链路带宽, 则不需要进行端口操作; 对于本 身有阻塞端口的节点 (即节点 A和节点 D, 这里以节点 A为例), 节点 A判断 各个端口对应的链路带宽大于 R-APS 消息中携带的链路带宽, 则打开阻塞端 σ 。
可选地, 当环节点维护有环网带宽数据库时, 还需要更新环网带宽数据 库的数据。
=》倒换结束
本发明实施例提供的以太网环保护倒换方法, 在单条链路发生链路带宽 劣化时, 通过链路带宽信息的比较可以阻塞带宽较低的链路, 开启带宽较高 的链路, 提高了网络带宽的利用效率, 最大化以太环网的业务容量。 实施例 5
上述实施例 4描述的是单个链路发生带宽劣化的场景, 本发明实施例结 合图 6 以举例的形式提供一种以太网环保护倒换方法, 描述多个链路发生带 宽劣化的场景。 如图 6所示, 接实施例 4 , 继链路 CoD发生带宽劣化之后, 节点 A和节点 B之间的链路又发生带宽劣化,链路 AoB的带宽降低到 20 OMbp s , 环保护倒换过程如下:
501 , 节点 B (节点 A也可以, 这里以节点 B为例)检测到链路 AoB的带 宽降低到 200Mbps , 则阻塞链路 AoB对应的端口, 并发送 R-APS消息。 具体 ^口下:
节点 B检测到链路 AoB的带宽降低到 200Mbps , 将该带宽与节点中保存 的环网带宽数据库中的环网链路最小带宽信息做比较, 这里为 300Mbps , 判断 链路 Α^Β的带宽较小, 则阻塞对应端口, 并发送 R-APS消息。 消息内容与上 个实施例类似。
值得说明的是, 在其它实施例中, 如果带宽劣化后的链路 Α^Β的带宽仍 然大于环网带宽数据库中的环网链路最小带宽, 则不需要端口阻塞操作。 502 , 环上其它节点接收到节点 B发出的 R-APS消息后进行以下处理: 对于本身无阻塞端口的节点 (如节点 A ), 判断本节点各个端口对应的链 路带宽大于 R-APS 消息中携带的链路带宽, 不需要进行端口操作; 对于本身 有阻塞端口的节点(以节点 C为例), 节点 C判断各个端口对应的链路带宽大 于 R-APS消息中携带的链路带宽, 则打开阻塞端口。
可选地, 当环节点维护有环网带宽数据库时, 还需要更新环网带宽数据 库的数据。
=》倒换结束
本发明实施例提供的以太网环保护倒换方法, 在多条链路相继发生链路 带宽劣化时, 通过链路带宽信息的比较可以阻塞带宽较低的链路, 开启带宽 较高的链路, 提高了网络带宽的利用效率, 最大化以太环网的业务容量。 实施例 6
本发明实施例结合图 7 以举例的形式提供一种环保护倒换方法, 描述当 链路恢复时的倒换情况, 如图 7所示, 接实施例 4 , 继链路 CoD的带宽劣化 到 300 Mbps之后, 此时链路 CoD的带宽恢复到 400Mbps , 倒换过程如下:
601 , 当节点 C检测到链路带宽恢复后, 停止发送携带 "带宽劣化" 请求 字段的 R-APS报文, 并发送携带无请求保护倒换报文( R-APS (NR)消息)。
602 ,环上其它节点接收到节点 C发出的 R-APS (NR)消息后进行以下处理: 主节点( RPL节点, 例如节点 A )进入准备阻塞( WTR )状态, 启动 WTR 定时器; 当 WTR定时器超时时, 阻塞 RPL端口, 并发送无请求且环保护链 路阻塞报文(R-APS ( NR, RB ) 消息)。 值得说明的是, RPL宿主节点是指 环网中的主节点, 在环上各链路带宽都恢复正常时, 阻塞主节点上的一个 端口, 以避免产生流量环路。
可选地, 当节点维护有环网带宽数据库时, 接收到 R-APS (NR)的节点 还需要更新环网带宽数据库的数据,将对应的条目删除或者更新为初始最 大带宽值。 603 , 当节点 C接收到 R-APS (NR, RB)消息后打开阻塞端口, 并停止发送 R-APS (NR)消息。
本发明实施例提供的以太网环保护倒换方法, 在已阻塞的链路发生带宽 恢复时, 通过链路带宽信息的比较可以阻塞带宽较低的链路, 开启带宽较高 的链路, 提高了网络带宽的利用效率, 最大化以太环网的业务容量。 实施例 7
本发明实施例提供一种节点, 可以应用于以太环网中, 实现环保护倒换, 如图 8所示, 该节点包括: 链路判断单元 71、 阻塞单元 72。
链路判断单元 71 , 用于根据当前链路的带宽信息和接环上其他链路的带 宽信息判断所述当前链路是否为较低带宽链路。
阻塞单元 72 ,用于在所述链路判断单元 71判断当前链路为较低带宽链路 时, 阻塞所述当前链路对应的端口。
进一步的, 如图 9所示, 该节点还可以包括: 打开单元 73。
打开单元 73 ,用于在所述链路判断单元 71判断所述当前链路不为较低带 宽链路时, 打开所述当前链路对应的端口。
其中, 所述环上其它链路的带宽信息可以包括以下至少一种: 当前节点 上的其它链路的带宽信息、 接收自其它节点发送的所述其它节点上链路的带 宽信息、 存储在当前节点的环网带宽数据库中的其它节点上链路的带宽信息。 其中所述接收自其它节点发送的所述其它节点上链路的带宽信息承载在带宽 信息报文中, 所述带宽信息报文还携带有所述链路带宽信息对应的链路位置 信息, 所述链路位置信息包括节点信息和 /或端口信息。
进一步的, 该节点还可以包括: 接收单元 74、 存储单元 75。
接收单元 74 , 用于接收其他节点发送的所述带宽信息报文。
其中, 所述带宽信息报文中包含发送所述带宽信息报文的节点上的链路 对应的链路位置信息和链路带宽信息。
存储单元 75 ,用于将所述接收单元 74接收到的所述带宽信息报文中携带 的链路位置信息和链路带宽信息对应存储在环网带宽数据库中, 或更新所述 链路位置对应的链路带宽信息。
进一步的, 所述接收单元 74 , 还用于接收其他节点发送的环自动保护倒 换 R-APS协议的无请求保护倒换报文。
对应的, 该节点还可以包括: 删除单元 76。
删除单元 76 , 用于根据所述无请求保护倒换报文中携带的链路位置信息 删除环网带宽数据库中对应信息。
进一步可选的, 所述存储单元 75还用于: 根据所述带宽信息报文中携带 的所述链路位置信息和链路带宽信息, 将不同链路位置对应的链路位置信息 和链路带宽信息都存储在环网带宽数据库中。
可选的, 所述存储单元 75还用于: 根据接收到的所述带宽信息报文中携 带的所述链路位置信息和链路带宽信息, 确定环上全部链路中带宽最低的链 路; 将所述带宽最低的链路对应的链路位置信息和链路带宽信息存储在环网 带宽数据库中。
其中, 所述带宽信息报文是环自动保护倒换 R-APS协议报文。
进一步的, 所述链路判断单元 71还用于: 在所述当前链路的带宽与所述 环上其他链路中最低的带宽相同时, 将所述当前链路的链路位置信息与所述 环上其它链路中最低的带宽对应的链路位置信息进行比较, 确定优先阻塞的 链路作为较低带宽链路。
进一步的, 所述打开单元 73包括: 端口判断模块 731、 打开模块 732。 端口判断模块 731 , 用于判断所述当前链路对应的端口是否已被阻塞。 打开模块 732 ,用于在所述端口判断模块 731判断所述当前链路对应的端 口已被阻塞时, 停止阻塞所述已被阻塞的端口。
所述打开模块 732 ,还用于在所述端口判断模块 731判断所述当前链路对 应的端口未被阻塞时, 不进行环保护倒换的相关操作。
在本实施例中, 所述带宽信息报文包括: 带宽变化报文和 /或节点上线报 文。 进一步的, 该节点还包括: 节点上线单元 77、 带宽劣化单元 78 。
节点上线单元 77 , 用于在所述当前节点上线时, 向所述其他节点广播所 述当前节点的节点上线报文, 其中所述节点上线报文中包含节点上线标识、 所述当前节点上的链路位置信息和链路带宽信息。
带宽劣化单元 78 , 用于在所述当前节点上的链路带宽发生劣化时, 向所 述其他节点广播所述当前节点的带宽劣化报文, 其中所述带宽劣化报文中包 含带宽劣化标识、 所述当前节点上发生带宽劣化的链路位置信息和链路带宽 信息。
其中, 所述当前节点上发生带宽变化的链路位置信息和链路带宽信息为 当前节点的链路中带宽最低链路对应的链路位置信息和链路带宽信息。
进一步的, 所述带宽变化单元 78还用于: 在所述当前节点接收到其他节 点发送的节点上线报文时, 向所述其他节点广播所述当前节点的带宽信息报 文, 以使得发送所述节点上线报文的节点根据所述带宽信息报文更新环网带 宽数据库。
需要说明的是, 本发明实施例提供的节点中部分功能模块的具体描述可 以参考其他实施例中的对应内容, 本发明实施例将不再——赘述。
本发明实施例还提供一种以太网环保护倒换系统, 包括: 至少三个节点。 该系统中可以有多个环网, 这些环网中的节点通过参与当前环保护倒换 实现带宽的利用最大化。
具体的, 所述节点通过所述节点上的链路构成环网并在环网中进行数据 传输, 并参与当前环保护倒换。
所述节点, 用于根据当前链路的带宽信息和环上其他链路的带宽信息确 定所述当前链路是否为较低带宽链路; 若所述当前链路为较低带宽链路, 则 阻塞所述当前链路对应的端口; 若所述当前链路不为较低带宽链路, 则打开 所述当前链路对应的端口。
需要说明的是, 本发明实施例提供的以太网环保护倒换系统中节点及节 点中各功能模块的描述, 可以参考其他实施例中对应内容, 本发明实施例这 里将不再——赘述。
本发明实施例提供的节点和以太网环保护倒换系统, 通过在每个节点上 判断当前链路是否为带宽较低链路, 确定是否阻塞当前链路, 与现有技术中 只有在链路失效或人工命令倒换的情况下才会触发环保护倒换的技术相比, 可以根据带宽的变化自适应地将带宽较低的链路阻塞, 选择带宽较高的链路 作为工作链路, 从而充分利用备用链路上的闲置带宽, 提高网络带宽的利用 效率, 最大化以太环网的业务容量。
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但 很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该 计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光盘 等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以所述权利要求的保护范围为准。

Claims

权利要求 书
1、 一种以太网环保护倒换方法, 其特征在于, 包括:
根据当前链路的带宽信息和环上其它链路的带宽信息判断所述当前链路是 否为较低带宽链路;
若所述当前链路为较低带宽链路, 则阻塞所述当前链路对应的端口。
2、 根据权利要求 1所述的保护倒换方法, 其特征在于, 还包括: 若所述当前链路不是较低带宽链路, 则打开所述当前链路对应的端口。
3、 根据权利要求 1所述的保护倒换方法, 其特征在于, 所述环上其它链路 的带宽信息, 包括: 当前节点上的其它链路的带宽信息。
4、 根据权利要求 1所述的保护倒换方法, 其特征在于, 所述环上其它链路 的带宽信息, 包括: 接收自其它节点发送的所述其它节点上链路的带宽信息。
5、 根据权利要求 1所述的保护倒换方法, 其特征在于, 所述环上其它链路 的带宽信息, 包括: 存储在当前节点的环网带宽数据库中的其它节点上链路的 带宽信息。
6、 根据权利要求 4所述的保护倒换方法, 其特征在于, 所述接收自其它节 点发送的所述其它节点上链路的带宽信息承载在带宽信息报文中。
7、 根据权利要求 6所述的保护倒换方法, 其特征在于, 所述带宽信息报文 还携带有所述链路带宽信息对应的链路位置信息。
8、 根据权利要求 7所述的保护倒换方法, 其特征在于, 所述链路位置信息 包括节点信息和 /或端口信息。
9、 根据权利要求 7所述的保护倒换方法, 其特征在于, 还包括: 接收其他节点发送的所述带宽信息报文;
将所述带宽信息报文中携带的所述链路位置信息和所述链路带宽信息对应 存储在环网带宽数据库中, 或更新所述链路位置对应的链路带宽信息。
1 0、 根据权利要求 9所述的保护倒换方法, 其特征在于, 还包括: 接收其他节点发送的环自动保护倒换 R-APS协议的无请求保护倒换报文; 根据所述无请求保护倒换报文中携带的链路位置信息删除环网带宽数据库 中对应信息。
11、 根据权利要求 9 所述的以太网环保护倒换方法, 其特征在于, 所述将 所述带宽信息报文中携带的所述链路位置信息和链路带宽信息对应存储在环网 带宽数据库中, 包括:
根据所述带宽信息报文中携带的所述链路位置信息和链路带宽信息, 将不 同链路位置对应的链路位置信息和链路带宽信息都存储在环网带宽数据库中。
12、 根据权利要求 9 所述的以太网环保护倒换方法, 其特征在于, 所述将 所述带宽信息报文中携带的所述链路位置信息和链路带宽信息对应存储在环网 带宽数据库中, 包括:
根据所述带宽信息报文中携带的所述链路位置信息和链路带宽信息, 确定 环上全部链路中带宽最低的链路;
将所述带宽最低的链路对应的链路位置信息和链路带宽信息存储在环网带 宽数据库中。
1 3、 根据权利要求 6 所述的保护倒换方法, 其特征在于, 所述带宽信息报 文是环自动保护倒换 R-APS协议报文。
14、 根据权利要求 1或 2所述的以太网环保护倒换方法, 其特征在于, 在 根据当前链路的带宽信息和环上其它链路的带宽信息判断所述当前链路是否为 较低带宽链路, 还包括:
若当前链路的带宽与所述环上其它链路中最低的带宽相同, 则将所述当前 链路的链路位置信息与所述环上其它链路中最低的带宽对应的链路位置信息进 行比较, 确定优先阻塞的链路作为较低带宽链路。
15、 根据权利要求 6 所述的以太网环保护倒换方法, 其特征在于, 所述带 宽信息报文包括: 节点上线报文; 该方法还包括:
当所述当前节点上线时, 向所述其他节点广播所述节点上线报文, 其中所 述节点上线报文中包含节点上线标识、 所述当前节点上的链路位置信息和链路 带宽信息。
16、 根据权利要求 6 所述的以太网环保护倒换方法, 其特征在于, 所述带 宽信息报文包括: 带宽变化报文; 该方法还包括:
当所述当前节点上的链路带宽发生变化时, 向所述其他节点广播所述当前 节点的带宽变化报文, 其中所述带宽变化报文中包含带宽变化标识、 所述当前 节点上发生带宽变化的链路位置信息和链路带宽信息。
17、 根据权利要求 15或 16所述的以太网环保护倒换方法, 其特征在于, 所述当前节点上发生带宽变化的链路位置信息和链路带宽信息为当前节点的链 路中带宽最低链路对应的链路位置信息和链路带宽信息。
18、根据权利要求 15所述的以太网环保护倒换方法, 其特征在于,还包括: 当所述当前节点接收到其他节点发送的节点上线报文时, 向所述其他节点 广播所述当前节点的带宽信息报文, 以使得所述其他节点根据所述带宽信息报 文更新环网带宽数据库。
19、 一种节点, 该节点参与当前环网的环保护倒换应用, 其特征在于, 该 节点包括:
链路判断单元, 用于根据当前链路的带宽信息和环上其他链路的带宽信息 判断所述当前链路是否为较低带宽链路; 阻塞所述当前链路对应的端口。
20、 根据权利要求 19所述的节点, 其特征在于, 还包括:
打开单元, 用于在所述链路判断单元判断所述当前链路不是较低带宽链路 时, 打开所述当前链路对应的端口。
21、 根据权利要求 19所述的节点, 其特征在于, 所述环上其它链路的带宽 信息, 包括: 当前节点上的其它链路的带宽信息。
22、 根据权利要求 19所述的节点, 其特征在于, 所述环上其它链路的带宽 信息, 包括: 接收自其它节点发送的所述其它节点上链路的带宽信息。
23、 根据权利要求 19所述的节点, 其特征在于, 所述环上其它链路的带宽 信息, 包括: 存储在当前节点的环网带宽数据库中的其它节点上链路的带宽信 息。
24、 根据权利要求 22所述的节点, 其特征在于, 所述接收自其它节点发送 的所述其它节点上链路的带宽信息承载在带宽信息报文中。
25、 根据权利要求 24所述的节点, 其特征在于, 所述带宽信息报文还携带 有所述链路带宽信息对应的链路位置信息。
26、 根据权利要求 25所述的节点, 其特征在于, 所述链路位置信息包括节 点信息和 /或端口信息。
27、 根据权利要求 25所述的节点, 其特征在于, 还包括:
接收单元, 用于接收其他节点发送的所述带宽信息报文;
存储单元, 用于将所述接收单元接收到的所述带宽信息报文中携带的所述 链路位置信息和所述链路带宽信息对应存储在环网带宽数据库中, 或更新所述 链路位置对应的链路带宽信息。
28、 根据权利要求 27所述的节点, 其特征在于, 还包括:
所述接收单元, 还用于接收其他节点发送的环自动保护倒换 R-APS协议的 无请求保护倒换报文;
删除单元, 用于根据所述无请求保护倒换报文中携带的链路位置信息删除 环网带宽数据库中对应信息。
29、 根据权利要求 27所述的节点, 其特征在于, 所述存储单元还用于: 根 据所述带宽信息报文中携带的所述链路位置信息和链路带宽信息, 将不同链路 位置对应的链路位置信息和链路带宽信息都存储在环网带宽数据库中。
30、 根据权利要求 27所述的节点, 其特征在于, 所述存储单元还用于: 根据接收到的所述带宽信息报文中携带的所述链路位置信息和链路带宽信 息, 确定环上全部链路中带宽最低的链路;
将所述带宽最低的链路对应的链路位置信息和链路带宽信息存储在环网带 宽数据库中。
31、 根据权利要求 24所述的节点, 其特征在于, 所述带宽信息报文是环自 动保护倒换 R-APS协议报文。
32、 根据权利要求 19或 20所述的节点, 其特征在于, 所述链路判断单元 还用于: 在所述当前链路的带宽与所述环上其他链路中最低的带宽相同时, 将 所述当前链路的链路位置信息与所述环上其它链路中最低的带宽对应的链路位 置信息进行比较, 确定优先阻塞的链路作为较低带宽链路。
33、 根据权利要求 24所述的节点, 其特征在于, 所述带宽信息报文包括: 节点上线报文; 该节点还包括:
节点上线单元, 用于在所述当前节点上线时, 向所述其他节点广播所述节 点上线报文, 其中所述节点上线报文中包含节点上线标识、 所述当前节点上的 链路位置信息和链路带宽信息。
34、 根据权利要求 24所述的节点, 其特征在于, 所述带宽信息报文包括: 带宽变化报文; 该节点还包括:
带宽变化单元, 用于在所述当前节点上的链路带宽发生变化时, 向所述其 他节点广播所述带宽变化报文, 其中所述带宽变化报文中包含带宽变化标识、 所述当前节点上发生带宽变化的链路位置信息和链路带宽信息。
35、 根据权利要求 33或 34所述的节点, 其特征在于, 所述当前节点上发 生带宽变化的链路位置信息和链路带宽信息为当前节点的链路中带宽最低链路 对应的链路位置信息和链路带宽信息。
36、根据权利要求 33所述的节点, 其特征在于, 所述带宽变化单元还用于: 在所述当前节点接收到其他节点发送的节点上线报文时, 向所述其他节点广播 所述带宽信息报文, 以使得发送所述节点上线报文的节点根据所述带宽信息报 文更新环网带宽数据库。
37、 一种以太网环保护倒换系统, 其特征在于, 包括: 至少三个如权利要 求 19-36中任一项所述的节点;
所述节点通过所述节点上的链路构成环网并在环网中进行数据传输, 并参 与当前环保护倒换。
PCT/CN2012/073491 2011-11-23 2012-04-01 以太网环保护倒换方法、节点及系统 WO2012163173A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201280003266.0A CN103190121B (zh) 2011-11-23 2012-04-01 以太网环保护倒换方法、节点及系统
EP12792571.7A EP2775669A1 (en) 2011-11-23 2012-04-01 Ethernet ring protection switching method, node and system
US14/286,551 US20140254347A1 (en) 2011-11-23 2014-05-23 Ethernet Ring Protection Switching Method, Node, and System

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2011/082760 2011-11-23
PCT/CN2011/082760 WO2012167569A1 (zh) 2011-11-23 2011-11-23 以太网环中的链路倒换方法、节点及系统

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082760 Continuation WO2012167569A1 (zh) 2011-11-23 2011-11-23 以太网环中的链路倒换方法、节点及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/286,551 Continuation US20140254347A1 (en) 2011-11-23 2014-05-23 Ethernet Ring Protection Switching Method, Node, and System

Publications (1)

Publication Number Publication Date
WO2012163173A1 true WO2012163173A1 (zh) 2012-12-06

Family

ID=46950482

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2011/082760 WO2012167569A1 (zh) 2011-11-23 2011-11-23 以太网环中的链路倒换方法、节点及系统
PCT/CN2012/073491 WO2012163173A1 (zh) 2011-11-23 2012-04-01 以太网环保护倒换方法、节点及系统

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082760 WO2012167569A1 (zh) 2011-11-23 2011-11-23 以太网环中的链路倒换方法、节点及系统

Country Status (4)

Country Link
US (1) US20140254347A1 (zh)
EP (1) EP2775669A1 (zh)
CN (1) CN102726006B (zh)
WO (2) WO2012167569A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055266A (zh) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 一种业务的传输方法及装置、存储介质、电子装置

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9780964B1 (en) 2012-01-23 2017-10-03 Cisco Technology, Inc. System and method for ring protection switching over adaptive modulation microwave links
CN102754390B (zh) * 2012-04-28 2015-06-17 华为技术有限公司 以太网环保护倒换方法、网络设备及系统
US9161259B2 (en) 2013-03-20 2015-10-13 Cisco Technology, Inc. System and method for layer 3 ring protection with adaptive bandwidth microwave links in a network environment
US9392526B2 (en) * 2013-05-28 2016-07-12 Cisco Technology, Inc. Protection against fading in a network ring
US9319240B2 (en) * 2013-09-24 2016-04-19 Ciena Corporation Ethernet Ring Protection node
US9984028B2 (en) 2014-10-31 2018-05-29 Arris Enterprises Llc Redundancy for port extender chains
CN105591859B (zh) * 2015-09-02 2019-03-01 新华三技术有限公司 为erps环动态调整阻塞端口的方法和装置
JP6554405B2 (ja) * 2015-11-26 2019-07-31 株式会社日立製作所 リングネットワークシステム、及び、ネットワークノード
CN105763483B (zh) * 2016-02-19 2019-01-22 新华三技术有限公司 一种报文发送方法和装置
CN106911585B (zh) * 2017-04-24 2019-08-13 西安电子科技大学 一种环形以太网的负载均衡剪枝方法
US11025537B2 (en) * 2017-12-04 2021-06-01 Is5 Communications, Inc. Multiple RSTP domain separation
CN108322375B (zh) * 2017-12-27 2021-03-12 瑞斯康达科技发展股份有限公司 一种以太网环保护倒换方法、节点及系统
WO2019134750A1 (en) * 2018-01-05 2019-07-11 Huawei Technologies Co., Ltd. Microwave node for an erp network
CN110545198B (zh) * 2018-05-29 2022-11-18 北京华为数字技术有限公司 Erps环路的破环方法及主节点
JP2021097344A (ja) * 2019-12-18 2021-06-24 日本電気株式会社 ネットワーク装置、通知方法及び通知プログラム
CN114866394A (zh) * 2022-04-28 2022-08-05 杭州迪普科技股份有限公司 Frrp环自动选举阻塞端口方法和装置
CN115714698B (zh) * 2022-09-26 2024-04-16 重庆长安汽车股份有限公司 车载以太网的环网通信方法、装置、车辆及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642128A (zh) * 2004-01-17 2005-07-20 华为技术有限公司 一种在弹性分组环网上自动调整业务路径的方法
CN101399737A (zh) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 用于以太环网的链路聚合组的保护方法及装置
CN101640646A (zh) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 以太环网保护倒换方法及装置
US20100226245A1 (en) * 2009-02-16 2010-09-09 Jeong-Dong Ryoo Method and apparatus for protection switching in ring network

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2574944A (en) * 1947-12-10 1951-11-13 Automatic Elect Lab All relay automatic telephone system trunk selection
US6226111B1 (en) * 1996-12-06 2001-05-01 Telcordia Technologies, Inc. Inter-ring cross-connect for survivable multi-wavelength optical communication networks
US7369504B2 (en) * 2002-12-12 2008-05-06 Alcatel Canada, Inc. Bandwidth management of resilient packet ring network
CN101232427A (zh) * 2007-01-23 2008-07-30 华为技术有限公司 一种以太网环保护方法及装置
CN101232428B (zh) * 2007-01-23 2012-05-23 华为技术有限公司 一种以太网环保护方法及装置
KR20080089285A (ko) * 2007-03-30 2008-10-06 한국전자통신연구원 이더넷 링 네트워크에서의 보호 절체 방법
US7876688B2 (en) * 2007-03-30 2011-01-25 Nokia Corporation Traffic protection in a communication network
JP2009231906A (ja) * 2008-03-19 2009-10-08 Nec Corp データ伝送システム、伝送装置、およびプロテクション制御方法
US8149692B2 (en) * 2008-12-31 2012-04-03 Ciena Corporation Ring topology discovery mechanism
JP5267160B2 (ja) * 2009-01-28 2013-08-21 富士通株式会社 ノード装置、リングネットワーク及び予備パスの帯域制御方法
US20100290340A1 (en) * 2009-05-15 2010-11-18 Electronics And Telecommunications Research Institute Method for protection switching
CN101583057B (zh) * 2009-06-11 2013-08-07 中兴通讯股份有限公司 网络选路方法及装置
JP5434318B2 (ja) * 2009-07-09 2014-03-05 富士通株式会社 通信装置および通信パス提供方法
CN101605102B (zh) * 2009-07-16 2012-03-14 杭州华三通信技术有限公司 一种irf堆叠中的负载分担方法及装置
KR101252828B1 (ko) * 2009-07-24 2013-04-11 한국전자통신연구원 Vlan기반 브리지의 이더넷 링 네트워크 관리 방법
US20110044166A1 (en) * 2009-08-18 2011-02-24 Electronics And Telecommunications Research Institute Method for operating node in ethernet ring network
JP5471240B2 (ja) * 2009-09-28 2014-04-16 日本電気株式会社 スイッチ装置、リングネットワークシステム、通信制御方法、および装置のプログラム
CN101695046B (zh) * 2009-10-16 2012-01-04 杭州华三通信技术有限公司 一种设置rrpp阻塞点的方法及设备
WO2011123001A1 (en) * 2010-03-30 2011-10-06 Telefonaktiebolaget L M Ericsson (Publ) Method for protection against superloops in an ethernet ring
US8509061B2 (en) * 2011-03-23 2013-08-13 Ciena Corporation Systems and methods for scaling performance of Ethernet ring protection protocol
US8427976B1 (en) * 2011-12-04 2013-04-23 Ofinno Technology, LLC Carrier information exchange between base stations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642128A (zh) * 2004-01-17 2005-07-20 华为技术有限公司 一种在弹性分组环网上自动调整业务路径的方法
CN101399737A (zh) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 用于以太环网的链路聚合组的保护方法及装置
US20100226245A1 (en) * 2009-02-16 2010-09-09 Jeong-Dong Ryoo Method and apparatus for protection switching in ring network
CN101640646A (zh) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 以太环网保护倒换方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055266A (zh) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 一种业务的传输方法及装置、存储介质、电子装置

Also Published As

Publication number Publication date
WO2012167569A1 (zh) 2012-12-13
EP2775669A4 (en) 2014-09-10
US20140254347A1 (en) 2014-09-11
CN102726006B (zh) 2015-03-18
EP2775669A1 (en) 2014-09-10
CN102726006A (zh) 2012-10-10

Similar Documents

Publication Publication Date Title
WO2012163173A1 (zh) 以太网环保护倒换方法、节点及系统
US9622276B2 (en) Method and device for determining to establish multi-protocol label switching traffic engineering tunnel
CN102148677B (zh) 一种更新地址解析协议表项的方法及核心交换机
CN101483570B (zh) 一种防止中继链路的环网临时环路的方法、系统及设备
WO2011022998A1 (zh) 自动保护倒换方法、设备和系统
CN100512128C (zh) 保护组播转发路径的方法和系统和业务路由器
US20080205302A1 (en) Preventing data traffic connectivity between endpoints of a network segment
WO2010045832A1 (zh) 用于以太环网的链路聚合组的保护方法及装置
WO2008089701A1 (fr) Procédé, dispositif et système de protection d'anneau
WO2012003743A1 (zh) 组播流量的转发方法及装置
WO2013053267A1 (zh) 一种lacp链路切换、数据传输方法与装置
WO2009111969A1 (zh) 以太环网中边缘端口阻塞的方法、以太环网系统和设备
WO2011095101A1 (zh) 一种分组传送网络的线性1:n保护方法、装置和系统
CN101340346A (zh) 一种以太环网系统中环控制的方法及装置
EP2472802B1 (en) Method for establishing label switching path in fast rerouting switching
US20140293879A1 (en) Method and system for data record packet processing
WO2010102490A1 (zh) 以太环网中交换节点端口的地址刷新方法及交换节点
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
WO2012126412A2 (zh) 以太网环保护倒换方法、网络设备及系统
CN102480409A (zh) 实现rrpp环分路上行的方法、rrpp环和装置
WO2010121459A1 (zh) 一种自动交换光网络中实现保护与恢复的方法及系统
WO2012097595A1 (zh) 一种共享网状保护实现方法及系统
CN102239670A (zh) 一种负载分担方法和装置
CN103190121A (zh) 以太网环保护倒换方法、节点及系统
WO2014048128A1 (zh) 环网中点到多点业务的保护方法及环网中的上环节点

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012792571

Country of ref document: EP