Method and system for protecting multipoint broken fibers in communication network

文档序号:1172675 发布日期:2020-09-18 浏览:10次 中文

阅读说明:本技术 一种通信网络中多点断纤的保护方法及系统 (Method and system for protecting multipoint broken fibers in communication network ) 是由 朱哲 于 2020-05-13 设计创作,主要内容包括:本发明公开了一种通信网络中多点断纤的保护方法及系统,涉及回传组网技术领域,本发明通过在主汇聚设备上设置监控组和控制组,将需要监控的主汇聚设备对应的各链路加入监控组,将监控组各链路对应的链路状态开关加入控制组;主汇聚设备监测到监控组中所有链路均产生告警时,关闭控制组中的所有链路开关;接入设备监测到主PW链路状态为关闭,即触发接入设备的倒换。本申请技术方案无需控制面介入,节省了主控CPU资源,加快了业务倒换时间。(The invention discloses a method and a system for protecting multipoint broken fibers in a communication network, relating to the technical field of return networking.A monitoring group and a control group are arranged on a main aggregation device, each link corresponding to the main aggregation device to be monitored is added into the monitoring group, and a link state switch corresponding to each link of the monitoring group is added into the control group; when monitoring that all links in the monitoring group generate alarms, the main aggregation equipment closes all link switches in the control group; and the access equipment monitors that the link state of the main PW is closed, namely, the switching of the access equipment is triggered. According to the technical scheme, control plane intervention is not needed, main control CPU resources are saved, and service switching time is shortened.)

1. A protection method for multipoint broken fibers in a communication network is characterized by comprising the following steps:

configuring PW redundancy protection on an access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW;

setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

when the current service path is the main PW, the main aggregation equipment periodically monitors whether each link of the monitoring group generates an alarm or not, and if all the links in the monitoring group generate the alarm, all the link switches in the control group are closed;

and when monitoring that the link state of the main PW is closed, the access equipment switches the current service path to the standby PW.

2. The method according to claim 1, wherein the method comprises: the method further comprises the steps of:

when the current service path is standby PW, the main aggregation equipment periodically monitors whether each link of the monitoring group cancels the alarm or not, and if at least one link cancels the alarm, all link switches in the control group are opened;

when the access device monitors that the link state of the main PW is open, the access device carries out PW switching and switches the current service path to the main PW.

3. A method for protecting a multi-drop fiber break in a communication network as claimed in claim 1 or 2, characterized by: each link corresponding to the main aggregation device to be monitored comprises a link between the main aggregation device and the standby aggregation device and a link between the main aggregation device and the main ground device.

4. A method for protecting a multi-point broken fiber in a communication network as claimed in claim 2, characterized in that: and the main convergence equipment periodically monitors whether each link of the monitoring group generates an alarm or cancels the alarm by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

5. A method for protecting a multi-point broken fiber in a communication network as claimed in claim 2, characterized in that: the link state switch comprises a BFD state switch, a TP-OAM state switch or a port link state switch.

6. A system for protecting a multi-drop fiber break in a communication network, comprising:

a configuration module to: configuring PW redundancy protection on an access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW; setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

a master aggregation device to: when the current service path is the main PW, periodically monitoring whether each link of the monitoring group generates an alarm, and if all the links in the monitoring group generate the alarms, closing all the link switches in the control group;

an access device to: and when the link state of the main PW is monitored to be closed, switching the current service path to the standby PW.

7. The system of claim 6, wherein the protection system comprises: the master convergence device is further to: when the current service path is standby PW, periodically monitoring whether each link of the monitoring group cancels the alarm, and if at least one link cancels the alarm, opening all link switches in the control group;

the access device is further configured to: and when the link state of the main PW is monitored to be opened, carrying out PW switching and switching the current service path to the main PW.

8. A protection system for multipoint broken fibres in a communication network according to claim 6 or 7, characterised in that: each link corresponding to the main aggregation device to be monitored comprises a link between the main aggregation device and the standby aggregation device and a link between the main aggregation device and the main ground device.

9. The system of claim 7, wherein the protection system comprises: and the main convergence equipment periodically monitors whether each link of the monitoring group generates an alarm or cancels the alarm by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

10. The system of claim 7, wherein the protection system comprises: the link state switch comprises a BFD state switch, a TP-OAM state switch or a port link state switch.

Technical Field

The invention relates to the technical field of backhaul networking, in particular to a method and a system for protecting multipoint broken fibers in a communication network.

Background

