CN113453097B - Service recovery method, device, equipment and readable storage medium - Google Patents
Service recovery method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN113453097B CN113453097B CN202110699233.5A CN202110699233A CN113453097B CN 113453097 B CN113453097 B CN 113453097B CN 202110699233 A CN202110699233 A CN 202110699233A CN 113453097 B CN113453097 B CN 113453097B
- Authority
- CN
- China
- Prior art keywords
- node
- oduflex
- state
- adjustment
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/03—Arrangements for fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0086—Network resource allocation, dimensioning or optimisation
Abstract
The invention provides a service recovery method, a device, equipment and a readable storage medium. The method comprises the following steps: starting lossless bandwidth adjustment on a link, and storing original time slot information of each ODUflex node participating in adjustment on the link and target time slot information expected to be adjusted; in the lossless bandwidth adjustment process, if the service carried by the link is interrupted, the time slot of each node is adjusted to the time slot corresponding to the target time slot information of each node according to the state of each node, the original time slot information and the target time slot information. According to the invention, in the lossless bandwidth adjustment process, if the service is interrupted, the time slot of each ODUflex node is directly adjusted to the time slot corresponding to the target time slot information of each ODUflex node, so that the bandwidth of the whole link is adjusted to the bandwidth which is expected to be adjusted by starting the lossless bandwidth adjustment, and the rapid recovery of the service is realized.
Description
Technical Field
The present invention relates to the field of optical communication technologies, and in particular, to a service recovery method, apparatus, device, and readable storage medium.
Background
In the lossless bandwidth adjustment process, if an ODUflex node in a link is abnormal, for example, a subsequent response action is triggered, or a condition that the link service is affected by an optical fiber interruption or the like occurs, the lossless bandwidth adjustment is interrupted, which is externally indicated as a link service interruption. Due to factors such as long link, complexity of network deployment, instability of field environment, uncertainty of manual operation and the like, problems occurring in the lossless bandwidth adjustment process are difficult to position, so that a solution is difficult to determine quickly, service interruption time is too long, and great loss is caused to engineering. Therefore, a method for fast service is needed.
Disclosure of Invention
The invention mainly aims to provide a service recovery method, a device, equipment and a readable storage medium, and aims to solve the technical problem that in the prior art, if service interruption occurs in the lossless bandwidth adjustment process, rapid recovery is difficult.
In a first aspect, the present invention provides a service recovery method, where the service recovery method includes:
starting lossless bandwidth adjustment on a link, and storing original time slot information of each ODUflex node participating in adjustment on the link and target time slot information expected to be adjusted;
in the lossless bandwidth adjustment process, if the service borne by the link is interrupted, adjusting the timeslot of each ODUflex node to a timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, and the original timeslot information and the target timeslot information of each ODUflex node.
Optionally, after the step of starting lossless bandwidth adjustment on the link, the method further includes:
the method comprises the steps of storing the state of each ODUflex node, and updating the state of the ODUflex node when the state of the ODUflex node changes, wherein the state is a waiting state when the ODUflex node does not perform lossless bandwidth adjustment, the state is an adjusting-in state when the ODUflex node performs lossless bandwidth adjustment, and the state is an adjusting-finished state when the ODUflex node completes lossless bandwidth adjustment.
Optionally, the step of adjusting the timeslot of each ODUflex node to the timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, the original timeslot information of each ODUflex node, and the target timeslot information of each ODUflex node includes:
if the state of the ODUflex node is a waiting state, stopping waiting, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross;
if the state of the ODUflex node is the adjustment state, quitting lossless bandwidth adjustment, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross;
and if the state of the ODUflex node is the adjustment ending state, no processing is performed.
Optionally, the service recovery method further includes:
detecting whether an ODUflex node with the state being an adjusting state or an adjusting ending state exists according to the state of each ODUflex node;
when an ODUflex node exists, the state of which is an in-adjustment state or an adjustment ending state, the step of stopping waiting if the state of the ODUflex node is a waiting state is executed, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the intersection is recovered; if the state of the ODUflex node is the adjustment state, quitting lossless bandwidth adjustment, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross; and if the state of the ODUflex node is the adjustment ending state, not performing the processing step.
Optionally, after the step of detecting whether there is an ODUflex node whose state is an in-tuning state or an end-tuning state according to the state of each ODUflex node, the method further includes:
and when the ODUflex node with the state being the adjustment state or the adjustment ending state does not exist, stopping waiting if the state of the ODUflex node is the waiting state.
Optionally, after the step of starting lossless bandwidth adjustment on the link, the method further includes:
determining and storing the board card type corresponding to each ODUflex node according to the service type corresponding to each ODUflex node, wherein when the service type corresponding to the ODUflex node is an Ethernet OTU service, the corresponding board card type is a branch board card, when the service type corresponding to the ODUflex node is the OTU service of the OTU, the corresponding board card type is a line OTU board card, and when the service type corresponding to the ODUflex node is the packet service of the OTU, the corresponding board card type is a line packet board card.
Optionally, the step of removing the existing mapping according to the original timeslot information of the ODUflex node includes:
when the type of the board card corresponding to the ODUflex node is a branch board card, removing the existing client map mapping according to the original time slot information of the ODUflex node;
when the type of the board card corresponding to the ODUflex node is a line OTU board card, removing the existing odukmux mapping according to the original time slot information of the ODUflex node;
and when the type of the board card corresponding to the ODUflex node is a line packet board card, removing the existing client map and odukmux mapping according to the original time slot information of the ODUflex node.
In a second aspect, the present invention further provides a service recovery apparatus, where the service recovery apparatus includes:
a storage module, configured to start lossless bandwidth adjustment on a link, and store original timeslot information of each ODUflex node participating in adjustment on the link and a target timeslot that is expected to be adjusted;
and a recovery module, configured to, in a lossless bandwidth adjustment process, adjust a timeslot of each ODUflex node to a timeslot corresponding to target timeslot information of each ODUflex node according to a state of each ODUflex node and original timeslot information and target timeslot information of each ODUflex node, if a service carried by the link is interrupted.
In a third aspect, the present invention further provides a service recovery device, where the service recovery device includes a processor, a memory, and a service recovery program stored on the memory and executable by the processor, where the service recovery program, when executed by the processor, implements the steps of the service recovery method as described above.
In a fourth aspect, the present invention further provides a readable storage medium, on which a service recovery program is stored, wherein when the service recovery program is executed by a processor, the steps of the service recovery method as described above are implemented.
In the invention, lossless bandwidth adjustment of a link is started, and original time slot information of each ODUflex node participating in adjustment on the link and target time slot information expected to be adjusted are stored; in the lossless bandwidth adjustment process, if the service carried by the link is interrupted, the timeslot of each ODUflex node is adjusted to the timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, the original timeslot information of each ODUflex node, and the target timeslot information. According to the invention, in the lossless bandwidth adjustment process, if the service is interrupted, the time slot of each ODUflex node is directly adjusted to the time slot corresponding to the target time slot information of each ODUflex node, so that the bandwidth of the whole link is adjusted to the bandwidth which is expected to be adjusted by starting the lossless bandwidth adjustment, and the rapid recovery of the service is realized.
Drawings
Fig. 1 is a schematic hardware structure diagram of a service recovery device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a service recovery method according to an embodiment of the present invention;
fig. 3 is a functional module diagram of an embodiment of a service restoration device according to the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect, an embodiment of the present invention provides a service recovery device.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a service recovery device according to an embodiment of the present invention. In this embodiment of the present invention, the service recovery device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WIreless FIdelity, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer storage medium in fig. 1, may include an operating system, a network communication module, a user interface module, and a service resumption program. The processor 1001 may call a service recovery program stored in the memory 1005, and execute the service recovery method provided by the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a service recovery method.
In an embodiment, referring to fig. 2, fig. 2 is a flowchart illustrating a service recovery method according to an embodiment of the present invention. As shown in fig. 2, the service recovery method includes:
step S10, starting lossless bandwidth adjustment on a link, and storing original time slot information of each ODUflex node participating in adjustment on the link and target time slot information expected to be adjusted;
in this embodiment, after starting lossless bandwidth adjustment on a link, original timeslot information of each ODUflex node participating in adjustment on the link and target timeslot information that is expected to be adjusted by the lossless bandwidth adjustment this time are acquired, and the original timeslot information of each ODUflex node participating in adjustment on the link and the target timeslot information that is expected to be adjusted are stored.
Step S20, in the lossless bandwidth adjustment process, if the service borne by the link is interrupted, adjust the timeslot of each ODUflex node to the timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, and the original timeslot information and target timeslot information of each ODUflex node.
In this embodiment, in the lossless bandwidth adjustment process, if a service carried by the link is interrupted, the timeslot of each ODUflex node is adjusted to the timeslot corresponding to the target timeslot information of each ODUflex node according to the stored original timeslot information of each ODUflex node participating in adjustment on the link and the target timeslot information that is expected to be adjusted. Since the states of the ODUflex nodes are not uniform, the timeslot of each ODUflex node needs to be adjusted to the timeslot corresponding to the target timeslot information in a corresponding manner according to the state of each ODUflex node. For example, if the state of an ODUflex node is a state waiting for lossless bandwidth adjustment, waiting is stopped, the current service cross configuration is cleared according to the stored original timeslot information of the ODUflex node, and then service cross is reconstructed according to the stored target timeslot information of the ODUflex node. And if the ODUflex node is in lossless bandwidth adjustment, forcibly quitting the lossless bandwidth adjustment, clearing the current service cross configuration according to the stored original time slot information of the ODUflex node, and then reconstructing service cross according to the stored target time slot information of the ODUflex node. If an ODUflex node has completed lossless bandwidth adjustment, the timeslot of the ODUflex node has been adjusted to the timeslot corresponding to the target timeslot information, and no operation is required.
After lossless bandwidth adjustment of a link is started, the state of each ODUflex node is stored, and when the state of the ODUflex node changes, the state of the ODUflex node is updated.
In this embodiment, lossless bandwidth adjustment on a link is started, and original timeslot information of each ODUflex node participating in adjustment on the link and target timeslot information that is expected to be adjusted are stored; in the lossless bandwidth adjustment process, if the service carried by the link is interrupted, the timeslot of each ODUflex node is adjusted to the timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, the original timeslot information of each ODUflex node, and the target timeslot information. Through the embodiment, in the lossless bandwidth adjustment process, if a service is interrupted, the timeslot of each ODUflex node is directly adjusted to the timeslot corresponding to the target timeslot information of each ODUflex node, so that the bandwidth of the whole link is adjusted to the bandwidth to which the lossless bandwidth adjustment is expected to be started, and thus, the rapid recovery of the service is realized.
Further, in an embodiment, after the step of initiating the lossless bandwidth adjustment on the link, the method further includes:
the method comprises the steps of storing the state of each ODUflex node, and updating the state of the ODUflex node when the state of the ODUflex node changes, wherein the state is a waiting state when the ODUflex node does not perform lossless bandwidth adjustment, the state is an adjusting state when the ODUflex node performs lossless bandwidth adjustment, and the state is an adjusting ending state when the ODUflex node completes lossless bandwidth adjustment.
In this embodiment, after starting lossless bandwidth adjustment on a link, the state of each ODUflex node is stored. It is easy to understand that, each ODUflex node has not been subjected to lossless bandwidth adjustment initially, and an initial state of each ODUflex node is a waiting state. Subsequently, when the ODUflex node performs lossless bandwidth adjustment, the state of the ODUflex node is updated to an in-adjustment state; and when the lossless bandwidth adjustment of the ODUflex node is completed, updating the state of the ODUflex node to be an adjustment ending state.
Further, in an embodiment, the step S20 includes:
step S201, if the state of the ODUflex node is a waiting state, stopping waiting, removing the existing mapping according to the original timeslot information of the ODUflex node, reconstructing the removed mapping according to the target timeslot information of the ODUflex node, and recovering the intersection; if the state of the ODUflex node is the adjustment state, quitting lossless bandwidth adjustment, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross; and if the state of the ODUflex node is the adjustment ending state, no processing is performed.
In this embodiment, if the state of the ODUflex node is a waiting state, the waiting is stopped, the existing mapping of the board card corresponding to the ODUflex node is released according to the original timeslot information of the ODUflex node, the released mapping is reconstructed according to the target timeslot information of the ODUflex node, and the cross is recovered; if the state of the ODUflex node is in the adjustment state, firstly quitting lossless bandwidth adjustment, then removing the existing mapping of the board card corresponding to the ODUflex node according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross; if the state of the ODUflex node is the adjustment end state, the timeslot of the ODUflex node is adjusted to the timeslot corresponding to the target timeslot information, and no operation is required.
Further, in an embodiment, the service recovery method further includes:
detecting whether an ODUflex node with the state being an in-adjustment state or an adjustment ending state exists according to the state of each ODUflex node;
when there is an ODUflex node whose state is the in-tuning state or the tuning end state, step S201 is performed.
In this embodiment, in the lossless bandwidth adjustment process, if a service carried by a link is interrupted, whether an ODUflex node whose state is an in-adjustment state or an adjustment termination state exists is detected according to the state of each ODUflex node at this time, and when an ODUflex node whose state is an in-adjustment state or an adjustment termination state exists, step S201 is performed, so that a timeslot of each ODUflex node is adjusted to a timeslot corresponding to target timeslot information of each ODUflex node, and thus the bandwidth of the entire link is adjusted to a bandwidth to which the lossless bandwidth adjustment is expected to be started, thereby achieving rapid restoration of the service.
Further, in an embodiment, after the step of detecting, according to the state of each ODUflex node, whether there is an ODUflex node whose state is an in-tuning state or an end-tuning state, the method further includes:
and when the ODUflex node with the state being the adjustment state or the adjustment ending state does not exist, stopping waiting if the state of the ODUflex node is the waiting state.
In this embodiment, if there is no ODUflex node whose state is the in-adjustment state or the adjustment end state, that is, in the lossless bandwidth adjustment process, when a service carried by a link is interrupted, the states of all ODUflex nodes are in a waiting state, in this case, each ODUflex node stops waiting, that is, quits the lossless bandwidth adjustment, so that the timeslot of each ODUflex node remains the original timeslot.
Further, in an embodiment, after the step of initiating the lossless bandwidth adjustment on the link, the method further includes:
determining and storing the board card type corresponding to each ODUflex node according to the service type corresponding to each ODUflex node, wherein when the service type corresponding to the ODUflex node is an Ethernet OTU service, the corresponding board card type is a branch board card, when the service type corresponding to the ODUflex node is the OTU service of the OTU, the corresponding board card type is a line OTU board card, and when the service type corresponding to the ODUflex node is the packet service of the OTU, the corresponding board card type is a line packet board card.
In this embodiment, after the lossless bandwidth adjustment of the link is started, the board card type corresponding to each ODUflex node participating in the adjustment on the link needs to be stored. And determining and storing the board card type corresponding to each ODUflex node according to the service type corresponding to each ODUflex node. For example, if a service type corresponding to an ODUflex node is an ethernet OTU service, the corresponding board card type is a branch board card; if the service type corresponding to one ODUflex node is the OTU service of the OTU, the corresponding board card type is a line OTU board card; and if the service type corresponding to one ODUflex node is the OTU packet service, the corresponding board card type is the circuit packet board card.
Further, in an embodiment, the step of removing the existing mapping according to the original timeslot information of the ODUflex node includes:
when the type of the board card corresponding to the ODUflex node is a branch board card, the existing client map mapping is released according to the original time slot information of the ODUflex node; when the type of the board card corresponding to the ODUflex node is a line OTU board card, existing oduk mux mapping is released according to the original time slot information of the ODUflex node; and when the type of the board card corresponding to the ODUflex node is a line packet board card, removing the existing client map and oduk mux mapping according to the original time slot information of the ODUflex node.
In this embodiment, different mappings are established for different board card types. Therefore, the existing mapping needs to be released according to the board card type corresponding to the ODUflex node and the original timeslot information. For example, when the board card type corresponding to the ODUflex node is a tributary board card, the existing client map mapping is released according to the original time slot information of the ODUflex node; when the type of the board card corresponding to the ODUflex node is a line OTU board card, removing the existing oduk mux mapping according to the original time slot information of the ODUflex node; and when the type of the board card corresponding to the ODUflex node is a circuit grouping board card, the existing client map and odukmux mapping are released according to the original time slot information of the ODUflex node.
In a third aspect, an embodiment of the present invention further provides a service recovery apparatus.
In an embodiment, referring to fig. 3, fig. 3 is a functional module schematic diagram of an embodiment of a service restoration apparatus according to the present invention. As shown in fig. 3, the service restoration apparatus includes:
a storage module 10, configured to start lossless bandwidth adjustment on a link, and store original timeslot information of each ODUflex node participating in adjustment on the link and a target timeslot that is expected to be adjusted;
a restoring module 20, configured to, in a lossless bandwidth adjustment process, if a service carried by the link is interrupted, adjust a timeslot of each ODUflex node to a timeslot corresponding to target timeslot information of each ODUflex node according to a state of each ODUflex node, original timeslot information of each ODUflex node, and target timeslot information.
Further, in an embodiment, the storage module 10 is further configured to:
the method comprises the steps of storing the state of each ODUflex node, and updating the state of the ODUflex node when the state of the ODUflex node changes, wherein the state is a waiting state when the ODUflex node does not perform lossless bandwidth adjustment, the state is an adjusting state when the ODUflex node performs lossless bandwidth adjustment, and the state is an adjusting ending state when the ODUflex node completes lossless bandwidth adjustment.
Further, in an embodiment, the recovery module 20 is further configured to:
if the state of the ODUflex node is a waiting state, stopping waiting, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross;
if the state of the ODUflex node is the adjustment state, quitting lossless bandwidth adjustment, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross;
and if the state of the ODUflex node is the adjustment ending state, no processing is performed.
Further, in an embodiment, the service recovery apparatus further includes a detection module, configured to:
detecting whether an ODUflex node with the state being an in-adjustment state or an adjustment ending state exists according to the state of each ODUflex node;
the recovery module 20 is further configured to: when an ODUflex node exists, the state of which is an in-adjustment state or an adjustment ending state, the step of stopping waiting if the state of the ODUflex node is a waiting state is executed, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the intersection is recovered; if the state of the ODUflex node is the adjustment state, the lossless bandwidth adjustment is quitted, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the cross is recovered; and if the state of the ODUflex node is the adjustment ending state, not performing the processing step.
Further, in an embodiment, the recovery module 20 is further configured to:
and when the ODUflex node with the state being the adjustment state or the adjustment ending state does not exist, stopping waiting if the state of the ODUflex node is the waiting state.
Further, in an embodiment, the storage module 10 is further configured to:
determining and storing the board card type corresponding to each ODUflex node according to the service type corresponding to each ODUflex node, wherein when the service type corresponding to the ODUflex node is an Ethernet OTU service, the corresponding board card type is a branch board card, when the service type corresponding to the ODUflex node is the OTU service of the OTU, the corresponding board card type is a line OTU board card, and when the service type corresponding to the ODUflex node is the packet service of the OTU, the corresponding board card type is a line packet board card.
Further, in an embodiment, the recovery module 20 is further configured to:
when the type of the board card corresponding to the ODUflex node is a branch board card, the existing client map mapping is released according to the original time slot information of the ODUflex node;
when the type of the board card corresponding to the ODUflex node is a line OTU board card, removing the existing odukmux mapping according to the original time slot information of the ODUflex node;
and when the type of the board card corresponding to the ODUflex node is a line packet board card, removing the existing client map and odukmux mapping according to the original time slot information of the ODUflex node.
The function implementation of each module in the service recovery apparatus corresponds to each step in the service recovery method embodiment, and the function and implementation process thereof are not described in detail herein.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores a service recovery program, wherein when the service recovery program is executed by a processor, the steps of the service recovery method as described above are implemented.
The method for implementing the service recovery program when executed may refer to the embodiments of the service recovery method of the present invention, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A service recovery method, characterized in that the service recovery method comprises:
starting lossless bandwidth adjustment on a link, and storing original time slot information of each ODUflex node participating in adjustment on the link and target time slot information expected to be adjusted;
in the lossless bandwidth adjustment process, if the service carried by the link is interrupted, adjusting the timeslot of each ODUflex node to a timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, the original timeslot information of each ODUflex node, and the target timeslot information;
after the step of initiating lossless bandwidth adjustment for the link, further comprising:
storing the state of each ODUflex node, and updating the state of the ODUflex node when the state of the ODUflex node changes, wherein the state is a waiting state when the ODUflex node does not perform lossless bandwidth adjustment, the state is an adjusting state when the ODUflex node performs lossless bandwidth adjustment, and the state is an adjusting ending state when the ODUflex node completes lossless bandwidth adjustment;
the step of adjusting the timeslot of each ODUflex node to the timeslot corresponding to the target timeslot information of each ODUflex node according to the state of each ODUflex node, the original timeslot information of each ODUflex node, and the target timeslot information of each ODUflex node includes:
if the state of the ODUflex node is a waiting state, stopping waiting, removing the prior mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the intersection;
if the state of the ODUflex node is the adjustment state, the lossless bandwidth adjustment is quitted, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the cross is recovered;
and if the state of the ODUflex node is the adjustment ending state, no processing is performed.
2. The traffic restoration method according to claim 1, wherein the traffic restoration method further comprises:
detecting whether an ODUflex node with the state being an in-adjustment state or an adjustment ending state exists according to the state of each ODUflex node;
when an ODUflex node exists, the state of which is in the adjustment state or the adjustment end state, if the state of the ODUflex node is in the waiting state, stopping waiting, removing the existing mapping according to the original timeslot information of the ODUflex node, reconstructing the removed mapping according to the target timeslot information of the ODUflex node, and recovering the intersection; if the state of the ODUflex node is the adjustment state, the lossless bandwidth adjustment is quitted, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the cross is recovered; and if the state of the ODUflex node is the adjustment ending state, not performing the processing step.
3. The service restoration method according to claim 2, wherein after the step of detecting, according to the state of each ODUflex node, whether there is an ODUflex node whose state is an in-tuning state or a tuning-end state, the method further includes:
and when the ODUflex node with the state being the adjustment state or the adjustment ending state does not exist, stopping waiting if the state of the ODUflex node is the waiting state.
4. The traffic restoration method of claim 1, further comprising, after said step of initiating a lossless bandwidth adjustment for the link:
determining and storing the board card type corresponding to each ODUflex node according to the service type corresponding to each ODUflex node, wherein when the service type corresponding to the ODUflex node is an Ethernet OTU service, the corresponding board card type is a branch board card, when the service type corresponding to the ODUflex node is the OTU service of the OTU, the corresponding board card type is a line OTU board card, and when the service type corresponding to the ODUflex node is the packet service of the OTU, the corresponding board card type is a line packet board card.
5. The service restoration method according to claim 4, wherein the step of releasing the existing mapping according to the original timeslot information of the ODUflex node includes:
when the type of the board card corresponding to the ODUflex node is a branch board card, removing the existing client map mapping according to the original time slot information of the ODUflex node;
when the type of the board card corresponding to the ODUflex node is a line OTU board card, removing the existing odukmux mapping according to the original time slot information of the ODUflex node;
and when the type of the board card corresponding to the ODUflex node is a line packet board card, removing the existing client map and odukmux mapping according to the original time slot information of the ODUflex node.
6. A service restoration apparatus, characterized in that the service restoration apparatus comprises:
a storage module, configured to start lossless bandwidth adjustment on a link, and store original timeslot information of each ODUflex node participating in adjustment on the link and a target timeslot that is expected to be adjusted;
a recovery module, configured to, in a lossless bandwidth adjustment process, if a service carried by the link is interrupted, adjust a timeslot of each ODUflex node to a timeslot corresponding to target timeslot information of each ODUflex node according to a state of each ODUflex node and original timeslot information and target timeslot information of each ODUflex node;
the storage module is further configured to store a state of each ODUflex node, and update the state of the ODUflex node when the state of the ODUflex node changes, where the state is a waiting state when the ODUflex node has not performed lossless bandwidth adjustment, the state is an in-adjustment state when the ODUflex node performs lossless bandwidth adjustment, and the state is an end-of-adjustment state when the ODUflex node completes lossless bandwidth adjustment;
a recovery module specifically configured to:
if the state of the ODUflex node is a waiting state, stopping waiting, removing the existing mapping according to the original time slot information of the ODUflex node, reconstructing the removed mapping according to the target time slot information of the ODUflex node, and recovering the cross;
if the state of the ODUflex node is the adjustment state, the lossless bandwidth adjustment is quitted, the existing mapping is released according to the original time slot information of the ODUflex node, the released mapping is rebuilt according to the target time slot information of the ODUflex node, and the cross is recovered;
and if the state of the ODUflex node is the adjustment ending state, no processing is performed.
7. A service restoration device comprising a processor, a memory, and a service restoration program stored on the memory and executable by the processor, wherein the service restoration program, when executed by the processor, implements the steps of the service restoration method according to any one of claims 1 to 5.
8. A readable storage medium, having a service restoration program stored thereon, wherein the service restoration program, when executed by a processor, implements the steps of the service restoration method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110699233.5A CN113453097B (en) | 2021-06-23 | 2021-06-23 | Service recovery method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110699233.5A CN113453097B (en) | 2021-06-23 | 2021-06-23 | Service recovery method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113453097A CN113453097A (en) | 2021-09-28 |
CN113453097B true CN113453097B (en) | 2022-10-14 |
Family
ID=77812205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110699233.5A Active CN113453097B (en) | 2021-06-23 | 2021-06-23 | Service recovery method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113453097B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116938722A (en) * | 2022-03-31 | 2023-10-24 | 中国移动通信有限公司研究院 | Bandwidth adjustment method and device |
CN117135025A (en) * | 2022-05-19 | 2023-11-28 | 中兴通讯股份有限公司 | Fault processing method in lossless bandwidth adjustment process, electronic equipment and medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686094A (en) * | 2008-09-27 | 2010-03-31 | 华为技术有限公司 | Path protection method and system of service transport network |
CN102143052B (en) * | 2010-11-08 | 2013-10-09 | 华为技术有限公司 | Method, equipment and system for lossless bandwidth |
CN102984605B (en) * | 2011-09-07 | 2015-06-03 | 华为技术有限公司 | Method and device for fault handing of optical channel bandwidth |
US9136903B2 (en) * | 2012-08-14 | 2015-09-15 | Electronics And Telecommunications Research Institute | Method for resizing network connection in the optical transport network supporting protection switching |
US9722723B2 (en) * | 2012-09-13 | 2017-08-01 | Tejas Networks Ltd. | Dynamic hitless ODUflex resizing in optical transport networks |
CN107437973A (en) * | 2016-05-25 | 2017-12-05 | 中兴通讯股份有限公司 | Flexible Ethernet expense multi-frame locking means and device, OTN equipment |
-
2021
- 2021-06-23 CN CN202110699233.5A patent/CN113453097B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113453097A (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113453097B (en) | Service recovery method, device, equipment and readable storage medium | |
CN109240765B (en) | Fusing method, device and equipment for service resources and computer readable storage medium | |
CN109451020B (en) | Timeout management method, timeout management device, and computer-readable storage medium | |
CN113051110A (en) | Cluster switching method, device and equipment | |
CN110851081A (en) | Method and device for safely cleaning storage space and computer readable storage medium | |
CN109802995B (en) | Message pushing method, device, equipment and storage medium | |
CN114780080A (en) | Micro front end integration method, device and monitoring method | |
CN112463437B (en) | Service recovery method, system and related components of storage cluster system offline node | |
CN109617950B (en) | Data updating method, device, equipment and readable storage medium | |
CN111130979B (en) | Method and equipment for connecting branch node with central node in SDWAN (software development wide area network) scene | |
CN114584480A (en) | Method and apparatus for service degradation handling | |
CN110881055A (en) | Micro-service processing method and device based on Redis | |
JP5567012B2 (en) | TR-069 Savepoint | |
CN107547308B (en) | Message mirroring method and device, and controller in Software Defined Network (SDN) | |
CN112181512B (en) | Business process management method and device, electronic equipment and storage medium | |
CN111884932B (en) | Link determining method, device, equipment and computer readable storage medium | |
CN112532532B (en) | Service returning method, device, equipment and readable storage medium | |
CN111741102A (en) | Upgrading method and device for distributed micro-service application | |
CN115460271B (en) | Network control method and device based on edge calculation and storage medium | |
CN116582618B (en) | Method and device for realizing high availability of electric pin, machine room management platform and computer | |
CN113766366B (en) | Configuration back-flushing method, device and equipment based on OTN system and readable storage medium | |
CN112437119B (en) | Distributed system upgrading method, device and node | |
CN117632594A (en) | Disaster recovery switching method and device, electronic equipment and storage medium | |
CN117349081A (en) | Application program control method and device of electronic equipment and electronic equipment | |
CN116248585A (en) | Communication method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |