CN114221735A - Method, storage medium and equipment based on OTN link dynamic redundancy - Google Patents
Method, storage medium and equipment based on OTN link dynamic redundancy Download PDFInfo
- Publication number
- CN114221735A CN114221735A CN202111585537.5A CN202111585537A CN114221735A CN 114221735 A CN114221735 A CN 114221735A CN 202111585537 A CN202111585537 A CN 202111585537A CN 114221735 A CN114221735 A CN 114221735A
- Authority
- CN
- China
- Prior art keywords
- link
- standby
- switching
- port
- mode
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000002776 aggregation Effects 0.000 claims abstract description 19
- 238000004220 aggregation Methods 0.000 claims abstract description 19
- 230000000694 effects Effects 0.000 claims abstract description 4
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000004931 aggregating effect Effects 0.000 claims description 3
- 238000006116 polymerization reaction Methods 0.000 abstract 2
- 238000004891 communication Methods 0.000 description 10
- 230000006855 networking Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J14/00—Optical multiplex systems
- H04J14/02—Wavelength-division multiplex systems
- H04J14/0227—Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
- H04J14/0254—Optical medium access
- H04J14/0267—Optical signaling or routing
- H04J14/0268—Restoration of optical paths, e.g. p-cycles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J14/00—Optical multiplex systems
- H04J14/02—Wavelength-division multiplex systems
- H04J14/0287—Protection in WDM systems
-
- 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
- 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
Abstract
The invention discloses a method, a storage medium and equipment based on OTN link dynamic redundancy, wherein the method comprises the following steps that 1, the Lacp protection sets ports in a polymerization group as standby attribute ports, and before the standby attribute ports are configured, the maximum number of two member ports in the polymerization group is ensured, and the maximum number of the standby attribute ports is one or none; step 2, smart group switch-delay, configuring the automatic switching delay time of the aggregation port, wherein the command only takes effect on automatic switching; step 3, smart group restore, reverse and non-reverse protection mode; and (3) reverse mode: when the main link recovers from the fault, the data stream is switched back to the main link from the standby link for forwarding; when the aggregation group supports the SHUTDOWN function, the backup return to the main can not be realized; non-inversion mode: when the working tunnel is recovered to be normal, the data stream is still forwarded on the standby link without being switched to the main link for forwarding, and the default mode is a non-reversal mode; and 4, smart group protection-switch, and aggregation port command switching, wherein the method is used for solving the problem of failure of the main path in the OTN link.
Description
Technical Field
The invention relates to the technical field of network communication, in particular to a method, a storage medium and equipment based on OTN link dynamic redundancy.
Background
The OTN is a next-generation backbone transport network based on a wavelength division multiplexing technology and organized in an optical layer. OTN passes through a new generation of "digital transport" and "optical transport" as specified by a series of ITU-T recommendations, g.872, g.709, g.798, and so on. The OTN solves the problems of weak scheduling capability, networking capability, protection capability and the like of the traditional WDM network wavelength-free/sub-wavelength service. At the edge layer of the OTN network, signals of different systems are encapsulated into a frame structure in a unified OTN system with rich overhead, and based on the frame structure, the unified operation, management and maintenance of the WDM whole network based on the OTN system are realized.
The OTN technology (OTH in the electrical domain and ROADM in the optical domain) solves the problems that the cross grain of SDH based on VC-12/VC4 is smaller, the scheduling is more complex and the requirement of large-grain service transmission is not met, and partially overcomes the defects that the fault location of a WDM system is difficult, the networking capability is weaker in a networking mode taking point-to-point connection as a main mode, and the provided network survivability means and capability are weaker.
Disclosure of Invention
The invention provides a method, a storage medium and equipment based on OTN link dynamic redundancy, which can at least solve one of the technical problems in the background technology.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method based on dynamic redundancy of an OTN link comprises the following steps:
step 1, the Lacp protection sets a port in an aggregation group as a standby attribute port, and before the standby attribute port is configured, the maximum number of two member ports in the aggregation group is ensured, and the maximum number of one standby attribute port can be one, or none of the standby attribute ports can be left;
step 2, smart group switch-delay, configuring the automatic switching delay time of the aggregation port, wherein the command only takes effect on automatic switching;
step 3, smart group restore, reverse and non-reverse protection mode;
and (3) reverse mode: when the main link recovers from the fault, the data stream is switched back to the main link from the standby link for forwarding; when the aggregation group supports the SHUTDOWN function, the backup return to the main can not be realized;
non-inversion mode: when the working tunnel is recovered to be normal, the data stream is still forwarded on the standby link without being switched to the main link for forwarding, and the default mode is a non-reversal mode;
and 4, aggregating the port command switching.
Further, when the spare attribute port exists in the step 1, the third member port cannot be bound, and the existence of the spare attribute port in the aggregation group can be judged by retrieving.
Furthermore, in step 2, when the main link is abnormal, the main link is automatically switched to the standby link after a certain time delay, so that the main link is prevented from oscillating.
Further, step 2 defaults to have a switching delay of 5 seconds, and when the switching delay is set to 0, the switching is immediately carried out without delay.
Further, the aggregated port command switching command is as follows:
clear: clearing operation to clear the current lock/force/manual configuration;
lock: locking operation, locking the service on the main link;
force: forced switching, wherein the service is forcibly switched to the standby link under the condition of the standby link up;
manual: and (4) manually switching.
In yet another aspect, the present invention also discloses a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the steps of the method as described above.
In yet another aspect, the present invention also discloses a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
According to the technical scheme, the method, the storage medium and the device based on the dynamic redundancy of the OTN link are used for solving the problem that the main path in the OTN link fails.
The invention can solve the problem of rapid redundancy backup when an OTN link fails, protect the service from interruption and particularly provide high-efficiency guarantee for group services of large clients.
Drawings
FIG. 1 is an example of a networking environment of the present invention;
fig. 2 shows the principle and mode of implementation of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
The method based on OTN link dynamic redundancy described in this embodiment is applied to a system device supporting an OTN function, as shown in fig. 1 and fig. 2, and includes the following process steps:
step 1, the Lacp protection sets the ports in the aggregation group as standby attribute ports (the ports are defaulted as main attribute ports when added, and the realization mode of the main attribute ports is not different from the previous ON mode), before the standby attribute ports are configured, at most two member ports in the aggregation group must be ensured, and at most one standby attribute port exists or does not exist; the third member port cannot be bound when the standby property port exists. The judgment can be made by searching whether the port with the backup attribute exists in the aggregation group
And 2, configuring aggregation group switch-delay, wherein the command only takes effect on automatic switching. The method means that when the main link is abnormal, the main link is automatically delayed for a certain time and then switched to the standby link, so that the main link is prevented from vibrating. And default switching time delay of 5 seconds, and when the time delay is set to be 0, the switching is immediately carried out without time delay.
And 3, smartgroup restore, an inversion protection mode and a non-inversion protection mode.
And (3) reverse mode: when the main link recovers from the failure, the data flow is switched back to the main link from the standby link for forwarding. When the aggregation group supports the SHUTDOWN function, backup return to the main cannot be realized.
Non-inversion mode: when the working tunnel is recovered to be normal, the data flow is still transmitted on the standby link without being switched to the main link for transmitting. Default to non-inversion mode.
And 4, aggregating the port command switching.
Clear: clear operation, clear current lock/force/manual configuration
Lock: and locking operation, namely locking the service on the main link.
Force: and forcibly switching the service to the standby link under the condition of the standby link up.
Manual: and (4) manually switching.
The following are exemplified:
automatic switching
When the current link fails, the current link is automatically switched to a backup link without failure, and if the backup link also fails, the current link is not switched. The automatic switching can configure switching time delay 0-65535; both inversion and non-inversion modes may be supported. When the aggregation group is started, the switching time cannot reach 50 milliseconds due to the influence of the port from down to up;
command switching
The link is switched by smartgroup protection-switch { clear | lock | force | manual } command. In order to realize the back-cut function, clear needs to configure smartgroup restore enable. And under the condition of Smartgroup shutdown enable, the command switching is not effective except for lock, and because the current inactive link is physically down and has the priority greater than force | manual clear, the command switching does not respond to the command with the priority lower than the self priority.
In yet another aspect, the present invention also discloses a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the steps of the method as described above.
In yet another aspect, the present invention also discloses a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
It is understood that the system provided by the embodiment of the present invention corresponds to the method provided by the embodiment of the present invention, and the explanation, the example and the beneficial effects of the related contents can refer to the corresponding parts in the method.
The embodiment of the application also provides an electronic device, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus,
a memory for storing a computer program;
and the processor is used for realizing the method based on the dynamic redundancy of the OTN link when executing the program stored in the memory.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, or discrete hardware components.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions that, when executed on a computer, cause the computer to perform any of the above-described methods for dynamic redundancy over OTN links.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. A method based on dynamic redundancy of an OTN link is characterized by comprising the following steps:
step 1, the Lacp protection sets a port in an aggregation group as a standby attribute port, and before the standby attribute port is configured, the maximum number of two member ports in the aggregation group is ensured, and the maximum number of one standby attribute port can be one, or none of the standby attribute ports can be left;
step 2, smart group switch-delay, configuring the automatic switching delay time of the aggregation port, wherein the command only takes effect on automatic switching;
step 3, smart group restore, reverse and non-reverse protection mode;
and (3) reverse mode: when the main link recovers from the fault, the data stream is switched back to the main link from the standby link for forwarding; when the aggregation group supports the SHUTDOWN function, the backup return to the main can not be realized;
non-inversion mode: when the working tunnel is recovered to be normal, the data stream is still forwarded on the standby link without being switched to the main link for forwarding, and the default mode is a non-reversal mode;
and 4, aggregating the port command switching.
2. The method of claim 1 based on dynamic redundancy of OTN links, characterized in that: and (3) when the spare attribute port exists in the step (1), the third member port can not be bound, and the judgment of the existence of the spare attribute port in the aggregation group can be carried out by retrieving.
3. The method of claim 1 based on dynamic redundancy of OTN links, characterized in that: and 2, when the main link is abnormal, automatically delaying for a certain time and switching to the standby link, so as to prevent the main link from vibrating.
4. The method of claim 3 based on dynamic redundancy of OTN links characterized in that:
in step 2, a default switching time delay of 5 seconds is provided, and when the default switching time delay is set to 0, the switching is immediately carried out without time delay.
5. The method of claim 1 based on dynamic redundancy of OTN links, characterized in that:
the aggregate port command switch command is as follows:
clear: clearing operation to clear the current lock/force/manual configuration;
lock: locking operation, locking the service on the main link;
force: forced switching, wherein the service is forcibly switched to the standby link under the condition of the standby link up;
manual: and (4) manually switching.
6. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
7. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111585537.5A CN114221735A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and equipment based on OTN link dynamic redundancy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111585537.5A CN114221735A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and equipment based on OTN link dynamic redundancy |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114221735A true CN114221735A (en) | 2022-03-22 |
Family
ID=80705171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111585537.5A Pending CN114221735A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and equipment based on OTN link dynamic redundancy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114221735A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355414A (en) * | 2011-09-21 | 2012-02-15 | 中兴通讯股份有限公司 | Processing method and device of APS (automatic protection switching) state machine |
US20120155872A1 (en) * | 2010-12-20 | 2012-06-21 | Verizon Patent And Licensing Inc. | Optical transport network decoupling using optical data unit and optical channel link aggregation groups (lags) |
CN106161065A (en) * | 2015-04-13 | 2016-11-23 | 中兴通讯股份有限公司 | Pretection switch processing method, device, system and the forwarding unit in path |
CN107154896A (en) * | 2016-03-02 | 2017-09-12 | 华为技术有限公司 | A kind of data transmission method and forwarding unit |
CN107453905A (en) * | 2017-07-31 | 2017-12-08 | 烽火通信科技股份有限公司 | A kind of flexibly Ethernet 1:1 pretection switch implementation method |
CN110611577A (en) * | 2018-06-14 | 2019-12-24 | 中兴通讯股份有限公司 | Service fast switching method, switching device, network equipment and storage medium |
CN111083580A (en) * | 2019-12-09 | 2020-04-28 | 北京格林威尔科技发展有限公司 | Method and device for protecting Ethernet link in optical transmission network |
CN112751607A (en) * | 2019-10-31 | 2021-05-04 | 中兴通讯股份有限公司 | Protection switching method and system for link aggregation port |
CN113141268A (en) * | 2020-01-20 | 2021-07-20 | 华为技术有限公司 | Method and device for realizing redundancy backup of link aggregation group of manual aggregation |
-
2021
- 2021-12-23 CN CN202111585537.5A patent/CN114221735A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120155872A1 (en) * | 2010-12-20 | 2012-06-21 | Verizon Patent And Licensing Inc. | Optical transport network decoupling using optical data unit and optical channel link aggregation groups (lags) |
CN102355414A (en) * | 2011-09-21 | 2012-02-15 | 中兴通讯股份有限公司 | Processing method and device of APS (automatic protection switching) state machine |
CN106161065A (en) * | 2015-04-13 | 2016-11-23 | 中兴通讯股份有限公司 | Pretection switch processing method, device, system and the forwarding unit in path |
CN107154896A (en) * | 2016-03-02 | 2017-09-12 | 华为技术有限公司 | A kind of data transmission method and forwarding unit |
CN107453905A (en) * | 2017-07-31 | 2017-12-08 | 烽火通信科技股份有限公司 | A kind of flexibly Ethernet 1:1 pretection switch implementation method |
CN110611577A (en) * | 2018-06-14 | 2019-12-24 | 中兴通讯股份有限公司 | Service fast switching method, switching device, network equipment and storage medium |
CN112751607A (en) * | 2019-10-31 | 2021-05-04 | 中兴通讯股份有限公司 | Protection switching method and system for link aggregation port |
CN111083580A (en) * | 2019-12-09 | 2020-04-28 | 北京格林威尔科技发展有限公司 | Method and device for protecting Ethernet link in optical transmission network |
CN113141268A (en) * | 2020-01-20 | 2021-07-20 | 华为技术有限公司 | Method and device for realizing redundancy backup of link aggregation group of manual aggregation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11323307B2 (en) | Method and system of a dynamic high-availability mode based on current wide area network connectivity | |
US10797990B2 (en) | Server redundant network paths | |
US8958285B2 (en) | Network disruption prevention when virtual chassis system undergoes splits and merges | |
US9203732B2 (en) | Recovery of traffic in a connection-oriented network | |
US10091023B2 (en) | Systems and methods to detect and recover from a loop in an Ethernet ring protected network | |
US8804485B2 (en) | Method and apparatus for coordinating fault recovery techniques among domains | |
US20140258772A1 (en) | Utilizing backward defect indications in y-cable protection switching | |
CN111817881A (en) | Fault processing method and related device | |
CN103139018A (en) | Network card condition monitoring and transmission control protocol (TCP) communication method in dispatching and transformer substation integrated system | |
US9059899B2 (en) | Method and system for interrupt throttling and prevention of frequent toggling of protection groups in a communication network | |
CN112491700A (en) | Network path adjusting method, system, device, electronic equipment and storage medium | |
CN105049238A (en) | Redundancy backup method and equipment for LTE (Long Term Evolution) gateway equipment exchange subsystem | |
CN110677339A (en) | Method and device for protecting redundancy between gateway nodes, gateway equipment and storage medium | |
CN114221735A (en) | Method, storage medium and equipment based on OTN link dynamic redundancy | |
US11800262B2 (en) | Service path switching method and related device | |
CN108881011B (en) | LACP (Link aggregation control protocol) switching method and device applied to cross-device | |
CN113497753A (en) | Cross-device link aggregation method and system | |
CN107395422B (en) | Multi-frame management system | |
CN111884919A (en) | Method, device, equipment and readable medium for clearing invalid virtual IP | |
US10084695B2 (en) | Transport network control method, controller and node | |
WO2017016464A1 (en) | Processing method and apparatus for layer adjacency discovery | |
JP5545720B2 (en) | Communication control device | |
JP2013192022A (en) | Network device, link aggregation system and redundancy method therefor | |
CN113411254B (en) | Link processing method and device | |
CN110611584B (en) | Optimization method and device for protection switching |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220322 |