Rerouting methods, electronic devices, and readable storage media based on FlexE networks

By analyzing fiber break alarms in the FlexE network, identifying damaged links and data channels, finding idle time slots, and switching data channels, the problem of excessive device load in traditional rerouting methods is solved, achieving fast and low-impact rerouting recovery.

CN112911420BActive Publication Date: 2026-03-06ZTE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201911222917.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-03
Publication Date
2026-03-06
Estimated Expiration
2040-05-11

AI Technical Summary

Technical Problem

When a network failure occurs in an existing FlexE network, the traditional rerouting method requires adjusting a large number of tunnels, which overloads the equipment and makes it difficult to recover quickly.

Method used

By analyzing fiber breakage alarms, the damaged physical links and affected data channels are identified, idle time slots that can support the data channels are found, and the data channels are switched to idle time slots to achieve fast rerouting.

Benefits of technology

It reduces the number of rerouting operations, lowers the burden on equipment adjustments, improves fault recovery speed, and reduces user perception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112911420B_ABST
    Figure CN112911420B_ABST
Patent Text Reader

Abstract

This invention relates to the field of network communication and discloses a rerouting method, electronic device, and readable storage medium based on a FlexE network. The rerouting method based on a FlexE network includes: in response to receiving a fiber breakage alarm notification, analyzing the damaged first physical link; determining the affected first data channel based on the first physical link; determining the transmission capacity of the first data channel; and configuring the required time slots of the first data channel to available time slots capable of carrying the first data channel, based on the transmission capacity. This application provides a novel rerouting method for FlexE networks, accelerating the rerouting speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of network communication, and particularly to a rerouting method, electronic device, and readable storage medium based on FlexE network. Background Technology

[0002] In the 5G era, the transport network introduced FlexE (Flex Ethernet) technology to meet the requirements of low latency, isolation, and flexibility in network slicing. FlexE is a solution that can meet the requirements of low latency, isolation, and flexibility. However, Ethernet network interfaces have encountered bottlenecks after reaching 400G, and hardware implementation costs have increased non-linearly. The traditional solution is LAG (Link Aggregation), but LAG has obvious drawbacks: low efficiency (at least 60%–70%); uneven hash structure due to the hash algorithm; hash algorithm failure for single high-traffic services; high coupling due to direct correlation with the service layer; and inability to achieve smooth and lossless handover.

[0003] The core concept of FlexE technology is to decouple interface speeds from fixed rates (e.g., 100G or 400G PHYs), allowing for flexible interface speeds at the service layer (e.g., n*100G or n*400G). The FlexE standard is defined by the OIF (Organization of the Internet of Things), which supports a time-division multiplexed FlexE Shim layer (similar to the ODUCN of B100G OTN) to carry various IEEE-defined Ethernet services (FlexE Clients). The FlexE Shim transmits these services through multiple bound PHYs.

[0004] FlexE cross-connect technology: Employing FlexE Shim layer time slot cross-connect technology, it can provide ultra-low latency forwarding performance at the level of hundreds of ns, with the latency deterministic performance of similar circuits.

[0005] FlexE abstracts a three-layer path from end to end:

[0006] FlexE Group Link: Only PE nodes are present. The A and Z endpoints are FlexE Group objects. A FlexE Group can bind one or more Ethernet ports. The port speed can be 50G, 100G, or 400G, but it is usually a 100G port.

[0007] FlexE Channel: Its corresponding single-point object is FlexE Client, divided into PE and P nodes. FlexEClient on the PE node is terminated, while FlexEClient on the P node is non-terminated. Two FlexE Clients on the P node form a time-slot crossover. Its service layer consists of one or more FlexE Group links. FlexE Channel can form end-to-end protection, meaning that the FlexE Client on the PE node can be configured with protection groups, and protection switching is triggered by OAM detection alarms.

[0008] FlexE Ethernet Channel: Based on the FlexE tunnel, the FlexE Ethernet Channel creates VEI Layer 3 virtual interfaces and virtual sub-interfaces at both ends of the PE nodes. IP and VLAN are configured for the virtual interfaces or virtual sub-interfaces to carry the tunnel.

[0009] Currently, in FlexE networks, the traditional method for automatic network fault recovery is to perform rerouting at the tunnel layer, which is the service layer above the Ethernet channel layer. This method directly recalculates routes and adjusts forwarding labels at the tunnel layer to reconfigure paths. The advantage of this approach is that it typically only adjusts forwarding labels on the device, resulting in less interaction and a lighter workload. This is especially true for 5G SR tunnels, which only modify the header label stack data. However, this method also has a significant drawback: if a fiber break affects a large number of tunnels, it will trigger numerous tunnel rerouting operations. Summary of the Invention

[0010] The purpose of this invention is to provide a rerouting method, forwarding device, and readable storage medium based on FlexE networks, thereby accelerating the rerouting speed.

[0011] To address the aforementioned technical problems, embodiments of the present invention provide a rerouting method based on a FlexE network, comprising: in response to receiving a fiber breakage alarm notification, analyzing a damaged first physical link; determining an affected first data channel based on the first physical link; determining the transmission capacity of the first data channel; and configuring the required time slots of the first data channel to idle time slots capable of carrying the first data channel based on the transmission capacity.

[0012] An embodiment of the present invention also provides a rerouting device based on a FlexE network, comprising: an analysis module, configured to analyze a damaged first physical link in response to receiving a fiber breakage alarm notification; a first determination module, configured to determine an affected first data channel based on the first physical link; a second determination module, configured to determine the transmission capacity of the first data channel; and a switching module, configured to configure the required time slots of the first data channel to idle time slots capable of carrying the first data channel based on the transmission capacity.

[0013] Embodiments of the present invention also provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the rerouting method based on the FlexE network as described above.

[0014] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the rerouting method based on the FlexE network as described above.

[0015] Compared with the prior art, the embodiments of the present invention, upon receiving a fiber breakage alarm notification, first determine the damaged physical connection, then determine the affected data channel, and find other available time slots for the affected data channel, thereby transferring all service data on the affected data channel to the found time slots for rapid rerouting. Moreover, since the fiber breakage affects fewer data channels, the number of rerouting operations involved is less, reducing the content that needs to be adjusted, thus accelerating the rerouting caused by the fiber breakage.

[0016] As a further improvement, the step of finding an idle time slot that can carry the first data channel includes: searching for the idle time slot that can carry the first data channel from physical links other than the first physical link in the same group as the first physical link. The above scheme explicitly first searches for available time slots from physical links in the same group.

[0017] As a further improvement, the process of finding an available time slot to carry the first data channel further includes: if no available time slot to carry the first data channel is found from other physical links in the same group as the first physical link, then the available path of the first data channel is recalculated; and an available time slot to carry the first data channel is found from the physical links traversed by the available path. The above scheme clarifies that when there is no available time slot in the same group of physical links, the path can be changed, and other alternative paths can be found based on the topology, thereby expanding the range of available time slots to be found.

[0018] As a further improvement, if an idle time slot capable of carrying the first data channel is found from the physical links traversed by the available path, after configuring the required time slot of the first data channel to the idle time slot, the method further includes: in response to receiving a notification that the fiber breakage alarm has disappeared, switching back the first data channel to the original time slot. The above solution clarifies that when a path change is involved, if the fiber breakage is repaired, the system can switch back to the original time slot of the original path, further reducing the impact of physical link repair on the data channel.

[0019] As a further improvement, the analysis of the damaged first physical link includes: determining the affected physical port based on the alarm source of the fiber breakage alarm notification; and determining the damaged first physical link based on the physical port. The above scheme clarifies the method for determining the damaged physical link.

[0020] As a further improvement, determining the transmission capacity of the first data channel includes: determining the time slots corresponding to the first data channel, and using all time slots corresponding to the first data channel as the transmission capacity of the first data channel. The above scheme clearly defines the method for determining the transmission capacity of a data channel.

[0021] As a further improvement, the idle time slots capable of carrying the first data channel include multiple idle time slots, which belong to the same physical link. The above scheme clearly demonstrates that multiple idle time slots can be found on a single physical link to carry the transmitted data on the affected data link.

