WO2018171745A1 - Protection switching method and device for ring network - Google Patents

Protection switching method and device for ring network Download PDF

Info

Publication number
WO2018171745A1
WO2018171745A1 PCT/CN2018/080311 CN2018080311W WO2018171745A1 WO 2018171745 A1 WO2018171745 A1 WO 2018171745A1 CN 2018080311 W CN2018080311 W CN 2018080311W WO 2018171745 A1 WO2018171745 A1 WO 2018171745A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
ring network
signal degradation
ring
protection
Prior art date
Application number
PCT/CN2018/080311
Other languages
French (fr)
Chinese (zh)
Inventor
高菲
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to KR1020197030421A priority Critical patent/KR20190124314A/en
Publication of WO2018171745A1 publication Critical patent/WO2018171745A1/en

Links

Images

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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a protection switching method and apparatus for a ring network.
  • the ring network protection protocol ERPS (Ethernet Ring Protection Switching) and the switching mechanism (g.8032) in the Ethernet transmission network implement fast ( ⁇ 50ms) protection switching of the Ethernet ring topology service.
  • the current ERPS only implements a protection switching trigger mechanism that triggers SF (signal fail), such as port down and fiber break, and performs fast protection switching for services within 50 ms, and SD for congestion and error frames on the link. (signal degrade, signal degradation) situation can not achieve the corresponding business protection.
  • the technical problem to be solved by the present disclosure is to provide a protection switching method and device for a ring network, which solves the problem that the corresponding service protection cannot be realized in the prior art for the SD situation such as congestion and frame error of the link.
  • the present disclosure provides a protection switching method for a ring network, including: an end node of a link detects whether a signal degradation occurs on a link, respectively; and in a case where signal degradation occurs on the link, the corresponding node performs The corresponding protection switching operation.
  • the end nodes of the link respectively detect whether the link has signal degradation includes: the end nodes of the link respectively receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter; the end node determines, according to the frame event parameter, whether signal degradation occurs on the link.
  • the method further includes: adding a processing mechanism for signal degradation in the ring network protection state machine and modifying the basis The request/status bit value of the ring-protected protocol message of the signal failure, so that the ring network protection state machine and the ring network protection protocol message are compatible with the processing of signal degradation.
  • adding a processing mechanism for signal degradation in the ring network protection state machine based on the signal failure and modifying the request/status bit value of the ring network protection protocol message based on the signal failure includes: in the ring network protection request/ Adding local signal degradation local SD, local signal degradation clearing local clear SD, and ringing network automatic protection switching R-APS-SD item based on signal degradation in the status priority list; wherein the R-APS-SD item is used in the current If the end node is in the local SD state, the current end node notifies the neighboring node that the current link is in a signal degradation state by using the modified ring network protection protocol packet, and the ring network protection protocol packet corresponds to the corresponding The request/status location is a signal degradation state.
  • the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
  • determining, according to the frame event parameter, whether the ring network has signal degradation includes: determining that the ring network occurs when the number of occurrences of the frame event exceeds a preset event threshold in a preset time period. The signal is degraded.
  • the method before the receiving the ring link state monitoring message of the link operation (maintenance), the method further includes: setting at least one ring on the ring network.
  • the network protection instance receives the registration message of each ring network protection instance, and the registration message carries the corresponding ring network protection instance identifier.
  • the corresponding ring switching operation performed by the corresponding ring network node includes: protecting the corresponding ring network in case that the ring network has signal degradation The instance sends a signal degradation indication; according to different ring protection instances, a corresponding protection switching operation is performed.
  • the method further includes: continuing to receive the ring network link state monitoring message from the link oam,
  • the ring network link state monitoring message carries a frame event parameter; the ring network nodes determine a ring network signal quality indicator according to the frame event parameter; and when the ring network signal quality indicator is higher than a preset recovery threshold Then, the ring network that performs the protection switching operation is restored to the original ring network.
  • detecting, by the end node of the link, whether the link has signal degradation respectively: determining whether signal degradation occurs on the link by detecting an attenuation condition of the laser signal.
  • the present disclosure further provides a protection switching apparatus for a ring network, including: a detecting unit, configured to enable an end node of the link to detect whether a signal degradation occurs on the link, respectively; and a protection switching unit configured to be in the In the case where the link is degraded, the corresponding node performs a corresponding protection switching operation.
  • the detecting unit includes: a receiving module, configured to enable an end node of the link to receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter; And being configured to cause the end node to determine whether signal degradation occurs on the link according to the frame event parameter.
  • the apparatus further includes a modifying unit, configured to increase a processing mechanism for signal degradation in the ring network protection state machine and modify the basis based on whether the end node of the link respectively detects whether the link has signal degradation.
  • a modifying unit configured to increase a processing mechanism for signal degradation in the ring network protection state machine and modify the basis based on whether the end node of the link respectively detects whether the link has signal degradation.
  • the modifying unit is configured to: add local signal degradation local SD, local signal degradation clear local clear SD, and ring network automatic protection switching based on signal degradation in the ring protection request/state priority list.
  • An APS-SD entry wherein the R-APS-SD entry is used to notify the neighboring node of the ring network protection protocol packet by using the modified ring network protection protocol packet when the current end node is in the local SD state.
  • the current link of the node is in a signal degradation state, and the corresponding request/status position in the ring protection protocol packet is a signal degradation state.
  • the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
  • the determining module is configured to determine that the ring network has signal degradation when the number of occurrences of the frame event exceeds a preset event threshold in a preset time.
  • the apparatus further includes: a setting unit configured to set at least one ring protection instance on the ring network before receiving a ring link state monitoring message of the link oam; and a registration unit, configured to receive the The registration message of each ring network protection instance set by the setting unit, where the registration message carries the corresponding ring network protection instance identifier.
  • the protection switching unit is configured to: when a signal degradation occurs in the ring network, send a signal degradation indication to the corresponding ring network protection instance; perform corresponding protection switching according to different ring network protection instances. operating.
  • the device further includes a recovery unit, where the receiving module is further configured to: after the ring network performs signal degradation, the corresponding ring network node continues to receive the link after performing the corresponding protection switching operation.
  • the ring network link state monitoring message of the oam the ring network link state monitoring message carries a frame event parameter; the determining module is further configured to determine a ring network signal quality indicator according to the frame event parameter; the recovery unit And setting, in the case that the ring network signal quality indicator is higher than the preset recovery threshold, restoring the ring network that performs the protection switching operation to the original ring network.
  • the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node A corresponding protection switching operation can be performed to communicate and service using well-behaved nodes and links.
  • the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or error frame, and perform corresponding protection switching operation in the case of signal degradation, thereby effectively improving the ring. Network link performance.
  • FIG. 1 is a flowchart of a protection switching method for a ring network according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural view of a ring network in an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of nodes in a ring network in an embodiment of the present disclosure
  • FIG. 4 is another schematic structural diagram of an example of ring network protection in an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of protection of a link SD generation notification ring network according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of performing protection switching after a ring network protection receiving link SD generates a message according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of recovery of a link SD disappearing notification ring network protection according to an embodiment of the present disclosure
  • FIG. 8 is a schematic structural diagram of a protection switching device for a ring network according to an embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a protection switching method for a ring network, including:
  • the end nodes of the link respectively detect whether a signal degradation occurs on the link.
  • the corresponding node performs a corresponding protection switching operation.
  • the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node can perform Corresponding protection switching operations to communicate and service using well-behaved nodes and links. In this way, the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or error frame, and perform corresponding protection switching operation in the case of signal degradation, thereby effectively improving the ring. Network link performance.
  • step S11 it may be detected by multiple methods whether the link has signal degradation, for example, by detecting the attenuation of the laser signal, determining whether the link has signal degradation, or by using a link oam ring.
  • the network link state monitoring message determines whether signal degradation or the like has occurred on the link. The embodiments of the present disclosure do not limit this.
  • the end nodes of the link respectively detect whether the link has signal degradation may include:
  • the end nodes of the link respectively receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter;
  • the end node determines whether the ring network has signal degradation according to the frame event parameter.
  • each link can respectively receive the ring network link state monitoring message of the link oam, and determine whether the ring network has signal degradation according to the frame event parameter carried in the ring link state monitoring message; In the event of signal degradation, the corresponding node is able to perform a corresponding protection switching operation to communicate and service using well-signaled nodes and links.
  • Link oam can perform link operation, monitoring and fault location in the data link layer, each link end node can determine the signal quality on the ring network according to the frame event parameters provided by link oam, and whether there is congestion, A signal degradation condition such as a wrong frame, and a corresponding protection switching operation in the case where signal degradation occurs.
  • a ring network can have multiple nodes, and each node can monitor the status of the node itself and the link directly connected to the node through link oam.
  • the frame event parameter carried in the ring network link state monitoring message may include one or more of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistic.
  • Event parameters, etc., link end nodes can achieve real-time monitoring of link performance by monitoring these frame event parameters.
  • the user can select one of the above frame event parameters to reflect the link performance, and can also use a combination of multiple frame events to reflect the performance of the link.
  • the embodiments of the present disclosure do not limit this.
  • the end node of the link determines how the ring link performance is and whether signal degradation has occurred based on the error frame event parameter. Specifically, when the link oam receives the error frame (RxErroredFrame) for more than the specified error threshold (ErrThreshold) during the Window monitoring period, it determines that an error frame event (ErrFrameEvent) occurs on the link, and marks the Window as an event window. Identifies that an error frame event has occurred.
  • RxErroredFrame the error frame
  • ErrThreshold specified error threshold
  • ErrFrameEvent RxErroredFrame/ErrThreshold.
  • the frame event parameter carried in the message may be monitored according to the status of the ring link state to determine whether the ring network has signal degradation.
  • the specific determination method and standard of whether the signal is degraded or not can be various, and the embodiment of the present disclosure does not limit this. For example, in an embodiment of the present disclosure, if the number of occurrences of the frame event exceeds the preset event threshold in a preset time, it may be determined that the ring network has signal degradation.
  • the cumulative time of the frame event parameter may be configured first, that is, the cumulative number of occurrences of the frame event in the long time range.
  • the link oam performs frame event monitoring in different monitoring windows (Window)
  • the corresponding accumulated time can be configured by configuring the number of windows (N).
  • the preset event threshold EvThresholdMax can also be configured.
  • the cumulative number of frame events ie, the ring network performance indicator
  • ErrPef is greater than the configured preset event threshold EvThresholdMax in the time period of t ⁇ N*Window, it can be determined that the ring network has signal degradation.
  • the error frame event as an example:
  • the frame event parameter as an error frame event parameter as an example to describe how to determine whether signal degradation occurs.
  • Frame event parameters such as error symbol event parameters, error frame period event parameters, error frame seconds statistical event parameters, etc. can also be derived according to a similar principle, and only need to replace the corresponding parameters.
  • the RxErroredFrame in this embodiment is replaced with an RxErroredSymbol (representing the number of error symbols received in a certain period), and the corresponding frame event is replaced with an error symbol event.
  • the various thresholds corresponding to different frame events may be adjusted as needed, and may be the same or different from each other. The embodiments of the present disclosure do not limit this.
  • the statistics may be separately performed according to different event types, or different types of frame events may be combined according to certain rules, for example, different types of frames are to be combined.
  • the event is written as a logical relationship and is counted according to the logical relationship.
  • the ring network is most sensitive to the error frame period event ErrFramePeriodEvent, and sensitive to the error frame second accumulation event ErrFrameSecsSummaryEvent, then a logical relationship can be constructed:
  • the ErrFrameSecsSummaryEvent occurs more frequently, the ErrPef grows faster. Once the threshold is exceeded, the loop can be protected in time.
  • the ring network protection also performs switching or recovery according to the generation or disappearance of the link SF
  • the SF (Signal Failure) or SD (Signal Degradation) ring network is required to perform switching, SF and The ring network can perform recovery when the SD disappears.
  • the SD processing mechanism does not exist in the original ring state machine.
  • the embodiment of the present disclosure needs to modify the ring network protection state machine to the SD processing mechanism.
  • the method before the end nodes of the link respectively detect whether the link has signal degradation, the method further includes: adding a pair in the ring network protection state machine based on the signal failure.
  • the signal degradation processing mechanism and the request/status bit value of the ring network protection protocol message based on the signal failure are modified to make the ring network protection state machine and the ring network protection protocol message compatible with the signal degradation processing.
  • the local signal degradation local SD, the local signal degradation clear local clear SD, and the ring network automatic protection switching R-APS-SD item based on signal degradation may be added in the ring protection request/state priority list;
  • the R-APS-SD entry is used to notify the neighboring node that the current link is in signal degradation by using the modified ring network protection protocol packet when the current end node is in the local SD state.
  • a state wherein a corresponding request/status location in the ring protection protocol packet is a signal degradation state.
  • modified ring protection request/status priority may be as shown in Table 1.
  • the current end node When the current end node is in the local SD state, the current end node sends the ring network protection protocol to the neighboring node by using the corresponding request/status position in the ring network protection protocol packet in Table 2 as the signal degradation state (ie, 1010).
  • the signal degradation state ie, 1010
  • the corresponding node may perform a specific protection switching operation, and the block at both ends of the link where the signal is degraded, and the R_SF message is concurrently sent to notify other nodes that the protection link has a problem and needs to perform protection switching.
  • the RPL master node and the RPL pro node can change both ends of the RPL link into a forward state, changing the transmission path of the link signal.
  • the above embodiment illustrates the overall situation in which the protection switching is performed after the signal degradation of the ring network occurs.
  • multiple logically different ring network instances can be supported, and corresponding services can be implemented on the corresponding ring network instance.
  • FIG. 2 in an embodiment of the present disclosure, in a ring network composed of four nodes A, B, C, and D, a ring network instance is established, where A is a master node and D is a neighbor node. .
  • the link between ADs is an RPL backup link.
  • other ring network instances may also be established in the ring network, with other master nodes and corresponding alternate links, and embodiments of the present disclosure are not limited thereto.
  • the protection switching method for the ring network may further include:
  • the registration message of the ring protection instance may include the content as shown in Table 3.
  • the Erps-id (1 to 32) is the ring network protection instance number.
  • the ring network protection instance number 1 to 32 is notified to the signal degradation detection process module number. 15 signal detection module.
  • the corresponding node performing the corresponding protection switching operation may specifically include:
  • the signal degradation indication sent to the corresponding ring protection instance may include content as shown in Table 4, which is used to indicate which ring instance has signal degradation. For example, if three different ring protection instances A1, A2, and A3 are set on a physical ring network, and the ring protection instances corresponding to A1 and A3 are degraded, they can be protected to the ring network instances A1 and A3 respectively.
  • the signal degradation indication is sent, and the indication carries the ring protection instance number and the signal degradation indicator character (SD-state).
  • the ring protection instances A1 and A3 can respectively block the two ends of the link where the signal is degraded, and the RPL primary node and the RPL pro node can change the two ends of the RPL link into a forward state. Change the transmission path of the link signal.
  • the protection switching method for the ring network provided by the embodiment of the present disclosure further includes:
  • the link end nodes determine a ring network signal quality indicator according to the frame event parameter
  • the ring network that performs the protection switching operation is restored to the original ring network.
  • the trusted link may be a standby link or an original link.
  • the link that the trusted link is the original link
  • the signal quality on the original link can be continuously monitored.
  • the ring network that performs the protection switching operation can be restored to the original ring network. Continue to use the original ring network.
  • the link that the SD generates or disappears may also be reported in the foregoing network, so as to comprehensively analyze and improve the overall situation of the link node and the link.
  • the node of the carrier-grade Ethernet service in this embodiment may include:
  • the link performance calculation and alarm processing unit may obtain the link state information data from the linkoam link monitoring unit, and determine whether to notify the ring network protection switching unit of the message that the SD is generated or disappeared after the calculation, and then the ring network protection switching unit Perform protection switching.
  • the relationship between the three units: the link performance calculation and alarm processing unit and the linkoam link monitoring unit are in a one-to-one relationship. Since one or more ring protection instances can be configured on a single ring network node, and the link performance calculation and alarm processing unit requirements notify the current link SD status of the ring network instance, the link performance calculation needs to be advertised when creating the ring network instance. And the alarm processing unit "ring network instance number".
  • the relationship between the three units corresponding to one or more ring network instances is shown in Figures 3(a) and 3(b).
  • Embodiment 1 SD generation trigger ring network protection switching
  • an example of configuring a ring network protection is taken as an example, and only the generation and disappearance of the link SD are concerned. Since the generation and disappearance of SF is not the focus of this disclosure, no link is generated for all links of the default protection group.
  • Step S21 Create an Ethernet ring network protection group, and add the protection service to the protection group.
  • the four nodes in the ring topology create an Ethernet ring protection group.
  • the RPL is in the block state to prevent the network from being looped.
  • the master node A After the ring network is started, the master node A notifies other nodes that the RPL is blocked by sending an R_NR_RB message, and all nodes enter an idle state.
  • the service is transmitted as shown in Figure 2.
  • the transmission path of traffic 2 is A-B-C-D.
  • Step S22 After the ring network protection group is created, the linkoam protocol is automatically run on the two ports of the four protection group nodes to monitor the performance of the working link, as shown in FIG. 4 .
  • the link event includes an error symbol event, an error frame event, an error frame period event, and an error frame second accumulation event, which can achieve the purpose of monitoring link performance in real time.
  • Customers can choose one of them or use a variety of event combinations to reflect the performance parameters of the link based on actual conditions.
  • ErrFrameEvent If the number of received error frames (RxErroredFrame) exceeds the specified performance threshold (Threshold) during the Window monitoring period, the link is considered to have an error frame event (ErrFrameEvent). which is:
  • ErrFrameEvent RxErroredFrame/Threshold.
  • Step S23 The link performance calculation and the alarm processing unit are started, and the number of error frame events in the link is recorded. If the performance of the link AB is detected to be lower than the set performance standard, the link AB is considered to have an SD, and the ring network protection is notified. group. As shown in Figure 5.
  • the startup link performance calculation and alarm processing unit needs to configure the number of window monitoring periods (N) and the event occurrence performance threshold PefThresholdMax.
  • Step S24 After receiving the SD message, the ring network protection group nodes A and B perform corresponding protection switching. The block at both ends of the link of the SD will be sent, and the R_SF message will be sent to notify other nodes. If there is a problem with the protection link, protection switching needs to be performed. The RPL master node A and the RPL pro node D will change both ends of the RPL link into a forward state. After the protection switching is performed, the service is transmitted as shown in Figure 6. For example, the transmission path of traffic 2 is A-D.
  • Embodiment 2 SD disappears trigger ring network protection switching recovery
  • a ring network protection instance is configured, and only the generation and disappearance of the link SD are concerned. Because the generation and disappearance of SF is not the focus of this article, no link is generated for all links in the default protection group.
  • Step S31 Create an Ethernet ring network protection group. Because the link A-B generates SD, it is in the protection switching state.
  • the block at both ends of the link of the SD will be sent, and the R_SF message will be sent to notify other nodes. If there is a problem with the protection link, protection switching needs to be performed.
  • the RPL master node and the RPL pro node will change both ends of the RPL link into a forward state. After the protection switching is performed, the service is transmitted as shown in Figure 6 (5). For example, the transmission path of traffic 2 is A-D.
  • Step S32 After the ring network protection group is created, the linkoam protocol is automatically run on the east and west ports of the four protection group nodes to monitor the performance of the working link.
  • the link event includes an error symbol event, an error frame event, an error frame period event, and an error frame second accumulation event, which can achieve the purpose of monitoring link performance in real time.
  • Customers can choose one of them or use a variety of event combinations to reflect the performance parameters of the link based on actual conditions.
  • ErrFrameEvent If the number of received error frames (RxErroredFrame) exceeds the specified performance threshold (Threshold) during the Window monitoring period, the link is considered to have an error frame event (ErrFrameEvent). which is:
  • ErrFrameEvent RxErroredFrame/Threshold.
  • step S33 the link performance calculation and the alarm processing unit are started, and the number of error frame events on the link is recorded. If the performance of the link is detected to be lower than the set performance standard, the link SD is considered to be lost, and the ring network protection group is notified. . As shown in Figure 7.
  • the startup link performance calculation and alarm processing unit needs to configure the number of window monitoring periods (N) and the event occurrence performance threshold ThresholdMin.
  • Step S34 After receiving the message that the SD disappears, the ring network protection group nodes A and B perform corresponding switching recovery.
  • the RPL master node A starts the WTR (wait to restore) timer. After the WTR times out, the RPL port block is sent, the R_NR_RB message is sent, and the SD disappears port forward.
  • the RPL Pro Node D receives the R_NR_RB message, it will block the RPL port.
  • the Node B receives the R_NR_RB message, the SD disappears the port forward.
  • the switchover recovery is performed, the service is transmitted as shown in Figure 7.
  • the linkoam link performance monitoring unit includes a data acquisition module, a data calculation module, and a judgment module, wherein: the data acquisition module is configured to obtain performance data of a link in the protection link; and the data calculation module is configured to be based on the link.
  • the performance data is used to calculate the performance of the working link; the judging module is used to judge whether the performance of the link is generated or disappeared.
  • the performance of the link is measured by the error symbol event as an example, and the protection switching and its recovery are described in detail.
  • ErrSymbolEvent RxErroredSymbol/ErrSymbolThreshold
  • the above embodiment uses the frame event parameter as an error frame event parameter and an error symbol event parameter as an example to describe how to determine whether signal degradation occurs or whether signal degradation disappears.
  • Frame event parameters such as error frame period event parameters and error frame seconds statistical event parameters can also be obtained according to a similar principle, and only need to replace the corresponding parameters.
  • the various thresholds corresponding to different frame events may be adjusted as needed, and may be the same or different from each other. The embodiments of the present disclosure do not limit this.
  • an embodiment of the present disclosure further provides a protection switching apparatus for a ring network, including:
  • the detecting unit 81 detects, by the end node of the link, whether the link has signal degradation, respectively;
  • the protection switching unit 82 is configured to perform a corresponding protection switching operation in the case that signal degradation occurs on the link.
  • the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node can perform corresponding Protection switching operations to communicate and service using well-behaved nodes and links. In this way, because the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or frame error, and corresponding protection switching operation occurs in the case of signal degradation, thereby effectively improving the signal. Ring link performance.
  • the detecting unit includes:
  • the receiving module, the end node for the link respectively receives the ring network link state monitoring message of the link oam, where the ring network link state monitoring message carries the frame event parameter;
  • a determining module configured to determine, by the end node, whether the link has signal degradation according to the frame event parameter.
  • each ring network node can determine the signal quality on the ring network according to the frame event parameters provided by link oam, and whether there is congestion or error.
  • a signal such as a frame is degraded, and a corresponding protection switching operation is performed in the case where signal degradation occurs.
  • the device further includes a modifying unit, configured to increase processing of signal degradation in a ring network protection state machine based on signal failure before the end nodes of the link respectively detect whether the link has signal degradation
  • the mechanism further modifies the request/status bit value of the ring network protection protocol message based on the signal failure, so that the ring network protection state machine and the ring network protection protocol message are compatible with the signal degradation processing.
  • the modifying unit may be configured to add a local signal degradation local SD, a local signal degradation clear local clear SD, and a signal degradation based loop automatic protection switching R- in the ring protection request/state priority list.
  • An APS-SD entry wherein the R-APS-SD-term is used to notify the current end node of the ring network protection protocol packet after the current end node is in the local SD state.
  • the current link of the neighboring node is in a signal degradation state, and the corresponding request/status position in the ring protection protocol packet is a signal degradation state.
  • the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
  • the determining module is configured to determine that the ring network has signal degradation when the number of occurrences of the error frame event exceeds a preset event threshold.
  • protection switching apparatus for the ring network may further include:
  • a setting unit configured to set at least one ring protection instance on the ring network before receiving a ring link state monitoring message of the link oam;
  • a registration unit configured to receive a registration message of each ring network protection instance set by the setting unit, where the registration message carries a corresponding ring network protection instance identifier.
  • the protection switching unit 82 is configured to: send a signal degradation indication to the corresponding ring network protection instance if the ring network has signal degradation; perform a corresponding protection switching operation according to different ring network protection instances. .
  • the protection switching apparatus for the ring network may further include a recovery unit, and the receiving module may be further configured to perform corresponding protection on the ring network node if the ring network has signal degradation. After the switching operation, continuing to receive the ring network link state monitoring message from the link oam, where the ring link state monitoring message carries the frame event parameter;
  • the determining module is further configured to determine a ring network signal quality indicator according to the frame event parameter;
  • the recovery unit may be configured to restore the ring network that performs the protection switching operation to the original ring network if the ring network signal quality indicator is higher than the preset recovery threshold.
  • the detecting unit 81 is configured to determine whether signal degradation occurs in the link by detecting an attenuation condition of the laser signal.
  • the present disclosure is applicable to the field of communication technologies, and the end node of the link is used to determine the signal quality on the link, whether there is signal degradation such as congestion or frame error, and the corresponding protection switching occurs in the case of signal degradation. Operation, which effectively improves the performance of the ring link.

