[go: up one dir, main page]

CN116016139A - Protection switching method and device, electronic equipment and storage medium - Google Patents

Protection switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116016139A
CN116016139A CN202310013718.3A CN202310013718A CN116016139A CN 116016139 A CN116016139 A CN 116016139A CN 202310013718 A CN202310013718 A CN 202310013718A CN 116016139 A CN116016139 A CN 116016139A
Authority
CN
China
Prior art keywords
osu
protection switching
service
protection
services
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
Application number
CN202310013718.3A
Other languages
Chinese (zh)
Inventor
满祥锟
王泽林
王光全
马小梅
谭艳霞
董姗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310013718.3A priority Critical patent/CN116016139A/en
Publication of CN116016139A publication Critical patent/CN116016139A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a protection switching method and device, electronic equipment and a storage medium, and relates to the technical field of optical transmission. The method comprises the following steps: receiving alarm information sent by a service layer; according to the alarm information, simultaneously carrying out protection switching on OSU services of a plurality of optical service units OSUs in the subnetwork connection protection group; wherein each OSU service corresponds to a protection entity. The normal transmission of service data is ensured, the transmission cost of the data can be reduced, and the protection switching is performed on a plurality of OSUs simultaneously, so that the efficiency of the protection switching can be improved.

Description

保护倒换方法和装置、电子设备、存储介质Protection switching method and device, electronic device, and storage medium

技术领域Technical Field

本申请涉及光传输技术领域,具体涉及一种保护倒换方法和装置、电子设备、存储介质。The present application relates to the field of optical transmission technology, and in particular to a protection switching method and device, an electronic device, and a storage medium.

背景技术Background Art

光传送网(Optical Transport Network,OTN)升级到基于光业务单元(OpticalService Unit,OSU)部署的网络后,OSU支持的连接数为几千条或上万条,而在单个的分波单元(Optix DivisionUnit,ODU)时隙下,OSU支持的连接数最大可达4千条。After the Optical Transport Network (OTN) is upgraded to a network deployed based on the Optical Service Unit (OSU), the number of connections supported by the OSU is several thousand or tens of thousands, and in a single Optix Division Unit (ODU) time slot, the maximum number of connections supported by the OSU can reach 4,000.

针对上述海量连接,当对多条OSU同时触发保护倒换时,易导致倒换时间过长,延迟了数据的交换,降低了数据的传输效率。For the above-mentioned massive connections, when protection switching is triggered for multiple OSUs at the same time, it is easy to cause the switching time to be too long, delay the data exchange, and reduce the data transmission efficiency.

发明内容Summary of the invention

为此,本申请提供一种保护倒换方法和装置、电子设备、存储介质,解决如何提高光传输设备之间的OSU业务的保护倒换的效率的问题。To this end, the present application provides a protection switching method and device, an electronic device, and a storage medium to solve the problem of how to improve the efficiency of protection switching of OSU services between optical transmission devices.

为了实现上述目的,本申请第一方面提供一种保护倒换方法,方法包括:接收服务层发送的告警信息;依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换;其中,每个OSU业务对应一个保护实体。In order to achieve the above-mentioned objectives, the first aspect of the present application provides a protection switching method, the method comprising: receiving alarm information sent by the service layer; performing protection switching of OSU services on multiple optical service units OSU in a subnet connection protection group at the same time according to the alarm information; wherein each OSU service corresponds to a protection entity.

在一些可选的实施例中,依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,包括:对子网连接保护组中的每个OSU进行如下处理:在确定告警信息中存在保护倒换触发信息的情况下,对OSU中进行的业务进行保护倒换;其中,一个业务信号由一个单独的保护实体进行保护。In some optional embodiments, protection switching of OSU services is simultaneously performed on multiple optical service units OSU in a subnet connection protection group based on alarm information, including: performing the following processing on each OSU in the subnet connection protection group: when it is determined that there is protection switching trigger information in the alarm information, protection switching is performed on the service performed in the OSU; wherein a service signal is protected by a separate protection entity.

在一些可选的实施例中,保护倒换触发信息包括:端口触发信息、光通道净荷单元触发信息、光通道数据单元触发信息、光转换器单元触发信息中的至少一种;In some optional embodiments, the protection switching trigger information includes: at least one of port trigger information, optical channel payload unit trigger information, optical channel data unit trigger information, and optical converter unit trigger information;

其中,端口触发信息包括信号丢失信息;光通道净荷单元触发信息包括帧丢失信息;光通道数据单元触发信息包括踪迹识别符失配、告警指示信号、开放连接指示和锁定中的至少一种;光转换器单元触发信息包括信号丢失、帧丢失、复帧丢失、告警指示信号、踪迹识别符失配、劣化和踪迹识别符失配中的至少一种。Among them, the port trigger information includes signal loss information; the optical channel payload unit trigger information includes frame loss information; the optical channel data unit trigger information includes at least one of a trace identifier mismatch, an alarm indication signal, an open connection indication and a lock; the optical converter unit trigger information includes at least one of a signal loss, a frame loss, a multi-frame loss, an alarm indication signal, a trace identifier mismatch, degradation and a trace identifier mismatch.

在一些可选的实施例中,对OSU中进行的业务进行保护倒换,包括:对OSU中进行的业务进行单向的保护倒换;或,对OSU中进行的业务进行双向的保护倒换。In some optional embodiments, protection switching is performed on the services performed in the OSU, including: unidirectional protection switching is performed on the services performed in the OSU; or bidirectional protection switching is performed on the services performed in the OSU.

在一些可选的实施例中,对OSU中进行的业务进行双向的保护倒换,包括:依据自动保护倒换协议,对OSU中进行的业务进行双向的保护倒换。In some optional embodiments, bidirectional protection switching is performed on the services performed in the OSU, including: performing bidirectional protection switching on the services performed in the OSU according to an automatic protection switching protocol.

在一些可选的实施例中,方法还包括:在OSU业务的宿端进行保护倒换,在OSU业务的源端保持桥接。In some optional embodiments, the method further includes: performing protection switching at the sink end of the OSU service and maintaining bridging at the source end of the OSU service.

在一些可选的实施例中,对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换之后,还包括:基于预设配置参数,获取保护倒换结果。In some optional embodiments, after simultaneously performing protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group, the method further includes: obtaining a protection switching result based on preset configuration parameters.