[0022] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0023] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0024] Figure 1 This is a flowchart of the rerouting method based on the FlexE network according to the first embodiment of the present invention;

[0025] Figure 2a and Figure 2b This is a schematic diagram of an example network in the rerouting method based on the FlexE network according to the first embodiment of the present invention;

[0026] Figure 3This is a flowchart of the process of finding an idle time slot that can carry the first data channel and the time slot switching configuration process in the rerouting method based on the FlexE network according to the second embodiment of the present invention.

[0027] Figure 4 This is a flowchart of the back-switching process in the rerouting method based on the FlexE network according to the third embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of a rerouting device based on a FlexE network according to the fourth embodiment of the present invention.

[0029] Figure 6 This is a schematic diagram of the structure of an electronic device according to the fifth embodiment of the present invention. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are presented in the various embodiments of the present invention to facilitate a better understanding of this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for ease of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with and referenced by each other without contradiction.

[0031] The first embodiment of the present invention relates to a rerouting method based on a FlexE network. This embodiment can be applied to an electronic device, specifically a device that has enabled FlexE port mode, such as an access layer device, an aggregation layer device, etc., which will not be listed here.

[0032] The process of the rerouting method based on the FlexE network in this embodiment is as follows: Figure 1 As shown, the details are as follows:

[0033] Step 101: In response to receiving a fiber breakage alarm notification, analyze the damaged first physical link.

[0034] Specifically, fiber breakage alarm notifications are used to issue alerts after a physical link shortening occurs; these can be LOS (Loss of Signal) alarms. The affected physical port is then determined based on the alarm source in the fiber breakage alarm notification; and the first damaged physical link is identified based on the physical port. The alarm contains the alarm source, i.e., the problematic physical port. By analyzing the physical ports at both ends of the physical optical link, the affected physical optical link (such as an optical fiber) can be determined.

[0035] Step 102: Determine the first affected data channel based on the first physical link.

[0036] Specifically, the affected group can be identified based on the fiber breakage alarm notification. The group record contains information about the physical optical links it includes. Using the first physical link identified in step 101, the affected group path can be analyzed. Then, using the affected group path and the affected physical optical link, the affected data channel (also known as the channel) can be calculated. In practical applications, multiple channels may be affected, meaning that multiple first data channels can be identified.

[0037] Step 103: Determine the transmission capacity of the first data channel.

[0038] It should be noted that, since the OIF standard supports a time-division multiplexing FlexEShim layer, the time slot in this implementation is a basic resource type, a bandwidth resource measured in kbps. One time slot can be defined as 5Gbps or 1Gbps. Therefore, determining the time slots bound to the optical fibers determines the transmission capacity of a single optical fiber. Specifically, the channel stores information about the data of the bound optical links; that is, the channel stores the time slots bound to each optical fiber. In other words, the transmission capacity of the first data channel can be determined through the information stored in the channel.

[0039] It should be noted that a single optical fiber can be bound to multiple time slots, and the total number of these multiple time slots can be used as the transmission capacity of the first data channel.

[0040] Step 104: Based on the transmission capacity, find an idle time slot that can carry the first data channel.

[0041] Specifically, the availability of a time slot can be determined by whether it is bound to a physical link. If there is an unoccupied time slot in the channel, it is then determined whether the size of that time slot is greater than or equal to the transmission capacity determined in step 103. For example, if the transmission capacity of the first data channel is determined to be 50G, and then an idle time slot of 100G is found on the second physical optical link in the same group as the damaged first physical optical link, then it is determined that an idle time slot sufficient to carry the first data channel has been found.

[0042] More specifically, during the search, idle time slots capable of carrying the first data channel are sought from other physical links in the same group as the first physical link. Since the Groups at both ends of the physical links in the same group are identical, and the Groups record the usage of each time slot, the Groups at both ends of the damaged first physical link can be found. Then, the time slot records in the Groups are checked to see if there are any unused time slots (i.e., idle time slots). Furthermore, since the time slot records in the Groups are recorded in units of ports, the port where the time slot is located can also be used to confirm whether the idle time slot belongs to the damaged first physical link. Finally, idle time slots not on the first physical link are found, i.e., idle time slots on other physical links in the same group as the first physical link.

