Optical channel protection method, device, equipment and computer readable storage medium

文档序号:1469774 发布日期:2020-02-21 浏览:9次 中文

阅读说明:本技术 一种光通道保护方法、装置、设备及计算机可读存储介质 (Optical channel protection method, device, equipment and computer readable storage medium ) 是由 杜树奎 于 2018-08-08 设计创作,主要内容包括:本发明公开了一种光通道保护方法、装置、设备及计算机可读存储介质,所述方法包括:监测到第一光通道为中断状态,确定所述第一光通道的上路口和下路口;所述第一光通道为所述上路口、第一群路出口、第一群路入口和所述下路口构成的通道,所述第一光通道用于传输第一光通道业务;确定第二群路出口和第二群路入口;所述第二群路出口与所述第一群路出口为第一光交叉板的不同的群路出口,所述第二群路入口与所述第一群路入口为第二光交叉板的不同的群路入口;根据所述上路口、所述第二群路出口、所述第二群路入口和所述下路口确定第二光通道;通过所述第二光通道传输所述第一光通道业务。(The invention discloses a method, a device, equipment and a computer readable storage medium for protecting an optical channel, wherein the method comprises the following steps: monitoring that a first optical channel is in an interruption state, and determining an upper intersection and a lower intersection of the first optical channel; the first optical channel is a channel formed by the upper intersection, the first group path outlet, the first group path inlet and the lower intersection, and the first optical channel is used for transmitting first optical channel services; determining a second group of outlets and a second group of inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate; determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection; and transmitting the first optical channel service through the second optical channel.)

1. A method for optical channel protection, the method comprising:

monitoring that a first optical channel is in an interruption state, and determining an upper intersection and a lower intersection of the first optical channel; the first optical channel is a channel formed by the upper intersection, the first group path outlet, the first group path inlet and the lower intersection, and the first optical channel is used for transmitting first optical channel services;

determining a second group of outlets and a second group of inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate;

determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection;

and transmitting the first optical channel service through the second optical channel.

2. The method of claim 1, wherein said monitoring that the first optical channel is in an interrupted state comprises;

and monitoring that an optical multiplexing section OMS between the first group path outlet and the first group path inlet is in an interrupt state.

3. The method of claim 1, wherein determining a second group of egress and ingress comprises:

acquiring the corresponding relation between the group outlet of the first cross plate and the OMS and the corresponding relation between the group inlet of the second cross plate and the OMS;

acquiring the state of each OMS; the states of the OMS comprise an interruption state and a connection state;

and selecting the group outlet and the group inlet corresponding to the OMS in the connection state as a second group outlet and a second group inlet.

4. The method of claim 1, further comprising:

acquiring a first wavelength used by the first optical channel service;

if the first wavelength is used in the second optical channel, determining a second wavelength according to a wavelength group corresponding to the second optical channel;

accordingly, transmitting the first optical channel traffic over the second optical channel comprises:

transmitting the first optical channel traffic over the second optical channel using the second wavelength.

5. The method of claim 4, wherein determining the second wavelength from the wavelength group corresponding to the second optical channel comprises:

if all wavelengths in the wavelength group corresponding to the second optical channel are used, acquiring a first priority of the first optical channel service and a second priority of the optical channel service corresponding to all wavelengths in the wavelength group;

and determining the wavelength used by the second optical channel service corresponding to the second priority lower than the first priority as the second wavelength.

6. The method of claim 5, further comprising:

obtaining the interruptible of the second optical channel service;

when the duration of the first optical channel service using the second wavelength is determined to be interruptible, determining that the wavelength used by a third optical channel service corresponding to a second priority lower than the first priority is a third wavelength;

accordingly, transmitting the first optical channel traffic over the second optical channel comprises:

transmitting the first optical channel traffic over the second optical channel using the third wavelength.

7. The method according to any one of claims 1 to 6, further comprising:

and when the state of the first optical channel is monitored to be a connection state, transmitting the first optical channel service received from the upper intersection to the lower intersection through the first optical channel.

8. An optical channel protection device, the device comprising: the device comprises a monitoring module, a determining module, a generating module and a transmitting module; wherein the content of the first and second substances,

the monitoring module is used for monitoring that the first optical channel is in an interruption state and determining an upper intersection and a lower intersection of the first optical channel; the first optical channel is a channel formed by the upper intersection, the first group path outlet, the first group path inlet and the lower intersection, and the first optical channel is used for transmitting first optical channel services;

the determining module is used for determining a second group of road outlets and second group of road inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate;

the generating module is used for determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection;

the transmission module is configured to transmit the first optical channel service through the second optical channel.

9. An optical channel protection device, characterized in that the device comprises a processor and a memory for storing a computer program executable on the processor, wherein the processor is adapted to perform the steps of the optical channel protection method according to any of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, wherein an optical channel protection program is stored on the computer-readable storage medium, and when executed by a processor, implements the steps of the optical channel protection method of any one of 1 to 7.

Technical Field

The embodiment of the invention relates to the field of optical communication, in particular to but not limited to an optical channel protection method, an optical channel protection device, optical channel protection equipment and a computer readable storage medium.

Background