Landscapes

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

Abstract

Disclosed are a protection switching method and device for ring network, relating to the field of communications and used for solving the problem in the prior art of not being able to realise corresponding service protection in an SD scenario such as a blockage occurring in a link, or a frame error. The method comprises: end nodes of a link respectively detecting whether signal degradation has occurred in the link; and when signal degradation has occurred in the link, the corresponding node executing a corresponding protection switching operation.

Description

一种用于环网的保护倒换方法及装置Protection switching method and device for ring network 技术领域Technical field
本公开涉及通信技术领域,特别是涉及一种用于环网的保护倒换方法及装置。The present disclosure relates to the field of communications technologies, and in particular, to a protection switching method and apparatus for a ring network.
背景技术Background technique
以太网传输网中的环网保护协议ERPS(Ethernet Ring Protection Switching,以太网多环保护技术)和倒换机制(g.8032),实现了以太网环形拓扑业务的快速(<50ms)保护倒换。The ring network protection protocol ERPS (Ethernet Ring Protection Switching) and the switching mechanism (g.8032) in the Ethernet transmission network implement fast (<50ms) protection switching of the Ethernet ring topology service.
然而,目前的ERPS只实现了端口down、断纤等触发SF(signal fail,信号失效)的保护倒换触发机制,在50ms内对业务进行快速保护倒换,而对于链路出现拥塞、错帧等SD(signal degrade,信号劣化)情况却无法实现相应的业务保护。However, the current ERPS only implements a protection switching trigger mechanism that triggers SF (signal fail), such as port down and fiber break, and performs fast protection switching for services within 50 ms, and SD for congestion and error frames on the link. (signal degrade, signal degradation) situation can not achieve the corresponding business protection.
发明内容Summary of the invention
本公开要解决的技术问题是提供一种用于环网的保护倒换方法及装置,用以解决现有技术中对于链路出现拥塞、错帧等SD情况无法实现相应业务保护的问题。The technical problem to be solved by the present disclosure is to provide a protection switching method and device for a ring network, which solves the problem that the corresponding service protection cannot be realized in the prior art for the SD situation such as congestion and frame error of the link.
一方面,本公开提供一种用于环网的保护倒换方法,包括:链路的端节点分别检测链路是否发生了信号劣化;在所述链路发生了信号劣化的情况下,对应节点执行相应的保护倒换操作。In one aspect, the present disclosure provides a protection switching method for a ring network, including: an end node of a link detects whether a signal degradation occurs on a link, respectively; and in a case where signal degradation occurs on the link, the corresponding node performs The corresponding protection switching operation.
可选的,所述链路的端节点分别检测链路是否发生了信号劣化包括:链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;所述端节点根据所述帧事件参数,确定所述链路是否发生了信号劣化。Optionally, the end nodes of the link respectively detect whether the link has signal degradation includes: the end nodes of the link respectively receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter; the end node determines, according to the frame event parameter, whether signal degradation occurs on the link.
可选的,在基于信号失效的所述链路的端节点分别检测链路是否发生了信号劣化之前,所述方法还包括:在环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。Optionally, before the end node of the link based on the signal failure respectively detects whether the link has signal degradation, the method further includes: adding a processing mechanism for signal degradation in the ring network protection state machine and modifying the basis The request/status bit value of the ring-protected protocol message of the signal failure, so that the ring network protection state machine and the ring network protection protocol message are compatible with the processing of signal degradation.
可选的,在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值包括:在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD项用于在当前端节点处于local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。Optionally, adding a processing mechanism for signal degradation in the ring network protection state machine based on the signal failure and modifying the request/status bit value of the ring network protection protocol message based on the signal failure includes: in the ring network protection request/ Adding local signal degradation local SD, local signal degradation clearing local clear SD, and ringing network automatic protection switching R-APS-SD item based on signal degradation in the status priority list; wherein the R-APS-SD item is used in the current If the end node is in the local SD state, the current end node notifies the neighboring node that the current link is in a signal degradation state by using the modified ring network protection protocol packet, and the ring network protection protocol packet corresponds to the corresponding The request/status location is a signal degradation state.
可选的,所述帧事件参数包括以下至少一种:错误符号事件参数、错误帧事件参数、错误帧周期事件参数、错误帧秒统计事件参数。Optionally, the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
可选的,所述根据所述帧事件参数,确定环网是否发生了信号劣化包括:在预设时间内帧事件的发生次数累计超过预设事件阈值的情况下,确定所述环网发生了信号劣化。Optionally, determining, according to the frame event parameter, whether the ring network has signal degradation includes: determining that the ring network occurs when the number of occurrences of the frame event exceeds a preset event threshold in a preset time period. The signal is degraded.
在一实例中,所述接收link oam(link operation administration maintenance,以太网链路级操作管理维护)的环网链路状态监测消息之前,所述方法还包括:在所述环网上设置至少一个环网保护实例;接收各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。In an example, before the receiving the ring link state monitoring message of the link operation (maintenance), the method further includes: setting at least one ring on the ring network. The network protection instance receives the registration message of each ring network protection instance, and the registration message carries the corresponding ring network protection instance identifier.
可选的,所述在所述环网发生了信号劣化的情况下,对应环网节点执行相应的保护倒换操作包括:在所述环网发生了信号劣化的情况下,向对应的环网保护实例发送信号劣化指示;根据不同的环网保护实例,执行对应的保护倒换操作。Optionally, in the case that the ring network has signal degradation, the corresponding ring switching operation performed by the corresponding ring network node includes: protecting the corresponding ring network in case that the ring network has signal degradation The instance sends a signal degradation indication; according to different ring protection instances, a corresponding protection switching operation is performed.
在一实例中,在所述环网发生了信号劣化的情况下,对应环网节点执行相应的保护倒换操作之后,所述方法还包括:继续接收来自link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;所述各环网节点根据所述帧事件参数,确定环网信号质量指标;在所述环网信号质量指标高于预设恢复阈值的情况下,将执行了保护倒换操作的环网恢复为原环网。In an example, in the case that the ring network has signal degradation, after the corresponding ring network node performs the corresponding protection switching operation, the method further includes: continuing to receive the ring network link state monitoring message from the link oam, The ring network link state monitoring message carries a frame event parameter; the ring network nodes determine a ring network signal quality indicator according to the frame event parameter; and when the ring network signal quality indicator is higher than a preset recovery threshold Then, the ring network that performs the protection switching operation is restored to the original ring network.
可选的,所述链路的端节点分别检测链路是否发生了信号劣化包括:通过检测激光信号的衰减情况确定所述所述链路是否发生了信号劣化。Optionally, detecting, by the end node of the link, whether the link has signal degradation, respectively: determining whether signal degradation occurs on the link by detecting an attenuation condition of the laser signal.
另一方面,本公开还提供一种用于环网的保护倒换装置,包括:检测单元,设置为使得链路的端节点分别检测链路是否发生了信号劣化;保护倒换单元,设置为在所述链路发生了信号劣化的情况下,使得对应节点执行相应的保护倒换操作。In another aspect, the present disclosure further provides a protection switching apparatus for a ring network, including: a detecting unit, configured to enable an end node of the link to detect whether a signal degradation occurs on the link, respectively; and a protection switching unit configured to be in the In the case where the link is degraded, the corresponding node performs a corresponding protection switching operation.
可选的,所述检测单元包括:接收模块,设置为使得链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;确定模块,设置为使得所述端节点根据所述帧事件参数,确定所述链路是否发生了信号劣化。Optionally, the detecting unit includes: a receiving module, configured to enable an end node of the link to receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter; And being configured to cause the end node to determine whether signal degradation occurs on the link according to the frame event parameter.
可选的,所述装置还包括修改单元,设置为在所述链路的端节点分别检测链路是否发生了信号劣化之前,在环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。Optionally, the apparatus further includes a modifying unit, configured to increase a processing mechanism for signal degradation in the ring network protection state machine and modify the basis based on whether the end node of the link respectively detects whether the link has signal degradation. The request/status bit value of the ring-protected protocol message of the signal failure, so that the ring network protection state machine and the ring network protection protocol message are compatible with the processing of signal degradation.
可选的,所述修改单元,设置为:在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD项用于在当前端节点处于local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。Optionally, the modifying unit is configured to: add local signal degradation local SD, local signal degradation clear local clear SD, and ring network automatic protection switching based on signal degradation in the ring protection request/state priority list. An APS-SD entry, wherein the R-APS-SD entry is used to notify the neighboring node of the ring network protection protocol packet by using the modified ring network protection protocol packet when the current end node is in the local SD state. The current link of the node is in a signal degradation state, and the corresponding request/status position in the ring protection protocol packet is a signal degradation state.
可选的,所述帧事件参数包括以下至少一种:错误符号事件参数、错误帧事件参数、错误帧周期事件参数、错误帧秒统计事件参数。Optionally, the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
可选的,所述确定模块,设置为在预设时间内帧事件的发生次数累计超过预设事件阈值的情况下,确定所述环网发生了信号劣化。Optionally, the determining module is configured to determine that the ring network has signal degradation when the number of occurrences of the frame event exceeds a preset event threshold in a preset time.
在一实例中,所述装置还包括:设置单元,设置为在接收link oam的环网链路状态监测消息之前,在所述环网上设置至少一个环网保护实例;注册单元,用于接收所述设置单元设置的各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。In an example, the apparatus further includes: a setting unit configured to set at least one ring protection instance on the ring network before receiving a ring link state monitoring message of the link oam; and a registration unit, configured to receive the The registration message of each ring network protection instance set by the setting unit, where the registration message carries the corresponding ring network protection instance identifier.
可选的,所述保护倒换单元设置为:在所述环网发生了信号劣化的情况下,向对应的环网保护实例发送信号劣化指示;根据不同的环网保护实例,执行对应的保护倒换操作。Optionally, the protection switching unit is configured to: when a signal degradation occurs in the ring network, send a signal degradation indication to the corresponding ring network protection instance; perform corresponding protection switching according to different ring network protection instances. operating.
可选的,所述装置还包括恢复单元;所述接收模块,还设置为在所述环网发生了信号劣化的情况下,使得对应环网节点执行相应的保护倒换操作之后,继续接收来自link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;所述确定模块,还设置为根据所述帧事件参数,确定环网信号质量指标;所述恢复单元,设置为在所述环网信号质量指标高于预设恢复阈值的情况下,将执行了保护倒换操作的环网恢复为原环网。Optionally, the device further includes a recovery unit, where the receiving module is further configured to: after the ring network performs signal degradation, the corresponding ring network node continues to receive the link after performing the corresponding protection switching operation. The ring network link state monitoring message of the oam, the ring network link state monitoring message carries a frame event parameter; the determining module is further configured to determine a ring network signal quality indicator according to the frame event parameter; the recovery unit And setting, in the case that the ring network signal quality indicator is higher than the preset recovery threshold, restoring the ring network that performs the protection switching operation to the original ring network.
本公开实施例提供的用于环网的保护倒换方法及装置,链路的端节点能够检测出链路是否发生了信号劣化;在所述环网发生了信号劣化的情况下,对应环网节点能够执行相应的保护倒换操作,以便使用信号良好的节点和链路进行通信和服务。这样,链路的端节点就能够确定链路上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作,从而有效提高了环网链路性能。The protection switching method and device for the ring network provided by the embodiment of the present disclosure, the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node A corresponding protection switching operation can be performed to communicate and service using well-behaved nodes and links. In this way, the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or error frame, and perform corresponding protection switching operation in the case of signal degradation, thereby effectively improving the ring. Network link performance.
附图说明DRAWINGS
图1是本公开实施例提供的用于环网的保护倒换方法的一种流程图;FIG. 1 is a flowchart of a protection switching method for a ring network according to an embodiment of the present disclosure;
图2是本公开实施例中环网的一种结构示意图;2 is a schematic structural view of a ring network in an embodiment of the present disclosure;
图3是本公开实施例中环网中节点的一种结构示意图;3 is a schematic structural diagram of nodes in a ring network in an embodiment of the present disclosure;
图4是本公开实施例中环网保护实例的另一种结构示意图;4 is another schematic structural diagram of an example of ring network protection in an embodiment of the present disclosure;
图5为本公开实施例中链路SD产生通知环网保护示意图;FIG. 5 is a schematic diagram of protection of a link SD generation notification ring network according to an embodiment of the present disclosure;
图6为本公开实施例中环网保护接收链路SD产生消息后执行保护倒换示意图;FIG. 6 is a schematic diagram of performing protection switching after a ring network protection receiving link SD generates a message according to an embodiment of the present disclosure;
图7为本公开实施例中链路SD消失通知环网保护恢复示意图;FIG. 7 is a schematic diagram of recovery of a link SD disappearing notification ring network protection according to an embodiment of the present disclosure;
图8是本公开实施例提供的用于环网的保护倒换装置的一种结构示意图。FIG. 8 is a schematic structural diagram of a protection switching device for a ring network according to an embodiment of the present disclosure.
具体实施方式detailed description
以下结合附图对本公开进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不限定本公开。The present disclosure will be described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the disclosure and are not intended to be limiting.
如图1所示,本公开实施例提供一种用于环网的保护倒换方法,包括:As shown in FIG. 1 , an embodiment of the present disclosure provides a protection switching method for a ring network, including:
S11,链路的端节点分别检测链路是否发生了信号劣化;S11. The end nodes of the link respectively detect whether a signal degradation occurs on the link.
S12,在所述链路发生了信号劣化的情况下,对应节点执行相应的保护倒换操作。S12. In a case where signal degradation occurs on the link, the corresponding node performs a corresponding protection switching operation.
本公开实施例提供的用于环网的保护倒换方法,链路的端节点能够检测出链路是否发生了信号劣化;在所述环网发生了信号劣化的情况下,对应环网节点能够执行相应的保护倒换操作,以便使用信号良好的节点和链路进行通信和服务。这样,链路的端节点就能够确定链路上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作,从而有效提高了环网链路性能。The protection switching method for the ring network provided by the embodiment of the present disclosure, the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node can perform Corresponding protection switching operations to communicate and service using well-behaved nodes and links. In this way, the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or error frame, and perform corresponding protection switching operation in the case of signal degradation, thereby effectively improving the ring. Network link performance.
可选的,在步骤S11中,可以通过多种方法检测链路是否发生了信号劣化,例如通过检测激光信号的衰减情况确定所述所述链路是否发生了信号劣化,或者通过link oam的环网链 路状态监测消息确定所述所述链路是否发生了信号劣化等。本公开的实施例对此不做限定。Optionally, in step S11, it may be detected by multiple methods whether the link has signal degradation, for example, by detecting the attenuation of the laser signal, determining whether the link has signal degradation, or by using a link oam ring. The network link state monitoring message determines whether signal degradation or the like has occurred on the link. The embodiments of the present disclosure do not limit this.
具体的,步骤S11中链路的端节点分别检测链路是否发生了信号劣化可包括:Specifically, in step S11, the end nodes of the link respectively detect whether the link has signal degradation may include:
链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;The end nodes of the link respectively receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter;
所述端节点根据所述帧事件参数,确定环网是否发生了信号劣化。The end node determines whether the ring network has signal degradation according to the frame event parameter.
这样,各链路的端节点能够分别接收link oam的环网链路状态监测消息,并根据环网链路状态监测消息携带的帧事件参数确定环网是否发生了信号劣化;在所述环网发生了信号劣化的情况下,对应节点能够执行相应的保护倒换操作,以便使用信号良好的节点和链路进行通信和服务。这样,由于Link oam能够在数据链路层中执行链路操作、监听与故障定位,各链路端节点就能够根据link oam提供的帧事件参数确定环网上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作。In this way, the end nodes of each link can respectively receive the ring network link state monitoring message of the link oam, and determine whether the ring network has signal degradation according to the frame event parameter carried in the ring link state monitoring message; In the event of signal degradation, the corresponding node is able to perform a corresponding protection switching operation to communicate and service using well-signaled nodes and links. In this way, since Link oam can perform link operation, monitoring and fault location in the data link layer, each link end node can determine the signal quality on the ring network according to the frame event parameters provided by link oam, and whether there is congestion, A signal degradation condition such as a wrong frame, and a corresponding protection switching operation in the case where signal degradation occurs.
在具体实施时,一个环网可以有多个节点,每个节点都可以通过link oam对节点本身以及与节点直接相连的链路进行状态监测。可选的,在步骤S11中,环网链路状态监测消息携带的帧事件参数可包括以下一种或多种:错误符号事件参数、错误帧事件参数、错误帧周期事件参数、错误帧秒统计事件参数等,链路端节点可以通过对这些帧事件参数的监测达到实时监测链路性能的目的。In a specific implementation, a ring network can have multiple nodes, and each node can monitor the status of the node itself and the link directly connected to the node through link oam. Optionally, in step S11, the frame event parameter carried in the ring network link state monitoring message may include one or more of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistic. Event parameters, etc., link end nodes can achieve real-time monitoring of link performance by monitoring these frame event parameters.
根据具体情况和需求的不同,用户既可以选择上述帧事件参数中的一种来反映链路性能,也可以利用多种帧事件组合来反应链路的性能。本公开的实施例对此不作限定。Depending on the specific situation and needs, the user can select one of the above frame event parameters to reflect the link performance, and can also use a combination of multiple frame events to reflect the performance of the link. The embodiments of the present disclosure do not limit this.
举例说明,在本公开的一个实施例中,链路的端节点以错误帧事件参数为依据确定环网链路性能如何、是否发生了信号劣化。具体而言,当link oam在Window监测周期内接收到错误帧(RxErroredFrame)次数超过规定的错误阈值(ErrThreshold)时,则确定链路出现错误帧事件(ErrFrameEvent),将该Window标记为事件窗口,标识发生一次错误帧事件。即:For example, in one embodiment of the present disclosure, the end node of the link determines how the ring link performance is and whether signal degradation has occurred based on the error frame event parameter. Specifically, when the link oam receives the error frame (RxErroredFrame) for more than the specified error threshold (ErrThreshold) during the Window monitoring period, it determines that an error frame event (ErrFrameEvent) occurs on the link, and marks the Window as an event window. Identifies that an error frame event has occurred. which is:
在Window监测时间内,若RxErroredFrame≧ErrThreshold,In the Window monitoring time, if RxErroredFrame≧ErrThreshold,
则ErrFrameEvent=RxErroredFrame/ErrThreshold。Then ErrFrameEvent=RxErroredFrame/ErrThreshold.
可选的,可以根据环网链路状态监测消息携带的帧事件参数,确定环网是否发生了信号劣化。信号是否劣化具体的确定方法和标准可以多种多样,本公开的实施例对此不做限定。例如,在本公开的一个实施例中,可以在预设时间内帧事件的发生次数累计超过预设事件阈值的情况下,确定所述环网发生了信号劣化。Optionally, the frame event parameter carried in the message may be monitored according to the status of the ring link state to determine whether the ring network has signal degradation. The specific determination method and standard of whether the signal is degraded or not can be various, and the embodiment of the present disclosure does not limit this. For example, in an embodiment of the present disclosure, if the number of occurrences of the frame event exceeds the preset event threshold in a preset time, it may be determined that the ring network has signal degradation.
在具体实施时,可以先配置帧事件参数的累计时间,即在多长的时间范围内统计帧事件的累计发生次数。可选的,由于link oam中是在不同的监测窗口(Window)内进行帧事件监测的,可以通过配置Window的个数(N)来配置相应的累计时间的。In a specific implementation, the cumulative time of the frame event parameter may be configured first, that is, the cumulative number of occurrences of the frame event in the long time range. Optionally, since the link oam performs frame event monitoring in different monitoring windows (Window), the corresponding accumulated time can be configured by configuring the number of windows (N).
可选的,还可以对预设事件阈值EvThresholdMax进行配置。当在t≦N*Window的时间内,帧事件的累计数目(即环网性能指标)ErrPef大于配置的预设事件阈值EvThresholdMax,则可以确定环网出现了信号劣化。仍以错误帧事件为例:Optionally, the preset event threshold EvThresholdMax can also be configured. When the cumulative number of frame events (ie, the ring network performance indicator) ErrPef is greater than the configured preset event threshold EvThresholdMax in the time period of t≦N*Window, it can be determined that the ring network has signal degradation. Still take the error frame event as an example:
在t≦N*Window的时间内,ErrPef+=ErrFrameEvent;ErrPef+=ErrFrameEvent during the time of t≦N*Window;
若ErrPef≧EvThresholdMax,则认为链路出现信号劣化。If ErrPef ≧ EvThresholdMax, the link is considered to have signal degradation.
需要说明的是,上述实施例以帧事件参数为错误帧事件参数为例对如何确定是否发生信号劣化进行说明。但本公开不限于此。对于错误符号事件参数、错误帧周期事件参数、错误帧秒统计事件参数等帧事件参数也可以根据类似的原理得出,只需替换相应的参数即可。例如,在本公开的另一个实施例中,将本实施例中的RxErroredFrame替换为RxErroredSymbol(表示一定周期内接收的错误符号数),将对应的帧事件替换为错误符号事件即可。不同帧事件对应的各种阈值可以根据需要进行调整,彼此既可以相同,也可以不同,本公开的实施例对此不做限定。It should be noted that the foregoing embodiment uses the frame event parameter as an error frame event parameter as an example to describe how to determine whether signal degradation occurs. However, the present disclosure is not limited thereto. Frame event parameters such as error symbol event parameters, error frame period event parameters, error frame seconds statistical event parameters, etc. can also be derived according to a similar principle, and only need to replace the corresponding parameters. For example, in another embodiment of the present disclosure, the RxErroredFrame in this embodiment is replaced with an RxErroredSymbol (representing the number of error symbols received in a certain period), and the corresponding frame event is replaced with an error symbol event. The various thresholds corresponding to different frame events may be adjusted as needed, and may be the same or different from each other. The embodiments of the present disclosure do not limit this.
相应的,对于帧事件发生次数与预设事件阈值之间的关系,既可以按照不同的事件种类进行分别统计,也可以按照一定规则,将不同种类的帧事件进行组合,例如将不同种类的帧事件写成一个逻辑关系式,按照该逻辑关系来统计。例如,在本公开的一个实施例中,环网对错误帧周期事件ErrFramePeriodEvent最敏感,对错误帧秒累积事件ErrFrameSecsSummaryEvent比较敏感,则可以构建逻辑关系式:Correspondingly, for the relationship between the number of occurrences of the frame event and the preset event threshold, the statistics may be separately performed according to different event types, or different types of frame events may be combined according to certain rules, for example, different types of frames are to be combined. The event is written as a logical relationship and is counted according to the logical relationship. For example, in one embodiment of the present disclosure, the ring network is most sensitive to the error frame period event ErrFramePeriodEvent, and sensitive to the error frame second accumulation event ErrFrameSecsSummaryEvent, then a logical relationship can be constructed:
ErrPef+=3ErrFramePeriodEvent+ErrFrameSecsSummaryEventErrPef+=3ErrFramePeriodEvent+ErrFrameSecsSummaryEvent
这样,当ErrFrameSecsSummaryEvent发生次数较多时,ErrPef增长就会比较快,一旦超过阈值即可使环路及时发生保护倒换。In this way, when the ErrFrameSecsSummaryEvent occurs more frequently, the ErrPef grows faster. Once the threshold is exceeded, the loop can be protected in time.
需要说明的是,由于环网保护还要根据链路SF的产生或消失执行倒换或恢复,所以,链路上产生SF(信号失效)或SD(信号劣化)环网都要执行倒换,SF与SD都消失时环网才能执行恢复。原有环网状态机中不存在SD处理机制,本公开实施例需要修改环网保护状态机对SD处理机制。It should be noted that, since the ring network protection also performs switching or recovery according to the generation or disappearance of the link SF, the SF (Signal Failure) or SD (Signal Degradation) ring network is required to perform switching, SF and The ring network can perform recovery when the SD disappears. The SD processing mechanism does not exist in the original ring state machine. The embodiment of the present disclosure needs to modify the ring network protection state machine to the SD processing mechanism.
具体的,在本公开的一个实施例中,在所述链路的端节点分别检测链路是否发生了信号劣化之前,所述方法还包括:在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。Specifically, in an embodiment of the present disclosure, before the end nodes of the link respectively detect whether the link has signal degradation, the method further includes: adding a pair in the ring network protection state machine based on the signal failure. The signal degradation processing mechanism and the request/status bit value of the ring network protection protocol message based on the signal failure are modified to make the ring network protection state machine and the ring network protection protocol message compatible with the signal degradation processing.
具体实施时,可以在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD项用于在当前端节点处于local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,其中,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。In a specific implementation, the local signal degradation local SD, the local signal degradation clear local clear SD, and the ring network automatic protection switching R-APS-SD item based on signal degradation may be added in the ring protection request/state priority list; The R-APS-SD entry is used to notify the neighboring node that the current link is in signal degradation by using the modified ring network protection protocol packet when the current end node is in the local SD state. a state, wherein a corresponding request/status location in the ring protection protocol packet is a signal degradation state.
可选的,修改后的环网保护请求/状态优先级可如表1所示。Optionally, the modified ring protection request/status priority may be as shown in Table 1.
表1Table 1
Figure PCTCN2018080311-appb-000001
Figure PCTCN2018080311-appb-000001
Figure PCTCN2018080311-appb-000002
Figure PCTCN2018080311-appb-000002
修改环网保护协议报文请求/状态位值如表2所示。在当前端节点处于local SD状态的情况下,当前端节点通过将表2中环网保护协议报文中对应的请求/状态位置为信号劣化状态(即1010),向相邻节点发送环网保护协议报文,通知相邻节点当前链路处于信号劣化状态。Modify the ring protection protocol packet request/status bit value as shown in Table 2. When the current end node is in the local SD state, the current end node sends the ring network protection protocol to the neighboring node by using the corresponding request/status position in the ring network protection protocol packet in Table 2 as the signal degradation state (ie, 1010). A message notifying the neighboring node that the current link is in a signal degradation state.
表2Table 2
Figure PCTCN2018080311-appb-000003
Figure PCTCN2018080311-appb-000003
具体的,当出现信号劣化后,相应节点可以执行具体的保护倒换操作,将出现信号劣化的链路两端block,并发R_SF消息,通知其他节点保护链路出现问题需要执行保护倒换。RPL主节点和RPL临节点可以将RPL链路的两端变成forward状态,改变链路信号的传输路径。Specifically, after the signal is degraded, the corresponding node may perform a specific protection switching operation, and the block at both ends of the link where the signal is degraded, and the R_SF message is concurrently sent to notify other nodes that the protection link has a problem and needs to perform protection switching. The RPL master node and the RPL pro node can change both ends of the RPL link into a forward state, changing the transmission path of the link signal.
以上实施例说明了环网出现信号劣化后进行保护倒换的总体情况。进一步的,在同一个环网的物理架构下,可以支持多个逻辑上不同的环网实例,并在相应的环网实例上实现相应的业务。如图2所示,在本公开的一个实施例中,在A、B、C、D四个节点组成的环网中, 建立了一个环网实例,其中,A为主节点,D为邻节点。AD之间的链路为RPL备用链路。在该环网实例中有两个业务traffic1和traffic2。在本公开的其他实施例中,在该环网中还可以建立其他环网实例,具有其他主节点和相应的备用链路,本公开的实施例对此不限。The above embodiment illustrates the overall situation in which the protection switching is performed after the signal degradation of the ring network occurs. Further, in the physical architecture of the same ring network, multiple logically different ring network instances can be supported, and corresponding services can be implemented on the corresponding ring network instance. As shown in FIG. 2, in an embodiment of the present disclosure, in a ring network composed of four nodes A, B, C, and D, a ring network instance is established, where A is a master node and D is a neighbor node. . The link between ADs is an RPL backup link. There are two services traffic1 and traffic2 in the ring network instance. In other embodiments of the present disclosure, other ring network instances may also be established in the ring network, with other master nodes and corresponding alternate links, and embodiments of the present disclosure are not limited thereto.
对于环网上建立环网保护实例的情况,在链路的端节点分别接收link oam的环网链路状态监测消息之前,本公开实施例提供的用于环网的保护倒换方法还可包括:For the case of establishing a ring network protection instance on the ring network, before the end node of the link receives the ring network link state monitoring message of the link oam, the protection switching method for the ring network provided by the embodiment of the disclosure may further include:
在所述环网上设置至少一个环网保护实例;Setting at least one ring network protection instance on the ring network;
接收各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。Receiving a registration message of each ring network protection instance, where the registration message carries a corresponding ring network protection instance identifier.
可选的,环网保护实例的注册消息包括的内容可如表3所示。Optionally, the registration message of the ring protection instance may include the content as shown in Table 3.
表3table 3
Msg-type(1byte)Msg-type(1byte) value(1byte)Value(1byte)
SD-process(module id=15)SD-process(module id=15) Erps-id(1~32)Erps-id (1~32)
如表3所示,第一行为项目名称,第二行为相应的取值。SD-process(module id=15)为信号劣化检测过程的模块号,Erps-id(1~32)为环网保护实例号,即将环网保护实例号1~32告知信号劣化检测过程模块号为15的信号检测模块。As shown in Table 3, the first behavior item name and the second behavior corresponding value. The SD-process (module id=15) is the module number of the signal degradation detection process. The Erps-id (1 to 32) is the ring network protection instance number. The ring network protection instance number 1 to 32 is notified to the signal degradation detection process module number. 15 signal detection module.
基于此,步骤S13中,在所述环网发生了信号劣化的情况下,对应节点执行相应的保护倒换操作具体可包括:Based on this, in step S13, in the case that the ring network has a signal degradation, the corresponding node performing the corresponding protection switching operation may specifically include:
在所述环网发生了信号劣化的情况下,向对应的环网保护实例发送信号劣化指示;Transmitting a signal degradation indication to the corresponding ring network protection instance if the ring network has signal degradation;
根据不同的环网保护实例,执行对应的保护倒换操作。Perform corresponding protection switching operations based on different ring protection instances.
可选的,向对应的环网保护实例发送的信号劣化指示包括的内容可如表4所示,用于指示具体哪个环网实例发生了信号劣化。例如,如果一个物理环网上,设置了3个不同的环网保护实例A1、A2、A3,而A1和A3对应的环网保护实例发生了信号劣化,则可以分别向环网保护实例A1、A3发送信号劣化指示,指示中携带环网保护实例号以及信号劣化指示字符(SD-state)。相应的,环网保护实例A1、A3接收到信号劣化指示后,可以分别将出现信号劣化的链路两端block,RPL主节点和RPL临节点可以将RPL链路的两端变成forward状态,改变链路信号的传输路径。Optionally, the signal degradation indication sent to the corresponding ring protection instance may include content as shown in Table 4, which is used to indicate which ring instance has signal degradation. For example, if three different ring protection instances A1, A2, and A3 are set on a physical ring network, and the ring protection instances corresponding to A1 and A3 are degraded, they can be protected to the ring network instances A1 and A3 respectively. The signal degradation indication is sent, and the indication carries the ring protection instance number and the signal degradation indicator character (SD-state). Correspondingly, after receiving the signal degradation indications, the ring protection instances A1 and A3 can respectively block the two ends of the link where the signal is degraded, and the RPL primary node and the RPL pro node can change the two ends of the RPL link into a forward state. Change the transmission path of the link signal.
表4Table 4
Msg-type(1byte)Msg-type(1byte) Erps-id(1byte)Erps-id(1byte) SD-state(1byte)SD-state (1byte)
erps(module id=12)Erps(module id=12) 1~321 to 32 1(SD)/0(SD clear)1(SD)/0(SD clear)
如表4所示,第一行为项目名称,第二行为相应的取值。erps(module id=12)为环网保护模块号,1~32为环网保护实例号,1(SD)/0(SD clear)表示是否发生了信号劣化。As shown in Table 4, the first behavior item name and the second behavior corresponding value. Erps (module id=12) is the ring protection module number, 1 to 32 is the ring protection instance number, and 1 (SD)/0 (SD clear) indicates whether signal degradation has occurred.
进一步的,在所述环网发生了信号劣化的情况下,对应节点执行相应的保护倒换操作之后,本公开实施例提供的用于环网的保护倒换方法还包括:Further, in the case that the ring network has a signal degradation, the protection switching method for the ring network provided by the embodiment of the present disclosure further includes:
继续接收来自link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;And continuing to receive a ring link status monitoring message from the link oam, where the ring link status monitoring message carries a frame event parameter;
所述各链路端节点根据所述帧事件参数,确定环网信号质量指标;The link end nodes determine a ring network signal quality indicator according to the frame event parameter;
在所述环网信号质量指标高于预设恢复阈值的情况下,将执行了保护倒换操作的环网恢复为原环网。When the signal quality indicator of the ring network is higher than the preset recovery threshold, the ring network that performs the protection switching operation is restored to the original ring network.
也就是说,对于已经发生过保护倒换的环网,其信任的链路可以是备用链路,也可以是原链路。当其信任的链路为原链路时,可以继续监测原链路上的信号质量,当原链路上的信号质量恢复后,可以将执行了保护倒换操作的环网恢复为原环网,继续使用原环网。That is to say, for a ring network that has undergone protection switching, the trusted link may be a standby link or an original link. When the link that the trusted link is the original link, the signal quality on the original link can be continuously monitored. After the signal quality on the original link is restored, the ring network that performs the protection switching operation can be restored to the original ring network. Continue to use the original ring network.
进一步的,在上述实施例中,在环网执行保护倒换或倒换恢复后,还可以上报网管出现SD产生或消失的链路,以便对链路节点和链路的整体情况进行综合分析和改进。Further, in the foregoing embodiment, after the protection switching or the switching recovery is performed on the ring network, the link that the SD generates or disappears may also be reported in the foregoing network, so as to comprehensively analyze and improve the overall situation of the link node and the link.
下面通过具体实施例来对本公开提供的用于环网的保护倒换方法进行详细说明。The protection switching method for the ring network provided by the present disclosure will be described in detail below through specific embodiments.
为了便于说明,首先对本实施例提供的用于环网的保护倒换方法所基于的节点进行简要说明。本实施例中电信级以太网业务的节点可包括:For the convenience of description, the nodes on which the protection switching method for the ring network provided by the present embodiment is based are briefly described. The node of the carrier-grade Ethernet service in this embodiment may include:
A.linkoam链路监测单元A.linkoam link monitoring unit
B.环网保护倒换单元B. Ring network protection switching unit
C.链路性能计算及告警处理单元C. Link performance calculation and alarm processing unit
其中,链路性能计算及告警处理单元可以从linkoam链路监测单元获取链路状态信息数据,经计算后判断是否将SD产生或消失的消息通知环网保护倒换单元,再由环网保护倒换单元进行保护倒换。The link performance calculation and alarm processing unit may obtain the link state information data from the linkoam link monitoring unit, and determine whether to notify the ring network protection switching unit of the message that the SD is generated or disappeared after the calculation, and then the ring network protection switching unit Perform protection switching.
三个单元的关联关系:链路性能计算及告警处理单元与linkoam链路监测单元是1对1的关系。由于单个环网节点上可以配置一个或多个环网保护实例,而链路性能计算及告警处理单元需求通知环网实例当前链路SD状态,所以,创建环网实例时需要通告链路性能计算及告警处理单元“环网实例号”。对应一个或多个环网实例三个单元的关联关系如图3(a)与3(b)所示。The relationship between the three units: the link performance calculation and alarm processing unit and the linkoam link monitoring unit are in a one-to-one relationship. Since one or more ring protection instances can be configured on a single ring network node, and the link performance calculation and alarm processing unit requirements notify the current link SD status of the ring network instance, the link performance calculation needs to be advertised when creating the ring network instance. And the alarm processing unit "ring network instance number". The relationship between the three units corresponding to one or more ring network instances is shown in Figures 3(a) and 3(b).
实施例1:SD产生触发环网保护倒换Embodiment 1: SD generation trigger ring network protection switching
本实施例中以配置一个环网保护实例为例,且只关注链路SD的产生和消失。因为SF的产生和消失不是本公开关注的重点,所以,默认保护组所有链路均不产生SF。In this embodiment, an example of configuring a ring network protection is taken as an example, and only the generation and disappearance of the link SD are concerned. Since the generation and disappearance of SF is not the focus of this disclosure, no link is generated for all links of the default protection group.
步骤S21:创建以太网环网保护组,并将需要保护业务加入保护组中。Step S21: Create an Ethernet ring network protection group, and add the protection service to the protection group.
在具体实施时,处于环形拓扑中的4个节点创建以太网环网保护组。配置RPL(ring protection link)链路和RPL主节点A和RPL邻节点D,RPL两端处于block状态防止网络成环。将需要保护的两条业务加入到环网保护组中。环网启动后,主节点A通过发送R_NR_RB报文通知其他节点RPL被阻断,所有节点进入空闲状态。业务按照图2所示传送。例如:traffic 2的传送路径为A-B-C-D。In the specific implementation, the four nodes in the ring topology create an Ethernet ring protection group. Configure the RPL (ring protection link) link and the RPL master node A and the RPL neighbor node D. The RPL is in the block state to prevent the network from being looped. Add the two services to be protected to the ring protection group. After the ring network is started, the master node A notifies other nodes that the RPL is blocked by sending an R_NR_RB message, and all nodes enter an idle state. The service is transmitted as shown in Figure 2. For example, the transmission path of traffic 2 is A-B-C-D.
步骤S22:创建环网保护组之后,在4个保护组节点的东西两个端口上自动运行linkoam协议,监测该工作链路的性能,如图4所示。Step S22: After the ring network protection group is created, the linkoam protocol is automatically run on the two ports of the four protection group nodes to monitor the performance of the working link, as shown in FIG. 4 .
在具体实施时,链路事件包括错误符号事件、错误帧事件、错误帧周期事件和错误帧秒累积事件,能够达到实时监测链路性能的目的。客户可以选择其中之一或根据实际情况利用多种事件组合来反应链路的性能参数指标。In a specific implementation, the link event includes an error symbol event, an error frame event, an error frame period event, and an error frame second accumulation event, which can achieve the purpose of monitoring link performance in real time. Customers can choose one of them or use a variety of event combinations to reflect the performance parameters of the link based on actual conditions.
以错误帧事件为例:Take the error frame event as an example:
当Window监测周期内,若接收到错误帧(RxErroredFrame)次数超过规定的性能阈值(Threshold),则认为链路出现错误帧事件(ErrFrameEvent)。即:If the number of received error frames (RxErroredFrame) exceeds the specified performance threshold (Threshold) during the Window monitoring period, the link is considered to have an error frame event (ErrFrameEvent). which is:
在Window监测时间内,RxErroredFrame≧Threshold,During Window monitoring time, RxErroredFrame≧Threshold,
则ErrFrameEvent=RxErroredFrame/Threshold。Then ErrFrameEvent=RxErroredFrame/Threshold.
步骤S23:启动链路性能计算及告警处理单元,记录链路出现错误帧事件次数,如果监测到链路A-B的性能低于设定的性能标准,则认为链路A-B出现SD,通知环网保护组。如图5所示。Step S23: The link performance calculation and the alarm processing unit are started, and the number of error frame events in the link is recorded. If the performance of the link AB is detected to be lower than the set performance standard, the link AB is considered to have an SD, and the ring network protection is notified. group. As shown in Figure 5.
在具体实施时,启动链路性能计算及告警处理单元需配置Window监测周期的个数(N)以及事件出现次数性能阈值PefThresholdMax。In a specific implementation, the startup link performance calculation and alarm processing unit needs to configure the number of window monitoring periods (N) and the event occurrence performance threshold PefThresholdMax.
以错误帧事件为例:Take the error frame event as an example:
当t≦N*Window时间内,When t≦N*Window time,
ErrPef+=ErrFrameEvent;ErrPef+=ErrFrameEvent;
若ErrPef≧PefThresholdMax,则认为链路出现SD。If ErrPef≧PefThresholdMax, the link is considered to have SD.
步骤S24:环网保护组节点A和B收到SD消息后,执行相应的保护倒换。将出现SD的链路两端block,并发R_SF消息,通知其他节点,保护链路出现问题需要执行保护倒换。RPL主节点A和RPL临节点D会将RPL链路的两端变成forward状态。执行保护倒换后,业务按照图6所示传送。例如:traffic 2的传送路径为A-D。Step S24: After receiving the SD message, the ring network protection group nodes A and B perform corresponding protection switching. The block at both ends of the link of the SD will be sent, and the R_SF message will be sent to notify other nodes. If there is a problem with the protection link, protection switching needs to be performed. The RPL master node A and the RPL pro node D will change both ends of the RPL link into a forward state. After the protection switching is performed, the service is transmitted as shown in Figure 6. For example, the transmission path of traffic 2 is A-D.
实施例2:SD消失触发环网保护倒换恢复Embodiment 2: SD disappears trigger ring network protection switching recovery
本实施例中以配置一个环网保护实例,且只关注链路SD的产生和消失。因为SF的产生和消失不是本文关注的重点,所以,默认保护组所有链路均不产生SF。In this embodiment, a ring network protection instance is configured, and only the generation and disappearance of the link SD are concerned. Because the generation and disappearance of SF is not the focus of this article, no link is generated for all links in the default protection group.
步骤S31:创建以太网环网保护组,由于链路A-B产生SD,处于保护倒换状态。Step S31: Create an Ethernet ring network protection group. Because the link A-B generates SD, it is in the protection switching state.
在具体实施时,将出现SD的链路两端block,并发R_SF消息,通知其他节点,保护链路出现问题需要执行保护倒换。RPL主节点和RPL临节点会将RPL链路的两端变成forward状态。执行保护倒换后,业务按照图6(5)所示传送。例如:traffic 2的传送路径为A-D。In the specific implementation, the block at both ends of the link of the SD will be sent, and the R_SF message will be sent to notify other nodes. If there is a problem with the protection link, protection switching needs to be performed. The RPL master node and the RPL pro node will change both ends of the RPL link into a forward state. After the protection switching is performed, the service is transmitted as shown in Figure 6 (5). For example, the transmission path of traffic 2 is A-D.
步骤S32:创建环网保护组之后,在4个保护组节点的东西两个端口上自动运行linkoam协议,监测该工作链路的性能。Step S32: After the ring network protection group is created, the linkoam protocol is automatically run on the east and west ports of the four protection group nodes to monitor the performance of the working link.
在具体实施时,链路事件包括错误符号事件、错误帧事件、错误帧周期事件和错误帧秒累积事件,能够达到实时监测链路性能的目的。客户可以选择其中之一或根据实际情况利用多种事件组合来反应链路的性能参数指标。In a specific implementation, the link event includes an error symbol event, an error frame event, an error frame period event, and an error frame second accumulation event, which can achieve the purpose of monitoring link performance in real time. Customers can choose one of them or use a variety of event combinations to reflect the performance parameters of the link based on actual conditions.
以错误帧事件为例:Take the error frame event as an example:
当Window监测周期内,若接收到错误帧(RxErroredFrame)次数超过规定的性能阈值(Threshold),则认为链路出现错误帧事件(ErrFrameEvent)。即:If the number of received error frames (RxErroredFrame) exceeds the specified performance threshold (Threshold) during the Window monitoring period, the link is considered to have an error frame event (ErrFrameEvent). which is:
在Window监测时间内,RxErroredFrame≧Threshold,During Window monitoring time, RxErroredFrame≧Threshold,
则ErrFrameEvent=RxErroredFrame/Threshold。Then ErrFrameEvent=RxErroredFrame/Threshold.
步骤S33:启动链路性能计算及告警处理单元,记录链路出现错误帧事件次数,如果监 测到该链路的性能低于设定的性能标准,则认为链路SD消失,通知环网保护组。如图7所示。In step S33, the link performance calculation and the alarm processing unit are started, and the number of error frame events on the link is recorded. If the performance of the link is detected to be lower than the set performance standard, the link SD is considered to be lost, and the ring network protection group is notified. . As shown in Figure 7.
在具体实施时,启动链路性能计算及告警处理单元需配置Window监测周期的个数(N)以及事件出现次数性能阈值ThresholdMin。In a specific implementation, the startup link performance calculation and alarm processing unit needs to configure the number of window monitoring periods (N) and the event occurrence performance threshold ThresholdMin.
当t≧N*Window时间时,When t≧N*Window time,
ErrPef+=ErrFrameEvent;ErrPef+=ErrFrameEvent;
若ErrPefPef≦ThresholdMin,则认为链路SD消失。If ErrPefPef≦ThresholdMin, the link SD is considered to have disappeared.
步骤S34:环网保护组节点A和B收到SD消失的消息后,执行相应的倒换恢复。RPL主节点A,启动WTR(wait to restore)计时器,WTR超时后,将RPL端口block,发送R_NR_RB消息,再将SD消失端口forward。RPL临节点D接收到R_NR_RB消息后,将RPL端口block。B节点接收到R_NR_RB消息后,将SD消失端口forward。执行倒换恢复后,业务按照图7所示传送。Step S34: After receiving the message that the SD disappears, the ring network protection group nodes A and B perform corresponding switching recovery. The RPL master node A starts the WTR (wait to restore) timer. After the WTR times out, the RPL port block is sent, the R_NR_RB message is sent, and the SD disappears port forward. After the RPL Pro Node D receives the R_NR_RB message, it will block the RPL port. After the Node B receives the R_NR_RB message, the SD disappears the port forward. After the switchover recovery is performed, the service is transmitted as shown in Figure 7.
其中,linkoam链路性能监测单元包括数据采集模块、数据计算模块和判断模块,其中:数据采集模块用于获取保护链路中的某一链路的性能数据;数据计算模块用于根据链路的性能数据来计算工作链路的性能;判断模块用于判断链路的性能是否SD产生或消失。The linkoam link performance monitoring unit includes a data acquisition module, a data calculation module, and a judgment module, wherein: the data acquisition module is configured to obtain performance data of a link in the protection link; and the data calculation module is configured to be based on the link. The performance data is used to calculate the performance of the working link; the judging module is used to judge whether the performance of the link is generated or disappeared.
下面以错误符号事件衡量链路的性能为例,对保护倒换及其恢复进行详细说明。The performance of the link is measured by the error symbol event as an example, and the protection switching and its recovery are described in detail.
设定:ErrSymbolWindow=60(s),Setting: ErrSymbolWindow=60(s),
ErrSymbolThreshold=1000,PefThresholdMax=8,PefThresholdMin=2,N=10;ErrSymbolThreshold=1000, PefThresholdMax=8, PefThresholdMin=2, N=10;
性能数据采集:RxErroredSymbol;Performance data collection: RxErroredSymbol;
性能数据计算:若RxErroredSymbol≧ErrSymbolThreshold;Performance data calculation: if RxErroredSymbol≧ErrSymbolThreshold;
ErrSymbolEvent=RxErroredSymbol/ErrSymbolThreshold;ErrSymbolEvent=RxErroredSymbol/ErrSymbolThreshold;
ErrPef+=ErrSymbolEvent;ErrPef+=ErrSymbolEvent;
Window=N*ErrSymbolWindow。Window=N*ErrSymbolWindow.
判断性能指标:在Window内,若ErrPef≧PefThresholdMax,则表明SD产生,通知环网保护节点,执行保护倒换。超出Window时,若ErrPeft≦PefThresholdMin,则认为链路SD消失,通知环网保护节点,执行倒换恢复。Judging performance indicators: In the Window, if ErrPef≧PefThresholdMax, it indicates that the SD is generated, notifies the ring network protection node, and performs protection switching. When the window is exceeded, if ErrPeft≦PefThresholdMin, the link SD disappears, and the ring network protection node is notified to perform the switchover recovery.
上述实施例以帧事件参数为错误帧事件参数和错误符号事件参数为例对如何确定是否发生信号劣化、信号劣化是否消失进行说明。但本公开不限于此。对于错误帧周期事件参数、错误帧秒统计事件参数等帧事件参数也可以根据类似的原理得出,只需替换相应的参数即可。不同帧事件对应的各种阈值可以根据需要进行调整,彼此既可以相同,也可以不同,本公开的实施例对此不做限定。The above embodiment uses the frame event parameter as an error frame event parameter and an error symbol event parameter as an example to describe how to determine whether signal degradation occurs or whether signal degradation disappears. However, the present disclosure is not limited thereto. Frame event parameters such as error frame period event parameters and error frame seconds statistical event parameters can also be obtained according to a similar principle, and only need to replace the corresponding parameters. The various thresholds corresponding to different frame events may be adjusted as needed, and may be the same or different from each other. The embodiments of the present disclosure do not limit this.
相应的,如图8所示,本公开的实施例还提供一种用于环网的保护倒换装置,包括:Correspondingly, as shown in FIG. 8 , an embodiment of the present disclosure further provides a protection switching apparatus for a ring network, including:
检测单元81,用于链路的端节点分别检测链路是否发生了信号劣化;The detecting unit 81 detects, by the end node of the link, whether the link has signal degradation, respectively;
保护倒换单元82,用于在所述链路发生了信号劣化的情况下,对应节点执行相应的保护倒换操作。The protection switching unit 82 is configured to perform a corresponding protection switching operation in the case that signal degradation occurs on the link.
本公开实施例提供的用于环网的保护倒换装置,链路的端节点能够检测链路是否发生了 信号劣化;在所述环网发生了信号劣化的情况下,对应环网节点能够执行相应的保护倒换操作,以便使用信号良好的节点和链路进行通信和服务。这样,由于链路的端节点就能够确定链路上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作,从而有效提高了环网链路性能。The protection switching device for the ring network provided by the embodiment of the present disclosure, the end node of the link can detect whether the link has signal degradation; in the case that the ring network has signal degradation, the corresponding ring network node can perform corresponding Protection switching operations to communicate and service using well-behaved nodes and links. In this way, because the end node of the link can determine the signal quality on the link, whether there is signal degradation such as congestion or frame error, and corresponding protection switching operation occurs in the case of signal degradation, thereby effectively improving the signal. Ring link performance.
可选的,所述检测单元包括:Optionally, the detecting unit includes:
接收模块,用于链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;The receiving module, the end node for the link respectively receives the ring network link state monitoring message of the link oam, where the ring network link state monitoring message carries the frame event parameter;
确定模块,用于所述端节点根据所述帧事件参数,确定所述链路是否发生了信号劣化。And a determining module, configured to determine, by the end node, whether the link has signal degradation according to the frame event parameter.
这样,由于Link oam能够在数据链路层中执行链路操作、监听与故障定位,各环网节点就能够根据link oam提供的帧事件参数确定环网上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作。In this way, because Link oam can perform link operation, monitoring and fault location in the data link layer, each ring network node can determine the signal quality on the ring network according to the frame event parameters provided by link oam, and whether there is congestion or error. A signal such as a frame is degraded, and a corresponding protection switching operation is performed in the case where signal degradation occurs.
可选的,所述装置还包括修改单元,用于在所述链路的端节点分别检测链路是否发生了信号劣化之前,在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。Optionally, the device further includes a modifying unit, configured to increase processing of signal degradation in a ring network protection state machine based on signal failure before the end nodes of the link respectively detect whether the link has signal degradation The mechanism further modifies the request/status bit value of the ring network protection protocol message based on the signal failure, so that the ring network protection state machine and the ring network protection protocol message are compatible with the signal degradation processing.
可选的,所述修改单元,可用于在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD-项用于在当前端节点处于所述local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,其中,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。Optionally, the modifying unit may be configured to add a local signal degradation local SD, a local signal degradation clear local clear SD, and a signal degradation based loop automatic protection switching R- in the ring protection request/state priority list. An APS-SD entry, wherein the R-APS-SD-term is used to notify the current end node of the ring network protection protocol packet after the current end node is in the local SD state. The current link of the neighboring node is in a signal degradation state, and the corresponding request/status position in the ring protection protocol packet is a signal degradation state.
可选的,所述帧事件参数包括以下至少一种:错误符号事件参数、错误帧事件参数、错误帧周期事件参数、错误帧秒统计事件参数。Optionally, the frame event parameter includes at least one of the following: an error symbol event parameter, an error frame event parameter, an error frame period event parameter, and an error frame second statistical event parameter.
可选的,确定模块,用于在所述错误帧事件的发生次数累计超过预设事件阈值的情况下,确定所述环网发生了信号劣化。Optionally, the determining module is configured to determine that the ring network has signal degradation when the number of occurrences of the error frame event exceeds a preset event threshold.
进一步的,本公开实施例提供的用于环网的保护倒换装置还可包括:Further, the protection switching apparatus for the ring network provided by the embodiment of the present disclosure may further include:
设置单元,用于在接收link oam的环网链路状态监测消息之前,在所述环网上设置至少一个环网保护实例;a setting unit, configured to set at least one ring protection instance on the ring network before receiving a ring link state monitoring message of the link oam;
注册单元,用于接收所述设置单元设置的各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。And a registration unit, configured to receive a registration message of each ring network protection instance set by the setting unit, where the registration message carries a corresponding ring network protection instance identifier.
可选的,保护倒换单元82可用于:在所述环网发生了信号劣化的情况下,向对应的环网保护实例发送信号劣化指示;根据不同的环网保护实例,执行对应的保护倒换操作。Optionally, the protection switching unit 82 is configured to: send a signal degradation indication to the corresponding ring network protection instance if the ring network has signal degradation; perform a corresponding protection switching operation according to different ring network protection instances. .
进一步的,本公开实施例提供的用于环网的保护倒换装置还可包括恢复单元;接收模块,还可用于在所述环网发生了信号劣化的情况下,对应环网节点执行相应的保护倒换操作之后,继续接收来自link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;Further, the protection switching apparatus for the ring network provided by the embodiment of the present disclosure may further include a recovery unit, and the receiving module may be further configured to perform corresponding protection on the ring network node if the ring network has signal degradation. After the switching operation, continuing to receive the ring network link state monitoring message from the link oam, where the ring link state monitoring message carries the frame event parameter;
确定模块,还可用于根据所述帧事件参数,确定环网信号质量指标;The determining module is further configured to determine a ring network signal quality indicator according to the frame event parameter;
恢复单元,可用于在所述环网信号质量指标高于预设恢复阈值的情况下,将执行了保护倒换操作的环网恢复为原环网。The recovery unit may be configured to restore the ring network that performs the protection switching operation to the original ring network if the ring network signal quality indicator is higher than the preset recovery threshold.
可选的,检测单元81,用于通过检测激光信号的衰减情况确定所述链路是否发生了信号劣化。Optionally, the detecting unit 81 is configured to determine whether signal degradation occurs in the link by detecting an attenuation condition of the laser signal.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solutions of the present disclosure that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
以上仅为本公开的优选实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。The above is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the patents of the present disclosure, and the equivalent structure or equivalent process transformations made by the present disclosure and the contents of the drawings may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present disclosure.
工业实用性Industrial applicability
本公开适用于通信技术领域,用以实现链路的端节点确定链路上的信号质量如何,有没有出现拥塞、错帧等信号劣化情况,并在出现信号劣化的情况下进行相应的保护倒换操作,从而有效提高了环网链路性能。The present disclosure is applicable to the field of communication technologies, and the end node of the link is used to determine the signal quality on the link, whether there is signal degradation such as congestion or frame error, and the corresponding protection switching occurs in the case of signal degradation. Operation, which effectively improves the performance of the ring link.

