Optical network rerouting method and device and readable medium
By precomputing and prestoring the rerouting paths and instruction sets of service links in the optical network, the problem of long interruption time for rerouting in the existing optical network is solved, and rapid service rerouting and interrupt time is reduced.
Patent Information
- Application Number
- CN202311627844.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
When existing optical networks rerout services, the interrupt time is long, and pre-calculating the path or using pre-installed service paths can only save routing calculation time and cannot effectively shorten the interrupt time.
In the event that the optical network does not fail, the first rerouting path of each service link is pre-calculated and disassembled into a site-level instruction set, a unique plan number is configured, and a storage is issued to each site. In this way, when subsequent service re-routing, the target site is instructed to execute the corresponding instruction set by issuing a plan number.
By precalculating and pre-stored routing paths and instruction sets, the calculation time of re-routing paths, instruction dismantling time and instruction sending time are saved, and the rapid re-routing of services is realized, reducing interrupt time.
Smart Images

Figure CN120075653A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and in particular, to an optical network rerouting method, apparatus, and readable medium. Background Art
[0002] With the continuous development of the Automatically Switched Optical Network (ASON) technology, users also have higher requirements for network quality, among which the rerouting time of services should be as short as possible; using the method of pre-computing paths or using pre-configured service paths can shorten the interruption time caused by service rerouting, but it can only save the routing calculation time. Summary of the Invention
[0003] The present disclosure provides an optical network rerouting method, apparatus, and readable medium.
[0004] In a first aspect, an embodiment of the present disclosure provides an optical network rerouting method, which is applied to a specified optical network rerouting device, and the method includes:
[0005] When the optical network does not fail, calculate the first rerouting path of each service link;
[0006] Generate a first instruction set corresponding to the service link for each first site according to each of the first rerouting paths, where one first instruction set is configured with a first pre-plan number, and the first site is a non-specified optical network rerouting device in the first rerouting path;
[0007] Send each first instruction set and the first pre-plan number of the first instruction set to each of the first sites for storage by each of the first sites.
[0008] In another aspect, an embodiment of the present disclosure provides an optical network rerouting method, which is applied to a non-specified optical network rerouting device, and the non-specified optical network rerouting device is a first site, and the method includes:
[0009] Receive the first instruction set and the first pre-plan number of the first instruction set sent by the specified optical network rerouting device; the first instruction set is an instruction set corresponding to the service link of the first site;
[0010] Store the first instruction set and the first pre-plan number of the first instruction set.
[0011] In another aspect, an embodiment of the present disclosure further provides an optical network rerouting method device, including: one or more processors; a storage device storing one or more programs thereon; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the optical network rerouting method as described above; one or more I / O interfaces connected between the processor and the storage device and configured to implement information interaction between the processor and the storage device.
[0012] In another aspect, an embodiment of the present disclosure further provides a computer-readable medium storing a computer program thereon, wherein when the program is executed, the optical network rerouting method as described above is implemented.
[0013] The optical network rerouting method provided by the embodiment of the present disclosure is applied to a specified optical network rerouting device. In the case where the optical network does not fail, calculate the first rerouting paths of each service link; generate a first instruction set corresponding to the service link for each first site according to each first rerouting path, and a first instruction set is configured with a first pre-plan number, and the first site is a non-specified optical network rerouting device; send the respective first instruction sets and the first pre-plan numbers of the first instruction sets to each first site for storage by each first site. The embodiment of the present disclosure pre-calculates the rerouting paths of the service links when the network is normal, disassembles the rerouting paths into site-level instruction sets, configures a unique pre-plan number for each instruction set, and issues them to each site for storage. In this way, when performing service rerouting subsequently, by issuing the pre-plan number to indicate the target site to execute the corresponding instruction set, the rerouting path calculation time, instruction disassembly time, and instruction sending time can be saved, and fast service rerouting can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 Schematic diagram of the optical network rerouting process with a specified optical network rerouting device as the execution subject provided by the embodiment of the present disclosure Figure 1 ;
[0015] Figure 2 Schematic diagram of the optical network rerouting process with a specified optical network rerouting device as the execution subject provided by the embodiment of the present disclosure Figure 2 ;
[0016] Figure 3 Schematic diagram of the optical network rerouting process with a specified optical network rerouting device as the execution subject provided by the embodiment of the present disclosure Figure 3 ;
[0017] Figure 4 Schematic diagram of the process for calculating the first rerouting path provided by the embodiment of the present disclosure;
[0018] Figure 5Schematic of the optical network rerouting process with a non - designated optical network rerouting device as the execution entity provided by an embodiment of the present disclosure Figure 1 ;
[0019] Figure 6 Schematic of the optical network rerouting process with a non - designated optical network rerouting device as the execution entity provided by an embodiment of the present disclosure Figure 2 :
[0020] Figure 7 Schematic of the optical network rerouting process with a non - designated optical network rerouting device as the execution entity provided by an embodiment of the present disclosure Figure 3 :
[0021] Figure 8 Schematic diagram of the optical network topology provided by a specific example of the present disclosure;
[0022] Figure 9 Schematic structural diagram of the designated optical network rerouting device and the non - designated optical network rerouting device provided by an embodiment of the present disclosure. Detailed implementation manners
[0023] Hereinafter, example embodiments will be described more fully with reference to the accompanying drawings. However, the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0024] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It will also be understood that when the present specification uses the terms "comprises" and / or "is made of", it specifies the presence of the described features, wholes, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their groups.
[0026] The embodiments described herein may be described with reference to the plan views and / or cross - sectional views by means of the ideal schematic diagrams of the present disclosure. Therefore, the example illustrations may be modified according to the manufacturing techniques and / or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be restrictive.
[0027] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
[0028] Embodiments of the present disclosure can be applied in an optical network, which can be a DWDM (Dense Wavelength Division Multiplexing) network. Exemplarily, it can be an OTN (Optical Transmission Network). The optical network includes multiple optical network rerouting devices, and the optical network rerouting devices are the sites, and the sites are connected by optical fibers. An ASON entity is configured on each site, and the sites interact through the ASON entities. Services are accessed from the starting site and end at the ending site, forming a service path. The service path can pass through several sites in the middle, including multiple service links. A site in the optical network is pre-selected manually or automatically as the designated site. In the embodiments of the present disclosure, the designated site is the designated optical network rerouting device. The ASON entity of the designated site centrally performs service rerouting processing, and the ASON entities of other sites (non-designated sites) do not process service rerouting.
[0029] Embodiments of the present disclosure provide an optical network rerouting method, which is applied to a designated optical network rerouting device, as Figure 1 shown, and the method includes the following steps:
[0030] Step S11, when the optical network does not fail, calculate the first rerouting path of each service link.
[0031] A service link refers to a link in the service path in the optical network. When the network is stable, the designated site collects the service information and topology information of the whole network, and calculates the first rerouting path of each service link through simulating fiber break pre-calculation for each service link in the optical network.
[0032] A service path includes multiple service links. One service link of each service path may correspond to a first-level rerouting path, and the first-level rerouting path includes multiple links. Exemplarily, if the service path is Site 1 - Site 2 - Site 3, this service path includes Link 1 between Site 1 and Site 2, and Link 2 between Site 2 and Site 3. Among them, Site 1 is the specified site. When there is no fault in the optical network, the first-level rerouting path of Link 1 is calculated as Site 1 - Site 4 - Site 2, and the first-level rerouting path of Link 2 is calculated as Site 2 - Site 5 - Site 3.
[0033] Step S12: Generate, according to each first-level rerouting path, a first instruction set corresponding to the service link for each first site. One first instruction set is configured with one first pre-plan number. The first site is a non-specified optical network rerouting device in the first-level rerouting.
[0034] The specified site splits the pre-calculation result into an instruction set executable by the hardware of a single site. One service link corresponds to one instruction set, and a unique pre-plan number is generated for each instruction set. Specifically, the specified site synthesizes the first-level rerouting paths of all service links, generates a first instruction set for each site, and assigns a unique first pre-plan number to each first instruction set. Among them, if a site is in multiple first-level rerouting paths, there are multiple first instruction sets. For example, in the foregoing example, Site 2 is both in the first-level rerouting path of Link 1 and in the first-level rerouting path of Link 2. Then, Site 1 calculates and generates the following two first instruction sets for Site 2: First Instruction Set 1 with a first pre-plan number a corresponding to Link 1 and First Instruction Set 2 with a first pre-plan number b corresponding to Link 2. In this step, one or more first instruction sets of each site can be generated, and each first instruction set corresponds to one service link.
[0035] Step S13: Send the respective first instruction sets and the first pre-plan numbers of the first instruction sets to each first site for storage by each first site.
[0036] The designated site sends the first instruction set and its corresponding first pre - plan number to each first site that needs to take action, and each first site caches the first instruction set and its corresponding first pre - plan number locally. That is to say, the designated site can send the respective first instruction sets and the first pre - plan numbers of the first instruction sets to each first site and itself, so that each site stores the received first instruction set and the first pre - plan number of the first instruction set locally. In the above example, site 1 sends the first instruction set 1 of site 2 and its first pre - plan number a, and the first instruction set 2 of site 2 and its first pre - plan number b to site 2, site 1 sends the first instruction set of site 3 and its first pre - plan number to site 3, site 1 sends the first instruction set of site 4 and its first pre - plan number to site 4, site 1 sends the first instruction set of site 5 and its first pre - plan number to site 5, and site 1 can also send the first instruction set of site 1 and its first pre - plan number to itself.
[0037] The optical network rerouting method provided by the embodiments of the present disclosure is applied to a designated optical network rerouting device. When the optical network is not faulty, calculate the first rerouting paths of each service link; generate the first instruction sets corresponding to the service links of each first site according to the first rerouting paths, and one first instruction set is configured with one first pre - plan number, and the first site is a non - designated optical network rerouting device; send the respective first instruction sets and the first pre - plan numbers of the first instruction sets to each first site for each first site to store; the embodiments of the present disclosure pre - calculate the rerouting paths of service links when the network is normal, disassemble the rerouting paths into site - level instruction sets, configure a unique pre - plan number for each instruction set, and send them to each site for storage. In this way, when performing service rerouting subsequently, by sending the pre - plan number to instruct the target site to execute the corresponding instruction set, the rerouting path calculation time, instruction disassembly time, and instruction sending time can be saved, and rapid service rerouting can be achieved.
[0038] In some embodiments, as Figure 2 shown, the optical network rerouting method may further include the following steps:
[0039] Step S21, when receiving the fault alarm information, determine the faulty link according to the alarm information.
[0040] If the optical network fails, for example, a link fails, the optical network rerouting device corresponding to the faulty link sends fault alarm information to the designated site, and the designated site determines the faulty link according to the alarm information.
[0041] Step S22, when the faulty link is a service link, determine the target pre - plan number and the target site that match the faulty link, the target pre - plan number is the first pre - plan number corresponding to the faulty link, and the target site is the first site corresponding to the faulty link.
[0042] If the failed link is a link in the service path, the designated site determines a first instruction set and a first site (i.e., the target site) corresponding to the failed link, and determines a first pre - plan number of the first instruction set.
[0043] Step S23: Send the target pre - plan number to the target site for the target site to execute the first instruction set corresponding to the target pre - plan number.
[0044] The designated site sends the target pre - plan number to the target site. The target site determines the first instruction set corresponding to the target pre - plan number and executes the instructions in the first instruction set, so as to reroute the failed link to the corresponding first rerouting path.
[0045] When a link in the optical network fails and an alarm is generated, the link failure site sends the alarm information to the designated site. The designated site matches the first pre - plan number according to the alarm information, and then sends the matched first pre - plan number to all non - designated sites that need to take action. All non - designated sites that receive the first pre - plan number immediately execute the corresponding first instruction set according to the received first pre - plan number to complete service rerouting. Since the first rerouting paths of each service link have been pre - calculated and the first instruction sets for implementing rerouting have been sent to each site in advance, when a failure occurs in the optical network, the designated site only needs to send the pre - plan number to each relevant site to start the rerouting of the failed link, saving the rerouting path calculation time, instruction disassembling time, and instruction sending time, thus realizing fast service rerouting.
[0046] In some embodiments, as Figure 3 shown, the optical network rerouting method may further include the following steps:
[0047] Step S31: In the case of receiving the failure alarm information, determine the failed link according to the alarm information.
[0048] If a failure occurs in the optical network, for example, a link fails, the site corresponding to the failed link sends the failure alarm information to the designated site, and the designated site determines the failed link according to the alarm information.
[0049] Step S32: In the case where the failed link is a non - service link and is a link in the first rerouting path, determine the target service link in the service path corresponding to the failed link, and calculate the second rerouting path of the target service link.
[0050] If the faulty link is not a service link but a link in the rerouting path of a certain service link, the rerouting path of that service link needs to be recalculated. Specifically, the designated site first determines the target service link in the service path corresponding to the faulty link, and then recalculates the rerouting path of the target service link to obtain the second rerouting path. Exemplarily, in the previous example, the service path is Site 1 - Site 2 - Site 3, the link between Site 1 and Site 2 is Link 1, and the link between Site 2 and Site 3 is Link 2. Suppose the faulty link is Link 3 (the link between Site 1 and Site 4), and Link 3 is a link in the first rerouting path of Link 1 (i.e., Site 1 - Site 4 - Site 2), that is, the target service link is Link 1. Then Site 1 recalculates the rerouting path of Link 1, that is, obtains the second rerouting path of Link 1 (Site 1 - Site 5 - Site 2).
[0051] Step S33: Generate, according to the second rerouting path and the first rerouting paths of other service links except the target service link, second instruction sets corresponding to the service links for each second site. Each second instruction set is configured with a second plan number, and the second site is a non-designated optical network rerouting device in the second rerouting path.
[0052] The designated site generates second instruction sets for each site according to the recalculated rerouting path of the target service link (i.e., the second rerouting path) and the first rerouting paths of other service links in the service path. That is to say, in the case where the first rerouting path changes, new instruction sets for each site (i.e., the second instruction sets) are regenerated according to the changed rerouting path (i.e., the second rerouting path) and the unchanged first rerouting paths, and a unique plan number (i.e., the second plan number) is assigned to the newly generated instruction sets.
[0053] Step S34: Send the respective second instruction sets and the second plan numbers of the second instruction sets to each second site for storage by each second site.
[0054] The designated site sends the second instruction set of each second site and the second plan number of the second instruction set to each second site respectively, so that each second site can locally save its own second instruction set and the second plan number of the second instruction set. It should be noted that the designated site can also send the second instruction set of the designated site and the second plan number of the second instruction set to itself.
[0055] It can be seen from the above steps S31 - S34 that in the case where the faulty link does not affect the existing services but affects the generated rerouting plan (i.e., the first rerouting path), the designated site regenerates the rerouting plan of the target service link in the service path corresponding to the faulty link and distributes the regenerated rerouting plan to the corresponding sites.
[0056] In some embodiments, when the failed link is a non-service link and is a link in the first rerouting path, the optical network rerouting method may further include the following steps: notifying each site in the first rerouting path to which the failed link belongs to delete the first instruction set corresponding to the failed link and the first plan number corresponding to the first instruction set. That is to say, when the failed link does not affect the existing services but affects the generated rerouting plan, the sites related to the original rerouting plan also need to delete the original rerouting plan.
[0057] In some embodiments, the optical network rerouting method may further include the following steps: when receiving the fault alarm information, determining the failed link according to the alarm information; when the failed link is a non-service link and is not a link in the first rerouting path, discarding the alarm information. That is to say, when the failed link neither affects the existing services nor affects the generated rerouting plan, the designated site can ignore the alarm information.
[0058] In some embodiments, the generating of the first instruction set corresponding to the service link for each first site according to each first rerouting path (i.e., step S12) includes the following steps: when the first site belongs to at least two service links, respectively generating, for each of the belonging service links, the first instruction set of the first site. That is to say, if a site in the rerouting path belongs to multiple service links, the site packages the instruction sets of the multiple service links to generate a set of instruction sets, and each instruction set corresponds to one service link respectively; if a site in the rerouting path belongs to only one service link, the instruction set of the site is one.
[0059] In some embodiments, as Figure 4 shown, the calculating of the first rerouting path of the service link (i.e., step S11) includes the following steps:
[0060] Step S111, numbering each service link according to the service carrying capacity of each service link to obtain the link numbers of each service link; wherein, the larger the service carrying capacity, the larger the link number.
[0061] The service carrying capacities of different service links are different. Some service links have a large service carrying capacity, and some service links have a small service carrying capacity. In the embodiments of the present disclosure, the designated site sorts the service links in descending order according to the service carrying capacity of each service link, and numbers each service link according to the sorting. The larger the service carrying capacity of the link, the larger its link number.
[0062] Step S112, calculating the first rerouting path of each service link in the order from largest to smallest link number.
[0063] The designated site preferentially calculates the first-hop rerouting path of the service link with a larger link number. In this way, in a scenario with a large number of services, the rerouting path of the service link with a large service load is preferentially calculated, which can ensure the fast rerouting of important services and improve the routing switching efficiency.
[0064] The embodiments of the present disclosure also provide an optical network rerouting method, which is applied to a non-designated optical network rerouting device. When the non-designated optical network rerouting device is the first site, as Figure 5 shown, the optical network rerouting method includes the following steps:
[0065] Step S41: Receive the first instruction set sent by the designated optical network rerouting device and the first pre-plan number of the first instruction set; the first instruction set is the instruction set corresponding to the service link of the first site.
[0066] Step S42: Store the first instruction set and the first pre-plan number of the first instruction set.
[0067] After receiving the first instruction set and the first pre-plan number of the first instruction set, the non-designated site caches the first instruction set locally to form a rerouting plan. In this way, each site stores several hardware-executable instruction sets corresponding one-to-one to the pre-plan numbers.
[0068] In the case where the optical network does not fail, the non-designated site receives the first instruction set of the non-designated site itself and its first pre-plan number sent by the designated site, and stores the first instruction set and its first pre-plan number locally. In this way, in the case of an optical network failure, after receiving the first pre-plan number sent by the designated site, the non-designated site can execute the corresponding first instruction set, without the need for the designated site to calculate the rerouting path again and disassemble the instructions, and without the need to interact with the non-designated site for instructions again, realizing fast service rerouting.
[0069] In some embodiments, as Figure 6 shown, after storing the first instruction set and the first pre-plan number of the first instruction set (i.e., step S42), the optical network rerouting method may further include the following steps:
[0070] Step S51: Receive the target pre-plan number sent by the designated optical network rerouting device.
[0071] The target pre-plan number is the first pre-plan number corresponding to the faulty link. That is to say, in the case of an optical network failure, the non-designated site receives the target pre-plan number sent by the designated site.
[0072] Step S52: Determine the first instruction set corresponding to the target pre-plan number.
[0073] Step S53: Execute the first instruction set.
[0074] The non-designated site receives the target plan number sent by the designated site, searches locally for the first instruction set corresponding to the target plan number, and executes the first instruction set, thereby realizing the rerouting of the faulty link.
[0075] In some embodiments, when the non-designated optical network rerouting device is the second site, as Figure 7 shown, the optical network rerouting method further includes the following steps:
[0076] Step S61, receiving the second instruction set sent by the designated optical network rerouting device and the second plan number of the second instruction set; the second instruction set is the instruction set corresponding to the service link of the second site.
[0077] Step S62, storing the second instruction set and the second plan number of the second instruction set.
[0078] The non-designated site receives the second instruction set sent by the designated site and the second plan number of the second instruction set, and locally saves the second instruction set and the second plan number of the second instruction set. The second instruction set is generated after the designated site calculates the second rerouting path of the target service link in the service path corresponding to the faulty link when a fault occurs in the optical network, the faulty link is a non-service link, and the faulty link is a link in the first rerouting path.
[0079] To clearly illustrate the solution of the embodiments of the present disclosure, the following combines Figure 8 , and details the optical network rerouting process through three specific examples. Figure 8 The optical network topology diagram provided for the specific example of the present disclosure. As Figure 8 shown, there are a total of 4 sites (Site 1, Site 2, Site 3, and Site 4) and 6 service links (i.e., Links 1-6) in the optical network. Among them, Site 2 is the designated site; the service path is: Site 1 - Site 4 - Site 2, and this service path includes two service links: Link 2 and Link 5.
[0080] Example 1: Generate the first rerouting path of each service link under normal conditions of the optical network, and a fault occurs in the optical network, and the faulty link affects the service.
[0081] The optical network rerouting method includes the following steps:
[0082] Step 101, when the optical network is normal, Site 2 collects service information and topology information;
[0083] Step 102, Site 2 calculates the business rerouting plan. Since the business path includes two business links, two sets of business rerouting plans will be calculated. In the business rerouting plan for Link 2, the first rerouting path is: Site 1 - Site 2; in the business rerouting plan for Link 5, the first rerouting path is: Site 1 - Site 3 - Site 4 - Site 2;
[0084] Step 103, Site 2 splits each business rerouting plan into instruction sets executable by the hardware of each site. That is, Site 2 obtains the first instruction set corresponding to Link 2 for Site 1 and Site 2 according to the business rerouting plan for Link 2, and Site 2 obtains the first instruction set corresponding to Link 5 for Sites 1, 3, 4, and 2 according to the business rerouting plan for Link 5. Thus, the first instruction set corresponding to Link 2 for Site 1 and its first plan number, the first instruction set corresponding to Link 5 for Site 1 and its first plan number, the first instruction set corresponding to Link 2 for Site 2 and its first plan number, the first instruction set corresponding to Link 5 for Site 2 and its first plan number, the first instruction set corresponding to Link 5 for Site 3 and its first plan number, and the first instruction set corresponding to Link 5 for Site 4 and its first plan number can be obtained. Site 2 sends the first instruction set of each site and its first plan number to the corresponding site respectively.
[0085] Step 104, when Link 5 fails and Site 2 receives the alarm information, after determining the first plan number corresponding to Link 5, it sends the corresponding first plan number to Sites 1, 3, 4, and 2 respectively;
[0086] Step 105, after receiving the first plan number, Sites 1, 3, 4, and 2 immediately execute the first instruction set corresponding to this first plan number cached locally to complete the business rerouting.
[0087] Example 2: Under normal circumstances of the optical network, the first rerouting paths of each business link are generated. When the optical network fails, the faulty link does not affect the business, but it affects the generated rerouting plan.
[0088] Steps 201 - 203 in Example 2 are the same as Steps 101 - 103 in Example 1. After Step 203, the following steps are executed:
[0089] Step 204, when Link 3 fails, this failure does not affect the business, but the first rerouting path of Link 5 includes Link 3. Therefore, Site 2 recalculates the rerouting path of Link 5 and obtains the second rerouting path of Link 5 as: Site 1 - Site 3 - Site 2.
[0090] Step 205: Site 2 splits the newly generated service rerouting plan into instruction sets executable by hardware. Specifically, based on the second rerouting path of Link 5 (Site 1 - Site 3 - Site 2) and the first rerouting path of Link 2 (Site 1 - Site 2), Site 2 generates second instruction sets corresponding to the service links for Sites 1, 2, and 3 respectively, that is, obtains the second instruction set corresponding to Link 2 for Site 1 and its second plan number, the second instruction set corresponding to Link 5 for Site 1 and its second plan number, the second instruction set corresponding to Link 5 for Site 3 and its second plan number, the second instruction set corresponding to Link 2 for Site 2 and its second plan number, and the second instruction set corresponding to Link 5 for Site 2 and its second plan number. Site 2 sends the corresponding second instruction sets and their second plan numbers to Sites 1, 3, and 2 respectively for storage by Sites 1, 3, and 2, and notifies Sites 1, 3, 4, and 2 to delete their respective first instruction sets and first plan numbers.
[0091] Example 3: Under normal circumstances of the optical network, the first rerouting paths of each service link are generated. When a fault occurs in the optical network, the faulty link does not affect the service nor the already generated rerouting plan.
[0092] Steps 301 - 303 in Example 3 are the same as Steps 101 - 103 in Example 1. After Step 303, the following steps are executed:
[0093] Step 304: A fault occurs in Link 6. This fault does not affect the service nor the existing rerouting plan, that is, the faulty link is not a link in the already generated first rerouting paths. Therefore, the service does not take any action and there is no need to recalculate the rerouting plan for the service link.
[0094] In the embodiments of the present disclosure, when the OTN / DWDM network is operating normally, the ASON entity of the designated site collects service information and topology information in the network, simulates fiber cuts for key service links in the network, and pre - calculates rerouting for all services affected by the simulated fiber cuts; splits the pre - calculation results into instruction sets executable by the hardware of a single site, each instruction set having a unique plan number, packages the instruction sets and the corresponding plan numbers and distributes them to the corresponding sites; each site caches according to the plan number after receiving the instruction sets; when a real fiber cut fault occurs in the network, the ASON entity of the designated site only needs to send the plan number to the corresponding site, and the corresponding site can quickly execute the corresponding hardware - executable instruction set, thereby achieving fast rerouting.
[0095] By pre-computing re-routing paths for services during the normal network operation phase and having each site cache the instruction set, after a link actually fails, only the re-routing plan needs to be matched according to the alarm information and the plan number sent, which can save the path calculation time, the hardware instruction disassembling time, and the time for sending a large number of instruction messages, and greatly improve the efficiency of service re-routing. After the ASON network and services are deployed, implementing the solution of the embodiments of the present disclosure can greatly reduce the service interruption time and improve the user network usage experience.
[0096] The embodiments of the present disclosure also provide an optical network re-routing device, as Figure 9 shown, including:
[0097] At least one processor 901;
[0098] A memory 902, on which at least one program is stored. When the at least one program is executed by the at least one processor, the at least one processor implements the optical network re-routing method provided by the foregoing embodiments;
[0099] At least one I / O interface 903, connected between the processor and the memory, configured to implement information interaction between the processor and the memory.
[0100] Among them, the processor 901 is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.; the memory 902 is a device with data storage capabilities, which includes but is not limited to a random access memory (RAM, more specifically such as SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory (FLASH); the I / O interface (read / write interface) 903 is connected between the processor 901 and the memory 902 and can implement information interaction between the processor 901 and the memory 602, which includes but is not limited to a data bus (Bus), etc.
[0101] In some embodiments, the processor 901, the memory 902, and the I / O interface 903 are interconnected through a bus and then connected to other components of the computing device.
[0102] The embodiments of the present disclosure also provide a computer-readable medium, on which a computer program is stored. Among them, when the computer program is executed, it implements the dedicated bearing processing method provided by the foregoing embodiments.
[0103] Those of ordinary skill in the art will understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the devices, can be implemented as software, firmware, hardware, and their appropriate combinations. In the hardware implementation, the division between the functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be executed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory, or other memory technologies, CD-ROM, digital versatile disk (DVD), or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage, or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium.
[0104] Example embodiments have been disclosed herein, and although specific terms have been used, they are used for and should be construed only as general illustrative meanings and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in connection with other embodiments. Accordingly, those skilled in the art will understand that various forms and details may be changed without departing from the scope of the invention as set forth in the appended claims.
Claims
1. A method for optical network rerouting, characterized in that, the method is applied to a specified optical network rerouting device, and the method includes: When the optical network has no fault, calculate the first rerouting paths of each service link; Generate a first instruction set corresponding to the service link for each first site according to each of the first rerouting paths, and one of the first instruction sets is configured with a first pre - plan number, and the first site is a non - specified optical network rerouting device in the first rerouting path; Send the respective first instruction sets and the first pre - plan numbers of the first instruction sets to each of the first sites for storage by each of the first sites.
2. The method according to claim 1, characterized in that, the method further includes: When receiving a fault alarm message, determine the faulty link according to the alarm message; When the faulty link is a service link, determine the target pre - plan number and the target site matching the faulty link, the target pre - plan number is the first pre - plan number corresponding to the faulty link, and the target site is the first site corresponding to the faulty link; Send the target pre - plan number to the target site for the target site to execute the first instruction set corresponding to the target pre - plan number.
3. The method according to claim 1, characterized in that, the method further includes: When receiving a fault alarm message, determine the faulty link according to the alarm message; When the faulty link is a non - service link and is a link in the first rerouting path, determine the target service link in the service path corresponding to the faulty link, and calculate the second rerouting path of the target service link; Generate a second instruction set corresponding to the service link for each second site according to the second rerouting path and the first rerouting paths of other service links except the target service link, and one of the second instruction sets is configured with a second pre - plan number, and the second site is a non - specified optical network rerouting device in the second rerouting path; Send the respective second instruction sets and the second pre - plan numbers of the second instruction sets to each of the second sites for storage by each of the second sites.
4. The method according to claim 1, characterized in that, the method further includes: When receiving a fault alarm message, determine the faulty link according to the alarm message; When the faulty link is a non - service link and is not a link in the first rerouting path, discard the alarm message.
5. The method according to claim 1, characterized in that, The step of generating a first instruction set corresponding to the service link for each first site according to each of the first rerouting paths includes: When the first site belongs to at least two of the service links, generate the first instruction set of the first site respectively for each of the service links to which it belongs.
6. The method according to claim 1, characterized in that, The step of calculating the first rerouting paths of each service link includes: Number each of the service links according to the service load carried by each service link to obtain the link numbers of each of the service links; among them, the larger the service load, the larger the link number. Calculate the first re-routing path of each of the service links in descending order of the link numbers.
7. An optical network re-routing method, which is applied to a non-designated optical network re-routing device, and the non-designated optical network re-routing device is the first site. Characterized in that The method includes: Receiving a first instruction set sent by a designated optical network re-routing device and a first plan number of the first instruction set; the first instruction set is an instruction set corresponding to the service link of the first site. Storing the first instruction set and the first plan number of the first instruction set.
8. The method according to claim 7. Characterized in that After storing the first instruction set and the first plan number of the first instruction set, the method further includes: Receiving a target plan number sent by the designated optical network re-routing device. Determining the first instruction set corresponding to the target plan number. Executing the first instruction set.
9. The method according to claim 7. Characterized in that The non-designated optical network re-routing device is the second site, and the method further includes: Receiving a second instruction set sent by the designated optical network re-routing device and a second plan number of the second instruction set; the second instruction set is an instruction set corresponding to the service link of the second site. Storing the second instruction set and the second plan number of the second instruction set.
10. An optical network re-routing device Comprising: One or more processors; A storage device on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement the optical network re-routing method according to any one of claims 1-6, or the optical network re-routing method according to any one of claims 7-9. One or more I / O interfaces, connected between the processor and the storage device, configured to implement information interaction between the processor and the storage device.
11. A computer-readable medium, on which a computer program is stored. Wherein When the program is executed, it implements the optical network re-routing method according to any one of claims 1-6, or the optical network re-routing method according to any one of claims 7-9.