In a conventional Optical Channel (OCH) service protection method of an Optical Transport Network (OTN), an Optical Protection (OP) board is configured at each source end or destination end of a service. At the service transmitting end, the transmitting end of the OCH service board is connected to the receiving end of the transmitting end OP board, the transmitting end OP board duplicates the optical signal into two parts, the optical signal is respectively transmitted from the transmitting end 1 and the transmitting end 2, and the two ports respectively transmit different Optical Multiplexing Section (OMS) service layers, that is, the source ends are double-transmitted. At the service destination, the two optical signals are respectively connected with the receiving port 1 and the receiving port 2 of the receiving port OP board, the receiving port OP board judges the current two optical signals, and sends the optical signals with higher quality to the OCH service board at the destination, that is, the destination receives preferentially. This is the traditional 1+1 protection of OCH. However, this method has the following disadvantages: firstly, the method can only select two paths of double-emitting optical signals, and if the two paths of signals can not meet the requirement of the host end service or the optical fibers of the OMS of the service layer where the two paths of services are located are broken, the service is interrupted at the moment; secondly, two OP boards need to be deployed for OCH 1+1 protection, and if the existing network has N OCH services, 2N OP boards are needed, for example, if the existing network has 1000 OCH services, 2000 OP boards need to be deployed, which is very costly.

The traditional 1: the N (N is greater than or equal to 1) method is to use 1 OCH to protect N OCHs, although the number of wavelengths can be saved compared with 1+1, only one OCH service can be protected currently, and if the protection channel is broken, the service is completely broken, so the reliability is very poor.

M: the N (M is less than or equal to N) method is also hardware-based, and M idle OCHs are needed to protect N actually running OCH services, where M OCHs need to be planned in advance, and a route of a service layer is fixed, so that there is also a problem that the running N services cannot be protected when M services are interrupted.

It is obvious that OCH service protection reliability in the related art is poor, and protection cost based on hardware OP board is high.

Disclosure of Invention

Embodiments of the present invention provide a method, an apparatus, a device and a computer storage medium for optical channel protection.

The technical scheme of the embodiment of the invention is realized as follows:

the embodiment of the invention provides an optical channel protection method, which comprises the following steps:

monitoring that a first optical channel is in an interruption state, and determining an upper intersection and a lower intersection of the first optical channel; the first optical channel is a channel formed by the upper intersection, the first group path outlet, the first group path inlet and the lower intersection, and the first optical channel is used for transmitting first optical channel services;

determining a second group of outlets and a second group of inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate;

determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection;

and transmitting the first optical channel service through the second optical channel.

An embodiment of the present invention further provides an optical channel protection device, where the device includes: the device comprises a monitoring module, a determining module, a generating module and a transmitting module; wherein the content of the first and second substances,

the monitoring module is used for monitoring that the first optical channel is in an interruption state and determining an upper intersection and a lower intersection of the first optical channel; the first optical channel is a channel formed by the upper intersection, the first group path outlet, the first group path inlet and the lower intersection, and the first optical channel is used for transmitting first optical channel services;

the determining module is used for determining a second group of road outlets and second group of road inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate;

the generating module is used for determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection;

the transmission module is configured to transmit the first optical channel service through the second optical channel.

The embodiment of the present invention further provides an optical channel protection device, where the device includes a processor and a memory for storing a computer program capable of running on the processor, and when the processor is used to run the computer program, the steps of the optical channel protection method are performed.

An embodiment of the present invention further provides a computer-readable storage medium, where an optical channel protection program is stored on the computer-readable storage medium, and when the optical channel protection program is executed by a processor, the optical channel protection program implements the steps of the optical channel protection method described in any of the foregoing embodiments.

After the first optical channel is determined to be in the interrupted state, the second optical channel is determined according to the path of the first optical channel, the second optical channel is used as a protection channel, and the service of the first optical channel is switched to the protection channel, so that when the first optical channel is interrupted, the second optical channel is calculated in real time in all the optical channels in a software implementation mode, the protection reliability of the OCH service is improved, the protection channel does not need to be set in advance, and a special protection channel based on hardware is not needed, so that the protection cost is reduced.

Drawings

Fig. 1 is a schematic flow chart illustrating an implementation of a method for protecting an optical channel according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of an OTN according to a first embodiment of the present invention;

fig. 3 is a schematic flow chart illustrating an implementation of an optical channel protection method according to a second embodiment of the present invention;

fig. 4 is a schematic flow chart illustrating an implementation of an optical channel protection method according to a third embodiment of the present invention;

fig. 5 is a flowchart illustrating an implementation of a method for determining a second OCH according to a third embodiment of the present invention;

fig. 6 is a flowchart illustrating an implementation of a protection recovery method according to a third embodiment of the present invention;

fig. 7 is a schematic structural diagram of an optical channel protection device according to a fourth embodiment of the present invention;

fig. 8 is a first schematic structural diagram of an optical channel protection device according to a fifth embodiment of the present invention;

fig. 9 is a second schematic structural diagram of an optical channel protection device according to a fifth embodiment of the present invention;

fig. 10 is a schematic structural diagram of an optical channel protection device according to a sixth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present invention and are not intended to limit the present invention. In addition, the following embodiments are provided as partial embodiments for implementing the present invention, not all embodiments for implementing the present invention, and the technical solutions described in the embodiments of the present invention may be implemented in any combination without conflict.

In each embodiment of the invention, when a first optical channel is monitored to be in an interruption state, an upper intersection and a lower intersection of the first optical channel are determined; the first optical channel is a channel formed by the upper intersection, the first group of road outlets, the first group of road inlets and the lower intersection, and the first optical channel is used for transmitting first optical channel services received from the upper intersection to the lower intersection; determining a second group of outlets and a second group of inlets; the second group outlet and the first group outlet are different group outlets of a first optical cross plate, and the second group inlet and the first group inlet are different group inlets of a second optical cross plate; determining a second optical channel according to the upper intersection, the second group of road outlets, the second group of road inlets and the lower intersection; and transmitting the first optical channel service through the second optical channel.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:光宽带网络故障定位方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!