The convergence device is configured as a base station gateway, the access ring is configured with PW (Pseudo Wire) redundancy protection, the convergence ring is configured with VPN FRR protection, and the VPN FRR is a VPN (Virtual Private Network) based Private Network route fast switching technology and is based on a dual-homing Network model. When the optical path between two convergence devices fails and the optical path between one of the convergence devices and a core device also fails, the convergence device becomes an isolated point in the convergence ring, but in the access ring, since the access ring and the convergence ring are different IGP (Interior Gateway Protocol) domains, the service state of all the access devices to the convergence device is still normal, the base station service is still sent to the convergence device, but the convergence device has become an isolated point at present, and during service transmission, all the service packets can only be discarded due to no route exit, thereby causing service interruption and causing a multi-point fiber break scene.

Aiming at the multi-point fiber breaking scene, a common solution scheme of each equipment manufacturer at present is as follows: the control plane of the isolated aggregation device associates a peer state of a Border Gateway Protocol (BGP) with a private network (VC) state, and the control plane senses that the peer is disconnected and then actively sets the VC state down (closed), so as to trigger switching of the access device.

Disclosure of Invention

Aiming at the defects in the prior art, the invention aims to provide a method for protecting multipoint fiber breakage in a communication network, which can effectively solve the problem of service protection in a multipoint fiber breakage scene in the communication network.

The invention provides a method for protecting multipoint broken fibers in a communication network, which comprises the following steps:

configuring PW redundancy protection on an access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW;

setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

when the current service path is the main PW, the main aggregation equipment periodically monitors whether each link of the monitoring group generates an alarm or not, and if all the links in the monitoring group generate the alarm, all the link switches in the control group are closed;

and when monitoring that the link state of the main PW is closed, the access equipment switches the current service path to the standby PW.

On the basis of the technical scheme, the method further comprises the following steps:

when the current service path is standby PW, the main aggregation equipment periodically monitors whether each link of the monitoring group cancels the alarm or not, and if at least one link cancels the alarm, all link switches in the control group are opened;

when the access device monitors that the link state of the main PW is open, the access device carries out PW switching and switches the current service path to the main PW.

On the basis of the technical scheme, each link corresponding to the main aggregation device to be monitored comprises a link between the main aggregation device and the standby aggregation device and a link between the main aggregation device and the main ground device.

On the basis of the technical scheme, the main convergence device periodically monitors whether each link of the monitoring group generates an alarm or cancels the alarm by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

On the basis of the technical scheme, the link state switch comprises a BFD state switch, a TP-OAM state switch or a port link state switch.

The invention also provides a protection system for multipoint broken fibers in a communication network, which comprises:

a configuration module to: configuring PW redundancy protection on an access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW; setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

a master aggregation device to: when the current service path is the main PW, periodically monitoring whether each link of the monitoring group generates an alarm, and if all the links in the monitoring group generate the alarms, closing all the link switches in the control group;

an access device to: and when the link state of the main PW is monitored to be closed, switching the current service path to the standby PW.

On the basis of the above technical solution, the main convergence device is further configured to: when the current service path is standby PW, periodically monitoring whether each link of the monitoring group cancels the alarm, and if at least one link cancels the alarm, opening all link switches in the control group;

the access device is further configured to: and when the link state of the main PW is monitored to be opened, carrying out PW switching and switching the current service path to the main PW.

On the basis of the technical scheme, each link corresponding to the main aggregation device to be monitored comprises a link between the main aggregation device and the standby aggregation device and a link between the main aggregation device and the main ground device.

On the basis of the technical scheme, the main convergence device periodically monitors whether each link of the monitoring group generates an alarm or cancels the alarm by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

On the basis of the technical scheme, the link state switch comprises a BFD state switch, a TP-OAM state switch or a port link state switch.

Compared with the prior art, the invention has the advantages that:

the method comprises the steps that a monitoring group and a control group are arranged on a main aggregation device, each link corresponding to the main aggregation device to be monitored is added into the monitoring group, and a link state switch corresponding to each link of the monitoring group is added into the control group; when monitoring that all links in the monitoring group generate alarms, the main aggregation equipment closes all link switches in the control group; and the access equipment monitors that the link state of the main PW is closed, namely, the switching of the access equipment is triggered. According to the technical scheme, control plane intervention is not needed, main control CPU resources are saved, and service switching time is shortened.

Drawings

Fig. 1 is a schematic structural diagram of a backhaul network according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a protection method for multi-point broken fibers in a communication network according to an embodiment of the present invention.

Detailed Description

Description of terms:

PW redundancy: the method belongs to a service protection means, a main PW is established in a VPWS service model, a standby PW is established, and when the main PW fails, the service is switched to the standby PW. Meanwhile, rapid fault detection can be realized by adopting various detection means.

BFD: is an abbreviation of Bidirectional Forwarding Detection, which is a network protocol for detecting a failure between two Forwarding points, and is described in detail in RFC 5880. BFD is a bidirectional forwarding detection mechanism, can provide millisecond detection, and can realize rapid detection of a link, and BFD can realize rapid convergence of a route by linking with an upper layer routing protocol, so that the continuity of a service is ensured.

TP-OAM: MPLS-TP OAM is a method in which MPLS-TP (Multi-Protocol Label switching transport Profile, Multi-Protocol Label switching transport application) performs hierarchical management control on original OAM, such as a segment layer, a tunnel layer, a pseudo wire layer, a service layer, and an access link layer. MPLS-TP OAM will be hierarchical for these layers, respectively.

VPN FRR: the method is a private network route fast switching technology based on VPN, is based on a dual-homing network model, and is characterized in that main and standby forwarding items pointing to a main PE and a standby PE are arranged in equipment in advance, and the main PE and the standby PE are fast switched after a network fails by combining a fault fast detection means.

Referring to fig. 1, a backhaul network applicable to the embodiment of the present invention is composed of a multi-level cross-domain ring network, an access device is responsible for connecting a base station, a plurality of access devices form an access ring and are hung under a pair of aggregation devices, and each pair of aggregation devices form an aggregation ring and are hung under a pair of core devices. Each access ring is configured with an IGP domain, each aggregation ring is configured with another IGP domain, and a VPWS (Virtual Private Wire Service, infrastructure of MPLS network) Service model is configured in the access ring, and BGP is deployed in the aggregation device to form an L3VPN, which is an MPLS VPN solution based on a routing method.

Referring to fig. 2, an embodiment of the present invention provides a method for protecting a multi-point broken fiber in a communication network, including the following steps:

s1: and configuring PW redundancy protection on the access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW.

In the embodiment of the invention, PW redundancy protection belongs to a service protection means, a main PW is established in a VPWS service model, a standby PW is established, when the main PW fails, the service is switched to the standby PW, and meanwhile, rapid fault detection can be realized by adopting various detection means.

When setting the link between the access ring and the main aggregation device as the main PW and setting the link between the access ring and the standby aggregation device as the standby PW, multiple detection modes can be configured to detect the state of the PW, such as BFD, TP-OAM, port alarm, and the like.

In the embodiment of the invention, BFD is an abbreviation of Bidirectional Forwarding Detection and is a network protocol for detecting faults between two Forwarding points, BFD is a Bidirectional Forwarding Detection mechanism and can provide millisecond Detection and realize quick Detection of a link, and BFD is linked with an upper layer routing protocol to realize quick convergence of a route and ensure the continuity of a service. TP-OAM, MPLS-TP OAM, is the MPLS-TP OAM that carries out hierarchical management control on the original OAM, such as segment layer, tunnel layer, pseudo wire layer, service layer and access link layer.

S2: setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

with reference to the embodiment corresponding to fig. 1, links of the monitoring group to be monitored are links corresponding to the master aggregation device, and specifically include a link between the master aggregation device and the slave aggregation device (link 2 in fig. 1) and a link between the master aggregation device and the master ground device (link 4 in fig. 1).

S3: when the current service path is the main PW, the main aggregation device periodically monitors whether each link in the monitoring group generates an alarm, and if all links in the monitoring group generate an alarm, all link switches in the control group are closed.

And when the current service path is the main PW, periodically monitoring whether each link corresponding to the main aggregation equipment generates an alarm, and if so, closing each link corresponding to the main aggregation equipment. The time interval of the periodic polling depends on the performance of the equipment service board CPU, has no lower limit and defaults to 10 milliseconds. When all the links corresponding to the main aggregation device are monitored to be abnormal, if abnormal operation such as link disconnection occurs, all the links generate an alarm at the moment, all the links corresponding to the main aggregation device are closed, and the closing of the links specifically comprises interrupting BFD packet sending, interrupting TP-OAM packet sending, turning off a laser and the like.

S4: and when monitoring that the link state of the main PW is closed, the access equipment switches the current service path to the standby PW.

In the protection method for multipoint broken fibers in the communication network, the monitoring group and the control group are arranged on the main aggregation equipment, each link corresponding to the main aggregation equipment to be monitored is added into the monitoring group, and the link state switch corresponding to each link of the monitoring group is added into the control group; when monitoring that all links in the monitoring group generate alarms, the main aggregation equipment closes all link switches in the control group; and the access equipment monitors that the link state of the main PW is closed, namely, the switching of the access equipment is triggered. Meanwhile, the protection method for multipoint broken fibers in the communication network can support various networking models, such as networking models of multiple access rings, multiple aggregation nodes, multi-level core aggregation, through OTN and the like. According to the technical scheme, control plane intervention is not needed, main control CPU resources are saved, service switching time is accelerated, and if BFD rapid detection is combined, the service switching time can reach within 200 milliseconds.