为了实现上述目的,本申请第二方面提供一种保护倒换装置,其包括:接收模块,被配置为接收服务层发送的告警信息;倒换模块,被配置为依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换;其中,每个OSU业务对应一个保护实体。In order to achieve the above-mentioned purpose, the second aspect of the present application provides a protection switching device, which includes: a receiving module, configured to receive alarm information sent by the service layer; a switching module, configured to simultaneously perform protection switching of OSU services for multiple optical service units OSU in a subnet connection protection group based on the alarm information; wherein each OSU service corresponds to a protection entity.

为了实现上述目的,本申请第三方面,本申请提供了一种电子设备,该电子设备包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的一个或多个计算机程序,一个或多个所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述保护倒换方法。In order to achieve the above-mentioned purpose, in the third aspect of the present application, the present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores one or more computer programs that can be executed by the at least one processor, and one or more of the computer programs are executed by the at least one processor so that the at least one processor can execute the above-mentioned protection switching method.

为了实现上述目的,本申请第四方面,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序在被处理器/处理核执行时实现上述保护倒换方法。In order to achieve the above-mentioned purpose, in a fourth aspect of the present application, the present application provides a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the above-mentioned protection switching method when executed by a processor/processing core.

本申请中的保护倒换方法和装置、电子设备、存储介质,通过接收服务层发送的告警信息,以确定服务层是否发生故障,便于对对应的告警信息进行响应;无需增加额外的传输器件,只需依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,其中,每个OSU业务对应一个保护实体,不仅保证了业务数据的正常传输,还能够降低数据的传输成本,并且,对多个OSU进行同时的保护倒换,能够提升保护倒换的效率。The protection switching method and device, electronic device, and storage medium in the present application receive alarm information sent by the service layer to determine whether a fault occurs in the service layer, so as to respond to the corresponding alarm information; there is no need to add additional transmission devices, and only the protection switching of OSU services of multiple optical service units OSU in the subnet connection protection group is performed simultaneously according to the alarm information, wherein each OSU service corresponds to a protection entity, which not only ensures the normal transmission of service data, but also reduces the data transmission cost, and the simultaneous protection switching of multiple OSUs can improve the efficiency of protection switching.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本公开的实施例一起用于解释本公开,并不构成对本公开的限制。通过参考附图对详细示例实施例进行描述,以上和其它特征和优点对本领域技术人员将变得更加显而易见,在附图中:The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing detailed example embodiments with reference to the accompanying drawings, in which:

图1为本申请实施例提供的一种保护倒换方法的流程示意图。FIG1 is a schematic flow chart of a protection switching method provided in an embodiment of the present application.

图2为本申请实施例提供的一种OSU的帧结构示意图。FIG2 is a schematic diagram of a frame structure of an OSU provided in an embodiment of the present application.

图3为本申请实施例提供的一种基于OSU的网络结构。FIG3 is an OSU-based network structure provided in an embodiment of the present application.

图4为本申请实施例提供的一种标准化的OSU帧格式的示意图。FIG4 is a schematic diagram of a standardized OSU frame format provided in an embodiment of the present application.

图5为本申请实施例提供的一种保护倒换过程示意图。FIG5 is a schematic diagram of a protection switching process provided in an embodiment of the present application.

图6为本申请实施例提供的一种保护倒换过程示意图。FIG6 is a schematic diagram of a protection switching process provided in an embodiment of the present application.

图7为本申请实施例提供的一种保护倒换装置的组成方框图。FIG. 7 is a block diagram of a protection switching device provided in an embodiment of the present application.

图8为本申请实施例提供的一种电子设备的组成方框图。FIG8 is a block diagram of a composition of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

以下结合附图对本申请的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本申请,并不用于限制本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The specific embodiments of the present application are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present application and are not intended to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of the specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

光传输的电层技术正在经历第三代的变革阶段:从面向语音承载的主动锁频技术(Pound Drever Hal l,PDH),到面向数据的多业务承载OTN技术,以及面向业务的灵活OSU容器。OSU是OTN的承载专线存在带宽不匹配带来的资源浪费、灵活性不足等问题催生的技术,该技术的最大特征是面向业务的灵活光业务单元(OSU),具备如下特点:The electrical layer technology of optical transmission is undergoing the third generation of transformation: from active frequency locking technology (Pound Drever Hal l, PDH) for voice bearer, to multi-service bearer OTN technology for data, and flexible OSU container for services. OSU is a technology that was born out of the problems of resource waste and lack of flexibility caused by bandwidth mismatch in OTN bearer dedicated lines. The biggest feature of this technology is the flexible optical service unit (OSU) for services, which has the following characteristics:

1)提供的灵活容器小到M级别,单ODUk通道提供4k条连接能力;2)OSU引入信元结构,并携带TPN标识,打破固定的TDM时隙固定位置,为业务带来灵活性(适配分组业务,面向未来);3)同时保留了OTN硬管道特性:零丢包、安全隔离、稳定时延。1) The flexible container provided is as small as M level, and a single ODUk channel provides 4k connection capabilities; 2) OSU introduces the cell structure and carries the TPN identifier, breaking the fixed position of the fixed TDM time slot and bringing flexibility to the service (adapting to packet services and facing the future); 3) At the same time, it retains the OTN hard pipe characteristics: zero packet loss, secure isolation, and stable latency.

并且,OSU支持的连接数为几千条或上万条,而在单OSU时隙下,OSU支持的连接数最大可达4千条。针对上述海量连接,当对多条OSU同时触发保护倒换时,易导致倒换时间过长,延迟了数据的交换,降低了数据的传输效率。In addition, the number of connections supported by OSU is several thousand or tens of thousands, while in a single OSU time slot, the maximum number of connections supported by OSU can reach 4,000. For the above massive connections, when protection switching is triggered for multiple OSUs at the same time, it is easy to cause the switching time to be too long, delaying data exchange and reducing data transmission efficiency.

有鉴于此,本申请提供一种保护倒换方法和装置、电子设备、存储介质,以解决上述问题。In view of this, the present application provides a protection switching method and device, an electronic device, and a storage medium to solve the above-mentioned problems.