Claims (16)

  1. 一种用于环网的保护倒换方法,包括:A protection switching method for a ring network, comprising:
    链路的端节点分别检测链路是否发生了信号劣化;The end nodes of the link respectively detect whether the link has signal degradation;
    在所述链路发生了信号劣化的情况下,对应节点执行相应的保护倒换操作。In the case where signal degradation occurs on the link, the corresponding node performs a corresponding protection switching operation.
  2. 根据权利要求1所述的方法,其中,所述链路的端节点分别检测链路是否发生了信号劣化包括:The method according to claim 1, wherein the end nodes of the link respectively detect whether the link has signal degradation includes:
    链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;The end nodes of the link respectively receive a ring link state monitoring message of the link oam, where the ring link state monitoring message carries a frame event parameter;
    所述端节点根据所述帧事件参数,确定所述链路是否发生了信号劣化。The end node determines, according to the frame event parameter, whether signal degradation occurs on the link.
  3. 根据权利要求2所述的方法,其中,在所述链路的端节点分别检测链路是否发生了信号劣化之前,所述方法还包括:The method of claim 2, wherein before the end nodes of the link respectively detect whether a link has undergone signal degradation, the method further comprises:
    在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。Adding a processing mechanism for signal degradation and modifying a request/status bit value of the ring network protection protocol message based on the signal failure in the ring network protection state machine based on the signal failure, so that the ring network protection state machine and the ring The network protection protocol message is compatible with the processing of signal degradation.
  4. 根据权利要求3所述的方法,其中,在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值包括:The method according to claim 3, wherein the processing mechanism for adding signal degradation and modifying the request/status bit value of the ring failure protection protocol message based on the signal failure in the ring failure protection state machine based on the signal failure comprises:
    在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD项用于在当前端节点处于local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,其中,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。Adding a local signal degradation local SD, a local signal degradation clearing local clear SD, and a signal degradation based loop automatic protection switching R-APS-SD entry in the ring protection request/state priority list; wherein the R- The APS-SD entry is used to notify the neighboring node that the current link is in a signal degradation state by using the modified ring network protection protocol packet when the current end node is in the local SD state. The corresponding request/status position in the ring network protection protocol packet is a signal degradation state.
  5. 根据权利要求2所述的方法,其中,所述帧事件参数包括以下至少一种:The method of claim 2, wherein the frame event parameter comprises at least one of the following:
    错误符号事件参数、错误帧事件参数、错误帧周期事件参数、错误帧秒统计事件参数。Error symbol event parameter, error frame event parameter, error frame period event parameter, error frame second statistical event parameter.
  6. 根据权利要求2所述的方法,其中,所述根据所述帧事件参数,确定环网是否发生了信号劣化包括:The method according to claim 2, wherein the determining, according to the frame event parameter, whether the ring network has undergone signal degradation comprises:
    在预设时间内帧事件的发生次数累计超过预设事件阈值的情况下,确定所述环网发生了信号劣化。If the number of occurrences of the frame event exceeds the preset event threshold in the preset time, it is determined that the ring network has signal degradation.
  7. 根据权利要求2所述的方法,其中,所述接收link oam的环网链路状态监测消息之前,所述方法还包括:The method of claim 2, wherein before the receiving the ring link state monitoring message of the link oam, the method further comprises:
    在所述环网上设置至少一个环网保护实例;Setting at least one ring network protection instance on the ring network;
    接收各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。Receiving a registration message of each ring network protection instance, where the registration message carries a corresponding ring network protection instance identifier.
  8. 根据权利要求7所述的方法,其中,所述在所述环网发生了信号劣化的情况下,对应节点执行相应的保护倒换操作包括:The method according to claim 7, wherein in the case that the ring network has signal degradation, the corresponding node performs a corresponding protection switching operation including:
    在所述环网发生了信号劣化的情况下,向对应的环网保护实例发送信号劣化指示;Transmitting a signal degradation indication to the corresponding ring network protection instance if the ring network has signal degradation;
    根据不同的环网保护实例,执行对应的保护倒换操作。Perform corresponding protection switching operations based on different ring protection instances.
  9. 根据权利要求2至8中任一项所述的方法,其中,在所述环网发生了信号劣化的情况下,对应节点执行相应的保护倒换操作之后,所述方法还包括:The method according to any one of claims 2 to 8, wherein, in the case that a signal degradation occurs in the ring network, after the corresponding node performs a corresponding protection switching operation, the method further includes:
    继续接收来自link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;And continuing to receive a ring link status monitoring message from the link oam, where the ring link status monitoring message carries a frame event parameter;
    所述链路端节点根据所述帧事件参数,确定环网信号质量指标;The link end node determines a ring network signal quality indicator according to the frame event parameter;
    在所述环网信号质量指标高于预设恢复阈值的情况下,将执行了保护倒换操作的环网恢复为原环网。When the signal quality indicator of the ring network is higher than the preset recovery threshold, the ring network that performs the protection switching operation is restored to the original ring network.
  10. 根据权利要求1所述的方法,其中,所述链路的端节点分别检测链路是否发生了信号劣化包括:通过检测激光信号的衰减情况确定所述链路是否发生了信号劣化。The method of claim 1, wherein detecting, by the end node of the link, whether the link has signal degradation, respectively comprises determining whether signal degradation occurs in the link by detecting a decay condition of the laser signal.
  11. 一种用于环网的保护倒换装置,包括:A protection switching device for a ring network, comprising:
    检测单元,设置为使得链路的端节点分别检测链路是否发生了信号劣化;a detecting unit, configured to enable an end node of the link to detect whether a signal degradation occurs on the link, respectively;
    保护倒换单元,设置为在所述链路发生了信号劣化的情况下,使得对应节点执行相应的保护倒换操作。The protection switching unit is configured to cause the corresponding node to perform a corresponding protection switching operation in the event that signal degradation occurs on the link.
  12. 根据权利要求11所述的装置,其中,所述检测单元包括:The apparatus according to claim 11, wherein said detecting unit comprises:
    接收模块,设置为使得链路的端节点分别接收link oam的环网链路状态监测消息,所述环网链路状态监测消息携带帧事件参数;The receiving module is configured to enable the end nodes of the link to receive the ring link state monitoring message of the link oam, where the ring link state monitoring message carries the frame event parameter;
    确定模块,设置为使得所述端节点根据所述帧事件参数,确定所述链路是否发生了信号劣化。And a determining module, configured to enable the end node to determine whether signal degradation occurs on the link according to the frame event parameter.
  13. 根据权利要求12所述的装置,其中,还包括修改单元,设置为在所述链路的端节点分别检测链路是否发生了信号劣化之前,在基于信号失效的环网保护状态机中增加对信号劣化的处理机制并修改基于信号失效的环网保护协议报文的请求/状态位值,以使所述环网保护状态机和所述环网保护协议报文兼容对信号劣化的处理。The apparatus according to claim 12, further comprising a modifying unit configured to add a pair in the ring-based protection state machine based on the signal failure before the end nodes of the link respectively detect whether the link has signal degradation The signal degradation processing mechanism and the request/status bit value of the ring network protection protocol message based on the signal failure are modified to make the ring network protection state machine and the ring network protection protocol message compatible with the signal degradation processing.
  14. 根据权利要求13所述的装置,其中,所述修改单元,设置为在所述环网保护请求/状态优先级列表中增加本地信号劣化local SD、本地信号劣化清除local clear SD、基于信号劣化的环网自动保护倒换R-APS-SD项;其中,所述R-APS-SD项用于在当前端节点处于所述local SD状态的情况下,所述当前端节点通过修改后的所述环网保护协议报文通知相邻节点当前链路处于信号劣化状态,其中,所述环网保护协议报文中对应的请求/状态位置为信号劣化状态。The apparatus according to claim 13, wherein said modifying unit is arranged to add local signal degradation local SD, local signal degradation clear local clear SD, signal degradation based in said ring protection request/state priority list The ring network automatically protects the R-APS-SD entry; wherein the R-APS-SD entry is used to: when the current end node is in the local SD state, the current end node passes the modified ring The network protection protocol message notifies the neighboring node that the current link is in a signal degradation state, and the corresponding request/status position in the ring protection protocol packet is a signal degradation state.
  15. 根据权利要求12所述的装置,还包括:The apparatus of claim 12, further comprising:
    设置单元,设置为在接收link oam的环网链路状态监测消息之前,在所述环网上设置至少一个环网保护实例;a setting unit, configured to set at least one ring protection instance on the ring network before receiving a ring link state monitoring message of the link oam;
    注册单元,设置为接收所述设置单元设置的各个环网保护实例的注册消息,所述注册消息携带对应的环网保护实例标识。The registration unit is configured to receive a registration message of each ring network protection instance set by the setting unit, where the registration message carries a corresponding ring protection instance identifier.
  16. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现根据权利要求1-10中任一项所述的用于环网的保护倒换方法。A computer readable storage medium storing computer executable instructions that, when executed, implement the protection switching method for a ring network according to any one of claims 1-10.
