A method for osu-oriented protected service protection switchover
By statistically analyzing overlapping and independent paths in the subnet connection protection of the OSU, and prioritizing the interruption of high-bandwidth unprotected services, the impact of other services during the OSU protection switching process is resolved, achieving successful switching of protected services and minimizing the interruption of other services.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING UNIV OF POSTS & TELECOMM
- Filing Date
- 2022-12-07
- Publication Date
- 2026-07-07
Smart Images

Figure CN116192244B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a protection switching method for protected services of OSUs. Background Technology
[0002] Optical Transport Networks (OTNs) have traditionally been used to carry a variety of services, including high-quality leased lines and video / VR services, and have gradually extended from backbone networks to metropolitan area networks (MANs). To overcome the limitations of traditional Optical Data Units (ODUs) in terms of large granularity and inflexibility, Optical Service Units (OSUs) have been proposed for MANs. OSUs can support bandwidth transmission rates as low as 2Mbps and can more flexibly carry services of any granularity from 2Mbps to 100Gbps, and will be widely used in next-generation OTN network equipment. Furthermore, the emergence of OSUs enables OSU-based Subnetwork Connection Protection (SNCP) to save redundant resources by pre-configuring 2Mbps backup channels. When a service requires protection switching, the bandwidth of the protection path channel can be quickly adjusted to the bandwidth required by the service, maximizing network resource utilization. However, when services switch over, the bandwidth adjustment process of the protection path may affect other services. Currently, there is no solution for OSU SNCP scenarios on how to properly interrupt or reconstruct other services on the path when the working path of the protected service is switched over to the protection path. Summary of the Invention
[0003] The purpose of this application is to provide a protection switching method for protected services of OSU, which provides a solution on how to properly interrupt or reconstruct other services on the path when the working path of the protected service is switched to the protected path.
[0004] One aspect of this application provides a protection switching method for protected services of an OSU, including:
[0005] Statistics on all affected protected services and their corresponding protection paths in the network;
[0006] For the statistical protection paths, identify the overlapping paths and independent paths;
[0007] For links in overlapping paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in overlapping paths.
[0008] For links in independent paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in independent paths.
[0009] Preferably, the step of prioritizing the interruption of high-bandwidth unprotected services for links with insufficient remaining bandwidth in overlapping paths to meet the bandwidth requirements for protection switching of protected services in overlapping paths specifically includes:
[0010] For the currently traversed link in the overlapping path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service;
[0011] If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied;
[0012] Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence:
[0013] For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After adding +1, proceed to the next non-protected business category assessment;
[0014] If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted.
[0015] in, The initial value is 0.
[0016] Preferably, for links in independent paths with insufficient remaining bandwidth, the decision to prioritize interrupting high-bandwidth unprotected services to meet the bandwidth requirements for protection switching of protected services in independent paths specifically includes:
[0017] For the currently traversed link in the independent path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service;
[0018] If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied;
[0019] Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence:
[0020] For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After adding +1, proceed to the next non-protected business category assessment;
[0021] If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted.
[0022] in, The initial value is 0.
[0023] Another aspect of this application provides a protection switching method for protected services of OSUs, including:
[0024] After receiving a protection switching request from the end node of the faulty link, if the source node of the protected service determines that there is a service that needs to be interrupted, it sends a notification to the destination node of the other end along the path of the service that needs to be interrupted to reduce the bandwidth of the service that needs to be interrupted.
[0025] The source node sends a notification to each node along the protection path of the protected service to increase the bandwidth of the protected service;
[0026] After receiving the notification to increase the bandwidth of the protected service, if the intermediate node in the protection path determines that there is a service that needs to be interrupted, it sends a notification to the peer destination node to reduce the bandwidth of the service that needs to be interrupted along the path of the service that needs to be interrupted.
[0027] After receiving the notification to increase the bandwidth of the protected service, the destination node in the protection path increases the bandwidth of the protected service and returns a response indicating that the bandwidth of the protected service has been increased.
[0028] After receiving the response of the increased bandwidth of the protection service, and if the node has a service that needs to be interrupted, the intermediate node / source node in the protection path will execute the interruption of the service that needs to be interrupted and the increase of the bandwidth of the protection service after receiving the response of the reduced bandwidth of the service that needs to be interrupted from the peer destination node of the path of the service that needs to be interrupted.
[0029] Another aspect of this application provides a computer device, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement steps of a protection switching method for protected services oriented to an OSU.
[0030] Another aspect of this application provides a computer-readable storage medium storing a computer program that can be executed by at least one processor to cause the at least one processor to perform the steps of a protection switching method for protected services oriented to an OSU.
[0031] The technical solution provided in this application involves statistically analyzing all affected protected services and their corresponding protection paths in the network; identifying overlapping and independent paths within the statistically analyzed protection paths; prioritizing the interruption of high-bandwidth unprotected services on overlapping paths for links with insufficient remaining bandwidth to meet the bandwidth requirements for protection switching of protected services on overlapping paths; and prioritizing the interruption of high-bandwidth unprotected services on independent paths for links with insufficient remaining bandwidth to meet the bandwidth requirements for protection switching of protected services on independent paths. This provides a solution for appropriately interrupting or reconstructing other services on a protected path during the switching process when a protected service's working path is switched to a protected path. This solution effectively reduces the repeated calculations of the same service traversing multiple protection paths by prioritizing the traversal of overlapping paths of multiple protected services before traversing independent paths. Furthermore, prioritizing the interruption of high-bandwidth unprotected services on links with insufficient remaining bandwidth ensures successful protection switching while minimizing the number of unprotected services that need to be interrupted / affected. Attached Figure Description
[0032] Figure 1 A flowchart illustrating a protection switching method for protected services of an OSU according to Embodiment 1 of this application is shown in the schematic diagram.
[0033] Figure 2 A flowchart illustrating a bandwidth preemption method for OSU SNCP overlapping protection paths according to Embodiment 1 of this application is shown in the schematic diagram.
[0034] Figure 3 A flowchart illustrating a bandwidth preemption method for an OSU SNCP independent protection path according to Embodiment 1 of this application is shown in the schematic diagram.
[0035] Figure 4 A flowchart illustrating a method for protection switching of protected services for OSUs in a network according to Embodiment 2 of this application is shown in the schematic diagram.
[0036] Figure 5 This diagram illustrates an example of network implementation of protection switching for protected services oriented to OSUs according to Embodiment 2 of this application.
[0037] Figure 6 The illustration shows a schematic diagram of the hardware architecture of a computer device suitable for implementing a protection switching method for protected services oriented to an OSU, according to an embodiment of this application. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0039] It should be noted that the descriptions involving "first," "second," etc., in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0040] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order of the steps, but are only used to facilitate the description of this application and to distinguish each step, and therefore should not be construed as a limitation of this application.
[0041] The problem this invention addresses is, in end-to-end OSU SNCP scenarios, how to appropriately interrupt or reconstruct other services on a protected service path during the switchover to the protected path, ensuring successful switchover of the protected service while minimizing the number of other affected services. This invention is pre-designed for OSU-OTN networks based on SDN or a distributed control plane. Through centralized reporting or continuous flooding of network resource information, each node in the network can obtain global resource occupancy and service deployment information.
[0042] The technical solutions of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0043] Example 1
[0044] Embodiment 1 of this invention provides a protection switching method for protected services of OSUs, the specific process of which is as follows: Figure 1 As shown, it includes the following steps:
[0045] Step S101: When a single point of failure occurs in the network, trigger the OSU subnet connection protection of multiple protected services on that path, and count all affected protected services and their corresponding protection paths in the network.
[0046] Specifically, through centralized reporting or continuous flooding of network resource information, each node in an OSU-oriented network can obtain global resource occupancy and service deployment information. This allows each node to statistically analyze all affected protection services based on a global network view. ,in This refers to the set of protected services that are affected. Statistics are provided for each protected service. The corresponding protection path, the set of statistically analyzed protection paths is denoted as . .
[0047] Step S102: For the statistical protection paths, determine whether there are overlapping paths; if yes, proceed to step S103; if no, proceed to step S104.
[0048] Step S103: For the statistical protection paths, determine the set of overlapping paths and execute the bandwidth preemption strategy for OSU SNCP overlapping protection paths;
[0049] In this step, for the statistically analyzed protection paths, overlapping paths are identified, and the set of overlapping paths is denoted as... Furthermore, for links in the overlapping path with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in the overlapping path; specifically, each link in the overlapping path is traversed, and for the first link in the overlapping path... i Link l i According to such Figure 2 The method flow shown is designed to meet the bandwidth requirements of protection switching for protected services in overlapping paths, and includes the following sub-steps:
[0050] Sub-step S201: Determine the link l i Can the remaining bandwidth meet the bandwidth requirements for protection switching of the protected services? If so, complete the link... l i If the current link fails, proceed to the next link; otherwise, execute the following sub-step S202.
[0051] In this sub-step, the remaining bandwidth in the link is determined. Can the 2Mbps protection bandwidth of all affected protected services be adjusted to meet their respective service requirements? If so, complete the link adjustment. l i If the current link fails, proceed to the next link; otherwise, execute the following sub-step S202.
[0052] Sub-step S202: Calculate the bandwidth usage of unprotected services on this link and sort them in descending order of bandwidth usage;
[0053] In this sub-step, the statistical links are... l i The bandwidth usage of unprotected services is recorded and sorted in descending order of bandwidth usage, denoted as follows: And initialize the sequence number. k =0.
[0054] Sub-step S203: Initialize identifier Let it be 0. k = k+ 1.
[0055] Sub-step S204: According to the sorting result, for the first... k Make a judgment on unprotected business items;
[0056] In this sub-step, for the currently judged... k For each unprotected service, first decide to suspend that unprotected service;
[0057] Furthermore, it is determined whether the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of the protected service after the interruption of the unprotected service; if so, the unprotected service is restored, and... = After +1, execute sub-step S203 to determine the next unprotected service.
[0058] Otherwise, check the identifier. Is it 0? If If =0, then execute sub-step S203 to determine the next unprotected service; if Then restore the first k For one unprotected business, it was decided to suspend the previous one. k -1 unprotected business.
[0059] The above method can traverse and find other services that consume a lot of bandwidth on overlapping links in the protection path for multiple protected services, and minimize the number of affected services.
[0060] Step S104: For the statistical protection paths, determine the set of independent paths and execute the bandwidth preemption strategy for the OSU SNCP independent protection paths;
[0061] In this step, for the statistically analyzed protection paths, the paths without overlapping parts are treated as independent paths; that is, among the statistically analyzed protection paths, excluding overlapping paths, the rest are all independent paths.
[0062] Furthermore, for links in the independent path with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in the independent path; specifically, each link in the independent path is traversed, and for the first link in the independent path... j Link l j According to such Figure 3 The method flow shown is designed to meet the bandwidth requirements of protection switching for protected services in an independent path, and includes the following sub-steps:
[0063] Sub-step S301: Determine the link l j Can the remaining bandwidth meet the bandwidth requirements for protection switching of the protected services? If so, complete the link... l j If the current link fails, proceed to the next link; otherwise, execute the following sub-step S302.
[0064] In this sub-step, the remaining bandwidth in the link is determined. Can the 2Mbps protection bandwidth of all affected protected services be adjusted to meet their respective service requirements? If so, complete the link adjustment. l j If the processing fails, proceed to the next link; otherwise, execute the following sub-step S302.
[0065] Sub-step S302: Calculate the bandwidth usage of unprotected services on this link and sort them in descending order of bandwidth usage;
[0066] In this sub-step, the statistical links are... l j The bandwidth usage of unprotected services is recorded and sorted in descending order of bandwidth usage, denoted as follows: And initialize the sequence number. k =0.
[0067] Sub-step S303: Initialize identifier Let it be 0. k = k+ 1.
[0068] Sub-step S304: According to the sorting result, for the first...k Make a judgment on unprotected business items;
[0069] In this sub-step, for the currently judged... k For each unprotected service, first decide to suspend that unprotected service;
[0070] Furthermore, it is determined whether the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of the protected service after the interruption of the unprotected service; if so, the unprotected service is restored, and... = After +1, execute sub-step S303 to determine the next unprotected service.
[0071] Otherwise, check the identifier. Is it 0? If If =0, then execute sub-step S303 to determine the next unprotected service; if Then restore the first k Unprotected business The decision was made to interrupt the previous one. k -1 unprotected business .
[0072] The above method can traverse and find other services that consume a lot of bandwidth on a single protected service on an independent path, while minimizing the number of affected services.
[0073] In the technical solution of Embodiment 1 of this invention, all affected protected services and their corresponding protected paths in the network are statistically analyzed. For the statistically analyzed protected paths, overlapping paths and independent paths are identified. For links in overlapping paths with insufficient remaining bandwidth, it is decided to prioritize interrupting non-protected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in overlapping paths. Similarly, for links in independent paths with insufficient remaining bandwidth, it is decided to prioritize interrupting non-protected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in independent paths. Thus, when a protected service's working path is switched to a protected path, a solution is provided for how to appropriately interrupt or reconstruct other services on that path. This solution effectively reduces the situation where the same service repeatedly undergoes calculations across multiple protected paths by prioritizing the traversal of overlapping paths of multiple protected services before traversing independent paths. Furthermore, prioritizing the interruption of non-protected services with high bandwidth for links with insufficient remaining bandwidth ensures successful protection switching while minimizing the number of non-protected services that need to be interrupted / affected.
[0074] Example 2
[0075] Embodiment 2 of the present invention provides a protocol flow for a network implementation of protection switching for protected services oriented to OSUs, specifically as follows: Figure 4 As shown, it includes the following steps:
[0076] Step S401: The source node of the protected service receives a protection switching request sent by the end node of the faulty link;
[0077] Step S402: The source node of the protected service determines whether there is any service that needs to be interrupted on this node; if so, proceed to step S403; otherwise, proceed directly to step S404.
[0078] In this step, the source node of the protected service can be configured according to the above... Figure 1 The process described above involves determining which services need to be interrupted from the network, and then determining whether the node itself needs to interrupt any of the services that need to be interrupted.
[0079] Step S403: The source node of the protected service sends a notification to the destination node of the peer to reduce the bandwidth of the service that needs to be interrupted along the path of the service that needs to be interrupted.
[0080] In this step, if the source node of the protected service determines that there is a service that needs to be interrupted, it sends a notification to the destination node of the other end to reduce the bandwidth of the service that needs to be interrupted along the path of the service that needs to be interrupted.
[0081] Specifically, the source node of the protected service sends an Operation, Management and Maintenance (OAM) frame with a bandwidth reduction request (BW_DEC_REQ) to the corresponding destination node along the path of the service that needs to be interrupted, in order to send a notification to reduce the bandwidth of the service that needs to be interrupted.
[0082] Step S404: Every set period, the source node of the protected service sends a notification to the destination node along the protection path of the protected service to increase the bandwidth of the protected service.
[0083] Specifically, the source node of the protected service can send an OAM frame with Automatic Protection Switching Overhead (APS OH) and Bandwidth Increase Request (BW_INC_REQ) along the protection path to the sink node every 20ms to send a notification to increase the bandwidth of the protected service, so as to carry out protection switching protocol communication and 2Mbps backup pipeline bandwidth adjustment.
[0084] Step S405: After receiving the notification to increase the bandwidth of the protected service, the intermediate node of the protection path determines whether there is any service that needs to be interrupted; if so, execute the following steps S406~S407; otherwise, do not execute step S406.
[0085] Specifically, after receiving an OAM frame with APS OH and BW_INC_REQ, the intermediate node of the protection path can, according to the above... Figure 1 The process described above involves determining which services need to be interrupted from the network, and then determining whether the node itself needs to interrupt any of the services that need to be interrupted.
[0086] Step S406: The intermediate node of the protected service sends a notification to the peer destination node to reduce the bandwidth of the service that needs to be interrupted along the path of the service that needs to be interrupted.
[0087] In this step, if an intermediate node of a protected service determines that it has a service that needs to be interrupted, it sends a notification to the destination node along the path of the service that needs to be interrupted to reduce the bandwidth of the service that needs to be interrupted.
[0088] Specifically, the intermediate node of the protected service sends an OAM frame with BW_DEC_REQ along the path of the service that needs to be interrupted to the corresponding destination node, in order to send a notification to reduce the bandwidth of the service that needs to be interrupted.
[0089] Step S407: The intermediate node of the protected service performs bandwidth verification. If the resources are sufficient, it sends a notification to the downstream node of the protection path to increase the bandwidth of the protected service.
[0090] Specifically, the intermediate node of the protected service performs bandwidth verification. If the bandwidth resources can meet the bandwidth requirements of the protection switchover of the protected service, it sends a notification to the downstream node of the protection path to increase the bandwidth of the protected service; otherwise, it stops sending the notification to increase the bandwidth of the protected service and reports the switchover failure to the network management system.
[0091] Step S408: After receiving the notification to increase the bandwidth of the protected service, the destination node in the protection path increases the bandwidth of the protected service and returns a response indicating that the bandwidth of the protected service has been increased.
[0092] Specifically, after receiving the BW_INC_REQ OAM frame, the destination node of the protection path first adjusts the sending bandwidth of the client-side interface, that is, increases the bandwidth of the protected service, and switches to the protection path. Then, it adjusts the forward link bandwidth and sends a BW_INC_ACK response to the source node, that is, the response of the increased bandwidth of the protected service. At the same time, it starts the timer of the protected service at the destination.
[0093] Step S409: After receiving the response of the increase in the protection service bandwidth, the intermediate node in the protection path executes the increase in the bandwidth of the protection service and returns the response of the increase in the protection service bandwidth BW_INC_ACK to the upstream node in the protection path.
[0094] Specifically, after receiving the response BW_INC_ACK for the increase in the bandwidth of the protection service, if the intermediate node in the protection path does not have any services that need to be interrupted, it directly executes the increase in the bandwidth of the protection service.
[0095] If this node has services that need to be interrupted, upon receiving a BW_DEC_ACK response from the peer node of the path indicating a reduction in bandwidth for the interrupted service, it releases the timer for the interrupted service, reports the resource adjustment status after the interruption of non-protected services to the network management system, executes the interruption of the service that needs to be interrupted, and increases the bandwidth of the protected service. If an intermediate node in the protected path does not receive a BW_DEC_ACK from the peer node within a timeout period, the switchover fails. In this case, it stops sending BW_INC_ACK to the upstream node in the protected path and reports the switchover failure to the network management system.
[0096] After the intermediate node in the protection path increases the bandwidth for the protection service, it returns BW_INC_ACK to the upstream node in the protection path.
[0097] Step S410: After receiving the response of the increased bandwidth of the protection service, the source node in the protection path executes the bandwidth increase of the protection service and completes the protection switching of the protection service.
[0098] Specifically, after the source node in the protection path receives the response BW_INC_ACK for the increase in the bandwidth of the protection service, if the node does not have any services that need to be interrupted, it directly executes the increase in the bandwidth of the protection service.
[0099] If this node has services that need to be interrupted, upon receiving a response from the peer node indicating a reduction in bandwidth for the interrupted service, it will switch to the backup path and adjust the forward link bandwidth. It will adjust the OSU bandwidth, then the OTN customer bandwidth, and report the post-switch resource information to the network management system. It will then execute the interruption of the interrupted service and increase the bandwidth of the protection service. If no response from the peer node indicating a reduction in bandwidth for the interrupted service is received within a timeout period, the switchover fails, and a switchover failure report is sent to the network management system, with the bandwidth adjustment rolled back.
[0100] For example, such as Figure 5 In the network shown, there are two protected services, 1 and 2, whose working paths and protection paths are illustrated in the figure. There is also a non-protected service, 3. Under normal operating conditions, nodes in the network can obtain overall network resource information through centralized information reporting or flooding. When a link in the figure fails, both services 1 and 2 will simultaneously undergo OSU SNCP switching. Because the protection paths of services 1 and 2 overlap, i.e., the links... First, the overlapping path bandwidth preemption strategy for OSU SNCP is executed to ensure that the remaining resources on the link are sufficient to increase the bandwidth for service 1 and service 2 during switching. After execution, the following steps are taken for each link: , , Implement an independent path bandwidth preemption policy based on OSU SNCP. For example, if the bandwidth preemption policy based on OSU SNCP determines that the service requiring interruption is non-protected service 3, i.e., there exists... If the remaining bandwidth resources of the link are insufficient, the bandwidth preemption method for OSU SNCP is followed during the switchover process. The source node of Service 1 sends an OAM frame with APS OH and BW_INC_REQ along the protection path, and performs bandwidth checks on each link. (The message then returns to the previous sentence.) At this time, because non-protected service 3 needs to be interrupted, an OAM frame with APS OH and BW_DEC_REQ is sent along the path of service 3, and the bandwidth of the corresponding port and link of service 3 is reduced. Then service 1 continues to send BW_INC_REQ along the protected path. When a positive BW_INC_ACK message is returned, at the node... The system needs to wait for the BW_DEC_ACK message returned by Service 3 before it can continue to increase the forward link bandwidth; otherwise, the switchover will fail and be reported to the network management system.
[0101] In the technical solution of this invention, all affected protected services and their corresponding protected paths in the network are statistically analyzed. For the statistically analyzed protected paths, overlapping paths and independent paths are identified. For links in overlapping paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in overlapping paths. Similarly, for links in independent paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in independent paths. Thus, when a protected service's working path switches to a protected path, a solution is provided for how to appropriately interrupt or reconstruct other services on that path. This solution effectively reduces the situation where the same service repeatedly passes through multiple protected paths by prioritizing the traversal of overlapping paths of multiple protected services before traversing independent paths. Furthermore, prioritizing the interruption of unprotected services with high bandwidth for links with insufficient remaining bandwidth ensures successful protection switching while minimizing the number of unprotected services that need to be interrupted / affected.
[0102] Figure 6This illustration schematically shows the hardware architecture of a computer device 1300 for a protection switching method for protected services of an OSU according to an embodiment of this application. In this embodiment, the computer device 1300 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. For example, it may be a smartphone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server, or cabinet server (including independent servers or server clusters composed of multiple servers), etc. Figure 6 As shown, the computer device 1300 includes, but is not limited to, at least: a memory 1310, a processor 1320, and a network interface 1330 that can communicate with each other via a system bus. Wherein:
[0103] The memory 1310 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 1310 may be an internal storage module of the computer device 1300, such as the hard disk or memory of the computer device 1300. In other embodiments, the memory 1310 may also be an external storage device of the computer device 1300, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. Of course, the memory 1310 may also include both the internal storage module and the external storage device of the computer device 1300. In this embodiment, the memory 1310 is typically used to store the operating system and various application software installed on the computer device 1300, such as program code for protection switching methods for protected services of the OSU. In addition, the memory 1310 can also be used to temporarily store various types of data that have been output or will be output.
[0104] In some embodiments, processor 1320 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. Processor 1320 is typically used to control the overall operation of computer device 1300, such as performing control and processing related to data interaction or communication with computer device 1300. In this embodiment, processor 1320 is used to run program code stored in memory 1310 or process data.
[0105] Network interface 1330 may include a wireless network interface or a wired network interface, which is typically used to establish a communication link between computer device 1300 and other computer devices. For example, network interface 1330 is used to connect computer device 1300 to an external terminal via a network, establishing a data transmission channel and communication link between computer device 1300 and the external terminal. The network may be an intranet, the Internet, Global System for Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, or other wireless or wired networks.
[0106] It should be pointed out that, Figure 6 Only a computer device with components 1310-1330 is shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0107] In this embodiment, the protection switching method for protected services of OSU stored in memory 1310 can be further divided into one or more program modules and executed by one or more processors (processor 1320 in this embodiment) to complete the embodiment of this application.
[0108] This application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the protection switching method for protected services oriented to OSU in the embodiments.
[0109] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device. Of course, the computer-readable storage medium can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code of the protection switching method for protected services for the OSU in this embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
[0110] Obviously, those skilled in the art should understand that the modules or steps of the embodiments of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of this application are not limited to any particular combination of hardware and software.
[0111] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A protection switching method for protected services of an OSU, characterized in that, include: Statistics on all affected protected services and their corresponding protection paths in the network; For the statistical protection paths, identify the overlapping paths and independent paths; For links in overlapping paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in overlapping paths. For links in independent paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth in order to meet the bandwidth requirements for protection switching of protected services in independent paths. After receiving a protection switching request from the end node of the faulty link, if the source node of the protected service determines that there is a service that needs to be interrupted, it sends a notification to the destination node of the other end along the path of the service that needs to be interrupted to reduce the bandwidth of the service that needs to be interrupted. The source node sends a notification to each node along the protection path of the protected service to increase the bandwidth of the protected service; After receiving the notification to increase the bandwidth of the protected service, if the intermediate node in the protection path determines that there is a service that needs to be interrupted, it sends a notification to the peer destination node to reduce the bandwidth of the service that needs to be interrupted along the path of the service that needs to be interrupted. After receiving the notification to increase the bandwidth of the protected service, the destination node in the protection path increases the bandwidth of the protected service and returns a response indicating that the bandwidth of the protected service has been increased. After receiving the response of the increased bandwidth of the protection service, and if the node has a service that needs to be interrupted, the intermediate node / source node in the protection path will execute the interruption of the service that needs to be interrupted and the increase of the bandwidth of the protection service after receiving the response of the reduced bandwidth of the service that needs to be interrupted from the peer destination node of the path of the service that needs to be interrupted.
2. The method according to claim 1, characterized in that, For links in overlapping paths with insufficient remaining bandwidth, the decision is made to prioritize interrupting high-bandwidth unprotected services to meet the bandwidth requirements for protection switching of protected services in overlapping paths. Specifically, this includes: For the currently traversed link in the overlapping path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service; If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied; Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence: For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After +1, proceed to the next non-protected business category judgment; If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted. in, The initial value is 0.
3. The method according to claim 1, characterized in that, For links in independent paths with insufficient remaining bandwidth, the decision is made to prioritize interrupting high-bandwidth unprotected services to meet the bandwidth requirements for protection switching of protected services in independent paths. Specifically, this includes: For the currently traversed link in the independent path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service; If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied; Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence: For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After +1, proceed to the next non-protected business category judgment; If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted. in, The initial value is 0.
4. The method according to claim 1, characterized in that, After receiving the response of the increased bandwidth of the protection service, if the intermediate node / source node in the protection path does not have any services that need to be interrupted, it will directly execute the bandwidth increase of the protection service.
5. The method according to claim 1, characterized in that, The determination that there are services that need to be interrupted at this node specifically includes: Statistics on all affected protected services and their corresponding protection paths in the network; For the statistical protection paths, identify the overlapping paths and independent paths; For links in overlapping paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth to meet the bandwidth requirements for protection switching of protected services in overlapping paths. For links in independent paths with insufficient remaining bandwidth, it is decided to prioritize interrupting unprotected services with high bandwidth in order to meet the bandwidth requirements for protection switching of protected services in independent paths. Identify the services that need to be interrupted at this node from the services that are scheduled to be interrupted.
6. The method according to claim 5, characterized in that, For links in overlapping paths with insufficient remaining bandwidth, the decision is made to prioritize interrupting high-bandwidth unprotected services to meet the bandwidth requirements for protection switching of protected services in overlapping paths. Specifically, this includes: For the currently traversed link in the overlapping path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service; If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied; Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence: For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After +1, proceed to the next non-protected business category judgment; If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted. in, The initial value is 0.
7. The method according to claim 5, characterized in that, For links in independent paths with insufficient remaining bandwidth, the decision is made to prioritize interrupting high-bandwidth unprotected services to meet the bandwidth requirements for protection switching of protected services in independent paths. Specifically, this includes: For the currently traversed link in the independent path, determine whether the remaining bandwidth in the link can meet the bandwidth requirements of the protection switching of the protected service; If not, count the bandwidth occupied by unprotected services on the link and sort them in descending order of bandwidth occupied; Based on the sorting results, determine whether the unprotected services on this link should be interrupted in sequence: For services currently classified as unprotected, if the remaining bandwidth in the link can meet the bandwidth requirements for protection switching of protected services after the decision to interrupt the unprotected service, then the unprotected service will be restored, and... = After +1, proceed to the next non-protected business category judgment; If the remaining bandwidth in the link is insufficient to meet the bandwidth requirements for protection switching of the protected service, then the identifier is determined. Is it 0? If If = 0, then proceed to the next non-protected business function judgment; if If so, the unprotected service will be restored, and the previous unprotected service will be interrupted. in, The initial value is 0.
8. A computer device, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the protection switching method for protected services oriented to OSU as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that can be executed by at least one processor to cause the at least one processor to perform the steps of the protection switching method for protected services of OSU as described in any one of claims 1 to 7.