图1为本申请实施例提供的一种保护倒换方法的流程示意图。该保护倒换方法可应用于保护倒换装置。如图1所示,该保护倒换方法包括但不限于如下步骤。Fig. 1 is a schematic flow chart of a protection switching method provided in an embodiment of the present application. The protection switching method can be applied to a protection switching device. As shown in Fig. 1, the protection switching method includes but is not limited to the following steps.

步骤S101,接收服务层发送的告警信息。Step S101, receiving the alarm information sent by the service layer.

其中,告警信息包括保护倒换触发信息,例如,该保护倒换触发信息包括:端口触发信息、光通道净荷单元触发信息、光通道数据单元触发信息、光转换器单元触发信息中的至少一种。The alarm information includes protection switching trigger information. For example, the protection switching trigger information includes at least one of port trigger information, optical channel payload unit trigger information, optical channel data unit trigger information, and optical converter unit trigger information.

步骤S 102,依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换。Step S102: performing protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group simultaneously according to the alarm information.

其中,每个OSU业务对应一个保护实体。OSU是OTN网络中用于支持兆比特每秒(Mbit/s)及以上速率业务的高效承载,帧长为192字节。Each OSU service corresponds to a protection entity. OSU is an efficient bearer in the OTN network for supporting services with a rate of megabit per second (Mbit/s) or above, with a frame length of 192 bytes.

图2为本申请实施例提供的一种OSU的帧结构示意图。如图2所示,OSU的帧结构包括开销区(如,映射OH的区域、OSU PMOH区域等)和OSU净荷区。Fig. 2 is a schematic diagram of an OSU frame structure provided by an embodiment of the present application. As shown in Fig. 2, the OSU frame structure includes an overhead area (eg, an OH mapping area, an OSU PMOH area, etc.) and an OSU payload area.

客户业务首先映射到OSU净荷区,开销区提供通道层(PM开销)、串联连接监控(TCM开销)和段层(SOH段开销)的功能,并且,OSU帧还可以进一步映射到OPU净荷块(PB)中。Customer services are first mapped to the OSU payload area. The overhead area provides channel layer (PM overhead), tandem connection monitoring (TCM overhead) and segment layer (SOH segment overhead) functions. In addition, the OSU frame can be further mapped to the OPU payload block (PB).

其中,开销区可以用于映射OH、OSU PMOH、OSU TCMOH和OSU SOH中的任意一种。The overhead area may be used to map any one of OH, OSU PMOH, OSU TCMOH and OSU SOH.

OSU提供了路径层的网络功能(如,OSU业务适配功能、OSU路径层开销管理监控功能、OSU交叉调度功能、OSU复用到OPU功能、OSU无损调整功能、OSU保护功能等)。OSU层的网络能够兼容现有的OTN的网络架构,可以支持映射到多个ODUk,通过TPN标识,支持端到端OSU路径在各段层中的连接。OSU provides network functions at the path layer (such as OSU service adaptation function, OSU path layer overhead management and monitoring function, OSU cross-scheduling function, OSU multiplexing to OPU function, OSU lossless adjustment function, OSU protection function, etc.). The network at the OSU layer is compatible with the existing OTN network architecture, can support mapping to multiple ODUks, and support the connection of end-to-end OSU paths in each segment layer through TPN identification.

图3为本申请实施例提供的一种基于OSU的网络结构。如图3所示,其中,OSU包括OSU帧#1、……、OSU帧#C,其中,C为大于或等于1的整数。FIG3 is a network structure based on OSU provided in an embodiment of the present application. As shown in FIG3, OSU includes OSU frame #1, ..., OSU frame #C, where C is an integer greater than or equal to 1.

将OSU映射到OSTU帧中,并进一步地,将OSTU帧映射到OSTUG帧中,其中,OSTUG帧最多包括m个OSTU帧,m为大于或等于1的整数。The OSU is mapped into an OSTU frame, and further, the OSTU frame is mapped into an OSTUG frame, wherein the OSTUG frame includes at most m OSTU frames, and m is an integer greater than or equal to 1.

通过将OSTUG帧映射到OPU净荷区,再加上OPU OH,从而构造ODU净荷区,再结合ODUOH,形成ODU。从而实现不同的网络层级结构。By mapping the OSTUG frame to the OPU payload area, and adding the OPU OH, the ODU payload area is constructed, and then combined with the ODUOH to form the ODU, thereby realizing different network hierarchical structures.

在本实施例中,通过接收服务层发送的告警信息,以确定服务层是否发生故障,便于对对应的告警信息进行响应;无需增加额外的传输器件,只需依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,其中,每个OSU业务对应一个保护实体,不仅保证了业务数据的正常传输,还能够降低数据的传输成本,并且,对多个OSU进行同时的保护倒换,能够提升保护倒换的效率。In this embodiment, the alarm information sent by the service layer is received to determine whether the service layer fails, so as to respond to the corresponding alarm information. There is no need to add additional transmission devices, and only the protection switching of OSU services of multiple optical service units OSU in the subnet connection protection group is performed simultaneously according to the alarm information. Each OSU service corresponds to a protection entity, which not only ensures the normal transmission of service data, but also reduces the data transmission cost. In addition, simultaneous protection switching of multiple OSUs can improve the efficiency of protection switching.

图4为本申请实施例提供的一种标准化的OSU帧格式的示意图。如图4所示,第1字节到第4字节、以及第7字节均为通用开销,第5字节和第6字节为映射开销,第8字节到第192字节为净荷区。Fig. 4 is a schematic diagram of a standardized OSU frame format provided by an embodiment of the present application. As shown in Fig. 4, bytes 1 to 4 and 7 are general overheads, bytes 5 and 6 are mapping overheads, and bytes 8 to 192 are payload areas.

其中,通用开销包括:版本号(VER)、支路端口号(TPN)、连续性校验(CV)、帧类型(FT)、串联连接监视(TCM)、通道监控(PM)和保留开销(RES)。The common overhead includes: version number (VER), tributary port number (TPN), continuity check (CV), frame type (FT), tandem connection monitor (TCM), path monitor (PM) and reserved overhead (RES).

在一些可选的实施例中,步骤S 102中的依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,包括:对子网连接保护组中的每个OSU进行如下处理:在确定告警信息中存在保护倒换触发信息的情况下,对OSU中进行的业务进行保护倒换。In some optional embodiments, step S102 simultaneously performs protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group based on the alarm information, including: performing the following processing on each OSU in the subnet connection protection group: when it is determined that there is protection switching trigger information in the alarm information, performing protection switching on the service performed in the OSU.

