Signal degradation alarm method, system, terminal equipment and storage medium
By writing signal degradation alarm information into the preset field of the message in the packet transmission network link, the problem of signal degradation and inability to be transmitted between the SR-TP and SR-BE tunnels is solved, and the link is fast Protection and routing reselect ensure business robustness.
Patent Information
- Application Number
- CN201911214296.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-02
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-12-02
AI Technical Summary
In the packet transmission network link, when signal deterioration occurs between the intermediate cross-section links of the SR-TP and SR-BE tunnels, the intermediate node cannot transmit signal deterioration alarm information, resulting in service interruption and cannot guarantee the robustness of the service.
By writing signal degradation alarm information into the preset field of the message, and when the receiving end detects the information, it starts protection switching or routing reselecting to ensure end-to-end signal degradation alarm information transmission, and achieve fast link protection and Routing reselect.
It realizes rapid protection switching of SR-TP tunnels in the intermediate cross-segment link, and avoids signal deterioration alarms of the intermediate cross-segment links in the SR-BE tunnels, and re-selects a new link, ensuring the robustness of the service.
Smart Images

Figure CN112995024B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a signal degradation alarm method, a signal degradation alarm system, a terminal device, and a computer-readable storage medium. Background Art
[0002] In the packet transport network (PTN) link signal degradation alarm scheme, the current MPLS-TP (Multi-Protocol Label Switching Transport Profile) tunnel error scheme uses the FCS (Frame Check Sequence) error rate of the port where the tunnel is located to propagate to the segment layer, tunnel and pseudo line. If an error occurs on a port across a certain segment, the bit error rate and SD (Signal Degraded) status of the port are calculated, and then a FEI (Forward Error Information) message is sent to the downstream tail node; the tail node obtains the bit error on the port and accumulates the cross-segment bit error rate carried in the received FEI message to calculate whether the bit error rate threshold is reached to generate MPLS-TP tunnel signal degradation.
[0003] However, in some tunnel links, such as SR-TP (Segment Routing-Transport Profile) tunnels and SR-BE (Segment Routing-Best Effort) tunnels, when intermediate spans appear, the intermediate nodes only have the label information of their own nodes and do not know the labels of other spans. If signal degradation occurs, the signal degradation alarm information cannot be transmitted, which will lead to service interruption and the robustness of the service cannot be guaranteed. Summary of the invention
[0004] The present disclosure provides a signal degradation alarm method, system, terminal device and storage medium, so as to at least realize that end-to-end messages can carry the state of signal degradation in the intermediate span, and timely notify the relevant links to perform protection switching or route reselection to ensure the robustness of the service.
[0005] The present disclosure provides a signal degradation alarm method, the method comprising:
[0006] Writing signal degradation alarm information into a preset field of the message; and,
[0007] The message carrying the signal degradation alarm information in the preset field is sent to the corresponding receiving end on the link, so that the receiving end starts the protection switching or route reselection of the link when detecting that the preset field of the message carries the signal degradation alarm information.
[0008] In one implementation, the receiving end is a head node and / or a tail node on a link.
[0009] In one implementation, before writing the signal degradation alarm information into a preset field of the message, the method further includes:
[0010] Determining whether the bit error rate of the port reaches a preset bit error rate threshold;
[0011] If the preset bit error rate threshold is reached, a signal degradation alarm message is generated.
[0012] In one implementation, the message is an operation management and maintenance message, and the signal degradation alarm information generated by the port is written into a preset field of the message, specifically:
[0013] When a port generates signal degradation alarm information, any bit in the preset field of the operation management and maintenance message is set to a position, so that the preset field of the operation management and maintenance message carries the signal degradation alarm information.
[0014] The present disclosure provides another signal degradation alarm method, the method comprising:
[0015] receiving a message containing a preset field on a link; and,
[0016] Detecting whether a preset field of the message carries signal degradation alarm information;
[0017] If the signal degradation alarm information is carried, protection switching or route reselection of the link is initiated.
[0018] In one implementation, the message is an operation management and maintenance message, and the method further includes:
[0019] Establishing an operation, management and maintenance connection on the link;
[0020] The message containing the preset fields on the receiving link is specifically:
[0021] Receiving an operation management and maintenance message on the link;
[0022] The detecting whether the preset field of the message carries the signal degradation alarm information is specifically:
[0023] Determine whether a certain bit is in position in a preset field of the operation management and maintenance message;
[0024] If a certain bit is in position, it is determined that the preset field of the operation management and maintenance message carries signal degradation alarm information.
[0025] The present disclosure provides a signal degradation alarm system, the system comprising:
[0026] a writing module configured to write signal degradation alarm information into a preset field of the message; and
[0027] The sending module is configured to send the message carrying the signal degradation alarm information in the preset field to the corresponding receiving end on the link, so that the receiving end starts the protection switching or routing reselection of the link when detecting that the preset field of the message carries the signal degradation alarm information.
[0028] The present disclosure provides another signal degradation alarm system, the system comprising:
[0029] A receiving module, configured to receive a message containing a preset field on a link; and
[0030] A detection module, configured to detect whether a preset field of the message carries signal degradation alarm information;
[0031] The starting module is configured to start protection switching or route reselection of the link when the detection module detects that the link carries signal degradation alarm information.
[0032] An embodiment of the present disclosure provides a terminal device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the signal degradation alarm method.
[0033] An embodiment of the present disclosure provides another terminal device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the signal degradation alarm method.
[0034] An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes the signal degradation alarm method.
[0035] An embodiment of the present disclosure provides another computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the another signal degradation alarm method.
[0036] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0037] The signal degradation alarm method provided by the embodiment of the present disclosure writes the signal degradation alarm information into the preset field of the message, so that the end-to-end message can carry the SD status of the intermediate span segment, and promptly notify the relevant links to perform protection switching or route reselection. It can at least solve the problem that when the signal of the intermediate span link of the SR-TP tunnel is degraded, the link can be promptly notified to perform rapid protection switching. At the same time, when the signal of the intermediate span link of the SR-BE tunnel is degraded, the link that generates the SD alarm can be avoided and a new link can be reselected to ensure the robustness of the service.
[0038] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or be understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
[0040] Figure 1 This is a diagram of the SR-TP tunnel forwarding model;
[0041] Figure 2 This is a schematic diagram of an X2 service bearer path between base stations;
[0042] Figure 3A A flow chart of a signal degradation alarm method provided by an embodiment of the present disclosure;
[0043] Figure 3B A structural diagram of a signal degradation alarm system provided by an embodiment of the present disclosure;
[0044] Figure 4A A flowchart of a signal degradation alarm method provided by another embodiment of the present disclosure;
[0045] Figure 4B This is a diagram showing the structure of a Y.1731-CCM PDU in another embodiment of the present disclosure;
[0046] Figure 4C A diagram showing a Y.1731-CCM PDU tag field in another embodiment of the present disclosure;
[0047] Figure 4D This is a SR-TP tunnel SD networking diagram in another embodiment of the present disclosure;
[0048] Figure 4EThis is a networking diagram of SR-BE tunnel SD triggered routing convergence in another embodiment of the present disclosure;
[0049] Figure 4F A schematic diagram of the structure of a terminal device provided in another embodiment of the present disclosure;
[0050] Figure 5A A flowchart of a signal degradation alarm method provided by another embodiment of the present disclosure;
[0051] Figure 5B A structural diagram of a signal degradation alarm system provided by another embodiment of the present disclosure;
[0052] Figure 5C A schematic diagram of the structure of a terminal device provided in yet another embodiment of the present disclosure. DETAILED DESCRIPTION
[0053] To make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence; and, in the absence of conflict, the embodiments in the present disclosure and the features in the embodiments can be arbitrarily combined with each other.
[0055] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present disclosure, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0056] In the related art, fault transmission is implemented by inserting FEI messages to solve the problem that when there are multiple spans in the tunnel, the intermediate node does not know the labels of other span nodes, resulting in the intermediate node being unable to send FEI messages carrying the span SD status to the end node.
[0057] in, Figure 1 The SR-TP tunnel forwarding model diagram is shown as follows: Figure 1As shown in the figure, the SR-TP (Segment Routing-Transport Profile) tunnel passes through multiple intermediate spans, and the PE (Provider Edge) head and tail nodes need to be able to sense the bit error in a certain span in the middle, thereby triggering protection switching. However, the SR-TP tunnel is different from the MPLS-TP tunnel. The intermediate node of the SR-TP tunnel only has the label information of the node itself, and does not know the labels of other spans. Therefore, the intermediate node cannot send the FEI message carrying the span SD status to the tail node.
[0058] Figure 2 FIG. 4 shows a schematic diagram of an inter-base station X2 service bearer path. Figure 2 As shown in the figure, for the X2 service between 5G base stations, the SR-TP tunnel is used to carry the service between the UPE (User Provider Edge) node and the SPE (Superstratum Provider Edge) node, while the SR-BE (Segment Routing-Best Effort) tunnel is used to carry the service between the SPE nodes. When there is a bit error in the intermediate span of the SR-BE tunnel, for example, Figure 2 In the process, G detects that the link between F->G has SD, and needs to flood the F->G link status in the ISIS (Intermediate system to intermediate system) routing domain where the SR-BE tunnel is located, and avoid the F->G link. Among them, the F node is responsible for flooding the F->G link status, so we need to find a way to make the F node quickly perceive the link SD status, avoid the problematic link, and reselect a new path to ensure business continuity.
[0059] In order to solve the problem that when a related technical tunnel passes through multiple intermediate spans, the intermediate node does not know the labels of other span nodes, resulting in the intermediate node being unable to send an FEI message carrying the span SD status to the tail node, and being unable to generate an SD alarm in time, and other problems, the present disclosure provides a signal degradation alarm method. By writing the SD alarm information generated by the port into a preset field of the message, and forwarding it to the corresponding receiving end with the message, it can be achieved that the end-to-end message can carry the SD alarm occurring in the intermediate span, and timely notify the relevant links to perform protection switching or route reselection. It can at least solve the problem that when the signal of the intermediate span link of the SR-TP tunnel is degraded, the link head and tail nodes can be notified in time to perform rapid protection switching. At the same time, when the signal of the intermediate span link of the SR-BE tunnel is degraded, the link that generates the SD alarm can be avoided, and a new link can be reselected to ensure the robustness of the service.
[0060] Please refer to Figure 3A , Figure 3A A flow chart of a SD alarm detection method provided in an embodiment of the present disclosure can be applied to an intermediate span node in a tunnel link, and includes step S301 and step S302.
[0061] In step S301, signal degradation alarm information is written into a preset field of a message.
[0062] In this embodiment, the device performs signal degradation detection on the port. When the port generates a signal degradation alarm, the signal degradation alarm information is written into a preset field of the message. The message can be an OAM (Operation Administration and Maintenance) message. By writing the signal degradation alarm information into a special field (i.e., the preset field) in the OAM message, the fault transmission is realized by inserting the FEI message in the related technology instead of implementing the fault transmission, so as to solve the problem that when there are multiple spans in the tunnel, the intermediate node does not know the labels of other span nodes, resulting in the intermediate node being unable to send the FEI message carrying the span SD status to the end node, and the SD alarm cannot be generated in time.
[0063] It can be understood that the OAM message contains a special field with 4 bits of reserved bits. This embodiment can use the special field in the OAM message to transmit SD alarm information in the link. There is no need to worry about the intermediate cross-segment nodes being unable to obtain the label information of other nodes, resulting in the cross-segment SD status being unable to be transmitted to the tail node, and the head and tail nodes being unable to be notified in time to perform protection switching, resulting in service interruption and other problems.
[0064] In this embodiment, the receiving end is the head node and / or the tail node on the link.
[0065] In a specific implementation, before writing the signal degradation alarm information into a preset field of the message (ie, step S301), the method further includes the following steps:
[0066] Determining whether the bit error rate of the port reaches a preset bit error rate threshold;
[0067] If the preset bit error rate threshold is reached, a signal degradation alarm message is generated.
[0068] In this embodiment, the SD alarm function is first enabled at the port of the cross-segment node (for example, P1 or P2), and the bit error count is turned on at the same time, and the corresponding bit error rate at the port is calculated. When the bit error rate is greater than or equal to the bit error rate threshold, an SD alarm is generated, and the SD alarm of the port is written into the forwarding chip or logic chip of the device for the next step of processing (i.e., entering step S101). In some embodiments, in order to facilitate the user to manage the alarm status of the link, in addition to writing the SD alarm information into the forwarding chip or logic chip, the device also reports the SD alarm to the platform module for slow switching and presents the SD alarm status to the user.
[0069] In some embodiments, in order to facilitate the monitoring of SD alarm information, the device can detect the bit error rate of the port periodically. Specifically, a timer is started on the forwarding plane, and the bit error rate of the port is periodically queried from the chip. The period (T) for calculating the bit error rate is obtained according to the threshold value of the port error setting. When the query time of the current port is equal to T, the bit error rate of the port is calculated and it is determined whether the bit error rate has reached the bit error rate threshold set for the port.
[0070] In step S302, the message carrying the signal degradation alarm information in the preset field is sent to the corresponding receiving end on the link. When the receiving end detects that the preset field of the message carries the signal degradation alarm information, it starts protection switching or route reselection of the link.
[0071] It should be noted that the corresponding receiving end on the link can be the head node and / or tail node on the link. When the head and tail nodes of the link receive a message carrying signal degradation alarm information in a preset field, they initiate a fast protection switching decision or route reselection to avoid related faulty links in time and ensure the robustness of the service.
[0072] It can be understood that the solution proposed in the embodiment of the present disclosure, when applied to a common link (ie, a link without spanning segments), can be applied to a PE device to quickly generate an SD alarm and link protection switching.
[0073] Based on the same technical concept, the embodiment of the present disclosure also provides a signal degradation alarm system, such as Figure 3B As shown, the system includes a writing module 301 and a sending module 302.
[0074] The writing module 301 is configured to write the signal degradation alarm information generated by the port into a preset field of the message;
[0075] The sending module 302 is configured to send the message carrying the signal degradation alarm information in the preset field to the corresponding receiving end on the link. When the receiving end detects that the preset field of the message carries the signal degradation alarm information, it starts the protection switching or routing reselection of the link.
[0076] In a specific embodiment, the system further comprises:
[0077] A judgment module, which is configured to judge whether the bit error rate of the port reaches a preset bit error rate threshold before the writing module 301 writes the signal degradation alarm information generated by the port into a preset field of the message;
[0078] The alarm generation module is configured to generate signal degradation alarm information when the judgment module determines that the preset bit error rate threshold is reached.
[0079] Please refer to Figure 4A , Figure 4A A flow chart of a signal degradation alarm method provided by another embodiment of the present disclosure. Based on the previous embodiment, this embodiment establishes an OAM connection on the link and writes SD alarm information into the OAM message. By setting the bit in the special field of the OAM message, the corresponding receiving end can quickly detect the SD state in the link and trigger link protection switching by identifying whether the bit in the special field of the OAM message is set. Specifically, in addition to step S301 and step S302 of the above embodiment, this embodiment further subdivides step S402.
[0080] It is understandable that Ethernet OAM is a tool for monitoring network faults, and is currently mainly used to solve common link problems in the "last mile" of Ethernet access. In this embodiment, by enabling the Ethernet OAM function on two point-to-point connected devices at the head and tail nodes, the link status between the two devices can be monitored.
[0081] Ethernet OAM can effectively improve the management and maintenance capabilities of Ethernet and ensure the stable operation of the network. Its main functions include: 1) Link performance monitoring: monitoring various link performances, including measurement of packet loss, delay and jitter, as well as statistics of various types of traffic; 2) Fault detection and alarm: detecting the connectivity of the link by sending detection messages, and notifying the network administrator in time when a link fails; 3) Loop test: detecting link failures by looping back non-Ethernet OAM protocol messages.
[0082] In this embodiment, the operation management and maintenance OAM message on the forwarding path (link) is identified and received, and the SD state in the OAM message is detected, and the next operation is performed.
[0083] The step of writing the signal degradation alarm information generated by the port into a preset field of the message (i.e., step S402) is specifically as follows:
[0084] When a port generates signal degradation alarm information, any bit in a preset field of the OAM message is set to a position, so that the special field of the operation management and maintenance message carries the signal degradation alarm information.
[0085] It can be understood that the continuity monitoring function of OAM is used to detect the connectivity status between maintenance endpoints. It is implemented by periodically sending CCM PDU (Continuity check message) to each other between maintenance endpoints in the maintenance set, and detecting the current status of the link by analyzing the message content and determining whether the message reception has timed out.
[0086] In this embodiment, a certain bit in the "mark" field in the CCM PDU message based on the Y.1731 protocol in the OAM message is reserved (a total of 4 bits are reserved, and any bit can be used) to carry SD alarm information, so that the end-to-end message can carry the SD state of the intermediate span segment, and timely notify the relevant links to perform protection switching or route reselection. It is a good solution to the problem that when there is an SD alarm in the intermediate span link of the tunnel, the head and tail nodes on the link can be notified in time to perform rapid protection switching. Among them, the CCM PDU message encoding format in the Y.1731 protocol is as follows: Figure 4B and Figure 4C As shown, Figure 4B The structure diagram of Y.1731-CCMPDU is shown in FIG. 1 . The fields containing “marks” are the preset fields mentioned in this embodiment. Figure 4C This is the Y.1731-CCM PDU marker field diagram. When an SD alarm message is generated, the EI in the diagram is set.
[0087] For a better understanding of this embodiment, this embodiment combines the construction service between the core network and the aggregation network, please refer to Figure 4D and Figure 4E , Figure 4D This is the SR-TP tunnel SD networking diagram. Figure 4E This is the networking diagram for SR-BE tunnel SD triggering routing convergence.
[0088] like Figure 4D As shown, PE1 is the head node, PE2 is the tail node, an SR-TP tunnel is configured between PE1 and PE2, and there are multiple span nodes in the middle (only two span nodes P1 and P2 are shown in this embodiment). The SD alarm detection method provided in this embodiment can be used in P1 and / or P2.
[0089] 1) Enable TPOAM CCM (Transport Profile OAM CCM, Transmission OAM Management Continuity Check Message) messages on the SR-TP link between PE1 and PE2 (from PE1 to PE2 and from PE2 to PE1 in the other direction). Figure 4D The figure shows the message structure sent from PE1 to PE2. The ports on P1 and P2 are configured to enable the SD function.
[0090] 2) According to the port SD enable, the forwarding plane starts the timer, periodically queries the number of port bit errors from the chip, and obtains the period (T) for calculating the bit error rate according to the threshold set for the port bit error; when the query time of the current port is equal to T, calculates the bit error rate of its port, and determines whether its bit error rate has reached the bit error rate threshold set for the port.
[0091] If the bit error rate threshold of the port is greater than or equal to the bit error rate threshold set for the port, the port generates an SD alarm and reports it to the user, and writes the alarm to the NP (networking processor, network chip), which may include a forwarding chip or a logic chip.
[0092] 3) In the inbound direction of P1, P2 and PE2 (i.e., PE1 to P2), NP identifies the CCM message of the SR-TP tunnel in the forwarding path and queries the port SD status configured in the chip. If the port SD is enabled and there is an SD alarm, the EI in the CCM message (such as Figure 4C shown) is set.
[0093] 4) At the PE2 node NP, the CCM message of the SR-TP tunnel is sent to the line card logic, and the line card logic identifies the EI flag. If the EI is set, it is determined that the SR-TP tunnel has SD, and the SD state is sent to the main control logic for fast protection switching decision.
[0094] 5) FTM (Forward Table Manager) reads the SR-TP tunnel SD status on the master control and sends it to the platform through the reverse MUX interface. The platform makes a slow switching decision based on the SD alarm, ensuring that the slow switching and fast switching decisions are consistent. Similarly, similar processing can be done in the direction from PE2 to PE1.
[0095] like Figure 4E As shown, PE1 is the head node, PE2 is the tail node, an SR-BE tunnel is configured between PE1 and PE2, and multiple span nodes are in the middle (only three span nodes P1, P2 and P3 are shown in this embodiment).
[0096] a) Enable SD detection on the link port between P1 and P2. Configure the segment layer between P1 and P2 and enable segment layer TPOAM CCM detection.
[0097] b) According to the port SD enable, the forwarding plane starts the timer, and periodically queries the number of port bit errors from the chip, and obtains the period (T) for calculating the bit error rate according to the threshold set for the port bit error; when the query time of the current port is equal to T, the bit error rate of its port is calculated, and it is determined whether its bit error rate has reached the bit error rate threshold set for the port.
[0098] If the bit error rate threshold of the port is greater than or equal to the bit error rate threshold set for the port, an SD alarm is generated and reported to the platform, and the alarm is written to the NP chip.
[0099] c) The port SD alarm is propagated to the segment layer TPOAM entity on the port, and the forwarding plane reports the segment layer SD alarm to the service platform.
[0100] d) When the service platform receives the SD alarm from the SEC TPOAM, it updates the SEC TPOAM CCM message (with the EI set) and sends it to the forwarding plane, configuring the CCM to be sent in the logic.
[0101] e) NP forwards the received SEC TPOAM CCM message to the other end (P1 to P2 direction). The P1 network element logic on the other end receives the segment layer CCM message with EI set, generates a segment layer RSD (Routing SD) alarm, and sends the RSD alarm to the main control logic through the HW (Hard Wire) line.
[0102] f) FTM reads the segment layer RSD status and reports the segment layer RSD status to the platform. The platform searches for the port or sub-interface associated with the segment layer. Then the routing module performs link flooding according to the RSD status of the three-layer interface to increase the link weight, implement route reselection, and avoid problematic links.
[0103] Based on the same technical concept, another embodiment of the present disclosure also provides a signal degradation detection system. Different from the system provided in the previous embodiment, the present embodiment further divides the writing module 301. The writing module 301 is specifically configured as follows:
[0104] When a port generates signal degradation alarm information, any bit in the preset field of the operation management and maintenance message is set to a position, so that the preset field of the operation management and maintenance message carries the signal degradation alarm information.
[0105] It should be noted that the writing module works in the same manner as step S301 in this embodiment, and will not be described in detail here.
[0106] In order to further illustrate the embodiment of the present disclosure, based on the same technical concept, another embodiment of the present disclosure also provides an SD alarm detection device, the device comprising the following modules:
[0107] The forwarding plane module is located on the service board and the main control board, including the main control forwarding module and the line card forwarding module. The main control forwarding module is responsible for reporting SD alarms to the platform module for slow switching and presenting the alarm status to the user; while the line card forwarding module mainly works in the following two aspects:
[0108] Calculate the port SD alarm according to the port SD related information configured by the user, and configure the port SD alarm in the forwarding chip;
[0109] The sent CCM message is configured in the forwarding chip, and the CCM message is forwarded to the corresponding receiving end through the forwarding chip. The logic chip of the corresponding receiving end performs SD alarm recognition on the CCM message and triggers protection switching.
[0110] Specifically, the forwarding chip is configured to identify the TPOAM CCM message entering the tunnel of the port, and then set a reserved bit (named EI in this disclosure, see Figure 4C ), if the port is in SD state, a reserved bit is set and the CCM message is sent to the downstream node.
[0111] Logic chip: After identifying the set flag in the reserved bit in the alarm CCM message, it determines whether an SD alarm is generated, and sends the alarm status to the main control logic through the HW bus; the main control logic chip performs protection switching according to the SD status.
[0112] It should be noted that the line card forwarding module corresponds to the writing module and forwarding module mentioned in the present disclosure.
[0113] Please refer to Figure 4F Based on the same technical concept, another embodiment of the present disclosure also provides a terminal device corresponding to the intermediate span node on the link, which includes a memory 41 and a processor 42, and the memory 41 stores a computer program. When the processor 42 runs the computer program stored in the memory 41, the processor 42 executes the signal degradation alarm method.
[0114] Based on the same technical concept, another embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the signal degradation alarm method.
[0115] Please refer to Figure 5ABased on the same technical concept, another embodiment of the present disclosure provides a signal degradation alarm method, which is applied to a receiving end on a link (the receiving end may be a head node or a tail node on the link), and the method includes steps S501-S503.
[0116] In step S501, a message containing a preset field is received on a link; and,
[0117] In step S502, detecting whether a preset field of the message carries signal degradation alarm information;
[0118] In step S503, if the signal degradation alarm information is carried, protection switching or route reselection of the link is started.
[0119] In a specific embodiment, the method further comprises the following steps:
[0120] Establishing an OAM connection on the link;
[0121] Specifically, the link is a tunnel link between the head node and the tail node, and an OAM connection is established on the head node PE1 and the tail node PE2, such as Figure 4D As shown in the figure, TPOAM CCM messages are enabled on the link between PE1 and PE2.
[0122] The message containing the preset fields on the link is specifically:
[0123] Receive an OAM message on a link; wherein detecting whether a preset field of the message carries signal degradation alarm information is specifically:
[0124] Determine whether a certain bit is in position in a preset field of the OAM message;
[0125] If a certain bit is in position, it is determined that the preset field of the message carries signal degradation alarm information.
[0126] Based on the same technical concept, another embodiment of the present disclosure also provides a signal degradation alarm system. Figure 5B As shown, the system includes a receiving module 501, a detection module 502 and a starting module 503, wherein:
[0127] The receiving module 501 is configured to receive a message containing a preset field on a link between a transmitting end and a receiving end;
[0128] The message containing the preset field is a TPOAM CCM message.
[0129] The detection module 502 is configured to detect whether a preset field of the message carries signal degradation alarm information;
[0130] Specifically, the detection module includes a logic chip, and the logic chip parses the set flag EI of the reserved bit in the TPOAM CCM message. When the reserved bit EI in the message is set, it indicates that the message carries degradation alarm information.
[0131] The starting module 503 is configured to start protection switching or route reselection of the link when the detection module detects that the link carries signal degradation alarm information.
[0132] In a specific implementation, the message is an operation management and maintenance message, and the system further includes:
[0133] a connection establishment module, configured to establish an operation management and maintenance connection on the link;
[0134] The receiving module is specifically configured as follows:
[0135] Receiving an operation management and maintenance message on the link;
[0136] The detection module is specifically configured as follows:
[0137] Determine whether a certain bit is in position in a preset field of the operation management and maintenance message;
[0138] If a certain bit is in position, it is determined that the preset field of the operation management and maintenance message carries signal degradation alarm information.
[0139] In practical applications, the set (EI) flag information in the reserved bit in the TPOAM CCM message can be parsed by the logic chip at the receiving end, and its SD state is sent to the control module at the receiving end, and the control module triggers fast switching or route reselection according to the link situation. It can be understood that the detection module corresponds to the logic chip and the control module.
[0140] Based on the same technical concept, another embodiment of the present disclosure provides a terminal device corresponding to the head node or tail node on the link, such as Figure 5C As shown, the terminal device includes a memory 51 and a processor 52, wherein the memory 51 stores a computer program, and when the processor 52 runs the computer program stored in the memory 51, the processor 52 executes the signal degradation alarm method.
[0141] Based on the same technical concept, another embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the other signal degradation alarm method.
[0142] In summary, the signal degradation alarm method, system, terminal device and storage medium provided by the embodiments of the present disclosure, by writing the signal degradation alarm information into the preset field of the message, realizes that the end-to-end message can carry the intermediate span SD status, and promptly notifies the relevant links to perform protection switching or route reselection. It can at least solve the problem that when there is signal degradation in the intermediate span link of the SR-TP tunnel, the link can be promptly notified to perform rapid protection switching. At the same time, when there is signal degradation in the intermediate span link of the SR-BE tunnel, the link that generates the SD alarm can be avoided and a new link can be reselected to ensure the robustness of the service; further, by establishing an OAM connection, the reserved bit position of the mark field in the OAM message is used to carry the SD alarm information. The continuity monitoring function of the OAM and the setting information of the preset field can well solve the problem that the SD alarm information cannot be sent in time in the current cross-segment service.
[0143] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A signal degradation alarm method, characterized in that: The method is applied to the middle span node, comprising: Writing signal degradation alarm information into a preset field of the message; and, The message carrying the signal degradation alarm information in the preset field is sent to the corresponding receiving end on the link, so that when the receiving end detects that the signal degradation alarm information is carried in the preset field of the message, the protection switching or route reselection of the link is started; the receiving end is the head node and / or the tail node on the link, and an SR-TP tunnel or an SR-BE tunnel is configured between the head node and the tail node; The message is an operation management and maintenance OAM message, and the OAM message is sent after the Ethernet OAM function is enabled on the device where the head node and the tail node are point-to-point connected; The signal degradation alarm information is written into a preset field of the message, specifically: When a port generates signal degradation alarm information, any bit in the preset field of the OAM message is set to a position, so that the preset field of the OAM message carries the signal degradation alarm information.
2. The method according to claim 1, characterized in that Before writing the signal degradation alarm information into a preset field of the message, the method further includes: Determining whether the bit error rate of the port reaches a preset bit error rate threshold; If the preset bit error rate threshold is reached, a signal degradation alarm message is generated.
3. A signal degradation alarm method, characterized in that: The method is applied to the head node and / or tail node of the link, and an SR-TP tunnel or an SR-BE tunnel is configured between the head node and the tail node. The method includes: receiving a message including a preset field on the link; and, Detecting whether a preset field of the message carries signal degradation alarm information; If the signal degradation alarm information is carried, protection switching or route reselection of the link is initiated; The message is an operation management and maintenance (OAM) message, and the method further includes: Establishing an operation management and maintenance connection on the link, and enabling Ethernet OAM function on the equipment connected point-to-point between the head node and the tail node; The receiving a message including a preset field on the link specifically comprises: Receiving an OAM message on the link; The detecting whether the preset field of the message carries the signal degradation alarm information is specifically: Determine whether a certain bit is in position in a preset field of the OAM message; If a certain bit is in position, it is determined that the preset field of the OAM message carries signal degradation alarm information.
4. A signal degradation alarm system, characterized in that: Applicable to mid-span nodes, including: a writing module configured to write signal degradation alarm information into a preset field of the message; and A sending module, configured to send the message carrying the signal degradation alarm information in the preset field to a corresponding receiving end on the link, so that the receiving end starts the protection switching or route reselection of the link when detecting that the preset field of the message carries the signal degradation alarm information; the receiving end is the head node and / or the tail node on the link, and an SR-TP tunnel or an SR-BE tunnel is configured between the head node and the tail node; The message is an operation management and maintenance OAM message, and the OAM message is sent after the Ethernet OAM function is enabled on the device where the head node and the tail node are point-to-point connected; The sending module is specifically used for, when a port generates signal degradation alarm information, setting any bit in a preset field of the OAM message to a position, so that the preset field of the OAM message carries the signal degradation alarm information.
5. A signal degradation alarm system, characterized in that: The signal degradation alarm system is a head node and / or tail node on a link, an SR-TP tunnel or an SR-BE tunnel is configured between the head node and the tail node, and the system includes: a receiving module, configured to receive a message containing a preset field on the link; the message is an operation management and maintenance OAM message, the OAM message is to establish an operation management and maintenance connection on the link, and enable Ethernet OAM function on the device connected point-to-point between the head node and the tail node; and, A detection module, which is configured to detect whether the preset field of the message carries signal degradation alarm information; wherein, it is determined whether a certain bit position is present in the preset field of the OAM message; if a certain bit position is present, it is determined that the preset field of the OAM message carries signal degradation alarm information; The starting module is configured to start protection switching or route reselection of the link when the detection module detects that the link carries signal degradation alarm information.
6. A terminal device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the signal degradation alarm method according to any one of claims 1 to 2.
7. A terminal device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the signal degradation alarm method according to claim 3.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor performs the signal degradation alarm method according to any one of claims 1 to 2.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor executes the signal degradation alarm method according to claim 3.