PCT/CN2018/080311 2017-03-23 2018-03-23 Protection switching method and device for ring network WO2018171745A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020197030421A KR20190124314A (en) 2017-03-23 2018-03-23 Protective switching method and apparatus for ring networks

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710178358.7 2017-03-23
CN201710178358.7A CN108632121A (en) 2017-03-23 2017-03-23 A kind of pretection switch method and device for looped network

Publications (1)

Publication Number Publication Date
WO2018171745A1 true WO2018171745A1 (en) 2018-09-27

Family

ID=63584131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080311 WO2018171745A1 (en) 2017-03-23 2018-03-23 Protection switching method and device for ring network

Country Status (3)

Country Link
KR (1) KR20190124314A (en)
CN (1) CN108632121A (en)
WO (1) WO2018171745A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468311B (en) * 2019-09-09 2023-01-03 中国移动通信有限公司研究院 Protection switching method, node equipment and storage medium
CN112468394B (en) * 2019-09-09 2022-09-27 中国移动通信有限公司研究院 Protection switching method, node equipment and storage medium
CN112751696B (en) * 2019-10-31 2022-08-05 烽火通信科技股份有限公司 Method and system for transmitting in-band SD signal in communication network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269452B1 (en) * 1998-04-27 2001-07-31 Cisco Technology, Inc. System and method for fault recovery for a two line bi-directional ring network
CN1909515A (en) * 2006-08-07 2007-02-07 华为技术有限公司 Method and device for realizing elastic sectionalization ring guiding protective inverting
CN101340346A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Ring control method and apparatus of Ethernet looped network system
CN101702658A (en) * 2009-11-24 2010-05-05 中兴通讯股份有限公司 Implement method of ring network protection and system thereof
CN106685783A (en) * 2016-12-29 2017-05-17 瑞斯康达科技发展股份有限公司 Ring network protection method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865149B1 (en) * 2000-03-03 2005-03-08 Luminous Networks, Inc. Dynamically allocated ring protection and restoration technique
US20030031126A1 (en) * 2001-03-12 2003-02-13 Mayweather Derek T. Bandwidth reservation reuse in dynamically allocated ring protection and restoration technique
CN102307368B (en) * 2011-09-02 2017-12-26 中兴通讯股份有限公司 Method and system for switching ring network wireless device
CN104426700B (en) * 2013-09-06 2018-05-18 华为技术有限公司 The method of network element and looped network protection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269452B1 (en) * 1998-04-27 2001-07-31 Cisco Technology, Inc. System and method for fault recovery for a two line bi-directional ring network
CN1909515A (en) * 2006-08-07 2007-02-07 华为技术有限公司 Method and device for realizing elastic sectionalization ring guiding protective inverting
CN101340346A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Ring control method and apparatus of Ethernet looped network system
CN101702658A (en) * 2009-11-24 2010-05-05 中兴通讯股份有限公司 Implement method of ring network protection and system thereof
CN106685783A (en) * 2016-12-29 2017-05-17 瑞斯康达科技发展股份有限公司 Ring network protection method and system

