WO2021047483A1 - 一种保护倒换的方法、节点设备和存储介质 - Google Patents
一种保护倒换的方法、节点设备和存储介质 Download PDFInfo
- Publication number
- WO2021047483A1 WO2021047483A1 PCT/CN2020/113841 CN2020113841W WO2021047483A1 WO 2021047483 A1 WO2021047483 A1 WO 2021047483A1 CN 2020113841 W CN2020113841 W CN 2020113841W WO 2021047483 A1 WO2021047483 A1 WO 2021047483A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node device
- message
- oam message
- oam
- identifier
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/304—Route determination for signalling traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0686—Additional information in the notification, e.g. enhancement of specific meta-data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
Definitions
- This application relates to the field of wireless communication technologies, and in particular to a protection switching method, node device, and storage medium.
- the protection switching of the transmission network is a basic function. In addition to establishing a working path for services, a protection path is also established. When the working path fails, the switching to the protection path will be triggered as soon as possible to ensure that service performance is not affected as much as possible.
- transmission equipment introduces the three-layer segment routing (SR, Segment Routing) technology, which uses a series of ordered segment identifiers (Segment ID) to identify the nodes that need to pass through the tunnel.
- SR segment routing
- Segment ID segment identifiers
- the embodiments of the present application expect to provide a protection switching method, node device, and storage medium.
- an embodiment of the present application provides a protection switching method.
- the method includes: when a first node device detects signal degradation, recognizing a received packet; the first node device recognizes When the message is an operation and maintenance management (OAM, Operation Administration and Maintenance) message, a first identifier is filled in the OAM message, and a modified OAM message is sent; wherein, the first identifier is used to indicate Signal degradation.
- OAM operation and maintenance management
- filling the OAM message with a first identifier includes: the first node device recognizes When the message is an OAM message of a specific type, the specific reserved field identifier in the OAM message is modified as the first identifier.
- the first node device recognizing that the message is an OAM message of a specific type includes: the first node device matches the first specific field in the message If the value of the first specific field is the first specific value, it is determined that the message is an OAM message; the first node device matches the second specific field in the OAM message, and In a case where the value of the second specific field is the second specific value, it is determined that the message is an OAM message of a specific type.
- the method before the sending of the modified OAM message, the method further includes: the first node device determines related parameters that characterize signal degradation, and fills in the OAM message Fill in the relevant parameters in the area.
- the related parameters include at least one of the following: bit error rate and packet loss rate.
- the OAM message includes a segment routing label.
- an embodiment of the present application also provides a protection switching method, the method includes: a second node device receives an OAM message from a first node device, and recognizes the first identifier in the OAM message The first identifier is used to indicate signal degradation; the second node device triggers path protection switching.
- the method further includes: the second node device identifies related parameters of the filling area in the OAM message, and determines whether the value of the related parameter reaches a preset threshold, and Obtain a judgment result; the relevant parameter is a parameter that characterizes signal degradation; the second node device triggers path protection switching, including: the second node device when the judgment result is that the value of the relevant parameter reaches a preset threshold In the case of triggering path protection switching.
- the related parameters include at least one of the following: bit error rate and packet loss rate.
- the OAM message includes a segment routing label.
- an embodiment of the present application also provides a node device, where the node device is a first node device; the node device includes: a detection unit, an identification processing unit, and a first communication unit; wherein, the detection unit , Configured to detect signal degradation;
- the identification processing unit is configured to identify the received message when the detection unit detects signal degradation; when the message is identified as an OAM message, fill the first OAM message with the first Identification; wherein, the first identification is used to indicate signal degradation;
- the first communication unit is configured to send the modified OAM message.
- the identification processing unit is configured to, when identifying that the message is an OAM message of a specific type, modify the specific reserved field identifier in the OAM message to be the first Logo.
- the identification processing unit is configured to match the first specific field in the message, and when the value of the first specific field is the first specific value, Determine that the message is an OAM message; match a second specific field in the OAM message, and if the value of the second specific field is a second specific value, determine that the message is of a specific type OAM message.
- the node device further includes a determining unit configured to determine a related parameter that characterizes signal degradation, and fill in the related parameter in a filling area of the OAM message.
- the related parameters include at least one of the following: bit error rate and packet loss rate.
- an embodiment of the present application also provides a node device, the node device is a second node device, and the node device includes a second communication unit, an identification unit, and a trigger unit; wherein, the second communication unit , Configured to receive OAM messages from the first node device;
- the identification unit is configured to identify a first identifier in the OAM message, where the first identifier is used to indicate signal degradation;
- the trigger unit is configured to trigger path protection switching.
- the identification unit is further configured to identify related parameters of the filling area in the OAM message, determine whether the value of the related parameter reaches a preset threshold, and obtain a determination result;
- the relevant parameter is a parameter that characterizes signal degradation;
- the related parameters include at least one of the following: bit error rate and packet loss rate.
- the OAM message includes a segment routing label.
- the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
- the program is executed by a processor, the application described in the embodiments of the present application is applied to the first aspect or the second aspect.
- the steps of the protection switching method in the aspect are described in the embodiments of the present application.
- the embodiments of the present application also provide a node device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
- a node device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
- the processor executes the program, the implementation of the present application is realized.
- the steps described in the example are applied to the protection switching method in the first aspect or the second aspect described above.
- the first node device recognizes the received message when it detects signal degradation; the first node device recognizes that the message is In the case of an OAM message, the first identifier is filled in the OAM message, and the modified OAM message is sent; wherein, the first identifier is used to indicate signal degradation; the second node device identifies the The specific reserved field is identified as the first identifier, which triggers path protection switching.
- the OAM message is filled with a first identifier indicating signal degradation, and the modified message is used to inform the downstream node that the current first node device has signal degradation. , Enabling the second node device to perform protection switching, thereby realizing protection switching due to signal degradation in a transmission network using segment routing technology.
- FIG. 1 is a first schematic flowchart of a protection switching method according to an embodiment of this application
- Figure 2 is a schematic diagram of information forwarding based on segment routing in related technologies
- FIG. 3 is a second schematic diagram of the flow of a protection switching method according to an embodiment of this application.
- FIG. 4 is a third schematic flowchart of a protection switching method according to an embodiment of this application.
- FIG. 5 is a schematic diagram 1 of the composition structure of a node device according to an embodiment of the application.
- FIG. 6 is a second schematic diagram of the composition structure of a node device according to an embodiment of the application.
- FIG. 7 is a third schematic diagram of the composition structure of a node device according to an embodiment of the application.
- FIG. 8 is a schematic diagram of the hardware composition structure of a node device according to an embodiment of the application.
- Fig. 1 is a schematic diagram 1 of the flow of a protection switching method according to an embodiment of the application; as shown in Fig. 1, the method includes:
- Step 101 The first node device recognizes the received message when detecting signal degradation
- Step 102 When the first node device recognizes that the message is an OAM message, it fills in a first identifier in the OAM message, and sends a modified OAM message; wherein, the first identifier is used for Indicates signal degradation.
- the protection switching method of this embodiment is applicable to a network that performs information forwarding based on the three-layer segment routing (SR) technology.
- the transmission tunnel is composed of a series of ordered segment identifiers (Segment ID), which are used to identify the node devices that need to pass through the tunnel.
- the source node encapsulates the segment identifier list (Segment List) in the message header, and the source node device and the intermediate node device can forward information according to the path information indicated by the segment identifier list (Segment List) in the message header.
- Figure 2 is a schematic diagram of information forwarding based on segment routing in related technologies; as shown in Figure 2, the source node is node A and the sink node is node Z, then node B, node C, node D, node N, node O, and node P All are intermediate nodes.
- Node A encapsulates the list of segment identifiers that characterize the path information in the message header.
- the segment identifiers can include g101, g105, g107, g103, and g105 in order, indicating that the transmission path is node A-node B-node C. -Node O-Node P-Node Z.
- the first node device in this embodiment is an intermediate node device in the network, for example, it may be one of node B, node C, node D, node N, node O, and node P in FIG. 2.
- the detection of signal degradation by the first node device includes: the first node device checks the frame check sequence (FCS, Frame Check Sequence) of the message, based on the check result Signal degradation is detected; or, the first node device sends a signal and receives a response signal, determines the bit error rate or packet loss rate based on the transmitted signal and the received response signal, and detects based on the bit error rate or packet loss rate Signal degradation.
- FCS Frame Check Sequence
- FCS the FCS method of detecting signal degradation as an example.
- the FCS is calculated from the header and data part of the data frame, and a four-byte loop is passed at the end of the data frame.
- the method of redundancy check code represents the calculated FCS; after the destination node receives the data frame, it calculates the FCS again in the same way. If the calculated FCS is different from the FCS carried in the received data frame, it indicates the data frame An error occurred during the transmission process, that is, signal degradation occurred in the first node device.
- filling the OAM message with a first identifier includes: the first node device When it is recognized that the message is an OAM message of a specific type, the specific reserved field identifier in the OAM message is modified as the first identifier.
- the first node device can modify all types of OAM messages, and fill the first identifier in the OAM messages.
- the first node device can be modified in a specific type of OAM message, and only the first identifier is filled in the specific type of OAM message.
- the first node device recognizing that the message is an OAM message of a specific type includes: the first node device matches the first specific OAM message in the message Field, when the value of the first specific field is a first specific value, it is determined that the message is an OAM message; the first node device matches the second specific field in the OAM message, In a case where the value of the second specific field is the second specific value, it is determined that the message is an OAM message of a specific type.
- the value of the first specific field in the OAM message is the first specific value.
- Table 1 and Table 2 are respectively OAM encapsulation diagrams; among them, Table 1 is the OAM encapsulation diagram added with a path segment (Path segment) label, and Table 2 is the OAM encapsulation diagram without adding a path segment (Path segment) label.
- the "GAL Label" field ie, the first specific field
- the "GAL Label” field ie, the first specific field
- the "GAL Label” field is used to match whether it is an OAM message; if the value of the "GAL Label” field in the message is the first A specific value (for example, a value of 13) indicates that the message is an OAM message.
- the value of the "OpCode” field in the message is the second specific value, indicating that the message is an OAM message of a specific type.
- the value of the "OpCode” field is "0x01", indicating that it is an OAM message of a Continuity Check Message (CCM).
- CCM Continuity Check Message
- the OAM message of the specific type may also be another type of OAM message, which is not limited in this embodiment.
- the first node device fills the OAM message with a first identifier, and the first identifier indicates that the current OAM message is an OAM message for notifying signal degradation.
- the first node device may modify the reserved field identifier in the OAM message, and modify the reserved field identifier to the first identifier.
- the first identifier can be filled in the OpCode area (i.e. coding area) or OAM PDU load area (i.e. load area) of the message, and a specific code area or load area can be filled in.
- the value indicates that the current OAM message is an OAM message used to notify signal degradation.
- 1 is filled in the reserved field identifier after the OpCode field and the RDI field as an indication of signal degradation.
- the first node device when the first node device detects signal degradation, if it recognizes multiple OAM messages, it fills and sends the first identifier based on each OAM message. Or, when the first node device detects signal degradation, if multiple OAM messages of a specific type are identified, the first identifier is filled and sent for each OAM message of a specific type.
- the OAM message is filled with a first identifier indicating signal degradation, and the modified message is used to inform the downstream node that the current first node device has signal degradation. , Enabling the second node device to perform protection switching, thereby realizing protection switching due to signal degradation in a transmission network using segment routing technology.
- Fig. 3 is a schematic diagram 2 of the flow of a protection switching method according to an embodiment of this application; as shown in Fig. 3, the method includes:
- Step 201 The first node device recognizes the received message when detecting signal degradation
- Step 202 When the first node device recognizes that the message is an OAM message, it fills a first identifier in the OAM message; wherein the first identifier is used to indicate signal degradation;
- Step 203 The first node device determines relevant parameters that characterize signal degradation, and fills in the relevant parameters in the filling area of the OAM message;
- Step 204 Send the modified OAM message.
- step 201 the detailed description of step 201, step 202, and step 204 can refer to the description of step 101 to step 103 in the foregoing embodiment, which is not repeated here.
- the first node device may detect relevant parameters that characterize signal degradation.
- the relevant parameters include at least one of the following: bit error rate, packet loss rate, etc., and fill in the relevant parameters in the OAM message Load area, so as to inform downstream nodes of the specific signal degradation status of the first node device.
- the OAM message is filled with a first identifier indicating signal degradation, and the modified message is used to inform the downstream node that the current first node device has signal degradation.
- Fig. 4 is a schematic diagram 2 of the flow of a protection switching method according to an embodiment of this application; as shown in Fig. 4, the method includes:
- Step 301 The second node device receives an OAM message from the first node device, and recognizes a first identifier in the OAM message, where the first identifier is used to indicate signal degradation;
- Step 302 The second node device triggers path protection switching.
- the second node device in this embodiment is a sink node, such as node Z in FIG. 2.
- the OAM message from the first node device received by the second node device the OAM message carries a first identifier indicating signal degradation.
- the first identifier can be filled in the OpCode area (i.e. coding area) or OAM PDU load area (i.e. load area) of the message, and a specific code area or load area can be filled in The value (that is, the first identifier), such as "1", indicates that the current message is a message used to indicate signal degradation. Then the second node device recognizes that the coding area (for example, the OpCode area in the OAM encapsulation structure) or the load area (for example, the OAM PDU load area in the OAM encapsulation structure) in the message is a specific value (for example, the value is "1"), thereby identifying the first indicator indicating signal degradation.
- the coding area for example, the OpCode area in the OAM encapsulation structure
- the load area for example, the OAM PDU load area in the OAM encapsulation structure
- the second node device triggers path protection switching, that is, triggers the first node device to switch from the working path to the protection path.
- the method further includes: the second node device identifies related parameters of the filling area in the OAM message, and determines whether the value of the related parameter reaches a preset threshold , Obtain a judgment result; the relevant parameter is a parameter that characterizes signal degradation; the second node device triggers path protection switching, including: the second node device when the judgment result is that the value of the relevant parameter reaches a preset value In the case of the threshold, the path protection switching is triggered.
- the first node device may add detected related parameters that characterize signal degradation to the message.
- the related parameters include at least one of the following: bit error rate, packet loss rate, and so on.
- the second node device recognizes the related parameters that characterize signal degradation carried in the message, and determines whether to trigger path protection switching according to whether the related parameters reach a preset threshold.
- corresponding preset thresholds can be configured respectively; for example, a first preset threshold can be configured for bit error rate, and a second preset threshold can be configured for packet loss rate. Determine whether the value of the bit error rate reaches the first preset threshold; when the value of the bit error rate reaches the first preset threshold, trigger path protection switching. Alternatively, it is determined whether the value of the packet loss rate reaches the second preset threshold; when the value of the packet loss rate reaches the second preset threshold, the path protection switching is triggered.
- the second node device can determine the triggering strategy of the protection switching according to a pre-agreed method or the configuration of the higher-level node device, which is to directly trigger the protection switching after recognizing that the message carries the first identifier, or based on the message The protection switching is triggered when the relevant parameters carried in it exceed the preset threshold.
- the OAM message is filled with a first identifier indicating signal degradation, and the modified message is used to inform the downstream node that the current first node device has signal degradation.
- FIG. 5 is a schematic diagram 1 of the composition structure of a node device according to an embodiment of the application; as shown in Fig. 5, the node device includes: a detection unit 41, an identification processing unit 42 and a first communication unit 43; wherein,
- the detection unit 41 is configured to detect signal degradation
- the identification processing unit 42 is configured to identify the received message when the detection unit 41 detects signal degradation; when the message is identified as an OAM message, fill in the OAM message The first identification; wherein, the first identification is used to indicate signal degradation;
- the first communication unit 43 is configured to send the modified OAM message.
- the identification processing unit 42 is configured to, when identifying that the message is an OAM message of a specific type, modify the specific reserved field identifier in the OAM message to The first logo.
- the identification processing unit 42 is configured to match the first specific field in the message, in the case where the value of the first specific field is the first specific value Next, determine that the message is an OAM message; match the second specific field in the OAM message, and if the value of the second specific field is the second specific value, determine that the message is OAM packets of a specific type.
- the node device further includes a determining unit 44, configured to determine relevant parameters that characterize signal degradation, and fill in the filling area of the OAM message. Related parameters.
- the OAM message includes a segment routing label.
- the detection unit 41, the identification processing unit 42, and the determination unit 44 in the node device can all be controlled by the central processing unit (CPU, Central Processing Unit) and digital signal in the node device in practical applications.
- Processor DSP, Digital Signal Processor
- MCU Microcontroller Unit
- FPGA Programmable Gate Array
- the first communication unit in the terminal can be used in practical applications Through the communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and the transceiver antenna.
- the node device provided in the above embodiment performs protection switching
- only the division of the above program modules is used as an example for illustration.
- the above processing can be allocated by different program modules as needed, i.e.
- the internal structure of the node device is divided into different program modules to complete all or part of the processing described above.
- the node device provided in the foregoing embodiment and the protection switching method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
- FIG. 7 is the third schematic diagram of the composition structure of the node device according to the embodiment of the application; as shown in FIG. 7, the node device includes a second communication unit 51, an identification unit 52, and a trigger unit 53; among them,
- the second communication unit 51 is configured to receive an OAM message from the first node device
- the identification unit 52 is configured to identify a specific reserved field identifier in the OAM message as a first identifier, and the first identifier is used to indicate signal degradation;
- the trigger unit 53 is configured to trigger path protection switching.
- the trigger unit 53 is further configured to trigger path protection switching when the determination result is that the value of the related parameter reaches a preset threshold.
- the related parameters include at least one of the following: bit error rate and packet loss rate.
- the OAM message includes a segment routing label.
- the identification unit 52 and the trigger unit 53 in the node device can be implemented by the CPU, DSP, MCU or FPGA in the node device in practical applications; the second communication unit in the terminal 51. In actual applications, it can be implemented through communication modules (including basic communication kits, operating systems, communication modules, standardized interfaces and protocols, etc.) and transceiver antennas.
- communication modules including basic communication kits, operating systems, communication modules, standardized interfaces and protocols, etc.
- the node device provided in the above embodiment performs protection switching
- only the division of the above program modules is used as an example for illustration.
- the above processing can be allocated by different program modules as needed, i.e.
- the internal structure of the node device is divided into different program modules to complete all or part of the processing described above.
- the node device provided in the foregoing embodiment and the protection switching method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be repeated here.
- FIG. 8 is a schematic diagram of the hardware composition structure of a node device according to an embodiment of the application.
- the node device 60 includes a memory 62, a processor 61, and a computer that is stored in the memory 62 and can run on the processor 61 A program.
- the processor 61 implements the steps of the protection switching method applied to the first node device or the second node device in the embodiment of the present application when the processor 61 executes the program.
- the node device 60 also includes a communication interface 63.
- the various components in the node device 60 are coupled together through the bus system 64.
- the bus system 64 is used to realize the connection and communication between these components.
- the bus system 64 also includes a power bus, a control bus, and a status signal bus.
- various buses are marked as the bus system 64 in FIG. 8.
- the memory 62 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
- the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage.
- the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
- RAM random access memory
- SRAM static random access memory
- SSRAM synchronous static random access memory
- Synchronous Static Random Access Memory Synchronous Static Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM Enhanced Synchronous Dynamic Random Access Memory
- SLDRAM synchronous connection dynamic random access memory
- DRRAM Direct Rambus Random Access Memory
- the memory 62 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
- the method disclosed in the foregoing embodiment of the present application may be applied to the processor 61 or implemented by the processor 61.
- the processor 61 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 61 or instructions in the form of software.
- the aforementioned processor 61 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
- DSP Digital Signal Processor
- the processor 61 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
- the general-purpose processor may be a microprocessor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium, and the storage medium is located in the memory 62.
- the processor 61 reads the information in the memory 62 and completes the steps of the foregoing method in combination with its hardware.
- the node device 60 may be configured by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device, Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronics Component implementation, used to perform the aforementioned method.
- ASIC application specific integrated circuits
- DSP programmable logic device
- PLD Programmable Logic Device
- CPLD complex programmable logic device
- FPGA Field-Programmable Gate Array
- MCU Microcontroller
- Microprocessor Microprocessor
- the embodiment of the present application also provides a computer-readable storage medium, such as a memory 62 including a computer program, which can be executed by the processor 61 of the node device 60 to complete the steps described in the foregoing method. .
- An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the protection switching applied to the first node device or the second node device in the embodiment of the present application is realized Steps of the method.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
- the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. of.
- the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the embodiments of the present application can be all integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
- the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
- the foregoing program can be stored in a computer readable storage medium. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: various media that can store program codes, such as a mobile storage device, ROM, RAM, magnetic disk, or optical disk.
- the aforementioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer readable storage medium.
- the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application.
- the aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例公开了一种保护倒换的方法、节点设备和存储介质。所述方法包括:第一节点设备在检测到信号劣化的情况下,识别接收到的报文;所述第一节点设备识别出所述报文为操作维护管理(OAM)报文时,在所述OAM报文中填充第一标识,发送修改后的OAM报文;其中,所述第一标识用于表示信号劣化。
Description
相关申请的交叉引用
本申请基于申请号为201910848682.4、申请日为2019年09月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。
本申请涉及无线通信技术领域,具体涉及一种保护倒换的方法、节点设备和存储介质。
传输网络的保护倒换是基本功能,业务除了建立工作路径外,也会建立保护路径,当工作路径发生故障时,会尽快触发倒换至保护路径,以保证业务性能尽量不受到影响。
工作路径可能是包括多个节点的链路。当中间节点故障时,如果是信号失效,那么两端源宿节点可以检测到该故障,并触发倒换,但是如果中间节点发生了性能劣化,由于很多性能劣化检测方法是点到点检测的,则只有发生劣化的中间节点可以检测到性能劣化,而两端源宿节点无法检测到劣化。因此,当中间节点检测到信号劣化时,可以发送通知报文,使得下游宿节点能够得知信号劣化并触发保护倒换。
随着5G的发展,传输设备引入三层段路由(SR,Segment Routing)技术,通过一系列有序的段标识符(Segment ID)标识隧道上需要经过的节点,然而这种传输技术不支持由于性能劣化引起的保护倒换。
发明内容
本申请实施例期望提供一种保护倒换的方法、节点设备和存储介质。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供了一种保护倒换的方法,所述方法包括:第一节点设备在检测到信号劣化的情况下,识别接收到的报文;所述第一节点设备识别出所述报文为操作维护管理(OAM,Operation Administration and Maintenance)报文时,在所述OAM报文中填充第一标识,发送修改后的OAM报文;其中,所述第一标识用于表示信号劣化。
在本申请的一些可选实施例中,所述第一节点设备识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识,包括:所述第一节点设备识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
在本申请的一些可选实施例中,所述第一节点设备识别出所述报文为特定类型的OAM报文,包括:所述第一节点设备匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报文为OAM报文;所述第一节点设备匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定类型的OAM报文。
在本申请的一些可选实施例中,所述发送修改后的OAM报文之前,所述方法还包括:所述第一节点设备确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数。
在本申请的一些可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一些可选实施例中,所述OAM报文中包括段路由标签。
第二方面,本申请实施例还提供了一种保护倒换的方法,所述方法包 括:第二节点设备接收来自第一节点设备的OAM报文,识别出所述OAM报文中的第一标识,所述第一标识用于表示信号劣化;所述第二节点设备触发路径保护倒换。
在本申请的一些可选实施例中,所述方法还包括:所述第二节点设备识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;所述第二节点设备触发路径保护倒换,包括:所述第二节点设备在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
在本申请的一些可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一些可选实施例中,所述OAM报文中包括段路由标签。
第三方面,本申请实施例还提供了一种节点设备,所述节点设备为第一节点设备;所述节点设备包括:检测单元、识别处理单元和第一通讯单元;其中,所述检测单元,配置为检测信号劣化;
所述识别处理单元,配置为在所述检测单元检测到信号劣化的情况下,识别接收到的报文;识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识;其中,所述第一标识用于表示信号劣化;
所述第一通讯单元,配置为发送修改后的OAM报文。
在本申请的一些可选实施例中,所述识别处理单元,配置为识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
在本申请的一些可选实施例中,所述识别处理单元,配置为匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报文为OAM报文;匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定 类型的OAM报文。
在本申请的一些可选实施例中,所述节点设备还包括确定单元,配置为确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数。
在本申请的一些可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一些可选实施例中,所述OAM报文中包括段路由标签。
第四方面,本申请实施例还提供了一种节点设备,所述节点设备为第二节点设备,所述节点设备包括第二通讯单元、识别单元和触发单元;其中,所述第二通讯单元,配置为接收来自第一节点设备的OAM报文;
所述识别单元,配置为识别出所述OAM报文中的第一标识,所述第一标识用于表示信号劣化;
所述触发单元,配置为触发路径保护倒换。
在本申请的一些可选实施例中,所述识别单元,还配置为识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;
所述触发单元,还配置为在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
在本申请的一些可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一些可选实施例中,所述OAM报文中包括段路由标签。
第五方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例所述的应用于上述第一方面或第二方面中的保护倒换的方法的步骤。
第六方面,本申请实施例还提供了一种节点设备,包括存储器、处理 器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请实施例所述的应用于上述第一方面或第二方面中的保护倒换的方法的步骤。
本申请实施例提供的保护倒换的方法、节点设备和存储介质,第一节点设备在检测到信号劣化的情况下,识别接收到的报文;所述第一节点设备识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识,发送修改后的OAM报文;其中,所述第一标识用于表示信号劣化;第二节点设备识别所述OAM报文中的特定预留字段标识为第一标识,触发路径保护倒换。采用本申请实施例的技术方案,通过对OAM报文进行修改,在OAM报文中填充表示信号劣化的第一标识,通过修改后的报文告知下游节点当前的第一节点设备产生了信号劣化,使得第二节点设备进行保护倒换,从而实现了采用段路由技术的传输网络中、由于信号劣化的保护倒换。
图1为本申请实施例的保护倒换方法的流程示意图一;
图2为相关技术中基于段路由的信息转发示意图;
图3为本申请实施例的保护倒换方法的流程示意图二;
图4为本申请实施例的保护倒换方法的流程示意图三;
图5为本申请实施例的节点设备的组成结构示意图一;
图6为本申请实施例的节点设备的组成结构示意图二;
图7为本申请实施例的节点设备的组成结构示意图三;
图8为本申请实施例的节点设备的硬件组成结构示意图。
下面结合附图及具体实施例对本申请作进一步详细的说明。
本申请实施例提供了一种保护倒换方法。图1为本申请实施例的保护 倒换方法的流程示意图一;如图1所示,所述方法包括:
步骤101:第一节点设备在检测到信号劣化的情况下,识别接收到的报文;
步骤102:所述第一节点设备识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识,发送修改后的OAM报文;其中,所述第一标识用于表示信号劣化。
本实施例的保护倒换方法适用于基于三层段路由(SR)技术进行信息转发的网络中。传输隧道通过一系列有序的段标识符(Segment ID)组成,用于标识隧道上需要经过的节点设备。源节点将段标识符列表(Segment List)封装在报文头中,源节点设备和中间节点设备可根据报文头中的段标识符列表(Segment List)表示的路径信息进行信息转发。图2为相关技术中基于段路由的信息转发示意图;如图2所示,源节点为节点A,宿节点为节点Z,则节点B、节点C、节点D、节点N、节点O和节点P均为中间节点。节点A将表征路径信息的段标识符列表封装在报文头中,本示例中段标识符按顺序可包括g101、g105、g107、g103、g105,分别表示传输路径为节点A-节点B-节点C-节点O-节点P-节点Z。报文每到一个节点设备,该节点设备剥离外层标签并进行信息转发。例如,节点A依据段标识符列表的段标识符g101,将报文转发至节点B;节点B接收到报文后,剥离报文头中的段标识符列表中的最外层的段标识符g101,依据下一层段标识符g105将报文转发至节点C,以此类推,将报文转发至节点Z。由此可见,每个中间节点只是进行最外层标签(段标识符)的剥离,并未记录隧道信息。因此当中间节点劣化时,由于不知道该中间节点的路径信息,无法进行劣化相关情况的告知,也无法告知源节点或宿节点进行保护倒换。
基于此,本实施例中的第一节点设备为网络中的中间节点设备,例如可以是图2中的节点B、节点C、节点D、节点N、节点O和节点P中的 一个节点。
在本申请的一种可选实施例中,第一节点设备检测到信号劣化,包括:所述第一节点设备校验报文的帧校验序列(FCS,Frame Check Sequence),基于校验结果检测到信号劣化;或者,所述第一节点设备发出信号以及接收响应信号,基于发出的信号和接收的响应信号确定误码率或丢包率,基于所述误码率或丢包率检测到信号劣化。
作为一种示例,以FCS方式检测信号劣化方式为例,源节点发送数据帧时,由数据帧的帧头和数据部分计算得出FCS,在数据帧的帧尾部分通过一段四字节的循环冗余校验码的方式表示计算得到的FCS;目的节点接收到数据帧后,用同样的方式再计算一遍FCS,如果计算得到的FCS与接收到数据帧中携带的FCS不同,则表明数据帧在传输过程中发生了错误,也即第一节点设备发生了信号劣化。
本实施例中,第一节点设备对携带有段路由标签的OAM报文进行修改,在OAM报文中填充表征信号劣化的第一标识。
在本申请的一种可选实施例中,所述第一节点设备识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识,包括:所述第一节点设备识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
本实施例中,作为一种实施方式,第一节点设备可在所有类型的OAM报文中进行修改,在OAM报文中填充第一标识。在另一种实施方式中,第一节点设备可在特定类型的OAM报文中进行修改,只在特定类型的OAM报文中填充第一标识。
在本申请的一种可选实施例中,所述第一节点设备识别出所述报文为特定类型的OAM报文,包括:所述第一节点设备匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报 文为OAM报文;所述第一节点设备匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定类型的OAM报文。
本实施例中,OAM报文中的第一特定字段的取值为第一特定值。表1和表2分别为OAM封装示意;其中,表1为添加有路径分段(Path segment)标签的OAM封装示意,表2为未添加有路径分段(Path segment)标签的OAM封装示意。如表1和表2所示,通过报文中的“GAL Label”字段(即第一特定字段)进行是否是OAM报文的匹配;若报文中的“GAL Label”字段的取值为第一特定值(例如取值为13),则表明报文为OAM报文。进一步地,针对OAM报文,通过报文中的“OpCode”字段的取值为第二特定值,表明报文是特定类型的OAM报文。例如,“OpCode”字段的值为“0x01”表明是连通性检测消息(CCM,Continuity Check Message)的OAM报文。当然,本实施例中,所述特定类型的OAM报文也可以是其他类型的OAM报文,本实施例中对此不做限定。
表1
表2
本实施例中,第一节点设备在OAM报文中填充第一标识,通过第一标识表示当前OAM报文为用于通知信号劣化的OAM报文。其中,第一节点设备可修改OAM报文中的预留字段标识,将该预留字段标识修改为所述第一标识。
例如,如表1或表2所示,所述第一标识可填写在报文的OpCode区域(即编码区域)或OAM PDU负荷区域(即负荷区域),在所述编码区域或负荷区域填写特定值(即第一标识),例如填写“1”,表示当前OAM报文是用来告知信号劣化的OAM报文。
作为一种实现方式,如下表3的OAM封装示意所示,在OpCode字段和RDI字段之后的预留字段标识填写1,作为信号劣化的指示。
表3
本实施例中,第一节点设备在检测到信号劣化的情况下,若识别到多个OAM报文,则基于每个OAM报文均进行第一标识的填充以及发送。或者,第一节点设备在检测到信号劣化的情况下,若识别到多个特定类型的OAM报文,则针对每个特定类型的OAM报文均进行第一标识的填充以及发送
采用本申请实施例的技术方案,通过对OAM报文进行修改,在OAM报文中填充表示信号劣化的第一标识,通过修改后的报文告知下游节点当前的第一节点设备产生了信号劣化,使得第二节点设备进行保护倒换,从而实现了采用段路由技术的传输网络中、由于信号劣化的保护倒换。
本申请实施例还提供了一种保护倒换方法。图3为本申请实施例的保护倒换方法的流程示意图二;如图3所示,所述方法包括:
步骤201:第一节点设备在检测到信号劣化的情况下,识别接收到的报文;
步骤202:所述第一节点设备识别出所述报文为OAM报文时,在所述 OAM报文中填充第一标识;其中,所述第一标识用于表示信号劣化;
步骤203:所述第一节点设备确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数;
步骤204:发送修改后的OAM报文。
本实施例中,步骤201、步骤202和步骤204的详细描述具体可参照前述实施例中的步骤101至步骤103的描述,这里不再赘述。
本实施例中,第一节点设备可检测表征信号劣化的相关参数,例如,所述相关参数包括以下至少之一:误码率、丢包率等,将所述相关参数填写至OAM报文的负荷区域,以便向下游节点告知所述第一节点设备具体的信号劣化的状态。
采用本申请实施例的技术方案,通过对OAM报文进行修改,在OAM报文中填充表示信号劣化的第一标识,通过修改后的报文告知下游节点当前的第一节点设备产生了信号劣化,使得第二节点设备进行保护倒换,从而实现了采用段路由技术的传输网络中、由于信号劣化的保护倒换;并且,通过将表征信号劣化的相关参数填写在修改后的OAM报文中,用于向下游节点告知信号劣化的具体状态。
本申请实施例还提供了一种保护倒换方法。图4为本申请实施例的保护倒换方法的流程示意图二;如图4所示,所述方法包括:
步骤301:第二节点设备接收来自第一节点设备的OAM报文,识别出所述OAM报文中的第一标识,所述第一标识用于表示信号劣化;
步骤302:所述第二节点设备触发路径保护倒换。
基于前述实施例中针对图2的说明,本实施例中的所述第二节点设备为宿节点,例如图2中的节点Z。
本实施例中,所述第二节点设备接收到的来自所述第一节点设备的OAM报文,所述OAM报文中携带有表示信号劣化的第一标识。
其中,例如表1或表2所示,所述第一标识可填写在报文的OpCode区域(即编码区域)或OAM PDU负荷区域(即负荷区域),在所述编码区域或负荷区域填写特定值(即第一标识),例如填写“1”,表示当前报文是用来指示信号劣化的报文。则第二节点设备通过识别报文中的编码区域(例如OAM封装结构中的OpCode区域)或负荷区域(例如OAM封装结构中的OAM PDU负荷区域)对应的字段为特定取值(例如取值为“1”),从而识别出表示信号劣化的第一标识。
在识别出所述第一标识的情况下,所述第二节点设备触发路径保护倒换,即触发所述第一节点设备由工作路径切换至保护路径。
在本申请的一种可选实施例中,所述方法还包括:所述第二节点设备识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;所述第二节点设备触发路径保护倒换,包括:所述第二节点设备在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
本实施例中,第一节点设备可将检测到的表征信号劣化的相关参数添加至报文中,例如,所述相关参数包括以下至少之一:误码率、丢包率等等。第二节点设备识别出报文中携带的表征信号劣化的相关参数,根据相关参数是否达到预设阈值判定是否触发路径保护倒换。其中,针对不同类型的相关参数,可分别配置对应的预设阈值;例如,针对误码率可配置第一预设阈值,针对丢包率可配置第二预设阈值。判断误码率的数值是否达到第一预设阈值;在误码率的数值达到第一预设阈值的情况下,触发路径保护倒换。或者,判断丢包率的数值是否达到第二预设阈值;在丢包率的数值达到第二预设阈值的情况下,触发路径保护倒换。
本实施例中,第二节点设备可依据预先约定的方式或者高层节点设备的配置确定保护倒换的触发策略,是识别出报文中携带有第一标识则直接 触发保护倒换,或是基于报文中携带的相关参数超过预设阈值的情况下触发保护倒换。
采用本申请实施例的技术方案,通过对OAM报文进行修改,在OAM报文中填充表示信号劣化的第一标识,通过修改后的报文告知下游节点当前的第一节点设备产生了信号劣化,使得第二节点设备进行保护倒换,从而实现了采用段路由技术的传输网络中、由于信号劣化的保护倒换;并且,通过将表征信号劣化的相关参数填写在修改后的OAM报文中,用于向下游节点告知信号劣化的具体状态。
本申请实施例还提供了一种节点设备,所述节点设备为第一节点设备。图5为本申请实施例的节点设备的组成结构示意图一;如图5所示,所述节点设备包括:检测单元41、识别处理单元42和第一通讯单元43;其中,
所述检测单元41,配置为检测信号劣化;
所述识别处理单元42,配置为在所述检测单元41检测到信号劣化的情况下,识别接收到的报文;识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识;其中,所述第一标识用于表示信号劣化;
所述第一通讯单元43,配置为发送修改后的OAM报文。
在本申请的一种可选实施例中,所述识别处理单元42,配置为识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
在本申请的一种可选实施例中,所述识别处理单元42,配置为匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报文为OAM报文;匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定类型的OAM报文。
在本申请的一种可选实施例中,如图6所示,所述节点设备还包括确 定单元44,配置为确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数。
在本申请的一种可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一种可选实施例中,所述OAM报文中包括段路由标签。
本申请实施例中,所述节点设备中的检测单元41、识别处理单元42和确定单元44,在实际应用中均可由所述节点设备中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述终端中的第一通讯单元,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
需要说明的是:上述实施例提供的节点设备在进行保护倒换时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将节点设备的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的节点设备与保护倒换的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本申请实施例还提供了一种节点设备,所述节点设备为第二节点设备。图7为本申请实施例的节点设备的组成结构示意图三;如图7所示,所述节点设备包括第二通讯单元51、识别单元52和触发单元53;其中,
所述第二通讯单元51,配置为接收来自第一节点设备的OAM报文;
所述识别单元52,配置为识别所述OAM报文中的特定预留字段标识为第一标识,所述第一标识用于表示信号劣化;
所述触发单元53,配置为触发路径保护倒换。
在本申请的一种可选实施例中,所述识别单元52,还配置为识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;
所述触发单元53,还配置为在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
在本申请的一种可选实施例中,所述相关参数包括以下至少之一:误码率、丢包率。
在本申请的一种可选实施例中,所述OAM报文中包括段路由标签。
本申请实施例中,所述节点设备中的识别单元52和触发单元53,在实际应用中均可由所述节点设备中的CPU、DSP、MCU或FPGA实现;所述终端中的第二通讯单元51,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
需要说明的是:上述实施例提供的节点设备在进行保护倒换时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将节点设备的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的节点设备与保护倒换的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本申请实施例还提供了一种节点设备。图8为本申请实施例的节点设备的硬件组成结构示意图,如图8所示,所述节点设备60包括存储器62、处理器61及存储在存储器62上并可在处理器61上运行的计算机程序,所述处理器61执行所述程序时实现本申请实施例中应用于第一节点设备或第二节点设备的所述保护倒换的方法的步骤。
可以理解,节点设备60中还包括通信接口63。节点设备60中的各个组件通过总线系统64耦合在一起。可理解,总线系统64用于实现这些组 件之间的连接通信。总线系统64除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统64。
可以理解,存储器62可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器62旨在包括但不限于这些和任意其它适合类型的存储器。
上述本申请实施例揭示的方法可以应用于处理器61中,或者由处理器61实现。处理器61可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器61中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器61可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器61可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器62,处理器61读取存储器62中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,节点设备60可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。
在示例性实施例中,本申请实施例还提供了一种计算机可读存储介质,例如包括计算机程序的存储器62,上述计算机程序可由节点设备60的处理器61执行,以完成前述方法所述步骤。
本申请实施例提供的一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例中应用于第一节点设备或第二节点设备的所述保护倒换的方法的步骤。
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下 可以任意组合,得到新的方法实施例。
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (22)
- 一种保护倒换的方法,所述方法包括:第一节点设备在检测到信号劣化的情况下,识别接收到的报文;所述第一节点设备识别出所述报文为操作维护管理OAM报文时,在所述OAM报文中填充第一标识,发送修改后的OAM报文;其中,所述第一标识用于表示信号劣化。
- 根据权利要求1所述的方法,其中,所述第一节点设备识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识,包括:所述第一节点设备识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
- 根据权利要求2所述的方法,其中,所述第一节点设备识别出所述报文为特定类型的OAM报文,包括:所述第一节点设备匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报文为OAM报文;所述第一节点设备匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定类型的OAM报文。
- 根据权利要求1至3任一项所述的方法,其中,所述发送修改后的OAM报文之前,所述方法还包括:所述第一节点设备确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数。
- 根据权利要求4所述的方法,其中,所述相关参数包括以下至少之一:误码率、丢包率。
- 根据权利要求1所述的方法,其中,所述OAM报文中包括段路由标签。
- 一种保护倒换的方法,所述方法包括:第二节点设备接收来自第一节点设备的OAM报文,识别出所述OAM报文中的第一标识,所述第一标识用于表示信号劣化;所述第二节点设备触发路径保护倒换。
- 根据权利要求7所述的方法,其中,所述方法还包括:所述第二节点设备识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;所述第二节点设备触发路径保护倒换,包括:所述第二节点设备在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
- 根据权利要求8所述的方法,其中,所述相关参数包括以下至少之一:误码率、丢包率。
- 根据权利要求7所述的方法,其中,所述OAM报文中包括段路由标签。
- 一种节点设备,所述节点设备为第一节点设备;所述节点设备包括:检测单元、识别处理单元和第一通讯单元;其中,所述检测单元,配置为检测信号劣化;所述识别处理单元,配置为在所述检测单元检测到信号劣化的情况下,识别接收到的报文;识别出所述报文为OAM报文时,在所述OAM报文中填充第一标识;其中,所述第一标识用于表示信号劣化;所述第一通讯单元,配置为发送修改后的OAM报文。
- 根据权利要求11所述的节点设备,其中,所述识别处理单元,配置为识别出所述报文为特定类型的OAM报文时,修改所述OAM报文中的特定预留字段标识为第一标识。
- 根据权利要求12所述的节点设备,其中,所述识别处理单元,配置为匹配所述报文中的第一特定字段,在所述第一特定字段的取值为第一特定值的情况下,确定所述报文为OAM报文;匹配所述OAM报文中的第二特定字段,在所述第二特定字段的取值为第二特定值的情况下,确定所述报文为特定类型的OAM报文。
- 根据权利要求11至13任一项所述的节点设备,其中,所述节点设备还包括确定单元,配置为确定表征信号劣化的相关参数,在所述OAM报文的填充区域填写所述相关参数。
- 根据权利要求14所述的节点设备,其中,所述相关参数包括以下至少之一:误码率、丢包率。
- 根据权利要求11所述的节点设备,其中,所述OAM报文中包括段路由标签。
- 一种节点设备,所述节点设备为第二节点设备,其中,所述节点设备包括第二通讯单元、识别单元和触发单元;其中,所述第二通讯单元,配置为接收来自第一节点设备的OAM报文;所述识别单元,配置为识别出所述OAM报文中的第一标识,所述第一标识用于表示信号劣化;所述触发单元,配置为触发路径保护倒换。
- 根据权利要求17所述的节点设备,其中,所述识别单元,还配置为识别所述OAM报文中的填充区域的相关参数,判断所述相关参数的数值是否达到预设阈值,获得判断结果;所述相关参数为表征信号劣化的参数;所述触发单元,还配置为在所述判定结果为所述相关参数的数值达到预设阈值的情况下,触发路径保护倒换。
- 根据权利要求18所述的节点设备,其中,所述相关参数包括以下至少之一:误码率、丢包率。
- 根据权利要求17所述的节点设备,其中,所述OAM报文中包括段路由标签。
- 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至6任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求7至10任一项所述方法的步骤。
- 一种节点设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至6任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求7至10任一项所述方法的步骤。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20862378.5A EP4027586B1 (en) | 2019-09-09 | 2020-09-07 | Protection switching method, node device and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910848682.4 | 2019-09-09 | ||
CN201910848682.4A CN112468311B (zh) | 2019-09-09 | 2019-09-09 | 一种保护倒换的方法、节点设备和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021047483A1 true WO2021047483A1 (zh) | 2021-03-18 |
Family
ID=74807379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/113841 WO2021047483A1 (zh) | 2019-09-09 | 2020-09-07 | 一种保护倒换的方法、节点设备和存储介质 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP4027586B1 (zh) |
CN (1) | CN112468311B (zh) |
WO (1) | WO2021047483A1 (zh) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719843A (zh) * | 2009-12-18 | 2010-06-02 | 烽火通信科技股份有限公司 | Ptn中lsp线性保护倒换方法 |
CN102215127A (zh) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | 一种信号劣化处理方法、装置及节点设备 |
CN105281931A (zh) * | 2014-06-18 | 2016-01-27 | 中兴通讯股份有限公司 | Potn的误码检测方法、装置及系统 |
US20160142286A1 (en) * | 2014-11-19 | 2016-05-19 | Electronics And Telecommunications Research Institute | Dual node interconnection protection switching method and apparatus |
US20170339028A1 (en) * | 2016-05-19 | 2017-11-23 | Ciena Corporation | Protection switching systems and methods in a packet network based on signal degrade |
CN108632121A (zh) * | 2017-03-23 | 2018-10-09 | 中兴通讯股份有限公司 | 一种用于环网的保护倒换方法及装置 |
CN109547279A (zh) * | 2017-09-22 | 2019-03-29 | 中兴通讯股份有限公司 | 一种信号劣化故障的处理方法和系统 |
CN110581774A (zh) * | 2018-06-08 | 2019-12-17 | 华为技术有限公司 | 一种网络通信方法及装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2245791A4 (en) * | 2008-01-14 | 2012-02-29 | Alcatel Lucent Shanghai Bell Co Ltd | METHOD AND SYSTEMS FOR CONTINUITY TESTING OF ETHERNET-MULTICAST |
CN102790702B (zh) * | 2011-05-19 | 2017-09-08 | 中兴通讯股份有限公司 | 分组路径信号劣化的检测方法、装置及系统 |
US20160308709A1 (en) * | 2013-12-26 | 2016-10-20 | Telefonica, S.A | Method and system for restoring qos degradations in mpls networks |
CN104618189B (zh) * | 2015-02-04 | 2018-07-24 | 新华三技术有限公司 | 链路故障检测方法及装置 |
CN109981457B (zh) * | 2017-12-27 | 2021-09-07 | 华为技术有限公司 | 一种报文处理的方法、网络节点和系统 |
-
2019
- 2019-09-09 CN CN201910848682.4A patent/CN112468311B/zh active Active
-
2020
- 2020-09-07 WO PCT/CN2020/113841 patent/WO2021047483A1/zh unknown
- 2020-09-07 EP EP20862378.5A patent/EP4027586B1/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719843A (zh) * | 2009-12-18 | 2010-06-02 | 烽火通信科技股份有限公司 | Ptn中lsp线性保护倒换方法 |
CN102215127A (zh) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | 一种信号劣化处理方法、装置及节点设备 |
CN105281931A (zh) * | 2014-06-18 | 2016-01-27 | 中兴通讯股份有限公司 | Potn的误码检测方法、装置及系统 |
US20160142286A1 (en) * | 2014-11-19 | 2016-05-19 | Electronics And Telecommunications Research Institute | Dual node interconnection protection switching method and apparatus |
US20170339028A1 (en) * | 2016-05-19 | 2017-11-23 | Ciena Corporation | Protection switching systems and methods in a packet network based on signal degrade |
CN108632121A (zh) * | 2017-03-23 | 2018-10-09 | 中兴通讯股份有限公司 | 一种用于环网的保护倒换方法及装置 |
CN109547279A (zh) * | 2017-09-22 | 2019-03-29 | 中兴通讯股份有限公司 | 一种信号劣化故障的处理方法和系统 |
CN110581774A (zh) * | 2018-06-08 | 2019-12-17 | 华为技术有限公司 | 一种网络通信方法及装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4027586A4 * |
Also Published As
Publication number | Publication date |
---|---|
CN112468311B (zh) | 2023-01-03 |
EP4027586A1 (en) | 2022-07-13 |
EP4027586B1 (en) | 2024-09-04 |
EP4027586A4 (en) | 2022-10-19 |
CN112468311A (zh) | 2021-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109391560B (zh) | 网络拥塞的通告方法、代理节点及计算机设备 | |
CN110061914B (zh) | 一种报文转发方法及装置 | |
WO2018054397A1 (zh) | 业务功能链检测路径的方法和装置 | |
US11606288B2 (en) | Network communication method and apparatus | |
CN109787878A (zh) | 一种隧道链路检测方法及相关设备 | |
US20200044964A1 (en) | Defect detection in ip/mpls network tunnels | |
US20230091414A1 (en) | Packet Processing Method, Device, and System | |
EP2858302A1 (en) | Connectivity check method of service stream link, related apparatus and system | |
CN104468158B (zh) | 一种节点间状态通告的方法和设备 | |
WO2021047483A1 (zh) | 一种保护倒换的方法、节点设备和存储介质 | |
WO2020253791A1 (zh) | 一种故障传输方法和装置 | |
CN110011819B (zh) | 生成sd告警信息的方法、装置、设备及系统 | |
CN109905285B (zh) | 一种网络管理的方法与网络设备 | |
WO2019165803A1 (zh) | 报文的处理方法、装置及报文的封装方法、装置和系统 | |
CN112468394B (zh) | 一种保护倒换的方法、节点设备和存储介质 | |
CN115914087A (zh) | 报文转发方法、装置、设备、系统及存储介质 | |
CN112825501B (zh) | 信号劣化处理方法、装置及系统 | |
CN115801552A (zh) | 保护倒换方法及网络设备 | |
US10122612B2 (en) | Method and apparatus for network diagnosis processing | |
JPWO2022048466A5 (zh) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20862378 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: 2020862378 Country of ref document: EP Effective date: 20220411 |