[0043] It should be noted that after finding an available idle time slot, the next step is to determine whether that time slot can carry the transmission capacity of the first data channel. In practical applications, when one idle time slot is insufficient, multiple idle time slots can be searched, and these multiple idle time slots belong to the same physical link. Furthermore, if the sum of the multiple idle time slots is greater than or equal to the transmission capacity of the first data channel, it can also be determined that an idle time slot capable of carrying the first data channel has been found.

[0044] Step 105: Configure the required time slots of the first data channel to the found idle time slots.

[0045] Specifically, the time slots of the first data channel are adjusted, and the connection positions at both ends of the first data channel are configured to the idle time slots found in step 104. In other words, the clients at both ends of the first data channel are configured from the original physical links to the physical links where the idle time slots are located.

[0046] In practical applications, steps 104 to 105 above involve configuring the required time slots of the first data channel to available time slots that can support the first data channel, based on the transmission capacity. In practice, spare available time slots can be preset; if a physical link is damaged, the spare available time slots will be used.

[0047] Based on the rerouting method described in steps 101 to 105 above, the network topology verification can be performed. The basic physical network topology process is as follows:

[0048] 1. Press Figure 2a Physical networking is implemented, where ABCDEFGHIJ are physical network elements, and the connections between network elements are physical optical fibers.

[0049] 2. Form three access rings (CDEF; CDGH; CDIJ) and one aggregation ring (ABCD).

[0050] 3. There are 3 optical fibers between the CD network elements (fibers 1, 2, and 3 respectively), each with a bandwidth of 50G. These 3 pairs of optical ports of the CD network element are enabled in FlexE mode and are respectively bound to the 3 optical ports on both sides to form a FlexE Group link.

[0051] 4. A 100G optical fiber is used between network elements A and B, and FlexE mode is enabled to form a FlexE Group link.

[0052] 5. A 100G optical fiber is connected between AC network elements, and FlexE mode is enabled to form a FlexE Group link.

[0053] 6. A 100G optical fiber is connected between BD network elements, and FlexE mode is enabled to form a FlexE Group link.

[0054] 7. The remaining optical fibers are access ring fibers with 10G bandwidth. FlexE mode is not enabled for any of them; they can be directly used to form ordinary Ethernet channels.

[0055] The verification process shall be carried out in the following order:

[0056] 1. Configure one FlexE Channel between A and D with a bandwidth of 15G, the path is ACD, the CD segment uses fiber optic cable No. 1, rerouting is supported, and backswitching is not allowed.

[0057] 2. Configure a FlexE Ethernet channel with a bandwidth of 15G between AD and A / D, and use the FlexEChannel created in step 1 as the service layer.

[0058] 3. Configure one FlexE Channel between B and C with a bandwidth of 15G, the path is BDC, the DC segment uses fiber optic cable No. 1, rerouting is supported, and backswitching is not allowed.

[0059] 4. Configure a FlexE Ethernet channel with a bandwidth of 15G between B and C, and use the FlexEChannel created in step 3 as the service layer.

[0060] 5. After the above configuration, the Ethernet network is as follows: Figure 4 As shown, the SR tunnel is configured based on this Ethernet as follows.

[0061] 6. Create 10 SR tunnels between EB, each with a bandwidth of 100M, with the path being ECB, where the EC segment is a regular Ethernet channel and the CB segment is a FlexE Ethernet channel.

[0062] 7. Create 10 SR tunnels between FA, each with a bandwidth of 100M, with the path being FDA, where the FD segment is a regular Ethernet channel and the DA segment is a FlexE Ethernet channel.

[0063] Create 10 SR tunnels between 8.GB, each with a bandwidth of 100M, with the path being GCB, where the GC segment is a normal Ethernet channel and the CB segment is a FlexE Ethernet channel.

[0064] 9. Create 10 SR tunnels between HA, each with a bandwidth of 100M, with the path being HDA, where the HD segment is a regular Ethernet channel and the DA segment is a FlexE Ethernet channel.

[0065] 10. Create 10 SR tunnels between IBs, each with a bandwidth of 100M, with the path being ICB, where the IC segment is a regular Ethernet channel and the CB segment is a FlexE Ethernet channel.

[0066] 11. Create 10 SR tunnels between JA, each with a bandwidth of 100M, with the path being JDA, where the JD segment is a regular Ethernet channel and the DA segment is a FlexE Ethernet channel.

[0067] 12. For example Figure 2b Disconnect fiber optic cable number 1 between CDs to artificially create a fiber breakage alarm.

[0068] 13. The rerouting module received a fiber breakage alarm and analyzed that two FlexE Channels were affected: ACD and BDC.

[0069] 14. ACD and BDC start rerouting. Analyze the FlexE Group link of the CD segment where the fiber is broken. Fiber 1 is broken. There are still 100G of idle time slots on the remaining fibers 2 and 3, which is enough to carry two 15G FlexEChannels.

[0070] 15. Adjust the FlexE time slot of the CD segment of ACD, and change the FlexE Client at both ends of CD from fiber 1 on the original FlexE Group link to fiber 2.

[0071] 16. Adjust the FlexE time slot of the DC segment of BDC, and change the FlexE Client at both ends of DC from fiber 1 on the original FlexE Group link to fiber 2.

[0072] 17. Rerouting complete.

[0073] As can be seen from the above rerouting process, due to the fiber breakage of the critical path CD, the network needs to automatically recover. With 60 SR tunnel services established between the three access rings and one aggregation ring, if rerouting is performed at the SR tunnel layer in the traditional way, all 60 SR tunnel services will be simultaneously rerouted, requiring significant equipment adjustments. However, by using the lower-level FlexE Channel rerouting, only two FlexE Channels need to be rerouted, requiring relatively fewer equipment adjustments. Especially when there are sufficient idle time slots on the FlexE Group links, this adjustment is very minor and can be completed in a short time.

[0074] In summary, upon receiving a fiber breakage alarm notification, this implementation first identifies the damaged physical connection, then determines the affected data channel, and finds other available time slots for the affected data channel. This allows the service data on the affected data channel to be transferred to the found time slots for rapid rerouting. Moreover, since the fiber breakage affects fewer data channels, the number of rerouting operations is reduced, minimizing the amount of content that needs adjustment. This accelerates the rerouting caused by the fiber breakage and reduces the user's perception of the problem.

[0075] The second embodiment of the present invention relates to a rerouting method based on a FlexE network. This embodiment is a further improvement on the first embodiment, the main improvement being that: in the first embodiment, when searching for idle time slots, the search is conducted among other physical links in the same group as the damaged physical link, while in this embodiment, in addition to searching among physical links in the same group, the search can be extended to other physical links on available paths, thus expanding the search range for idle time slots, making it easier to find available idle time slots and improving the success rate of rerouting.

[0076] In this embodiment, the flowchart of the rerouting method based on the FlexE network for finding an idle time slot that can carry the first data channel and the time slot switching configuration process is as follows: Figure 3 As shown, the details are as follows:

[0077] Step 301: Find an available time slot that can carry the first data channel from other physical links in the same group as the first physical link.

[0078] Specifically, step 301 in this embodiment is similar to step 104 in the first embodiment, and will not be described again here.

[0079] Step 302: Determine if found; if found, proceed to step 307; if not found, proceed to step 303.

[0080] Specifically, this step determines whether a suitable idle time slot has been found after the search in step 301. If found, step 307 is executed directly; otherwise, step 303 is continued.

[0081] Step 303: Recalculate the available paths for the first data channel.

[0082] Specifically, the available path for the first data channel is determined through a path algorithm. Figure 2b For example, when a physical link between CDs is damaged, the available paths between CDs include CAD and CBD.

[0083] Step 304: Determine whether the path calculation was successful; if successful, proceed to step 305; if unsuccessful, end the rerouting method based on the FlexE network in this embodiment.

[0084] Specifically, if a usable path is calculated, the path calculation is considered successful; conversely, if no usable path is calculated, the path calculation is considered unsuccessful.