其中,一个业务信号由一个单独的保护实体进行保护。其中,因告警信息用于反映设备的异常情况,当告警信息中存在保护倒换触发信息时,才启动对OSU中进行的业务进行保护倒换。One service signal is protected by a separate protection entity. Since the alarm information is used to reflect the abnormal situation of the equipment, protection switching of the service in the OSU is initiated only when there is protection switching triggering information in the alarm information.

例如,该保护倒换触发信息包括:端口触发信息、光通道净荷单元触发信息、光通道数据单元触发信息、光转换器单元触发信息中的至少一种。For example, the protection switching trigger information includes at least one of port trigger information, optical channel payload unit trigger information, optical channel data unit trigger information, and optical converter unit trigger information.

例如,端口触发信息包括信号丢失信息(Loss of Signal,LOS);光通道净荷单元(OPU)触发信息包括帧丢失信息(如,帧和复帧丢失(Loss of Frame and Loss of Mult iFrame,LOFLOM))。For example, the port trigger information includes signal loss information (Loss of Signal, LOS); the optical channel payload unit (OPU) trigger information includes frame loss information (such as frame and multiframe loss (Loss of Frame and Loss of Mult iFrame, LOFLOM)).

光通道数据单元(ODU PM)触发信息包括踪迹识别符失配(Trace IdentifierMismatch,TIM)、告警指示信号(Alarm Indicat ion Signal,AIS)、开放连接指示(OpenConnection Indication,OCI)和锁定(Lock,LCK)中的至少一种。The optical channel data unit (ODU PM) trigger information includes at least one of a trace identifier mismatch (Trace Identifier Mismatch, TIM), an alarm indication signal (Alarm Indication Signal, AIS), an open connection indication (Open Connection Indication, OCI) and a lock (Lock, LCK).