Also Published As

Publication number Publication date
KR20190124314A (en) 2019-11-04
CN108632121A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
JP4454516B2 (en) Fault detection device
US8483050B2 (en) Method and apparatus for ethernet ring protection
US7697440B2 (en) Scalable selective alarm suppression for data communication network
US9270485B2 (en) Method for ethernet ring protection
EP2194676B1 (en) Ethernet ring system, its main node and intialization method
CN108924044B (en) Link maintenance method, PE device and readable storage medium
WO2018171745A1 (en) Protection switching method and device for ring network
US9323618B2 (en) Method and apparatus for coordinating fault recovery techniques among domains
US20100254257A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
KR101402532B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
JP5113124B2 (en) Fault monitoring system in packet network
EP2892180B1 (en) Service traffic protection method and apparatus
WO2014161205A1 (en) Method, system and device for processing network congestion
CN103067197B (en) The method of the dynamic loop detection of gateway device, protection and static loop detection
CN107431655B (en) Method and apparatus for fault propagation in segment protection
Lam et al. Network management requirements for mpls-based transport networks
CN102487348B (en) Method and system for realizing looped network uplink protection
CN107465527B (en) Network element, protection switching method and system thereof
WO2015180265A1 (en) Multi-link protection switching method and device
WO2014026585A1 (en) Single-optical fibre fault handling method and device
JP4137728B2 (en) Bridge device and bridge processing method of the device
WO2016061943A1 (en) Method and apparatus for implementing spanning tree protocol protection switching, and computer storage medium
CN112751740B (en) ERPS subring resource release method, system, server and storage medium
JP2004015645A (en) Station transmitting device and method for monitoring communication system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20197030421

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 18770507

Country of ref document: EP

Kind code of ref document: A1