[0085] Step 305: Find an available time slot that can carry the first data channel from the physical links traversed by the calculated available path.

[0086] Specifically, with Figure 2b For example, available paths include CAD and CBD, so an idle time slot that can carry the first data channel can be found from the physical links traversed by CAD and CBD.

[0087] Step 306: Determine if a match is found; if found, proceed to step 307; if not found, end the rerouting method based on FlexE network in this embodiment.

[0088] Step 307: Configure the required time slots of the first data channel to the found idle time slots.

[0089] Specifically, in this step, after successfully finding an idle time slot capable of carrying the transmission capacity of the first data channel, the required time slot of the first data channel is configured to the found idle time slot. The specific configuration process includes configuring the clients at both ends of the first data channel from their original physical links to the physical links where the idle time slot found in step 305 is located.

[0090] As can be seen, in this embodiment, when searching for available idle time slots, it can not only search from other physical links in the same group as the damaged physical link, but also from the calculated available paths, which expands the search range and makes it easier to find suitable idle time slots, thereby increasing the success rate of the rerouting method based on the FlexE network in this embodiment.

[0091] The third embodiment of the present invention relates to a rerouting method based on a FlexE network. The third embodiment is an improvement upon the second embodiment, primarily in that it incorporates a back-cut mechanism for data channels with altered paths. This allows the original path to be restored after the physical optical link is repaired, further reducing the impact on the data channel.

[0092] Specifically, if an idle time slot capable of carrying the first data channel is found from the physical links traversed by the found available path, after configuring the required time slot of the first data channel to the idle time slot, the method further includes: in response to receiving a notification that the fiber breakage alarm has disappeared, switching back the first data channel.

[0093] by Figure 4 For example, let's illustrate the switchback process after receiving the notification that the fiber breakage alarm has disappeared:

[0094] Step 401: Receive notification that the fiber breakage alarm has disappeared.

[0095] Specifically, the notification that the fiber optic cable breakage alarm has disappeared is triggered after the fiber optic cable breakage has been repaired.

[0096] Step 402: Determine the data channel that needs to be switched back.

[0097] Specifically, for data channels that require a rollback, the original path will be recorded after the path changes. Therefore, it can be determined whether the data channel needs to be rolled back based on whether the original path is recorded.

[0098] It should be noted that if the time slots required by the data channel are configured to the time slots of other fibers in the same group as the damaged fiber, then no back-cut is required because the path has not changed.

[0099] Step 403: Adjust the data channel that needs to be switched back from the current path to the original path.

[0100] Specifically, it can be adjusted to the original time slot of the original path.

[0101] Step 404: Remove all single-point data on the path used before the back-cut.

[0102] Step 405: Record successful switchback.

[0103] by Figure 2b For example, if the fiber between CD is damaged, the original path BDC cannot transmit data. Based on the path calculation, the system switches to the new path BAC. After receiving the fiber break alarm disappearance notification, it is confirmed that the fiber between CD has been repaired. The new path BAC can be switched back to the original path BDC. After the switchback, all single-point data on BAC is removed, and the switchback is recorded as successful.

[0104] As can be seen, this implementation adds a back-cut mechanism, which ensures that after fiber breakage repair, the original data channel is restored to its original path as much as possible, reducing the impact of fiber breakage on the data channel.

[0105] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.

[0106] The fourth embodiment of the present invention relates to a rerouting device based on a FlexE network. For example... Figure 5 As shown, the rerouting device based on the FlexE network in this embodiment includes:

[0107] The analysis module is used to analyze the first damaged physical link in response to receiving a fiber breakage alarm notification;

[0108] The first determining module is used to determine the affected first data channel based on the first physical link;

[0109] The second determining module is used to determine the transmission capacity of the first data channel;

[0110] The switching module is used to configure the time slots required by the first data channel to the idle time slots that can carry the first data channel, based on the transmission capacity.