光转换器单元(OTU)触发信息包括信号丢失(Loss of Signal,LOS、帧丢失(Lossof Frame,LOF)、复帧丢(Loss of Multi Frame,LOM)失、告警指示信号(Alarm IndicationSignal,AIS)、踪迹识别符失配(Trace Identifier Mi smatch,TIM)、和劣化(Degrade,DEG)中的至少一种。The optical converter unit (OTU) trigger information includes at least one of signal loss (Loss of Signal, LOS), frame loss (Loss of Frame, LOF), multi-frame loss (Loss of Multi Frame, LOM), alarm indication signal (Alarm Indication Signal, AIS), trace identifier mismatch (Trace Identifier Mi smatch, TIM), and degradation (Degrade, DEG).

通过上述服务层发出的不同的触发信息,能够触发对子网连接保护组中的多个OSU同时进行OSU业务的保护倒换,加快保护倒换的速度,提升对故障链路的处理效率。Different trigger information sent by the above service layer can trigger protection switching of OSU services of multiple OSUs in the subnet connection protection group at the same time, thereby accelerating the speed of protection switching and improving the processing efficiency of faulty links.

在一些可选的实施例中,对OSU中进行的业务进行保护倒换,包括:对OSU中进行的业务进行单向的保护倒换;或,对OSU中进行的业务进行双向的保护倒换。In some optional embodiments, protection switching is performed on the services performed in the OSU, including: unidirectional protection switching is performed on the services performed in the OSU; or bidirectional protection switching is performed on the services performed in the OSU.

其中,单向的保护倒换,是指只有受到影响的一端启动倒换,两端的选择器是独立工作的,单向的保护倒换能够在不同方向的不同连接上保护两个单向故障,有利于减小倒换的操作复杂度。Among them, unidirectional protection switching means that only the affected end starts switching, and the selectors at both ends work independently. The unidirectional protection switching can protect two unidirectional faults on different connections in different directions, which is conducive to reducing the complexity of switching operations.

双向的保护倒换,是指在受到影响的和没有受到影响的链接方向上,均进行保护倒换,即倒换至保护路径。从而保证链路的正常通信。Bidirectional protection switching means that protection switching is performed in both the affected and unaffected link directions, that is, switching to the protection path, thereby ensuring normal communication of the link.

在一些可选的实施例中,对OSU中进行的业务进行双向的保护倒换,包括:依据自动保护倒换协议,对OSU中进行的业务进行双向的保护倒换。In some optional embodiments, bidirectional protection switching is performed on the services performed in the OSU, including: performing bidirectional protection switching on the services performed in the OSU according to an automatic protection switching protocol.

其中,通过自动保护倒换协议(Automat ic Protect ion Switching,APS)来实现保护倒换,即在APS协议信息的控制下,保护倒换由被保护域的源端选择器和宿端选择器共同完成,即使在单向故障的情况,源端和宿端也会有相同的桥接器和选择器设置。以保证保护倒换的快速准确的实施。Among them, the protection switching is realized through the Automatic Protection Switching (APS) protocol, that is, under the control of the APS protocol information, the protection switching is completed by the source selector and the sink selector of the protected domain. Even in the case of a unidirectional fault, the source and sink will have the same bridge and selector settings to ensure the fast and accurate implementation of the protection switching.

在一些可选的实施例中,方法还包括:在OSU业务的宿端进行保护倒换,在OSU业务的源端保持桥接。In some optional embodiments, the method further includes: performing protection switching at the sink end of the OSU service and maintaining bridging at the source end of the OSU service.

其中,通过在OSU业务的源端保持桥接,能够降低保护倒换之后的源端变更的比例,减少业务数据的传输错误。并且,通过在OSU业务的宿端进行保护倒换,能够使发送链路故障的宿端可以尽快得以回复,保证业务数据的正常传输。Among them, by maintaining the bridge at the source end of the OSU service, the proportion of source end changes after protection switching can be reduced, and the transmission errors of service data can be reduced. In addition, by performing protection switching at the destination end of the OSU service, the destination end with a transmission link failure can be restored as soon as possible, ensuring the normal transmission of service data.

在一些可选的实施例中,步骤S 102中的依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换之后,还包括:基于预设配置参数,获取保护倒换结果。In some optional embodiments, after simultaneously performing protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group according to the alarm information in step S102, the method further includes: obtaining a protection switching result based on preset configuration parameters.

其中,预设配置参数包括可返回类型和不可返回类型,该预设配置参数可以是用户预先根据其使用需求进行配置的。The preset configuration parameters include a returnable type and a non-returnable type, and the preset configuration parameters can be configured in advance by the user according to his/her usage requirements.

通过在可返回类型的配置下,当工作路径的连接存在故障时,并在得到检测确认后,基于保护倒换的实施,能够使用新的工作路径进行业务数据的传输;此时,业务数据由保护链路(即,新的工作路径)传送,从而基于保护倒换结果,时用户获知业务数据正在进行可靠有序的传输。Under the configuration of the returnable type, when there is a fault in the connection of the working path, and after detection confirmation, based on the implementation of protection switching, the new working path can be used to transmit business data; at this time, the business data is transmitted by the protection link (that is, the new working path), so that based on the protection switching result, the user knows that the business data is being transmitted reliably and orderly.

而针对不可返回类型,当保护倒换请求终止时,业务数据不会倒换回原来的工作链接,而是继续在保护链接上进行传送。在不可返回类型的情况下,如果由于信号裂化或者信号时效到期造成的链接时效终止,在没有外部的启动命令的情况下,工作链接进入了无请求的状态,此时就不会再次发生保护倒换操作。需要外部触发该链路是否恢复到正常工作状态(即,进行业务数据的传输的状态)。For the irreversible type, when the protection switching request is terminated, the service data will not be switched back to the original working link, but will continue to be transmitted on the protection link. In the case of the irreversible type, if the link validity period is terminated due to signal cracking or signal validity expiration, the working link enters a no-request state without an external start command, and the protection switching operation will not occur again. An external trigger is required to determine whether the link is restored to a normal working state (i.e., a state of transmitting service data).

图5为本申请实施例提供的一种保护倒换过程示意图。如图5所示,多个OSU业务(如,OSU业务1、OSU业务2、……、OSU业务N,N表示OSU业务的数量,N为大于或等于1的整数)通过OSU交叉,分别与工作路径和保护路径相连接。Figure 5 is a schematic diagram of a protection switching process provided by an embodiment of the present application. As shown in Figure 5, multiple OSU services (such as OSU service 1, OSU service 2, ..., OSU service N, N represents the number of OSU services, and N is an integer greater than or equal to 1) are connected to the working path and the protection path respectively through the OSU crossover.

其中,工作路径包括线路接口处理、光复用段处理、光复用段处理和线路接口处理等多个处理阶段;类似的,保护路径与工作路径基本相同,也包括线路接口处理、光复用段处理、光复用段处理和线路接口处理等多个处理阶段。Among them, the working path includes multiple processing stages such as line interface processing, optical multiplex section processing, optical multiplex section processing and line interface processing; similarly, the protection path is basically the same as the working path, and also includes multiple processing stages such as line interface processing, optical multiplex section processing, optical multiplex section processing and line interface processing.

在接收端,通过OSU交叉的方式,与多个OSU业务进行映射,从而实现多个OSU业务的并行处理。At the receiving end, multiple OSU services are mapped through OSU cross-connection, thereby realizing parallel processing of multiple OSU services.

其中,工作路径是通过将多条OSU业务进行捆绑,构造子网连接保护(Sub-networkConnection Protect ion,SNCP)组,该SNCP保护组能够最多支持N种业务的并行处理。The working path is constructed by bundling multiple OSU services to form a sub-network connection protection (SNCP) group, and the SNCP protection group can support parallel processing of up to N types of services.

其中,当接收到服务层发送的告警信息时,通过对该告警信息进行解析,确定告警信息中存在保护倒换触发信息,此时,基于保护倒换触发信息对OSU中进行的业务进行保护倒换,该保护倒换的实质是对OSU业务进行保护倒换,When receiving the alarm information sent by the service layer, the alarm information is parsed to determine that there is protection switching trigger information in the alarm information. At this time, protection switching is performed on the service in the OSU based on the protection switching trigger information. The essence of the protection switching is to perform protection switching on the OSU service.

并且,该保护倒换在执行时,是对SNCP组中的多个OSU同时进行OSU业务的保护倒换。一个单独的工作信号由一个单独的保护实体进行保护。并且,该保护倒换是在OSU业务的宿端进行保护倒换,在OSU业务的源端保持桥接。Furthermore, when the protection switching is executed, the protection switching of OSU services is performed on multiple OSUs in the SNCP group at the same time. A single working signal is protected by a single protection entity. Furthermore, the protection switching is performed at the sink end of the OSU service, and the bridging is maintained at the source end of the OSU service.

需要说明的是,保护倒换支持如下方式:对OSU中进行的业务进行单向的保护倒换;或,对OSU中进行的业务进行双向的保护倒换。对应的,其返回的数据支持可返回与不可返回两种操作类型,该操作类型可以是用户预先根据其使用需求进行配置的。It should be noted that protection switching supports the following modes: unidirectional protection switching for services in OSU; or bidirectional protection switching for services in OSU. Correspondingly, the returned data supports two types of operation: returnable and non-returnable. The operation type can be configured by the user in advance according to his/her usage requirements.

其中,可返回类型是指在引起倒换的原因清除后,业务将恢复到工作链路中传输。在可返回类型的情况下,当工作链路有故障发生后,并且在得到检测确认后倒换动作已经完成,此时业务信号由保护链路传送,在一段时间后工作链路的故障已经清除,先前局部的倒换请求已经终止,就进入到等待恢复状态。在这个状态结束后,进入无请求状态,这个时候业务信号倒换回工作链路。但是在等待恢复状态期间,如果有较高优先级的请求时,就会提前结束等待恢复状态。Among them, the revertible type means that after the cause of the switch is cleared, the service will be restored to the working link for transmission. In the case of the revertible type, when a fault occurs in the working link, and the switch action is completed after detection confirmation, the service signal is transmitted by the protection link. After a period of time, the fault of the working link has been cleared, and the previous local switch request has been terminated, and it enters the waiting for recovery state. After this state ends, it enters the no request state, and the service signal switches back to the working link. However, during the waiting for recovery state, if there is a request with a higher priority, the waiting for recovery state will be ended in advance.

不可返回类型是指当倒换请求终止,业务信号不会倒换回工作链路,而是继续在保护链路传送。The non-returnable type means that when the switching request is terminated, the service signal will not be switched back to the working link, but will continue to be transmitted on the protection link.

针对不可返回类型,当保护倒换请求终止时,业务数据不会倒换回原来的工作链接,而是继续在保护链接上进行传送。在不可返回类型的情况下,如果由于信号裂化或者信号时效到期造成的链接时效终止,在没有外部的启动命令的情况下,工作链接进入了无请求的状态,此时就不会再次发生保护倒换操作。需要外部触发该链路是否恢复到正常工作状态(即,进行业务数据的传输的状态)。For the irreversible type, when the protection switching request is terminated, the service data will not be switched back to the original working link, but will continue to be transmitted on the protection link. In the case of the irreversible type, if the link validity period is terminated due to signal cracking or signal validity expiration, the working link enters the no-request state without an external start command, and the protection switching operation will not occur again. An external trigger is required to determine whether the link is restored to a normal working state (i.e., a state of transmitting service data).

在对OSU中进行的业务进行双向的保护倒换时,可依据APS协议,对OSU中进行的业务进行双向的保护倒换。When bidirectional protection switching is performed on the services performed in the OSU, bidirectional protection switching can be performed on the services performed in the OSU according to the APS protocol.

在一些具体实现中,保护倒换触发信息可作为保护倒换的触发条件,表1示出本申请实施例中的SNCP组的保护倒换触发条件。In some specific implementations, the protection switching trigger information may be used as a trigger condition for protection switching. Table 1 shows the protection switching trigger condition of the SNCP group in the embodiment of the present application.

表1SNCP组的保护倒换触发条件Table 1 Protection switching triggering conditions of SNCP group

Figure BDA0004038585560000091
Figure BDA0004038585560000091

Figure BDA0004038585560000101
Figure BDA0004038585560000101

在一些具体实现中,可采用OSU 1+1的保护倒换方式,对OSU业务进行保护。In some specific implementations, an OSU 1+1 protection switching mode may be used to protect OSU services.

图6为本申请实施例提供的一种保护倒换过程示意图。如图6所示,基于接口适配处理A,获得某个OSU业务的数据接口,并将该OSU业务通过OSU交叉的方式,分别与两个同样的传输路径(如,包括线路接口处理1、光复用段处理1、光复用段处理1和线路接口处理1等处理阶段的第一传输路径;以及包括线路接口处理2、光复用段处理2、光复用段处理2和线路接口处理2的第二传输路径)进行连接。FIG6 is a schematic diagram of a protection switching process provided by an embodiment of the present application. As shown in FIG6, based on the interface adaptation process A, a data interface of a certain OSU service is obtained, and the OSU service is connected to two identical transmission paths (e.g., a first transmission path including processing stages such as line interface processing 1, optical multiplex section processing 1, optical multiplex section processing 1, and line interface processing 1; and a second transmission path including line interface processing 2, optical multiplex section processing 2, optical multiplex section processing 2, and line interface processing 2) through OSU crossover.

在接收端,通过OSU交叉的方式,再次通过接口适配处理B,与OSU业务进行映射,从而实现对OSU业务的传输。At the receiving end, the OSU cross-connection method is used and the interface adaptation processing B is used again to map the OSU service, thereby realizing the transmission of the OSU service.

需要说明的是,第一传输路径和第二传输路径可以互为保护路径,当其中一个传输路径出现故障时,会采用另一个传输路径进行传输。It should be noted that the first transmission path and the second transmission path can serve as protection paths for each other. When one of the transmission paths fails, the other transmission path will be used for transmission.

并且,该保护倒换是在OSU业务的宿端进行保护倒换,在OSU业务的源端保持桥接。一个OSU业务专享一个保护OSU资源Furthermore, the protection switching is performed at the destination of the OSU service, and the bridging is maintained at the source of the OSU service. One OSU service exclusively uses one protection OSU resource.

需要说明的是,保护倒换支持如下方式:对OSU中进行的业务进行单向的保护倒换;或,对OSU中进行的业务进行双向的保护倒换。对应的,其返回的数据支持可返回与不可返回两种操作类型,该操作类型可以是用户预先根据其使用需求进行配置的。It should be noted that protection switching supports the following modes: unidirectional protection switching for services in OSU; or bidirectional protection switching for services in OSU. Correspondingly, the returned data supports two types of operation: returnable and non-returnable. The operation type can be configured by the user in advance according to his/her usage requirements.

在对OSU中进行的业务进行双向的保护倒换时,可依据自动保护倒换(AutomaticProtection Switching,APS)协议,对OSU中进行的业务进行双向的保护倒换。When bidirectional protection switching is performed on the services performed in the OSU, bidirectional protection switching may be performed on the services performed in the OSU according to an Automatic Protection Switching (APS) protocol.

需要说明的是,OSU 1+1的保护倒换方式的触发条件是取决于不同的监视类型。表2示出本申请实施例中的OSU 1+1的保护倒换方式的触发条件It should be noted that the triggering conditions of the protection switching mode of OSU 1+1 depend on different monitoring types. Table 2 shows the triggering conditions of the protection switching mode of OSU 1+1 in the embodiment of the present application.

需要说明的是,在配置了相应的后继操作的使能之后,其中TIM/PLM/LTC条件才可以作为OSU 1+1的保护倒换条件。It should be noted that, after the corresponding subsequent operation is enabled, the TIM/PLM/LTC condition can be used as the protection switching condition of OSU 1+1.

表2OSU 1+1的保护倒换方式的触发条件Table 2 Triggering conditions for OSU 1+1 protection switching mode

Figure BDA0004038585560000111
Figure BDA0004038585560000111

Figure BDA0004038585560000121
Figure BDA0004038585560000121

图7为本申请实施例提供的一种保护倒换装置的组成方框图。如图7所示,该保护倒换装置700包括但不限于如下模块。Fig. 7 is a block diagram of a protection switching device provided in an embodiment of the present application. As shown in Fig. 7, the protection switching device 700 includes but is not limited to the following modules.

接收模块701,被配置为接收服务层发送的告警信息。The receiving module 701 is configured to receive the alarm information sent by the service layer.

倒换模块702,被配置为依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换。The switching module 702 is configured to simultaneously perform protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group according to the alarm information.

其中,每个OSU业务对应一个保护实体。Each OSU service corresponds to a protection entity.

需要说明的是,本申请实施例中的保护倒换装置能够实现本申请任意一种实施例中的保护倒换方法,在此不再赘述。It should be noted that the protection switching device in the embodiment of the present application can implement the protection switching method in any embodiment of the present application, which will not be described in detail here.

在本实施方式中,通过接收模块接收服务层发送的告警信息,以确定服务层是否发生故障,便于对对应的告警信息进行响应;无需增加额外的传输器件,只需使用倒换模块依据告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,其中,每个OSU业务对应一个保护实体,不仅保证了业务数据的正常传输,还能够降低数据的传输成本,并且,对多个OSU进行同时的保护倒换,能够提升保护倒换的效率。In this embodiment, the alarm information sent by the service layer is received by the receiving module to determine whether a fault occurs in the service layer, so as to respond to the corresponding alarm information. There is no need to add additional transmission devices. Only the switching module needs to be used to simultaneously perform protection switching of OSU services for multiple optical service units OSU in the subnet connection protection group according to the alarm information. Each OSU service corresponds to a protection entity, which not only ensures the normal transmission of service data, but also reduces the data transmission cost. Moreover, simultaneous protection switching of multiple OSUs can improve the efficiency of protection switching.

值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施方式中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.

本申请实施例还提供了电子设备、计算机可读存储介质,上述均可用来实现本申请实施例中的任一种保护倒换方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。The embodiments of the present application also provide electronic devices and computer-readable storage media, which can be used to implement any protection switching method in the embodiments of the present application. The corresponding technical solutions and descriptions are referred to in the corresponding records of the method part and will not be repeated here.

图8为本申请实施例提供的一种电子设备的组成方框图。如图8所示,本申请实施例提供了一种电子设备,该电子设备包括:至少一个处理器801;至少一个存储器802,以及一个或多个I/O接口803,连接在处理器801与存储器802之间;其中,存储器802存储有可被至少一个处理器801执行的一个或多个计算机程序,一个或多个计算机程序被至少一个处理器801执行,以使至少一个处理器801能够执行上述的保护倒换方法。FIG8 is a block diagram of an electronic device provided in an embodiment of the present application. As shown in FIG8, an embodiment of the present application provides an electronic device, which includes: at least one processor 801; at least one memory 802, and one or more I/O interfaces 803, connected between the processor 801 and the memory 802; wherein the memory 802 stores one or more computer programs that can be executed by at least one processor 801, and the one or more computer programs are executed by at least one processor 801, so that at least one processor 801 can perform the above-mentioned protection switching method.

本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序在被处理器/处理核执行时实现上述的保护倒换方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the above protection switching method when executed by a processor/processing core. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium.

本申请实施例还提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述的保护倒换方法。An embodiment of the present application also provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned protection switching method.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读存储介质上,计算机可读存储介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules/units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).