As a preferred embodiment, the method further comprises the steps of:

when the current service path is standby PW, the main aggregation equipment periodically monitors whether each link of the monitoring group cancels the alarm or not, and if at least one link cancels the alarm, all link switches in the control group are opened;

when the access device monitors that the link state of the main PW is open, the access device carries out PW switching and switches the current service path to the main PW.

As a preferred embodiment, the main aggregation device monitors whether an alarm is generated or cancelled in each corresponding link by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

In a preferred embodiment, the link state switch includes a BFD state switch, a TP-OAM state switch, or a port link state switch.

The method for protecting the multipoint broken fiber in the communication network comprises the following steps:

1. configuring PW redundancy protection on the access equipment 1: the main PW passes through the convergence device 2, and the standby PW passes through the convergence device 3; and configuring various detection modes (BFD, TP-OAM, port alarm and the like) to detect the PW state.

2. Configuring a monitoring group on device 2: configuring a total link number N of a monitoring group (N has no upper limit and is default to 2 depending on the performance of a device service board CPU), adding each link corresponding to a main aggregation device to be monitored into the monitoring group, wherein link state monitoring may be but not limited to BFD detection, TP-OAM detection or port link detection, and forming the following table 1:

table 1 list of links to be monitored

Monitoring the status of Link 1
Monitoring the status of link 2
……
Monitoring the status of link N

3. And sending the configuration data of the link list to be monitored to all service boards of the equipment.

4. A control group is configured on device 2: configuring a total link number M of the control group (depending on the performance of the device service board CPU, M has no upper limit and is 4 by default), adding a link state switch to the control group, where the link state switch may be but is not limited to a BFD state switch, a TP-OAM state switch, or a port link state switch, and forming the following table 2:

table 2 link state switch list

Switch of control link 1
Switch of control link 2
……
Switch of control link M

5. And transmitting the configuration data of the link state switch list to all service boards of the equipment.

6. The device 2 configures a detection interval of X milliseconds (X has no lower limit and defaults to 10 milliseconds depending on the performance of the device service board CPU), and polls the status of all links in the monitoring group.

7. And if all the links in the monitoring group generate the alarm, closing all the links in the control group (interrupting BFD packet sending, interrupting TP-OAM packet sending, turning off the laser and the like).

8. The access device 1 senses that the state of the main PW changes to down, and triggers PW switching of the access device 1, so that the service path is switched to the device 3.

9. If one link in the monitoring group recovers, all links of the control group are opened.

10. The access device 1 perceives that the state of the main PW is changed into up, the PW of the access device 1 is switched back to the main state, and the service path is switched to the device 2.

The embodiment of the present invention further provides a system for protecting a multi-point broken fiber in a communication network, including:

a configuration module to: configuring PW redundancy protection on an access ring, setting a link between access equipment of the access ring and main aggregation equipment as a main PW, and setting a link between the access ring and standby aggregation equipment as a standby PW; setting a monitoring group and a control group on the main aggregation equipment, adding each link corresponding to the main aggregation equipment to be monitored into the monitoring group, and adding a link state switch corresponding to each link of the monitoring group into the control group;

a master aggregation device to: when the current service path is the main PW, periodically monitoring whether each link of the monitoring group generates an alarm, and if all the links in the monitoring group generate the alarms, closing all the link switches in the control group;

an access device to: and when the link state of the main PW is monitored to be closed, switching the current service path to the standby PW.

As a preferred embodiment, the master aggregation device is further configured to: when the current service path is standby PW, periodically monitoring whether each link of the monitoring group cancels the alarm, and if at least one link cancels the alarm, opening all link switches in the control group;

the access device is further configured to: and when the link state of the main PW is monitored to be opened, carrying out PW switching and switching the current service path to the main PW.

As a preferred embodiment, each link corresponding to the master aggregation device to be monitored includes a link between the master aggregation device and the standby aggregation device, and a link between the master aggregation device and the master ground device.

As a preferred embodiment, the main aggregation device periodically monitors whether each link of the monitoring group generates an alarm or cancels an alarm by adopting a BFD detection mode, a TP-OAM detection mode or a port link detection mode.

In a preferred embodiment, the link state switch includes a BFD state switch, a TP-OAM state switch, or a port link state switch.

The present invention also provides a storage medium that can take the form of any combination of one or more computer-readable media, which can be a computer-readable signal medium or a computer-readable storage medium. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:FC总线式故障注入仪

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!