Disclosure of Invention
The embodiment of the disclosure recovers each transmission link of the service group in batch by taking the service group as a unit, reduces the frequency of network topology change in the transmission link recovery process, and further improves the problem of data routing oscillation or network congestion of the IP network caused by the frequency.
Some embodiments of the present disclosure provide a service recovery method, including:
detecting whether at least part of transmission links of a service group are failed;
if the fault occurs, judging whether the total available bandwidth of the current available transmission link of the service group is smaller than a preset bandwidth;
if the bandwidth is less than the preset bandwidth, inserting an unavailable alarm into the current available transmission link of the service group at the client side;
and if the bandwidth is larger than or equal to the preset bandwidth, inserting a link recovery indication into the current available transmission link of the service group at the client side.
In some embodiments, the step of determining comprises: if a preset event occurs, judging whether the total available bandwidth of the current available transmission link of the service group is less than a preset bandwidth or not,
the preset event comprises that an available transmission link corresponding to a service group changes or a preset bandwidth corresponding to the service group changes.
In some embodiments, further comprising: in the event of a failure, one or more of recovering the failed transmission link and finding an available transmission link is performed.
In some embodiments, the currently available transmission links of the service group include: and the failed and recovered transmission link does not appear in the service group.
In some embodiments, the predetermined bandwidth is configured according to traffic needs of an internet protocol, IP, layer.
In some embodiments, the physical route corresponding to the transmission link is determined according to the shortest physical route found by a wavelength switched optical network WSON protocol.
In some embodiments, the traffic restoration method is used in an optical network.
Some embodiments of the present disclosure provide a service recovery apparatus, including:
a failure detection module configured to detect whether at least a portion of transmission links of a service group fail;
the judging module is configured to judge whether the total available bandwidth of the current available transmission link of the service group is smaller than a preset bandwidth or not if a fault occurs;
the link control module is configured to insert an unavailable alarm into a currently available transmission link of the service group on the client side if the bandwidth is less than a preset bandwidth; and if the bandwidth is larger than or equal to the preset bandwidth, inserting a link recovery indication into the current available transmission link of the service group at the client side.
In some embodiments, further comprising: a link recovery module configured to perform one or more of recovering the failed transmission link and finding an available transmission link if the failure occurs.
Some embodiments of the present disclosure provide a service recovery apparatus, including:
a memory; and
a processor coupled to the memory, the processor configured to perform the traffic restoration method of any of the embodiments based on instructions stored in the memory.
Some embodiments of the present disclosure provide a reconfigurable optical add-drop multiplexer ROADM, comprising: the traffic restoration apparatus according to any one of the embodiments.
Some embodiments of the present disclosure propose a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the traffic restoration method described in any one of the embodiments.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure.
The embodiment of the disclosure recovers each transmission link of the service group in batch by taking the service group as a unit, reduces the frequency of network topology change in the transmission link recovery process, and further improves the problem of data routing oscillation or network congestion of the IP network caused by the frequency.
Fig. 1 is a schematic diagram of an optical network deployment with bulk recovery in some embodiments of the present disclosure.
As shown in fig. 1, the optical network includes a plurality of ROADM nodes and a plurality of IP devices, and the ROADM nodes are connected with the IP devices or other ROADM nodes to jointly construct the optical network. For example, ROADM node a is connected with IP device A, ROADM, node B, and ROADM node C; ROADM node Z is connected to IP device Z, ROADM, node B, and ROADM node C. It can be seen that transmission link failure and recovery can cause network topology changes. A traffic restoration device is provided at the ROADM node, in particular at the ROADM node connected to the IP device. The service restoration method implemented by the service restoration apparatus is described below.
Fig. 2 is a flow chart illustrating a service restoration method according to some embodiments of the present disclosure. The method may be performed by a traffic restoration device, for example.
As shown in fig. 2, the service recovery method of this embodiment includes:
in step 20, it is assumed that a service group (SGn) in a certain office direction is created on a certain source ROADM node a, and it is assumed that the service group SGn has N transmission links, the bandwidth sum of which is Y Gbit/s, and the bottom layer physical route corresponding to the N transmission links can search for the shortest physical route according to the WSON protocol. These transmission links may correspond to a common physical route or to different physical routes.
At step 21 a traffic restoration device is set up on the source ROADM node a. The service restoration apparatus detects whether at least part of transmission links of a service group fail.
In step 22, if a failure occurs, one or more of recovering the failed transmission link and finding available transmission links are performed to recover the traffic.
According to the resource availability, a distributed or centralized algorithm is adopted to find available transmission links, and the link performance is calculated according to indexes such as OSNR (Optical Signal Noise Ratio) and the like, so that the end-to-end accessibility of the link is ensured.
In step 23, if a failure occurs, it is determined whether the total available bandwidth of the currently available transmission links of the service group is less than a preset bandwidth.
The judging step comprises the following steps: and if the preset event occurs, judging whether the total available bandwidth of the current available transmission link of the service group is smaller than the preset bandwidth. The preset event includes a change of an available transmission link corresponding to the service group (for example, a link corresponding to the service group fails, recovers, joins a new link, or the like), or a change of a preset bandwidth corresponding to the service group. For example, for a service group, when at least a part of links corresponding to the service group fail, the determining step is executed, and subsequently, when the failed link corresponding to the service group is recovered or a new link is found for the service group, the determining step is executed again.
The currently available transmission links for the service group include: the failed and recovered transmission links in the service group do not occur.
The preset bandwidth is the minimum bandwidth configured according to the service requirement of the IP layer, and can meet the service requirement of the IP layer.
The total available bandwidth of the currently available transmission link of the service group detected in the current detection period is assumed to be xGbit/s, and the preset bandwidth is assumed to be Z Gbit/s.
In step 24, if x is smaller than the preset bandwidth Z, an unavailable alarm is inserted into the currently available transmission link of the service group on the client side, so that the IP layer device actively interrupts the transmission link which is available but does not meet the service bearing requirement.
In step 25, if x is greater than or equal to the preset bandwidth Z, a link recovery indication is inserted into the currently available transmission link of the service group on the client side to eliminate the unavailable alarm, so as to recover each transmission link of the service group in batch.
By taking the service group as a unit and recovering each transmission link of the service group in batches, the frequency of network topology change is reduced in the transmission link recovery process, and the problem of data routing oscillation or network congestion of the IP network caused by the frequency is further improved.
In each local direction of the current IP backbone network, networking is performed through double routes, and the length of the optical cable of the second route is usually much longer than that of the optical cable of the first route. If the optimal single-route networking is adopted, the network access time delay can be effectively reduced. When a fault occurs, in order to avoid network congestion caused by the fact that the available IP broadband is far smaller than the planned bandwidth when a certain office is networked by a single route, the ROADM node can support and adopt the batch routing service recovery method disclosed by the invention.
Fig. 3 is a schematic diagram of a service restoration apparatus in some embodiments of the present disclosure.
As shown in fig. 3, thetraffic restoration apparatus 30 of this embodiment includes: a service group creating module 31, afailure detecting module 32, a link recovering module 33, a judgingmodule 34, alink control module 35 and the like.
A service group creation module 31 configured to create a service group. One service group corresponds to a plurality of transmission links, and one transmission link corresponds to the bottom layer physical route.
Afailure detection module 32 configured to detect whether at least part of the transmission links of a service group fail.
A link recovery module 33 configured to perform one or more of recovering the failed transmission link and finding an available transmission link if a failure occurs.
A determiningmodule 34 configured to determine whether a total available bandwidth of currently available transmission links of the service group is less than a preset bandwidth if a failure occurs. Wherein, if the preset event occurs, the judging step is executed. The preset event includes a change of an available transmission link corresponding to the service group (e.g., a link failure, a recovery, a new link, etc. corresponding to the service group), or a change of a preset bandwidth corresponding to the service group
Alink control module 35 configured to insert an unavailable alarm to a currently available transmission link of the service group on the client side if the bandwidth is less than a preset bandwidth; and if the bandwidth is larger than or equal to the preset bandwidth, inserting a link recovery indication into the current available transmission link of the service group at the client side.
The working process of each module is as follows:
first, the service group creation module 31 creates a service group SGn for a certain office. Assuming that the service group SGn has N transmission links, the bandwidth of which is Y Gbit/s in total, and the bottom physical route corresponding to the N transmission links can search for the shortest physical route according to the WSON protocol. These transmission links may correspond to a common physical route or to different physical routes.
Next, when a network failure causes a failure of some or all of the links, thefailure detection module 32 may detect a failure of each transmission link and pass the failure information to the link recovery module 33.
The link recovery module 33 then attempts to recover the failed transmission link or to find a new available transmission link to ensure that the link recovery is end-to-end reachable.
Next, the determiningmodule 34 determines comprehensively whether the total available bandwidth x Gbit/s of the currently available transmission link of the service group SGn is smaller than the preset minimum bandwidth Z Gbit/s according to the information of thefault detecting module 32 and the link recovering module 33.
Next, if thelink control module 35 determines that x is smaller than the minimum bandwidth Z, insert an unavailable alarm into the currently available transmission link of the service group on the client side; and if the x is larger than or equal to the minimum bandwidth Z, inserting a link recovery indication into the currently available transmission link of the service group at the client side to eliminate the unavailable alarm, thereby recovering each transmission link of the service group in batch.
Fig. 4 is a schematic diagram of a service restoration apparatus according to another embodiment of the present disclosure.
As shown in fig. 4, thetraffic restoration apparatus 40 of this embodiment includes: amemory 41 and aprocessor 42 coupled to thememory 41, theprocessor 42 being configured to execute the traffic restoration method in any of the embodiments described above based on instructions stored in thememory 41.
Thememory 41 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Thetraffic restoration apparatus 40 may further include an input-output interface 43, anetwork interface 44, astorage interface 45, and the like. Theseinterfaces 43, 44, 45 and the connection between thememory 41 and theprocessor 42 may be, for example, via abus 46. The input/output interface 43 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. Thenetwork interface 44 provides a connection interface for various networking devices. Thestorage interface 45 provides a connection interface for external storage devices such as an SD card and a usb disk.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.