如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读程序指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM)、静态随机存取存储器(SRAM)、闪存或其他存储器技术、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读程序指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable program instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technology, portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing/processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device.

用于执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。The computer program instructions for performing the operation of the present application can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.

这里所描述的计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software DevelopmentKit,SDK)等等。The computer program product described herein may be implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), etc.

这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Various aspects of the present application are described herein with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and/or block diagram and the combination of each box in the flowchart and/or block diagram can be implemented by computer-readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions/actions specified in one or more boxes in the flowchart and/or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and/or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions/actions specified in one or more boxes in the flowchart and/or block diagram.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions/actions specified in one or more boxes in the flowchart and/or block diagram.

附图中的流程图和框图显示了根据本申请的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the function involved. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其他实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本申请的范围的情况下,可进行各种形式和细节上的改变。Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and/or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and/or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.

Claims (10)

1.一种保护倒换方法,其特征在于,所述方法包括:1. A protection switching method, characterized in that the method comprises: 接收服务层发送的告警信息;Receive alarm information sent by the service layer; 依据所述告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换;Perform protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group simultaneously according to the alarm information; 其中,每个所述OSU业务对应一个保护实体。Each of the OSU services corresponds to a protection entity. 2.根据权利要求1所述的方法,其特征在于,所述依据所述告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换,包括:2. The method according to claim 1, characterized in that the protection switching of OSU services of multiple optical service units (OSUs) in the subnet connection protection group is performed simultaneously according to the alarm information, comprising: 对所述子网连接保护组中的每个所述OSU进行如下处理:Perform the following processing on each of the OSUs in the subnet connection protection group: 在确定所述告警信息中存在保护倒换触发信息的情况下,对所述OSU中进行的业务进行保护倒换;其中,一个业务信号由一个单独的保护实体进行保护。When it is determined that the alarm information contains protection switching triggering information, protection switching is performed on the service in the OSU; wherein one service signal is protected by one separate protection entity. 3.根据权利要求2所述的方法,其特征在于,所述保护倒换触发信息包括:端口触发信息、光通道净荷单元触发信息、光通道数据单元触发信息、光转换器单元触发信息中的至少一种;3. The method according to claim 2, characterized in that the protection switching trigger information comprises: at least one of port trigger information, optical channel payload unit trigger information, optical channel data unit trigger information, and optical converter unit trigger information; 其中,所述端口触发信息包括信号丢失信息;所述光通道净荷单元触发信息包括帧丢失信息;Wherein, the port trigger information includes signal loss information; the optical channel payload unit trigger information includes frame loss information; 所述光通道数据单元触发信息包括踪迹识别符失配、告警指示信号、开放连接指示和锁定中的至少一种;The optical channel data unit trigger information includes at least one of a trace identifier mismatch, an alarm indication signal, an open connection indication, and a lock; 所述光转换器单元触发信息包括信号丢失、帧丢失、复帧丢失、告警指示信号、踪迹识别符失配、劣化和踪迹识别符失配中的至少一种。The optical converter unit trigger information includes at least one of signal loss, frame loss, multi-frame loss, alarm indication signal, trace identifier mismatch, degradation and trace identifier mismatch. 4.根据权利要求2所述的方法,其特征在于,所述对所述OSU中进行的业务进行保护倒换,包括:4. The method according to claim 2, wherein the performing protection switching on the service in the OSU comprises: 对所述OSU中进行的业务进行单向的保护倒换;Performing unidirectional protection switching on the services carried out in the OSU; 或,对所述OSU中进行的业务进行双向的保护倒换。Or, bidirectional protection switching is performed on the services performed in the OSU. 5.根据权利要求4所述的方法,其特征在于,所述对所述OSU中进行的业务进行双向的保护倒换,包括:5. The method according to claim 4, characterized in that the bidirectional protection switching of the service performed in the OSU comprises: 依据自动保护倒换协议,对所述OSU中进行的业务进行双向的保护倒换。According to the automatic protection switching protocol, bidirectional protection switching is performed on the services performed in the OSU. 6.根据权利要求1-5中任一种所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1 to 5, characterized in that the method further comprises: 在所述OSU业务的宿端进行所述保护倒换,在所述OSU业务的源端保持桥接。The protection switching is performed at the sink end of the OSU service, and the bridging is maintained at the source end of the OSU service. 7.根据权利要求1-5中任一种所述的方法,其特征在于,所述对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换之后,还包括:7. The method according to any one of claims 1 to 5, characterized in that after the protection switching of OSU services of multiple optical service units (OSUs) in the subnet connection protection group is performed simultaneously, it also includes: 基于预设配置参数,获取保护倒换结果。Based on the preset configuration parameters, the protection switching result is obtained. 8.一种保护倒换装置,其包括:8. A protection switching device, comprising: 接收模块,被配置为接收服务层发送的告警信息;A receiving module, configured to receive the alarm information sent by the service layer; 倒换模块,被配置为依据所述告警信息对子网连接保护组中的多个光业务单元OSU同时进行OSU业务的保护倒换;A switching module is configured to simultaneously perform protection switching of OSU services on multiple optical service units OSU in the subnet connection protection group according to the alarm information; 其中,每个所述OSU业务对应一个保护实体。Each of the OSU services corresponds to a protection entity. 9.一种电子设备,其特征在于,包括:9. An electronic device, comprising: 至少一个处理器;以及at least one processor; and 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的一个或多个计算机程序,一个或多个所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1-7中任一项所述的保护倒换方法。The memory stores one or more computer programs that can be executed by the at least one processor, and the one or more computer programs are executed by the at least one processor so that the at least one processor can execute the protection switching method according to any one of claims 1 to 7. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序在被处理器执行时实现如权利要求1-7中任一项所述的保护倒换方法。10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the protection switching method according to any one of claims 1 to 7.
CN202310013718.3A 2023-01-05 2023-01-05 Protection switching method and device, electronic equipment and storage medium Pending CN116016139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310013718.3A CN116016139A (en) 2023-01-05 2023-01-05 Protection switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310013718.3A CN116016139A (en) 2023-01-05 2023-01-05 Protection switching method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116016139A true CN116016139A (en) 2023-04-25