[0111] As can be seen, after receiving a fiber breakage alarm notification, this implementation first determines the damaged physical connection, then identifies the affected data channel, and finds other available time slots for the affected data channel. This allows the service data on the affected data channel to be transferred to the found time slots for rapid rerouting. Moreover, since the fiber breakage affects fewer data channels, the number of rerouting operations is less, reducing the amount of content that needs to be adjusted, thereby accelerating the rerouting caused by the fiber breakage and reducing the user's perception.

[0112] The fifth embodiment of the present invention relates to an electronic device, such as... Figure 6 As shown, it includes:

[0113] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a rerouting method based on a FlexE network as described in the first or second embodiment above.

[0114] The memory and processor are connected via a bus, which can include any number of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.

[0115] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory is used to store data used by the processor during operation.

[0116] The sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the above-described method embodiments.

[0117] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0118] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.

Claims

1. A method for FlexE network-based re-routing, characterized in that, The application is applied to a rerouting device based on a FlexE network, and comprises: in response to receiving a fiber break alarm notification, analyzing a first damaged physical link; determining an affected first data channel according to the first physical link; determining a transmission capacity of the first data channel according to a number of time slots of each fiber binding stored in the first data channel; finding an idle time slot from a physical link other than the first physical link in the same group as the first physical link according to the transmission capacity; if the idle time slot is not found from the other physical link in the same group as the first physical link, recalculating an available path of the first data channel and finding an idle time slot capable of carrying the first data channel from a physical link passed by the available path; configuring a required time slot of the first data channel to the idle time slot capable of carrying the first data channel. The step of finding an idle time slot from a physical link other than the first physical link in the same group as the first physical link according to the transmission capacity comprises: determining whether there is an idle time slot in the physical link other than the first physical link in the same group from a time slot record of a group at both ends of the first physical link.

2. The FlexE network-based rerouting method according to claim 1, wherein, If an idle time slot capable of carrying the first data channel is found from a physical link passed by the available path, after the required time slot of the first data channel is configured to the idle time slot, the method further comprises: in response to receiving a fiber break alarm disappearance notification, switching back the first data channel to the original time slot.

3. The FlexE network based re-routing method according to claim 1, wherein, The step of analyzing a first damaged physical link comprises: determining an affected physical port according to an alarm source of the fiber break alarm notification; determining the first damaged physical link according to the physical port.

4. The FlexE network based re-routing method according to claim 1, characterized in that, The step of determining a transmission capacity of the first data channel comprises: determining a time slot corresponding to the first data channel, and taking all time slots corresponding to the first data channel as the transmission capacity of the first data channel.

5. The FlexE network based re-routing method according to any of claims 1 to 4, wherein, The idle time slot capable of carrying the first data channel comprises a plurality of idle time slots, and the plurality of idle time slots belong to the same physical link.

6. A FlexE network-based rerouting device, characterized in that, The application further provides a rerouting device based on a FlexE network, comprising: an analysis module configured to analyze a first damaged physical link in response to receiving a fiber break alarm notification; a first determination module configured to determine an affected first data channel according to the first physical link; a second determination module configured to determine a transmission capacity of the first data channel according to a number of time slots of each fiber binding stored in the first data channel; a switching module configured to find an idle time slot from a physical link other than the first physical link in the same group as the first physical link according to the transmission capacity; if the idle time slot is not found from the other physical link in the same group as the first physical link, recalculating an available path of the first data channel and finding an idle time slot capable of carrying the first data channel from a physical link passed by the available path. configuring the required time slots of the first data channel to the idle time slots which can carry the first data channel, wherein the step of searching for the idle time slots from the physical links other than the first physical link in the same group as the first physical link according to the transmission capability comprises: finding the Group at both ends of the first physical link according to the first physical link, and determining whether there is an idle time slot in the physical links other than the first physical link in the same group from the time slot record of the Group.

7. An electronic device, comprising: comprise: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the FlexE network-based rerouting method according to any one of claims 1 to 5.

8. A computer readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the FlexE network-based rerouting method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Protection switching method, network device and system

    CN108156074A

  • Method and device for notifying fault of flexible Ethernet, method and device for acquiring fault of flexible Ethernet, and communication device

    CN109218061A

  • Data transmission method and device

    CN109309530A