Family

ID=86027008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310013718.3A Pending CN116016139A (en) 2023-01-05 2023-01-05 Protection switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116016139A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118646643A (en) * 2024-08-15 2024-09-13 浙江大华技术股份有限公司 Symmetrical equivalent fault-tolerant communication method, device, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2368552A1 (en) * 2001-02-12 2002-08-12 Lucent Technologies Inc. Fast protection switching by snooping on downstream signals in an optical network
CN101599798A (en) * 2009-07-02 2009-12-09 中兴通讯股份有限公司 Handle the method and the device of multi-span section working channel fault in the annular optical transport network
CN105471599A (en) * 2014-08-15 2016-04-06 中兴通讯股份有限公司 Protection switching method and network device
CN108462601A (en) * 2017-11-22 2018-08-28 上海欣诺通信技术股份有限公司 More protection group reverse methods, device and network element device applied to optical transport network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2368552A1 (en) * 2001-02-12 2002-08-12 Lucent Technologies Inc. Fast protection switching by snooping on downstream signals in an optical network
CN101599798A (en) * 2009-07-02 2009-12-09 中兴通讯股份有限公司 Handle the method and the device of multi-span section working channel fault in the annular optical transport network
CN105471599A (en) * 2014-08-15 2016-04-06 中兴通讯股份有限公司 Protection switching method and network device
CN108462601A (en) * 2017-11-22 2018-08-28 上海欣诺通信技术股份有限公司 More protection group reverse methods, device and network element device applied to optical transport network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118646643A (en) * 2024-08-15 2024-09-13 浙江大华技术股份有限公司 Symmetrical equivalent fault-tolerant communication method, device, system and storage medium

Similar Documents

Publication Publication Date Title
US10178453B2 (en) Ethernet fabric protection in a disaggregated OTN switching system
US8553707B2 (en) Administrative boundaries in single or multiple domain optical networks
US9479248B2 (en) Fault localization using tandem connection monitors in optical transport network
US8929735B2 (en) Dynamic trail termination point creation for optical transport networks
US9621685B2 (en) Architecture for an access network system management protocol control under heterogeneous network management environment
US8958701B2 (en) Methods and systems of preserving client overhead bytes in optical transport network tunneling applications
US20140016925A1 (en) Resizing a path in a connection-oriented network
US8144620B2 (en) Method and system for implementing network connection service
US20090003235A1 (en) Method and Apparatus For Data Frame Transmission
US8166183B2 (en) Method and system for fast virtual concatenation setup in a communication network
CN109787895B (en) Dual-homing protection method, access node, equipment and communication network
CN105100020B (en) Data processing method, device and network equipment
EP3208971A1 (en) Method, device and system for reducing centralized protection switching time in potn system
EP1983712B1 (en) An automatic discovering method and device for client layer link
JP7623039B2 (en) Packet processing method and device
KR20170038870A (en) Service data transmission method and device
EP3236602B1 (en) Disaggregated optical transport network switching system
US20240064111A1 (en) Service Protection Method and Network Node
US7684419B2 (en) Ethernet encapsulation over optical transport network
WO2020253478A1 (en) Resource management method and apparatus, communication device, and storage medium
CN116016139A (en) Protection switching method and device, electronic equipment and storage medium
US20240022467A1 (en) Extending active measurement protocol with oam channel
KR101353183B1 (en) Maintaining time-division multiplexing over pseudowire connections during network outages
JP3269477B2 (en) Multi-protocol management network configuration method
US7355984B1 (en) Method and system for finding network neighbor information

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